You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by gn...@apache.org on 2022/02/24 16:04:14 UTC

[maven-invoker-plugin] branch mvn4 updated: Switch a few core plugins to the new api

This is an automated email from the ASF dual-hosted git repository.

gnodet pushed a commit to branch mvn4
in repository https://gitbox.apache.org/repos/asf/maven-invoker-plugin.git


The following commit(s) were added to refs/heads/mvn4 by this push:
     new 456bbb8  Switch a few core plugins to the new api
456bbb8 is described below

commit 456bbb8bdec1f5bc650e156a7f394d8efe5ae54e
Author: Guillaume Nodet <gn...@gmail.com>
AuthorDate: Thu Feb 24 17:00:57 2022 +0100

    Switch a few core plugins to the new api
---
 pom.xml                                                             | 6 +++---
 .../java/org/apache/maven/plugins/invoker/AbstractInvokerMojo.java  | 3 ++-
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/pom.xml b/pom.xml
index be26ce8..1cd4ab8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -25,7 +25,7 @@ under the License.
   <parent>
     <artifactId>maven-plugins</artifactId>
     <groupId>org.apache.maven.plugins</groupId>
-    <version>34</version>
+    <version>35-SNAPSHOT</version>
     <relativePath />
   </parent>
 
@@ -40,7 +40,7 @@ under the License.
   </description>
 
   <prerequisites>
-    <maven>${mavenVersion}</maven>
+    <maven>3.1.1</maven>
   </prerequisites>
 
   <scm>
@@ -68,7 +68,7 @@ under the License.
     <javaVersion>8</javaVersion>
     <mavenVersion>4.0.0-alpha-1-SNAPSHOT</mavenVersion>
     <doxiaVersion>2.0.0-M2-SNAPSHOT</doxiaVersion>
-    <doxiaSitetoolsVersion>2.0.0-M1-SNAPSHOT</doxiaSitetoolsVersion>
+    <doxiaSitetoolsVersion>2.0.0-M3-SNAPSHOT</doxiaSitetoolsVersion>
     <beanshell-groupId>org.apache-extras.beanshell</beanshell-groupId>
     <beanshell-artifactId>bsh</beanshell-artifactId>
     <beanshell-version>2.0b6</beanshell-version>
diff --git a/src/main/java/org/apache/maven/plugins/invoker/AbstractInvokerMojo.java b/src/main/java/org/apache/maven/plugins/invoker/AbstractInvokerMojo.java
index 729659d..2b58d2e 100644
--- a/src/main/java/org/apache/maven/plugins/invoker/AbstractInvokerMojo.java
+++ b/src/main/java/org/apache/maven/plugins/invoker/AbstractInvokerMojo.java
@@ -1905,7 +1905,8 @@ public abstract class AbstractInvokerMojo
               Writer osw = new OutputStreamWriter( fos, buildJob.getModelEncoding() ) )
         {
             Xpp3DomWriter.write( osw, testsuite );
-        } catch ( IOException e )
+        }
+        catch ( IOException e )
         {
             throw new MojoExecutionException( "Failed to write JUnit build report " + reportFile, e );
         }