From 434431ec8d673e7dd8bf9f5effa0d0bc4c3c1ac1 Mon Sep 17 00:00:00 2001 From: Jason van Zyl Date: Fri, 19 Dec 2008 17:05:15 +0000 Subject: [PATCH] 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 --- .../src/main/java/org/apache/maven/cli/CLIManager.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java b/maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java index 2af0edcfd4..e663e16ed8 100644 --- a/maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java +++ b/maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java @@ -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 )