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

Silence unnecessary legacy local repository warning

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

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Won't Fix
    • 3.2.5, 3.3.3, 3.5.0
    • None
    • Command Line
    • None

    Description

      Having been burned on several occasions by the new local repository behaviour, which in effect scopes artifacts by their origin (when first stored in the local repository), I was delighted by the introduction of the -llr command line option in 3.0.3. I now use this behaviour for all builds to avoid the build instability caused by remote repository migration. This avoids the need to start each build with:

      find ~/.m2/repository -name "_*.repositories" -exec rm -f {} \;
      

      Given that users of -llr have made an informed choice to do so, please remove the (in my view unnecessary) warning that it generates:

      [WARNING] Disabling enhanced local repository: using legacy is strongly discouraged to ensure build reproducibility.
      

      Kind regards,
      Ben.

      Attachments

        Issue Links

        Activity

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

          People

            Unassigned Unassigned
            bencaradocdavies Ben Caradoc-Davies
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment