don't recheck "deployed" metadata

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280234 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-09-12 01:42:15 +00:00
parent 3a4b91b310
commit ba1cb58030
1 changed files with 3 additions and 3 deletions

View File

@ -342,7 +342,7 @@ public class DefaultMavenProjectBuilder
}
// TODO: configurable actions dependant on status
if ( !artifact.isSnapshot() && status.compareTo( ArtifactStatus.VERIFIED ) < 0 )
if ( !artifact.isSnapshot() && status.compareTo( ArtifactStatus.DEPLOYED ) < 0 )
{
// use default policy (enabled, daily update, warn on bad checksum)
ArtifactRepositoryPolicy policy = new ArtifactRepositoryPolicy();
@ -575,11 +575,11 @@ public class DefaultMavenProjectBuilder
if ( pomLocation != null && new File( pomLocation ).getParent() != null )
{
context.put( "basedir", new File( pomLocation ).getParent() );
context.put( "basedir", new File( pomLocation ).getParent() );
}
else
{
context.put( "basedir", project.getBasedir() );
context.put( "basedir", project.getBasedir() );
}
model = modelInterpolator.interpolate( model, context );