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