o Restored methods for backward-compat

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@805122 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2009-08-17 20:17:36 +00:00
parent fe9f7fde6d
commit 5eaec2f448
3 changed files with 24 additions and 1 deletions

View File

@ -53,7 +53,13 @@ public interface ArtifactRepository
void setLayout( ArtifactRepositoryLayout layout );
String getKey();
@Deprecated
boolean isUniqueVersion();
@Deprecated
boolean isBlacklisted();
//
// New interface methods for the repository system.
//

View File

@ -230,4 +230,10 @@ public class DefaultArtifactRepository
{
// do nothing
}
public boolean isUniqueVersion()
{
return true;
}
}

View File

@ -357,4 +357,15 @@ public class MavenArtifactRepository
{
this.proxy = proxy;
}
public boolean isBlacklisted()
{
return false;
}
public boolean isUniqueVersion()
{
return true;
}
}