maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From schu...@apache.org
Subject [2/2] maven git commit: [MNG-6112] Central repository in the 4.0.0 super POM should declare update policy 'never'.
Date Fri, 11 Nov 2016 22:51:00 GMT
[MNG-6112] Central repository in the 4.0.0 super POM should declare update policy 'never'.


Project: http://git-wip-us.apache.org/repos/asf/maven/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/6b0b7a93
Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/6b0b7a93
Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/6b0b7a93

Branch: refs/heads/master
Commit: 6b0b7a932efd172dbd3ff9322e7f372fb0cdf5ee
Parents: e3079b7
Author: Christian Schulte <schulte@apache.org>
Authored: Fri Nov 11 23:49:36 2016 +0100
Committer: Christian Schulte <schulte@apache.org>
Committed: Fri Nov 11 23:49:36 2016 +0100

----------------------------------------------------------------------
 .../main/java/org/apache/maven/bridge/MavenRepositorySystem.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven/blob/6b0b7a93/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java
----------------------------------------------------------------------
diff --git a/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java b/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java
index 147118c..23af3e8 100644
--- a/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java
+++ b/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java
@@ -572,8 +572,8 @@ public class MavenRepositorySystem
         throws Exception
     {
         return createRepository( RepositorySystem.DEFAULT_REMOTE_REPO_URL, RepositorySystem.DEFAULT_REMOTE_REPO_ID,
-                                 true, ArtifactRepositoryPolicy.UPDATE_POLICY_DAILY, false,
-                                 ArtifactRepositoryPolicy.UPDATE_POLICY_DAILY,
+                                 true, ArtifactRepositoryPolicy.UPDATE_POLICY_NEVER, false,
+                                 ArtifactRepositoryPolicy.UPDATE_POLICY_NEVER,
                                  ArtifactRepositoryPolicy.CHECKSUM_POLICY_WARN );
     }
     


Mime
View raw message