[help me!] maven doesn't work recently at github actions
umjammer opened this issue · 2 comments
umjammer commented
github workflow reports
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:50 min
[INFO] Finished at: 2023-03-23T06:29:22Z
[INFO] ------------------------------------------------------------------------
Error: Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:3.0.2:jar (default-jar) on project vavi-image: You have to use a classifier to attach supplemental artifacts to the project instead of replacing them. -> [Help 1]
Error:
Error: To see the full stack trace of the errors, re-run Maven with the -e switch.
Error: Re-run Maven using the -X switch to enable full debug logging.
Error:
Error: For more information about the errors and possible solutions, please read the following articles:
Error: [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Error: Process completed with exit code 1.
my change is only below
diff --git a/pom.xml b/pom.xml
index 219b296..10f4c9e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
<groupId>vavi</groupId>
<artifactId>vavi-image</artifactId>
- <version>1.0.10-SNAPSHOT</version>
+ <version>1.0.11</version>
<name>Vavi Imaging API</name>
<organization>
@@ -113,7 +113,6 @@
</executions>
</plugin>
-
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
@@ -224,7 +223,7 @@
<dependency>
<groupId>org.junit</groupId>
<artifactId>junit-bom</artifactId>
- <version>5.9.0</version>
+ <version>5.9.2</version>
<type>pom</type>
<scope>import</scope>
</dependency>
@@ -235,7 +234,7 @@
<dependency>
<groupId>com.github.umjammer</groupId>
<artifactId>vavi-commons</artifactId>
- <version>1.1.8</version>
+ <version>1.1.9</version>
</dependency>
<dependency>
<groupId>com.github.umjammer</groupId>
umjammer commented
use maven-jar-plugin:2.5 to avoid this issue.
umjammer commented
maybe org.codehaus.mojo:native-maven-plugin
's bug