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:39:00 UTC
[jira] [Created] (MNG-7786) Maven Plugin Validation message is misleading
Tamas Cservenak created MNG-7786:
------------------------------------
Summary: 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
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)