You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by jv...@apache.org on 2008/12/19 18:05:16 UTC

svn commit: r728066 - /maven/components/trunk/maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java

Author: jvanzyl
Date: Fri Dec 19 09:05:15 2008
New Revision: 728066

URL: http://svn.apache.org/viewvc?rev=728066&view=rev
Log:
o restore the plugin registry cli option for compat with the verifier

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

Modified: maven/components/trunk/maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java?rev=728066&r1=728065&r2=728066&view=diff
==============================================================================
--- maven/components/trunk/maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java (original)
+++ maven/components/trunk/maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java Fri Dec 19 09:05:15 2008
@@ -116,6 +116,10 @@
         options.addOption( OptionBuilder.withLongOpt( "fail-never" ).withDescription( "NEVER fail the build, regardless of project result" ).create( FAIL_NEVER ) );
         options.addOption( OptionBuilder.withLongOpt( "log-file" ).hasArg().withDescription( "Log file to where all build output will go." ).create( LOG_FILE ) );
         options.addOption( OptionBuilder.withLongOpt( "show-version" ).withDescription( "Display version information WITHOUT stopping build" ).create( SHOW_VERSION ) );
+        
+        // Adding this back in for compatibility with the verifier that hard codes this option.
+        
+        options.addOption( OptionBuilder.withLongOpt( "--no-plugin-registry" ).withDescription( "Display version information WITHOUT stopping build" ).create( "npr" ) );        
     }
 
     public CommandLine parse( String[] args )