From 5d06bc6a25d40da49b9f477e3c2b408505dbae61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Boutemy?= Date: Sat, 2 Feb 2013 16:59:20 +0100 Subject: [PATCH] fixed typo --- .../src/main/java/org/apache/maven/DefaultMaven.java | 2 +- .../maven/execution/DefaultMavenExecutionRequest.java | 10 +++++----- .../apache/maven/execution/MavenExecutionRequest.java | 4 ++-- .../src/main/java/org/apache/maven/cli/CLIManager.java | 4 ++-- .../src/main/java/org/apache/maven/cli/MavenCli.java | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/maven-core/src/main/java/org/apache/maven/DefaultMaven.java b/maven-core/src/main/java/org/apache/maven/DefaultMaven.java index d85f1ac6a8..ac92afc3fe 100644 --- a/maven-core/src/main/java/org/apache/maven/DefaultMaven.java +++ b/maven-core/src/main/java/org/apache/maven/DefaultMaven.java @@ -358,7 +358,7 @@ public class DefaultMaven LocalRepository localRepo = new LocalRepository( request.getLocalRepository().getBasedir() ); - if ( request.isUseSimpleLocalRepostoryManager() ) + if ( request.isUseSimpleLocalRepositoryManager() ) { try { diff --git a/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java b/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java index 313984622e..09ead1a82a 100644 --- a/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java +++ b/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java @@ -143,7 +143,7 @@ public class DefaultMavenExecutionRequest */ private boolean noSnapshotUpdates; - private boolean useSimpleLocalRepostoryManager = false; + private boolean useSimpleLocalRepositoryManager = false; public DefaultMavenExecutionRequest() { @@ -1078,14 +1078,14 @@ public class DefaultMavenExecutionRequest return this; } - public boolean isUseSimpleLocalRepostoryManager() + public boolean isUseSimpleLocalRepositoryManager() { - return this.useSimpleLocalRepostoryManager; + return this.useSimpleLocalRepositoryManager; } - public MavenExecutionRequest setUseSimpleLocalRepostoryManager( boolean useSimpleLocalRepostoryManager ) + public MavenExecutionRequest setUseSimpleLocalRepositoryManager( boolean useSimpleLocalRepositoryManager ) { - this.useSimpleLocalRepostoryManager = useSimpleLocalRepostoryManager; + this.useSimpleLocalRepositoryManager = useSimpleLocalRepositoryManager; return this; } } diff --git a/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java b/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java index 5bd839a296..cb4b207bde 100644 --- a/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java +++ b/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java @@ -286,11 +286,11 @@ public interface MavenExecutionRequest /** * @since 3.1 */ - boolean isUseSimpleLocalRepostoryManager(); + boolean isUseSimpleLocalRepositoryManager(); /** * @since 3.1 */ - MavenExecutionRequest setUseSimpleLocalRepostoryManager( boolean useSimpleLocalRepostoryManager ); + MavenExecutionRequest setUseSimpleLocalRepositoryManager( boolean useSimpleLocalRepositoryManager ); } 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 44eb7a36c7..4bcbda6c9c 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 @@ -137,10 +137,10 @@ public class CLIManager options.addOption( OptionBuilder.withLongOpt( "threads" ).hasArg().withDescription( "Thread count, for instance 2.0C where C is core multiplied" ).create( THREADS ) ); options.addOption( OptionBuilder.withLongOpt( "simple-local-repository-manager" ).withDescription( - "Use a simple local Repository Manager (no use of _maven.repositories) can be activated using -Dmaven.simpleLocalRepoMan=true" ).create( + "Use a simple Local Repository Manager, ie no use of _maven.repositories. Can be activated using -Dmaven.simpleLocalRepoMan=true" ).create( SIMPLE_LOCAL_REPOSITORY_MANAGER ) ); - // Adding this back in for compatibility with the verifier that hard codes this option. + // Adding this back in for compatibility with the verifier that hard codes this option. options.addOption( OptionBuilder.withLongOpt( "no-plugin-registry" ).withDescription( "Ineffective, only kept for backward compatibility" ).create( "npr" ) ); options.addOption( OptionBuilder.withLongOpt( "check-plugin-updates" ).withDescription( "Ineffective, only kept for backward compatibility" ).create( "cpu" ) ); options.addOption( OptionBuilder.withLongOpt( "update-plugins" ).withDescription( "Ineffective, only kept for backward compatibility" ).create( "up" ) ); diff --git a/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java b/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java index a6ce4976c8..9fad9e60bc 100644 --- a/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java +++ b/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java @@ -544,7 +544,7 @@ public class MavenCli { if ( cliRequest.commandLine.hasOption( CLIManager.SIMPLE_LOCAL_REPOSITORY_MANAGER ) || Boolean.getBoolean( "maven.simpleLocalRepoMan" ) ) { - cliRequest.request.setUseSimpleLocalRepostoryManager( true ); + cliRequest.request.setUseSimpleLocalRepositoryManager( true ); } }