PR: MNG-798

disable daily update of poms with dodgy metadata

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280264 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-09-12 05:42:32 +00:00
parent 6b229cd09a
commit 107a2deafd
1 changed files with 2 additions and 0 deletions

View File

@ -346,6 +346,8 @@ public class DefaultMavenProjectBuilder
{
// use default policy (enabled, daily update, warn on bad checksum)
ArtifactRepositoryPolicy policy = new ArtifactRepositoryPolicy();
// TODO: re-enable [MNG-798/865]
policy.setUpdatePolicy( ArtifactRepositoryPolicy.UPDATE_POLICY_NEVER );
if ( policy.checkOutOfDate( new Date( file.lastModified() ) ) )
{