Skip to content

Commit

Permalink
[NETBEANS-4666] - Upgrade exec-maven-plugin from 1.5.0 to 3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pepness authored and lkishalmi committed Sep 10, 2020
1 parent 7749e34 commit f9a9521
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
</packagings>
<goals>
<goal>process-classes</goal>
<goal>org.codehaus.mojo:exec-maven-plugin:1.5.0:exec</goal>
<goal>org.codehaus.mojo:exec-maven-plugin:3.0.0:exec</goal>
</goals>
<properties>
<exec.args>-classpath %classpath ${packageClassName}</exec.args>
Expand All @@ -128,7 +128,7 @@
</packagings>
<goals>
<goal>process-classes</goal>
<goal>org.codehaus.mojo:exec-maven-plugin:1.5.0:exec</goal>
<goal>org.codehaus.mojo:exec-maven-plugin:3.0.0:exec</goal>
</goals>
<properties>
<exec.args>-agentlib:jdwp=transport=dt_socket,server=n,address=${jpda.address} -classpath %classpath ${packageClassName}</exec.args>
Expand All @@ -143,7 +143,7 @@
</packagings>
<goals>
<goal>process-classes</goal>
<goal>org.codehaus.mojo:exec-maven-plugin:1.5.0:exec</goal>
<goal>org.codehaus.mojo:exec-maven-plugin:3.0.0:exec</goal>
</goals>
<properties>
<exec.args>-classpath %classpath ${packageClassName}</exec.args>
Expand All @@ -159,7 +159,7 @@
</packagings>
<goals>
<goal>process-classes</goal>
<goal>org.codehaus.mojo:exec-maven-plugin:1.5.0:exec</goal>
<goal>org.codehaus.mojo:exec-maven-plugin:3.0.0:exec</goal>
</goals>
<properties>
<exec.args>-agentlib:jdwp=transport=dt_socket,server=n,address=${jpda.address} -classpath %classpath ${packageClassName}</exec.args>
Expand Down Expand Up @@ -224,7 +224,7 @@
</packagings>
<goals>
<goal>process-classes</goal>
<goal>org.codehaus.mojo:exec-maven-plugin:1.5.0:exec</goal>
<goal>org.codehaus.mojo:exec-maven-plugin:3.0.0:exec</goal>
</goals>
<properties>
<exec.args>-classpath %classpath ${packageClassName}</exec.args>
Expand All @@ -239,7 +239,7 @@
</packagings>
<goals>
<goal>process-classes</goal>
<goal>org.codehaus.mojo:exec-maven-plugin:1.5.0:exec</goal>
<goal>org.codehaus.mojo:exec-maven-plugin:3.0.0:exec</goal>
</goals>
<properties>
<exec.args>-classpath %classpath ${packageClassName}</exec.args>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ public void testJettyDebugSingle() throws Exception { // #
" </packagings>\n" +
" <goals>\n" +
" <goal>process-classes</goal>\n" +
" <goal>org.codehaus.mojo:exec-maven-plugin:1.2.1:exec</goal>\n" +
" <goal>org.codehaus.mojo:exec-maven-plugin:3.0.0:exec</goal>\n" +
" </goals>\n" +
" <properties>\n" +
" <exec.args>-XX:MaxPermSize=512m -classpath %classpath ${packageClassName}</exec.args>\n" +
Expand All @@ -177,7 +177,7 @@ public void testJettyDebugSingle() throws Exception { // #
" </packagings>\n" +
" <goals>\n" +
" <goal>process-classes</goal>\n" +
" <goal>org.codehaus.mojo:exec-maven-plugin:1.2.1:exec</goal>\n" +
" <goal>org.codehaus.mojo:exec-maven-plugin:3.0.0:exec</goal>\n" +
" </goals>\n" +
" <properties>\n" +
" <exec.args>-XX:MaxPermSize=512m -agentlib:jdwp=transport=dt_socket,server=n,address=${jpda.address} -classpath %classpath ${packageClassName}</exec.args>\n" +
Expand All @@ -199,7 +199,7 @@ public void testJettyDebugSingle() throws Exception { // #
" </packagings>\n" +
" <goals>\n" +
" <goal>process-classes</goal>\n" +
" <goal>org.codehaus.mojo:exec-maven-plugin:1.2.1:exec</goal>\n" +
" <goal>org.codehaus.mojo:exec-maven-plugin:3.0.0:exec</goal>\n" +
" </goals>\n" +
" <properties>\n" +
" <exec.args>-XX:MaxPermSize=512m -agentlib:jdwp=transport=dt_socket,server=n,address=${jpda.address} -classpath %classpath ${packageClassName}</exec.args>\n" +
Expand All @@ -223,7 +223,7 @@ public void testJettyDebugSingle() throws Exception { // #
RunConfig run = ActionToGoalUtils.createRunConfig("debug.single.main", (NbMavenProjectImpl) project, project.getLookup());
assertEquals("Two goals: " + run.getGoals(), 2, run.getGoals().size());
assertEquals("process-classes", run.getGoals().get(0));
assertEquals("org.codehaus.mojo:exec-maven-plugin:1.2.1:exec", run.getGoals().get(1));
assertEquals("org.codehaus.mojo:exec-maven-plugin:3.0.0:exec", run.getGoals().get(1));
assertEquals("One profile activated in action: " + run.getActivatedProfiles(), 1, run.getActivatedProfiles().size());
assertEquals("jetty", run.getActivatedProfiles().get(0));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ private void assertArgs(String argsString, String propString, AssertArgs a) thro
+ " <plugin>\n"
+ " <groupId>org.codehaus.mojo</groupId>\n"
+ " <artifactId>exec-maven-plugin</artifactId>\n"
+ " <version>1.4.0</version>\n"
+ " <version>3.0.0</version>\n"
+ " <configuration>\n"
+ " <executable>${java.home}/bin/java</executable>\n"
+ argsString
Expand Down

0 comments on commit f9a9521

Please sign in to comment.