Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[help me!] maven doesn't work recently at github actions #13

Open
umjammer opened this issue Mar 23, 2023 · 2 comments
Open

[help me!] maven doesn't work recently at github actions #13

umjammer opened this issue Mar 23, 2023 · 2 comments

Comments

@umjammer
Copy link
Owner

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 umjammer changed the title help me! [help me!] maven doesn't work recently at github actions Mar 23, 2023
umjammer added a commit that referenced this issue Mar 24, 2023
@umjammer
Copy link
Owner Author

use maven-jar-plugin:2.5 to avoid this issue.

@umjammer
Copy link
Owner Author

maybe org.codehaus.mojo:native-maven-plugin's bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant