[Commented] (MNG-5883) Silence unnecessary legacy local repository warning

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Commented] (MNG-5883) Silence unnecessary legacy local repository warning

Martin Kanters (Jira)

    [ https://issues.apache.org/jira/browse/MNG-5883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17216161#comment-17216161 ]

Petr Bodnar commented on MNG-5883:
----------------------------------

[~michael-o], thanks for your reply. In fact, for me as a user, I can't really tell whether the problem lies within Maven itself or within one of its parts, it's really not relevant to me. But please feel free to move the newly created issue MNG-7001 under any other Jira project. The issues so far were primarily discussed with the Maven project...

To your second paragraph, although I understand what a repository id, mirror or group is (I somewhat manage a company's Nexus repo myself.), I don't quite get what you're trying to say. But never mind, we can hopefully continue with the discussion, in a little bit more user oriented style, at the MNG-7001...

> Silence unnecessary legacy local repository warning
> ---------------------------------------------------
>
>                 Key: MNG-5883
>                 URL: https://issues.apache.org/jira/browse/MNG-5883
>             Project: Maven
>          Issue Type: Improvement
>          Components: Command Line
>    Affects Versions: 3.2.5, 3.3.3, 3.5.0
>            Reporter: Ben Caradoc-Davies
>            Priority: Trivial
>
> 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:
> {code}
> find ~/.m2/repository -name "_*.repositories" -exec rm -f {} \;
> {code}
> Given that users of -llr have made an informed choice to do so, please remove the (in my view unnecessary) warning that it generates:
> {code}
> [WARNING] Disabling enhanced local repository: using legacy is strongly discouraged to ensure build reproducibility.
> {code}
> Kind regards,
> Ben.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)