mirror of https://github.com/apache/maven.git
o Restored backward-compat with maven-assembly-plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749982 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
374ef3a15b
commit
9b6716c552
|
@ -106,7 +106,7 @@ public class ArtifactResolutionResult
|
|||
|
||||
public List<Artifact> getMissingArtifacts()
|
||||
{
|
||||
return missingArtifacts == null ? Collections.EMPTY_LIST : missingArtifacts;
|
||||
return missingArtifacts == null ? Collections.<Artifact> emptyList() : missingArtifacts;
|
||||
}
|
||||
|
||||
public ArtifactResolutionResult addMissingArtifact( Artifact artifact )
|
||||
|
|
|
@ -33,6 +33,10 @@ import org.apache.maven.artifact.resolver.filter.ArtifactFilter;
|
|||
public interface ArtifactResolver
|
||||
{
|
||||
|
||||
// USED BY MAVEN ASSEMBLY PLUGIN 2.2-beta-2
|
||||
@Deprecated
|
||||
String ROLE = ArtifactResolver.class.getName();
|
||||
|
||||
void setOnline( boolean online );
|
||||
|
||||
boolean isOnline();
|
||||
|
|
|
@ -30,6 +30,7 @@ public interface ToolchainManager
|
|||
{
|
||||
|
||||
// NOTE: Some plugins like Surefire access this field directly!
|
||||
@Deprecated
|
||||
String ROLE = ToolchainManager.class.getName();
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue