This is an automated email from the ASF dual-hosted git repository. rfscholte pushed a commit to branch ARCHETYPE-551 in repository https://gitbox.apache.org/repos/asf/maven-archetype.git
commit 7b31fb242f895f664c0ebc6264d86a449e608042 Author: rfscholte <[email protected]> AuthorDate: Sat Mar 16 12:43:12 2019 +0100 [ARCHETYPE-551] Upgrade maven-invoker to 3.0.1 --- .../main/java/org/apache/maven/archetype/mojos/IntegrationTestMojo.java | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/maven-archetype-plugin/src/main/java/org/apache/maven/archetype/mojos/IntegrationTestMojo.java b/maven-archetype-plugin/src/main/java/org/apache/maven/archetype/mojos/IntegrationTestMojo.java index 4d5e2ab..2f57b21 100644 --- a/maven-archetype-plugin/src/main/java/org/apache/maven/archetype/mojos/IntegrationTestMojo.java +++ b/maven-archetype-plugin/src/main/java/org/apache/maven/archetype/mojos/IntegrationTestMojo.java @@ -636,7 +636,7 @@ public class IntegrationTestMojo //@formatter:off InvocationRequest request = new DefaultInvocationRequest().setBaseDirectory( basedir ).setGoals( Arrays.asList( StringUtils.split( goals, "," ) ) ).setLocalRepositoryDirectory( - localRepositoryPath ).setInteractive( false ).setShowErrors( true ); + localRepositoryPath ).setBatchMode( true ).setShowErrors( true ); //@formatter:on request.setDebug( debug ); diff --git a/pom.xml b/pom.xml index 80c54ba..bf287f3 100644 --- a/pom.xml +++ b/pom.xml @@ -146,7 +146,7 @@ <dependency> <groupId>org.apache.maven.shared</groupId> <artifactId>maven-invoker</artifactId> - <version>2.2</version> + <version>3.0.1</version> </dependency> <dependency> <groupId>org.apache.maven.shared</groupId>
