don't need to check for updates on snapshot poms - that happens anyway

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@226464 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-07-30 02:18:01 +00:00
parent a7b156acc3
commit 44abb5383a
1 changed files with 1 additions and 1 deletions

View File

@ -303,7 +303,7 @@ public class DefaultMavenProjectBuilder
}
// TODO: configurable actions dependant on status
if ( status.compareTo( ArtifactStatus.VERIFIED ) < 0 )
if ( !artifact.isSnapshot() && status.compareTo( ArtifactStatus.VERIFIED ) < 0 )
{
// use default policy (enabled, daily update, warn on bad checksum)
ArtifactRepositoryPolicy policy = new ArtifactRepositoryPolicy();