Tamas Cservenak created MNG-7754:
------------------------------------

             Summary: Improve Mojo parameters deprecation message
                 Key: MNG-7754
                 URL: https://issues.apache.org/jira/browse/MNG-7754
             Project: Maven
          Issue Type: Task
          Components: Core
    Affects Versions: 3.9.1
            Reporter: Tamas Cservenak
             Fix For: 3.9.2


Some users when see "{*}Avoid use of ArtifactRepository type. If you need 
access to local repository, switch to '${repositorySystemSession}' expression 
and get LRM from it instead.{*}" warning on their console, immediately grep 
their {{$HOME}} to find hat they DO HAVE afore mentioned string present in 
their {{{}settings.xml{}}}, and then scratch their head how to get rid of it.

Hence, we should improve error message – at least add some clue that message 
targets given Mojo developers (as message appears immediately under Mojo 
execution log message) and not users. Best users could do is nag Mojo 
developers, and not us, to make message dissapear.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to