Repository: maven Updated Branches: refs/heads/MNG-6191 840a53ba9 -> 15e1df156 (forced update)
[MNG-6112] Central repository in the 4.0.0 super POM should declare update policy 'never'. This reverts commit 13adc1bc2b6d9fc3a62ec2389996726c2edce4d8 *not changing anything* just because someone did not react in time when this issue had been lying around on a branch. If we would set pace for the industrie, everyone would still be using 5.25" floppy disks and 8 bit hardware and we would tell them that upgrading to be able to use new software would be too risky and they better keep theire broken assembly routines until the machine goes up in smoke. Project: http://git-wip-us.apache.org/repos/asf/maven/repo Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/8400984a Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/8400984a Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/8400984a Branch: refs/heads/MNG-6191 Commit: 8400984ac5201ae6bf06bfa88ade8a8468c76634 Parents: 0931bb2 Author: Christian Schulte <schu...@apache.org> Authored: Sat Mar 25 20:40:05 2017 +0100 Committer: Christian Schulte <schu...@apache.org> Committed: Sat Mar 25 20:53:06 2017 +0100 ---------------------------------------------------------------------- .../main/java/org/apache/maven/bridge/MavenRepositorySystem.java | 4 ++-- .../src/main/resources/org/apache/maven/model/pom-4.0.0.xml | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/maven/blob/8400984a/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 509f302..9331710 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 @@ -573,8 +573,8 @@ public class MavenRepositorySystem throws Exception { return createRepository( RepositorySystem.DEFAULT_REMOTE_REPO_URL, RepositorySystem.DEFAULT_REMOTE_REPO_ID, - true, ArtifactRepositoryPolicy.UPDATE_POLICY_NEVER, false, - ArtifactRepositoryPolicy.UPDATE_POLICY_NEVER, + true, ArtifactRepositoryPolicy.UPDATE_POLICY_DAILY, false, + ArtifactRepositoryPolicy.UPDATE_POLICY_DAILY, ArtifactRepositoryPolicy.CHECKSUM_POLICY_WARN ); } http://git-wip-us.apache.org/repos/asf/maven/blob/8400984a/maven-model-builder/src/main/resources/org/apache/maven/model/pom-4.0.0.xml ---------------------------------------------------------------------- diff --git a/maven-model-builder/src/main/resources/org/apache/maven/model/pom-4.0.0.xml b/maven-model-builder/src/main/resources/org/apache/maven/model/pom-4.0.0.xml index 9487a9a..91492a9 100644 --- a/maven-model-builder/src/main/resources/org/apache/maven/model/pom-4.0.0.xml +++ b/maven-model-builder/src/main/resources/org/apache/maven/model/pom-4.0.0.xml @@ -32,9 +32,6 @@ under the License. <snapshots> <enabled>false</enabled> </snapshots> - <releases> - <updatePolicy>never</updatePolicy> - </releases> </repository> </repositories>