You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2019/03/16 12:45:10 UTC
[maven-archetype] branch master updated: [ARCHETYPE-551] - Upgrade
maven-invoker to 3.0.1
This is an automated email from the ASF dual-hosted git repository.
rfscholte pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-archetype.git
The following commit(s) were added to refs/heads/master by this push:
new 04921cc [ARCHETYPE-551] - Upgrade maven-invoker to 3.0.1
04921cc is described below
commit 04921ccae9c111338121e3acb54b7b23f7f57c7b
Author: rfscholte <rf...@apache.org>
AuthorDate: Sat Mar 16 13:45:00 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>