mirror of https://github.com/apache/maven.git
fixed typo
This commit is contained in:
parent
71dd7f3d2a
commit
5d06bc6a25
|
@ -358,7 +358,7 @@ public class DefaultMaven
|
|||
|
||||
LocalRepository localRepo = new LocalRepository( request.getLocalRepository().getBasedir() );
|
||||
|
||||
if ( request.isUseSimpleLocalRepostoryManager() )
|
||||
if ( request.isUseSimpleLocalRepositoryManager() )
|
||||
{
|
||||
try
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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 );
|
||||
|
||||
}
|
||||
|
|
|
@ -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" ) );
|
||||
|
|
|
@ -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 );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue