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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment