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@805122 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fe9f7fde6d
commit
5eaec2f448
|
@ -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.
|
||||
//
|
||||
|
|
|
@ -230,4 +230,10 @@ public class DefaultArtifactRepository
|
|||
{
|
||||
// do nothing
|
||||
}
|
||||
|
||||
public boolean isUniqueVersion()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -357,4 +357,15 @@ public class MavenArtifactRepository
|
|||
{
|
||||
this.proxy = proxy;
|
||||
}
|
||||
|
||||
public boolean isBlacklisted()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public boolean isUniqueVersion()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue