mirror of https://github.com/apache/maven.git
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:
parent
3a4b91b310
commit
ba1cb58030
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue