You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Petr Bodnar (JIRA)" <ji...@apache.org> on 2019/01/20 20:04:00 UTC

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

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

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

Hi, I agree that the new behavior just doesn't make sense. I also realize this could be discussed under a special ticket, but whatever... My patience have run out after all the years, so I blogged about it here: [https://programmedbycoincidence.blogspot.com/2019/01/the-biggest-wtf-new-feature-ive-ever.html|https://programmedbycoincidence.blogspot.com/2019/01/the-biggest-wtf-new-feature-ive-ever.html.]. I know I'm just a small fish in the sea, but who knows, maybe someone more powerful and responsible will read it... ;) Or what about making a petition, as there seems to be a new habit in the gaming industry, for example? :D

> 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
(v7.6.3#76005)