Skip to content

upgrade exec-maven-plugin to 3.1.0. - #5111

Merged
mbien merged 1 commit into
apache:masterfrom
mbien:maven-exec-310
Dec 30, 2022
Merged

mbien merged 1 commit into
apache:masterfrom
mbien:maven-exec-310

Conversation

@mbien

@mbien mbien commented Dec 14, 2022 •

Copy link
Copy Markdown
Member

Upgrade the maven exec plugin from 3.0.0 to 3.1.0.

NetBeans is using this specific version no matter what the project defines which confused me a bit initially when comparing the log with CLI log. I suppose this is done for compatibility reasons?

edit: found NETBEANS-4595

@mbien mbien added Upgrade Library Library (Dependency) Upgrade Maven [ci] enable "build tools" tests labels Dec 14, 2022
@mbien mbien added this to the NB17 milestone Dec 14, 2022
@mbien
mbien requested a review from sdedic December 14, 2022 21:56
@matthiasblaesing

Copy link
Copy Markdown
Contributor

I can't explain the "why", but I grepped through the maven module and suggest to do these additional changes, to keep versions the same.

--- a/java/maven/test/unit/src/org/netbeans/modules/maven/runjar/nbactions-template.xml
+++ b/java/maven/test/unit/src/org/netbeans/modules/maven/runjar/nbactions-template.xml
@@ -27,7 +27,7 @@
         </packagings>
         <goals>
             <goal>process-classes</goal>
-            <goal>org.codehaus.mojo:exec-maven-plugin:3.0.0:exec</goal>
+            <goal>org.codehaus.mojo:exec-maven-plugin:3.1.0:exec</goal>
         </goals>
         <properties>
                 &runProperties;
@@ -40,7 +40,7 @@
         </packagings>
         <goals>
             <goal>process-classes</goal>
-            <goal>org.codehaus.mojo:exec-maven-plugin:3.0.0:exec</goal>
+            <goal>org.codehaus.mojo:exec-maven-plugin:3.1.0:exec</goal>
         </goals>
         <properties>
                 &debugProperties;
@@ -53,7 +53,7 @@
         </packagings>
         <goals>
             <goal>process-classes</goal>
-            <goal>org.codehaus.mojo:exec-maven-plugin:3.0.0:exec</goal>
+            <goal>org.codehaus.mojo:exec-maven-plugin:3.1.0:exec</goal>
         </goals>
         <properties>
                 &profileProperties;

--- a/java/maven/test/unit/src/org/netbeans/modules/maven/execute/MavenExecutionTestBase.java
+++ b/java/maven/test/unit/src/org/netbeans/modules/maven/execute/MavenExecutionTestBase.java
@@ -183,7 +183,7 @@
                 + "            <plugin>\n"
                 + "                <groupId>org.codehaus.mojo</groupId>\n"
                 + "                <artifactId>exec-maven-plugin</artifactId>\n"
-                + "                <version>3.0.0</version>\n"
+                + "                <version>3.1.0</version>\n"
                 + "                <configuration>\n"
                 +                      argsString 
                 + "                </configuration>\n"

@matthiasblaesing matthiasblaesing left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks sane to me.

@mbien
mbien merged commit 542bf84 into apache:master Dec 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Maven [ci] enable "build tools" tests Upgrade Library Library (Dependency) Upgrade

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants