mirror of https://github.com/apache/maven.git
o Fixed typo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@802778 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b2f8107e3f
commit
db4d07ea3a
|
@ -108,9 +108,9 @@ public class ArtifactResolutionRequest
|
|||
return remoteRepositories;
|
||||
}
|
||||
|
||||
public ArtifactResolutionRequest setRemoteRepostories( List<ArtifactRepository> remoteRepostories )
|
||||
public ArtifactResolutionRequest setRemoteRepositories( List<ArtifactRepository> remoteRepositories )
|
||||
{
|
||||
this.remoteRepositories = remoteRepostories;
|
||||
this.remoteRepositories = remoteRepositories;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
|
|
@ -318,7 +318,7 @@ public class DefaultArtifactResolver
|
|||
.setArtifactDependencies( artifacts )
|
||||
.setManagedVersionMap( managedVersions )
|
||||
.setLocalRepository( localRepository )
|
||||
.setRemoteRepostories( remoteRepositories )
|
||||
.setRemoteRepositories( remoteRepositories )
|
||||
.setFilter( filter )
|
||||
.setListeners( listeners );
|
||||
|
||||
|
|
|
@ -78,7 +78,7 @@ public class DefaultProjectDependenciesResolver
|
|||
.setResolveRoot( false )
|
||||
.setResolveTransitively( true )
|
||||
.setLocalRepository( localRepository )
|
||||
.setRemoteRepostories( remoteRepositories )
|
||||
.setRemoteRepositories( remoteRepositories )
|
||||
.setManagedVersionMap( project.getManagedVersionMap() )
|
||||
.setFilter( filter );
|
||||
// FIXME setTransferListener
|
||||
|
|
|
@ -131,7 +131,7 @@ public class DefaultPluginManager
|
|||
ArtifactResolutionRequest request = new ArtifactResolutionRequest()
|
||||
.setArtifact( pluginArtifact )
|
||||
.setLocalRepository( localRepository )
|
||||
.setRemoteRepostories( remoteRepositories )
|
||||
.setRemoteRepositories( remoteRepositories )
|
||||
.setResolveTransitively( false );
|
||||
// FIXME setTransferListener
|
||||
ArtifactResolutionResult result = repositorySystem.resolve( request );
|
||||
|
@ -274,7 +274,7 @@ public class DefaultPluginManager
|
|||
// So this in fact are overrides ...
|
||||
.setArtifactDependencies( dependenciesToResolveForPlugin )
|
||||
.setLocalRepository( localRepository )
|
||||
.setRemoteRepostories( remoteRepositories )
|
||||
.setRemoteRepositories( remoteRepositories )
|
||||
.setFilter( filter )
|
||||
.setResolveRoot( true )
|
||||
.setResolveTransitively( true );
|
||||
|
|
|
@ -192,7 +192,7 @@ public class DefaultProjectBuilder
|
|||
ArtifactResolutionRequest request = new ArtifactResolutionRequest()
|
||||
.setArtifact( artifact )
|
||||
.setLocalRepository( configuration.getLocalRepository() )
|
||||
.setRemoteRepostories( configuration.getRemoteRepositories() );
|
||||
.setRemoteRepositories( configuration.getRemoteRepositories() );
|
||||
// FIXME setTransferListener
|
||||
ArtifactResolutionResult result = repositorySystem.resolve( request );
|
||||
|
||||
|
@ -258,7 +258,7 @@ public class DefaultProjectBuilder
|
|||
.setResolveRoot( false )
|
||||
.setResolveTransitively( true )
|
||||
.setLocalRepository( request.getLocalRepository() )
|
||||
.setRemoteRepostories( project.getRemoteArtifactRepositories() )
|
||||
.setRemoteRepositories( project.getRemoteArtifactRepositories() )
|
||||
.setManagedVersionMap( project.getManagedVersionMap() );
|
||||
// FIXME setTransferListener
|
||||
ArtifactResolutionResult result;
|
||||
|
|
|
@ -175,7 +175,7 @@ public class DefaultProjectBuildingHelper
|
|||
request.setArtifactDependencies( dependencies );
|
||||
request.setResolveTransitively( true );
|
||||
request.setLocalRepository( localRepository );
|
||||
request.setRemoteRepostories( remoteRepositories );
|
||||
request.setRemoteRepositories( remoteRepositories );
|
||||
// FIXME setTransferListener
|
||||
|
||||
ArtifactResolutionResult result = repositorySystem.resolve( request );
|
||||
|
|
|
@ -130,7 +130,7 @@ class RepositoryModelResolver
|
|||
ArtifactResolutionRequest request = new ArtifactResolutionRequest();
|
||||
request.setArtifact( artifactParent );
|
||||
request.setLocalRepository( localRepository );
|
||||
request.setRemoteRepostories( remoteRepositories );
|
||||
request.setRemoteRepositories( remoteRepositories );
|
||||
// FIXME setTransferListener
|
||||
ArtifactResolutionResult result = repositorySystem.resolve( request );
|
||||
|
||||
|
|
|
@ -78,7 +78,7 @@ public class LegacyRepositorySystemTest
|
|||
.setArtifact( artifact )
|
||||
.setResolveRoot( true )
|
||||
.setResolveTransitively( true )
|
||||
.setRemoteRepostories( Arrays.asList( new ArtifactRepository[]{ repositorySystem.createDefaultRemoteRepository() } ) )
|
||||
.setRemoteRepositories( Arrays.asList( new ArtifactRepository[]{ repositorySystem.createDefaultRemoteRepository() } ) )
|
||||
.setLocalRepository( repositorySystem.createDefaultLocalRepository() );
|
||||
|
||||
ArtifactResolutionResult result = repositorySystem.resolve( request );
|
||||
|
|
|
@ -48,7 +48,7 @@ public class IdeWorkspaceRepositoryTest
|
|||
ArtifactResolutionRequest request = new ArtifactResolutionRequest();
|
||||
request.setArtifact( artifact );
|
||||
request.setLocalRepository( localRepository );
|
||||
request.setRemoteRepostories( new ArrayList<ArtifactRepository>() );
|
||||
request.setRemoteRepositories( new ArrayList<ArtifactRepository>() );
|
||||
|
||||
repositorySystem.resolve( request );
|
||||
|
||||
|
@ -69,7 +69,7 @@ public class IdeWorkspaceRepositoryTest
|
|||
ArtifactResolutionRequest request = new ArtifactResolutionRequest();
|
||||
request.setArtifact( artifact );
|
||||
request.setLocalRepository( delegatingLocalArtifactRepository );
|
||||
request.setRemoteRepostories( new ArrayList<ArtifactRepository>() );
|
||||
request.setRemoteRepositories( new ArrayList<ArtifactRepository>() );
|
||||
|
||||
repositorySystem.resolve( request );
|
||||
|
||||
|
|
Loading…
Reference in New Issue