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

Silence unnecessary legacy local repository warning

    Details

    • Type: Improvement
    • Status: Reopened
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 3.2.5, 3.3.3, 3.5.0
    • Fix Version/s: None
    • Component/s: Command Line
    • Labels:
      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

              People

              • Assignee:
                Unassigned
                Reporter:
                bencaradocdavies Ben Caradoc-Davies
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated: