mirror of https://github.com/apache/maven.git
o Restored methods for backward-compat
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@805378 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7ed9ec5b37
commit
1bf8d76de8
|
@ -87,7 +87,12 @@ public class ArtifactResolutionResult
|
|||
|
||||
public Set<Artifact> getArtifacts()
|
||||
{
|
||||
return ( artifacts != null ) ? artifacts : Collections.<Artifact> emptySet();
|
||||
if ( artifacts == null )
|
||||
{
|
||||
artifacts = new LinkedHashSet<Artifact>();
|
||||
}
|
||||
|
||||
return artifacts;
|
||||
}
|
||||
|
||||
public void setArtifacts( Set<Artifact> artifacts )
|
||||
|
|
|
@ -51,6 +51,14 @@ public interface ArtifactResolver
|
|||
ArtifactMetadataSource source, ArtifactFilter filter )
|
||||
throws ArtifactResolutionException, ArtifactNotFoundException;
|
||||
|
||||
// USED BY MAVEN ASSEMBLY PLUGIN
|
||||
@Deprecated
|
||||
public ArtifactResolutionResult resolveTransitively( Set<Artifact> artifacts, Artifact originatingArtifact,
|
||||
Map managedVersions, ArtifactRepository localRepository,
|
||||
List<ArtifactRepository> remoteRepositories,
|
||||
ArtifactMetadataSource source )
|
||||
throws ArtifactResolutionException, ArtifactNotFoundException;
|
||||
|
||||
// USED BY MAVEN ASSEMBLY PLUGIN
|
||||
@Deprecated
|
||||
public ArtifactResolutionResult resolveTransitively( Set<Artifact> artifacts, Artifact originatingArtifact, Map managedVersions, ArtifactRepository localRepository,
|
||||
|
|
Loading…
Reference in New Issue