From 43ed2bd7e4d84662b5ba3179c13519556405e44f Mon Sep 17 00:00:00 2001 From: John Dennis Casey Date: Wed, 14 Sep 2005 18:41:55 +0000 Subject: [PATCH] Resolving: MNG-890, putting m2 invocation in batch mode when doing release:perform. git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280905 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/maven/plugins/release/PerformReleaseMojo.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugins/release/PerformReleaseMojo.java b/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugins/release/PerformReleaseMojo.java index 8cae0b229a..19b29fa9fe 100644 --- a/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugins/release/PerformReleaseMojo.java +++ b/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugins/release/PerformReleaseMojo.java @@ -101,6 +101,8 @@ public class PerformReleaseMojo cl.createArgument().setLine( "-DperformRelease=true" ); cl.createArgument().setLine( "--no-plugin-updates" ); + + cl.createArgument().setLine( "--batch-mode" ); StreamConsumer consumer = new DefaultConsumer();