mirror of https://github.com/apache/maven.git
o Fixed typo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@802780 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
db4d07ea3a
commit
497a490d0f
|
@ -103,7 +103,7 @@ public class ArtifactResolutionRequest
|
|||
return this;
|
||||
}
|
||||
|
||||
public List<ArtifactRepository> getRemoteRepostories()
|
||||
public List<ArtifactRepository> getRemoteRepositories()
|
||||
{
|
||||
return remoteRepositories;
|
||||
}
|
||||
|
|
|
@ -359,7 +359,7 @@ public class DefaultArtifactResolver
|
|||
Set<Artifact> artifacts = request.getArtifactDependencies();
|
||||
Map managedVersions = request.getManagedVersionMap();
|
||||
ArtifactRepository localRepository = request.getLocalRepository();
|
||||
List<ArtifactRepository> remoteRepositories = request.getRemoteRepostories();
|
||||
List<ArtifactRepository> remoteRepositories = request.getRemoteRepositories();
|
||||
List<ResolutionListener> listeners = request.getListeners();
|
||||
ArtifactFilter filter = request.getFilter();
|
||||
|
||||
|
|
|
@ -69,14 +69,14 @@ public class DefaultResolutionErrorHandler
|
|||
if ( result.hasMissingArtifacts() )
|
||||
{
|
||||
throw new MultipleArtifactsNotFoundException( request.getArtifact(), toList( result.getArtifacts() ),
|
||||
result.getMissingArtifacts(), request.getRemoteRepostories() );
|
||||
result.getMissingArtifacts(), request.getRemoteRepositories() );
|
||||
}
|
||||
|
||||
// this should never happen since we checked all possible error sources before but better be sure
|
||||
if ( result.hasExceptions() )
|
||||
{
|
||||
throw new ArtifactResolutionException( "Unknown error during artifact resolution, " + request + ", "
|
||||
+ result.getExceptions(), request.getArtifact(), request.getRemoteRepostories() );
|
||||
+ result.getExceptions(), request.getArtifact(), request.getRemoteRepositories() );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue