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:
Benjamin Bentmann 2009-03-04 12:38:00 +00:00
parent 374ef3a15b
commit 9b6716c552
3 changed files with 6 additions and 1 deletions

View File

@ -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 )

View File

@ -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();

View File

@ -30,6 +30,7 @@ public interface ToolchainManager
{
// NOTE: Some plugins like Surefire access this field directly!
@Deprecated
String ROLE = ToolchainManager.class.getName();
/**