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/05/19 09:44:00 UTC

[jira] [Assigned] (MNG-7786) Maven Plugin Validation message is misleading

     [ https://issues.apache.org/jira/browse/MNG-7786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tamas Cservenak reassigned MNG-7786:
------------------------------------

    Assignee: Tamas Cservenak

> Maven Plugin Validation message is misleading
> ---------------------------------------------
>
>                 Key: MNG-7786
>                 URL: https://issues.apache.org/jira/browse/MNG-7786
>             Project: Maven
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 3.9.2
>            Reporter: Tamas Cservenak
>            Assignee: Tamas Cservenak
>            Priority: Major
>             Fix For: 3.9.3
>
>
> The Maven artifact scope validation is misleading, it claims "... should declare in provided scope", and this may happen in this case:
>  * perfectly valid POM (does declare Maven artifacts in provided scope)
>  * but plugin developer uses problematic maven-plugin-plugin (ie. 3.6.2 that suffers from descriptor generation bug)
> Proposal:
>  * reword the message, to clearly point at "plugin descriptor contains bad entries..."
>  * add new check that _actually checks plugin dependencies_ (and not "derived" descriptor dependencies that may differ from POM declared ones due m-p-p bug)



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