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:
Benjamin Bentmann 2009-08-01 13:10:20 +00:00
parent ea10476bf9
commit 287a715954
4 changed files with 1 additions and 29 deletions

View File

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

View File

@ -65,12 +65,6 @@ public String pathOf( Artifact artifact )
{
return localRepository.pathOf( artifact );
}
@Override
public boolean isAuthoritative()
{
return false;
}
@Override
public boolean hasLocalMetadata()

View File

@ -94,12 +94,6 @@ public String getId()
return "reactor";
}
@Override
public boolean isAuthoritative()
{
return true;
}
@Override
public boolean hasLocalMetadata()
{

View File

@ -37,10 +37,4 @@ public boolean hasLocalMetadata()
return false;
}
@Override
public boolean isAuthoritative()
{
return true;
}
}