mirror of https://github.com/apache/maven.git
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:
parent
6b229cd09a
commit
107a2deafd
|
@ -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() ) ) )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue