[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/934a1596 Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/934a1596 Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/934a1596 Branch: refs/heads/MNG-6169 Commit: 934a1596148fe90760feed23905d7e42520d68a9 Parents: 3a6a901 Author: Christian Schulte <schu...@apache.org> Authored: Sat Mar 25 20:40:05 2017 +0100 Committer: Michael Osipov <micha...@apache.org> Committed: Sun Apr 2 00:21:12 2017 +0200 ---------------------------------------------------------------------- .../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/934a1596/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/934a1596/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>