You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/04/03 16:26:00 UTC

[jira] [Commented] (MNG-7754) Improve Mojo parameters deprecation message

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

ASF GitHub Bot commented on MNG-7754:
-------------------------------------

cstamas opened a new pull request, #1079:
URL: https://github.com/apache/maven/pull/1079

   As it seems is confusing to some users
   
   ---
   
   https://issues.apache.org/jira/browse/MNG-7754
   




> 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
>            Priority: Major
>             Fix For: 3.9.2, 4.0.0-alpha-6, 4.0.0
>
>
> Some users when see following warning:
> {noformat}
> [INFO] --- remote-resources:1.7.0:process (process-resource-bundles) @ maven ---
> [WARNING] Parameter 'localRepository' is deprecated core expression; Avoid use of ArtifactRepository type. If you need access to local repository, switch to '${repositorySystemSession}' expression and get LRM from it instead. {noformat}
> on their console, immediately grep their {{$HOME}} to find out that 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 disappear.



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