maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject svn commit: r485460 - /maven/components/trunk/maven-cli/src/main/java/org/apache/maven/cli/MavenCli.java
Date Mon, 11 Dec 2006 01:43:22 GMT
Author: jvanzyl
Date: Sun Dec 10 17:43:19 2006
New Revision: 485460

URL: http://svn.apache.org/viewvc?view=rev&rev=485460
Log:
o turn of reactor scanning option off by mistake as I renamed it in my branch. back alive.
visual results
  of ITs are coming.


Modified:
    maven/components/trunk/maven-cli/src/main/java/org/apache/maven/cli/MavenCli.java

Modified: maven/components/trunk/maven-cli/src/main/java/org/apache/maven/cli/MavenCli.java
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-cli/src/main/java/org/apache/maven/cli/MavenCli.java?view=diff&rev=485460&r1=485459&r2=485460
==============================================================================
--- maven/components/trunk/maven-cli/src/main/java/org/apache/maven/cli/MavenCli.java (original)
+++ maven/components/trunk/maven-cli/src/main/java/org/apache/maven/cli/MavenCli.java Sun
Dec 10 17:43:19 2006
@@ -282,11 +282,12 @@
                 transferListener = new BatchModeDownloadMonitor();
             }
 
-            boolean reactorActive = false;
+            // This means to scan a directory structure for POMs and process them.
+            boolean useReactor = false;
 
             if ( commandLine.hasOption( CLIManager.REACTOR ) )
             {
-                reactorActive = true;
+                useReactor = true;
             }
 
             String alternatePomFile = null;
@@ -323,7 +324,7 @@
             //  -> showErrors (this is really CLI is but used inside Maven internals
             //  -> recursive
             //  -> updateSnapshots
-            //  -> reactorActive
+            //  -> useReactor
             //  -> transferListener: in the CLI this is batch or console
 
             // We have a general problem with plexus components that are singletons in that
they use
@@ -382,7 +383,7 @@
                 .setProperties( executionProperties )
                 .setReactorFailureBehavior( reactorFailureBehaviour )
                 .setRecursive( recursive )
-                //.setReactorActive( reactorActive )
+                .setUseReactor( useReactor )
                 .setPomFile( alternatePomFile )
                 .setShowErrors( showErrors )
                 .setInteractiveMode( interactive )



Mime
View raw message