From 107a2deafd5444bf39bacd8c7604adcf52786a8a Mon Sep 17 00:00:00 2001 From: Brett Leslie Porter Date: Mon, 12 Sep 2005 05:42:32 +0000 Subject: [PATCH] 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 --- .../org/apache/maven/project/DefaultMavenProjectBuilder.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/maven-project/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java b/maven-project/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java index c65bba12d8..9c99719df7 100644 --- a/maven-project/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java +++ b/maven-project/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java @@ -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() ) ) ) {