mirror of https://github.com/apache/maven.git
o Restored legacy methods for backward-compat with existing plugins
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@807742 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4b904e1005
commit
35101ed744
|
@ -65,6 +65,29 @@ public interface ArtifactResolver
|
||||||
List<ArtifactRepository> remoteRepositories, ArtifactMetadataSource source, ArtifactFilter filter )
|
List<ArtifactRepository> remoteRepositories, ArtifactMetadataSource source, ArtifactFilter filter )
|
||||||
throws ArtifactResolutionException, ArtifactNotFoundException;
|
throws ArtifactResolutionException, ArtifactNotFoundException;
|
||||||
|
|
||||||
|
@Deprecated
|
||||||
|
public ArtifactResolutionResult resolveTransitively( Set<Artifact> artifacts, Artifact originatingArtifact,
|
||||||
|
List<ArtifactRepository> remoteRepositories,
|
||||||
|
ArtifactRepository localRepository,
|
||||||
|
ArtifactMetadataSource source )
|
||||||
|
throws ArtifactResolutionException, ArtifactNotFoundException;
|
||||||
|
|
||||||
|
@Deprecated
|
||||||
|
public ArtifactResolutionResult resolveTransitively( Set<Artifact> artifacts, Artifact originatingArtifact,
|
||||||
|
Map managedVersions, ArtifactRepository localRepository,
|
||||||
|
List<ArtifactRepository> remoteRepositories,
|
||||||
|
ArtifactMetadataSource source, ArtifactFilter filter,
|
||||||
|
List<ResolutionListener> listeners )
|
||||||
|
throws ArtifactResolutionException, ArtifactNotFoundException;
|
||||||
|
|
||||||
|
@Deprecated
|
||||||
|
public ArtifactResolutionResult resolveTransitively( Set<Artifact> artifacts, Artifact originatingArtifact,
|
||||||
|
List<ArtifactRepository> remoteRepositories,
|
||||||
|
ArtifactRepository localRepository,
|
||||||
|
ArtifactMetadataSource source,
|
||||||
|
List<ResolutionListener> listeners )
|
||||||
|
throws ArtifactResolutionException, ArtifactNotFoundException;
|
||||||
|
|
||||||
// USED BY REMOTE RESOURCES PLUGIN
|
// USED BY REMOTE RESOURCES PLUGIN
|
||||||
@Deprecated
|
@Deprecated
|
||||||
void resolve( Artifact artifact, List<ArtifactRepository> remoteRepositories, ArtifactRepository localRepository )
|
void resolve( Artifact artifact, List<ArtifactRepository> remoteRepositories, ArtifactRepository localRepository )
|
||||||
|
|
|
@ -315,9 +315,8 @@ public class DefaultArtifactResolver
|
||||||
ArtifactMetadataSource source, List<ResolutionListener> listeners )
|
ArtifactMetadataSource source, List<ResolutionListener> listeners )
|
||||||
throws ArtifactResolutionException, ArtifactNotFoundException
|
throws ArtifactResolutionException, ArtifactNotFoundException
|
||||||
{
|
{
|
||||||
return resolveTransitively( artifacts, originatingArtifact,
|
return resolveTransitively( artifacts, originatingArtifact, Collections.EMPTY_MAP, localRepository,
|
||||||
|
remoteRepositories, source, null, listeners );
|
||||||
Collections.EMPTY_MAP, localRepository, remoteRepositories, source, null, listeners );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public ArtifactResolutionResult resolveTransitively( Set<Artifact> artifacts, Artifact originatingArtifact, Map managedVersions, ArtifactRepository localRepository,
|
public ArtifactResolutionResult resolveTransitively( Set<Artifact> artifacts, Artifact originatingArtifact, Map managedVersions, ArtifactRepository localRepository,
|
||||||
|
|
Loading…
Reference in New Issue