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;
|
return remoteRepositories;
|
||||||
}
|
}
|
||||||
|
|
||||||
public ArtifactResolutionRequest setRemoteRepostories( List<ArtifactRepository> remoteRepostories )
|
public ArtifactResolutionRequest setRemoteRepositories( List<ArtifactRepository> remoteRepositories )
|
||||||
{
|
{
|
||||||
this.remoteRepositories = remoteRepostories;
|
this.remoteRepositories = remoteRepositories;
|
||||||
|
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
|
@ -318,7 +318,7 @@ public class DefaultArtifactResolver
|
||||||
.setArtifactDependencies( artifacts )
|
.setArtifactDependencies( artifacts )
|
||||||
.setManagedVersionMap( managedVersions )
|
.setManagedVersionMap( managedVersions )
|
||||||
.setLocalRepository( localRepository )
|
.setLocalRepository( localRepository )
|
||||||
.setRemoteRepostories( remoteRepositories )
|
.setRemoteRepositories( remoteRepositories )
|
||||||
.setFilter( filter )
|
.setFilter( filter )
|
||||||
.setListeners( listeners );
|
.setListeners( listeners );
|
||||||
|
|
||||||
|
|
|
@ -78,7 +78,7 @@ public class DefaultProjectDependenciesResolver
|
||||||
.setResolveRoot( false )
|
.setResolveRoot( false )
|
||||||
.setResolveTransitively( true )
|
.setResolveTransitively( true )
|
||||||
.setLocalRepository( localRepository )
|
.setLocalRepository( localRepository )
|
||||||
.setRemoteRepostories( remoteRepositories )
|
.setRemoteRepositories( remoteRepositories )
|
||||||
.setManagedVersionMap( project.getManagedVersionMap() )
|
.setManagedVersionMap( project.getManagedVersionMap() )
|
||||||
.setFilter( filter );
|
.setFilter( filter );
|
||||||
// FIXME setTransferListener
|
// FIXME setTransferListener
|
||||||
|
|
|
@ -131,7 +131,7 @@ public class DefaultPluginManager
|
||||||
ArtifactResolutionRequest request = new ArtifactResolutionRequest()
|
ArtifactResolutionRequest request = new ArtifactResolutionRequest()
|
||||||
.setArtifact( pluginArtifact )
|
.setArtifact( pluginArtifact )
|
||||||
.setLocalRepository( localRepository )
|
.setLocalRepository( localRepository )
|
||||||
.setRemoteRepostories( remoteRepositories )
|
.setRemoteRepositories( remoteRepositories )
|
||||||
.setResolveTransitively( false );
|
.setResolveTransitively( false );
|
||||||
// FIXME setTransferListener
|
// FIXME setTransferListener
|
||||||
ArtifactResolutionResult result = repositorySystem.resolve( request );
|
ArtifactResolutionResult result = repositorySystem.resolve( request );
|
||||||
|
@ -274,7 +274,7 @@ public class DefaultPluginManager
|
||||||
// So this in fact are overrides ...
|
// So this in fact are overrides ...
|
||||||
.setArtifactDependencies( dependenciesToResolveForPlugin )
|
.setArtifactDependencies( dependenciesToResolveForPlugin )
|
||||||
.setLocalRepository( localRepository )
|
.setLocalRepository( localRepository )
|
||||||
.setRemoteRepostories( remoteRepositories )
|
.setRemoteRepositories( remoteRepositories )
|
||||||
.setFilter( filter )
|
.setFilter( filter )
|
||||||
.setResolveRoot( true )
|
.setResolveRoot( true )
|
||||||
.setResolveTransitively( true );
|
.setResolveTransitively( true );
|
||||||
|
|
|
@ -192,7 +192,7 @@ public class DefaultProjectBuilder
|
||||||
ArtifactResolutionRequest request = new ArtifactResolutionRequest()
|
ArtifactResolutionRequest request = new ArtifactResolutionRequest()
|
||||||
.setArtifact( artifact )
|
.setArtifact( artifact )
|
||||||
.setLocalRepository( configuration.getLocalRepository() )
|
.setLocalRepository( configuration.getLocalRepository() )
|
||||||
.setRemoteRepostories( configuration.getRemoteRepositories() );
|
.setRemoteRepositories( configuration.getRemoteRepositories() );
|
||||||
// FIXME setTransferListener
|
// FIXME setTransferListener
|
||||||
ArtifactResolutionResult result = repositorySystem.resolve( request );
|
ArtifactResolutionResult result = repositorySystem.resolve( request );
|
||||||
|
|
||||||
|
@ -258,7 +258,7 @@ public class DefaultProjectBuilder
|
||||||
.setResolveRoot( false )
|
.setResolveRoot( false )
|
||||||
.setResolveTransitively( true )
|
.setResolveTransitively( true )
|
||||||
.setLocalRepository( request.getLocalRepository() )
|
.setLocalRepository( request.getLocalRepository() )
|
||||||
.setRemoteRepostories( project.getRemoteArtifactRepositories() )
|
.setRemoteRepositories( project.getRemoteArtifactRepositories() )
|
||||||
.setManagedVersionMap( project.getManagedVersionMap() );
|
.setManagedVersionMap( project.getManagedVersionMap() );
|
||||||
// FIXME setTransferListener
|
// FIXME setTransferListener
|
||||||
ArtifactResolutionResult result;
|
ArtifactResolutionResult result;
|
||||||
|
|
|
@ -175,7 +175,7 @@ public class DefaultProjectBuildingHelper
|
||||||
request.setArtifactDependencies( dependencies );
|
request.setArtifactDependencies( dependencies );
|
||||||
request.setResolveTransitively( true );
|
request.setResolveTransitively( true );
|
||||||
request.setLocalRepository( localRepository );
|
request.setLocalRepository( localRepository );
|
||||||
request.setRemoteRepostories( remoteRepositories );
|
request.setRemoteRepositories( remoteRepositories );
|
||||||
// FIXME setTransferListener
|
// FIXME setTransferListener
|
||||||
|
|
||||||
ArtifactResolutionResult result = repositorySystem.resolve( request );
|
ArtifactResolutionResult result = repositorySystem.resolve( request );
|
||||||
|
|
|
@ -130,7 +130,7 @@ class RepositoryModelResolver
|
||||||
ArtifactResolutionRequest request = new ArtifactResolutionRequest();
|
ArtifactResolutionRequest request = new ArtifactResolutionRequest();
|
||||||
request.setArtifact( artifactParent );
|
request.setArtifact( artifactParent );
|
||||||
request.setLocalRepository( localRepository );
|
request.setLocalRepository( localRepository );
|
||||||
request.setRemoteRepostories( remoteRepositories );
|
request.setRemoteRepositories( remoteRepositories );
|
||||||
// FIXME setTransferListener
|
// FIXME setTransferListener
|
||||||
ArtifactResolutionResult result = repositorySystem.resolve( request );
|
ArtifactResolutionResult result = repositorySystem.resolve( request );
|
||||||
|
|
||||||
|
|
|
@ -78,7 +78,7 @@ public class LegacyRepositorySystemTest
|
||||||
.setArtifact( artifact )
|
.setArtifact( artifact )
|
||||||
.setResolveRoot( true )
|
.setResolveRoot( true )
|
||||||
.setResolveTransitively( true )
|
.setResolveTransitively( true )
|
||||||
.setRemoteRepostories( Arrays.asList( new ArtifactRepository[]{ repositorySystem.createDefaultRemoteRepository() } ) )
|
.setRemoteRepositories( Arrays.asList( new ArtifactRepository[]{ repositorySystem.createDefaultRemoteRepository() } ) )
|
||||||
.setLocalRepository( repositorySystem.createDefaultLocalRepository() );
|
.setLocalRepository( repositorySystem.createDefaultLocalRepository() );
|
||||||
|
|
||||||
ArtifactResolutionResult result = repositorySystem.resolve( request );
|
ArtifactResolutionResult result = repositorySystem.resolve( request );
|
||||||
|
|
|
@ -48,7 +48,7 @@ public class IdeWorkspaceRepositoryTest
|
||||||
ArtifactResolutionRequest request = new ArtifactResolutionRequest();
|
ArtifactResolutionRequest request = new ArtifactResolutionRequest();
|
||||||
request.setArtifact( artifact );
|
request.setArtifact( artifact );
|
||||||
request.setLocalRepository( localRepository );
|
request.setLocalRepository( localRepository );
|
||||||
request.setRemoteRepostories( new ArrayList<ArtifactRepository>() );
|
request.setRemoteRepositories( new ArrayList<ArtifactRepository>() );
|
||||||
|
|
||||||
repositorySystem.resolve( request );
|
repositorySystem.resolve( request );
|
||||||
|
|
||||||
|
@ -69,7 +69,7 @@ public class IdeWorkspaceRepositoryTest
|
||||||
ArtifactResolutionRequest request = new ArtifactResolutionRequest();
|
ArtifactResolutionRequest request = new ArtifactResolutionRequest();
|
||||||
request.setArtifact( artifact );
|
request.setArtifact( artifact );
|
||||||
request.setLocalRepository( delegatingLocalArtifactRepository );
|
request.setLocalRepository( delegatingLocalArtifactRepository );
|
||||||
request.setRemoteRepostories( new ArrayList<ArtifactRepository>() );
|
request.setRemoteRepositories( new ArrayList<ArtifactRepository>() );
|
||||||
|
|
||||||
repositorySystem.resolve( request );
|
repositorySystem.resolve( request );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue