mirror of
https://github.com/apache/maven.git
synced 2025-03-08 01:30:33 +00:00
o Removed authorative flag from repo, resolution just stops when the artifact's resolved flag is true
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@799858 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ea10476bf9
commit
287a715954
@ -28,16 +28,6 @@ public abstract class LocalArtifactRepository
|
||||
public static final String IDE_WORKSPACE = "ide-workspace";
|
||||
|
||||
public abstract Artifact find( Artifact artifact );
|
||||
|
||||
/**
|
||||
* If an artifact is found in this repository and this method returns true the search is over. This would
|
||||
* be the case if we look for artifacts in the reactor or a IDE workspace. We don't want to search any
|
||||
* further.
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
// workspace or reactor
|
||||
public abstract boolean isAuthoritative();
|
||||
|
||||
|
||||
public abstract boolean hasLocalMetadata();
|
||||
}
|
||||
|
@ -65,12 +65,6 @@ public String pathOf( Artifact artifact )
|
||||
{
|
||||
return localRepository.pathOf( artifact );
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isAuthoritative()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasLocalMetadata()
|
||||
|
@ -94,12 +94,6 @@ public String getId()
|
||||
return "reactor";
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isAuthoritative()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasLocalMetadata()
|
||||
{
|
||||
|
@ -37,10 +37,4 @@ public boolean hasLocalMetadata()
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isAuthoritative()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user