Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-8019

Streamline update policy of pluginRepository/repository of Maven Central in Super POM

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.9.7
    • None

    Description

      The update policy is set to never for the Maven Central pluginRepository (https://github.com/apache/maven/blob/b23afbc9849d57b0a4ff0f2bdd3fff5520a95f7c/maven-model-builder/src/main/resources/org/apache/maven/model/pom-4.0.0.xml#L48) while it is the default (= daily) for the regular repository.

      Although it would be nice to set both to never this does not work with Resolver 1.x as that treats metadata and artifacts the same (but in fact metadata is constantly changing even for release repositories like Maven Central). This situation should improve with Resolver 2.x (Maven 4) (https://issues.apache.org/jira/browse/MRESOLVER-377).

      Attachments

        Issue Links

          Activity

            githubbot ASF GitHub Bot added a comment -

            kwin opened a new pull request, #1381:
            URL: https://github.com/apache/maven/pull/1381

            (no comment)

            githubbot ASF GitHub Bot added a comment - kwin opened a new pull request, #1381: URL: https://github.com/apache/maven/pull/1381 (no comment)
            githubbot ASF GitHub Bot added a comment -

            cstamas commented on PR #1381:
            URL: https://github.com/apache/maven/pull/1381#issuecomment-1892507041

            @gnodet was working on this or similar change not so long time ago...

            githubbot ASF GitHub Bot added a comment - cstamas commented on PR #1381: URL: https://github.com/apache/maven/pull/1381#issuecomment-1892507041 @gnodet was working on this or similar change not so long time ago...
            githubbot ASF GitHub Bot added a comment -

            kwin commented on PR #1381:
            URL: https://github.com/apache/maven/pull/1381#issuecomment-1892625986

            For Maven 4 both are already at the default (=daily), being applied in https://github.com/apache/maven/commit/fb612f5dbc89d8e268bc3581e538c392c1fff788. So this is basically the backport of MNG-6112.

            githubbot ASF GitHub Bot added a comment - kwin commented on PR #1381: URL: https://github.com/apache/maven/pull/1381#issuecomment-1892625986 For Maven 4 both are already at the default (=daily), being applied in https://github.com/apache/maven/commit/fb612f5dbc89d8e268bc3581e538c392c1fff788 . So this is basically the backport of MNG-6112 .
            githubbot ASF GitHub Bot added a comment -

            kwin commented on PR #1381:
            URL: https://github.com/apache/maven/pull/1381#issuecomment-1943777072

            @gnodet If you don't have any concerns I am gonna merge towards the end of the week.

            githubbot ASF GitHub Bot added a comment - kwin commented on PR #1381: URL: https://github.com/apache/maven/pull/1381#issuecomment-1943777072 @gnodet If you don't have any concerns I am gonna merge towards the end of the week.
            githubbot ASF GitHub Bot added a comment -

            kwin merged PR #1381:
            URL: https://github.com/apache/maven/pull/1381

            githubbot ASF GitHub Bot added a comment - kwin merged PR #1381: URL: https://github.com/apache/maven/pull/1381
            kwin Konrad Windszus added a comment - Fixed in https://github.com/apache/maven/commit/9a84fdf2a9502956599c01d740b934b631550701 .

            People

              kwin Konrad Windszus
              kwin Konrad Windszus
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: