o restore the plugin registry cli option for compat with the verifier

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@728066 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason van Zyl 2008-12-19 17:05:15 +00:00
parent 2bbb812470
commit 434431ec8d
1 changed files with 4 additions and 0 deletions

View File

@ -116,6 +116,10 @@ public CLIManager()
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 )