You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tamas Cservenak (Jira)" <ji...@apache.org> on 2023/04/12 09:57:00 UTC

[jira] [Comment Edited] (MNG-7754) Improvement and extension of plugin validation

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

Tamas Cservenak edited comment on MNG-7754 at 4/12/23 9:56 AM:
---------------------------------------------------------------

Merged as:

maven-3.9.x: [https://github.com/apache/maven/commit/36a4e9ff644850a96cfd173cda95819a8836e833]

master: [https://github.com/apache/maven/commit/53b64732378fe27a91cb66dad5693d6d0c71628a|https://github.com/apache/maven/commit/53b64732378fe27a91cb66dad5693d6d0c71628a]


was (Author: cstamas):
Merged as:

maven-3.9.x: https://github.com/apache/maven/commit/36a4e9ff644850a96cfd173cda95819a8836e833

master: https://github.com/apache/maven/commit/cfc6798b9604eccc82664f1c7b83c70533ee9994

> Improvement and extension of plugin validation
> ----------------------------------------------
>
>                 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
>            Assignee: 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.
> Improvements:
>  * report at end, instead multiple times same warning (for reactor builds)
>  * possibility to suppress validation
>  * new check: maven-compat, maven2, p-c-d, mixed maven verions,, wrong scopes (similar as m-p-p does on build time)



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