You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by kw...@apache.org on 2024/02/23 11:07:11 UTC

(maven) branch maven-3.9.x updated: [MNG-8019] Rely on default update policy (daily) for Central (#1381)

This is an automated email from the ASF dual-hosted git repository.

kwin pushed a commit to branch maven-3.9.x
in repository https://gitbox.apache.org/repos/asf/maven.git


The following commit(s) were added to refs/heads/maven-3.9.x by this push:
     new 9a84fdf2a9 [MNG-8019] Rely on default update policy (daily) for Central (#1381)
9a84fdf2a9 is described below

commit 9a84fdf2a9502956599c01d740b934b631550701
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Fri Feb 23 12:07:06 2024 +0100

    [MNG-8019] Rely on default update policy (daily) for Central (#1381)
    
    Both plugin and regular repository should have the same policy.
    Unfortunately using "never" is not possible as long as resolver applies
    this policy to both artifacts (immutable) and metadata (mutable)
---
 .../src/main/resources/org/apache/maven/model/pom-4.0.0.xml            | 3 ---
 1 file changed, 3 deletions(-)

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 81e8a31d5b..df4295e2e7 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
@@ -44,9 +44,6 @@ under the License.
       <snapshots>
         <enabled>false</enabled>
       </snapshots>
-      <releases>
-        <updatePolicy>never</updatePolicy>
-      </releases>
     </pluginRepository>
   </pluginRepositories>