You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2024/08/12 16:23:00 UTC
[jira] [Closed] (MNG-8208) Plugin Descriptor v2 misses elements
[ https://issues.apache.org/jira/browse/MNG-8208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Konrad Windszus closed MNG-8208.
--------------------------------
Fix Version/s: (was: 4.0.0)
Resolution: Invalid
> Plugin Descriptor v2 misses elements
> ------------------------------------
>
> Key: MNG-8208
> URL: https://issues.apache.org/jira/browse/MNG-8208
> Project: Maven
> Issue Type: Bug
> Reporter: Konrad Windszus
> Priority: Major
>
> Several elements in https://github.com/apache/maven/blob/master/api/maven-api-plugin/src/main/mdo/plugin.mdo have a version value {{1.0.0/1.1.0}} or {{1.1.0}}. Both values explicitly exclude that element from plugin descriptor 2.0.0 (compare with https://codehaus-plexus.github.io/modello/modello.html#interface), i.e. when building with {{mvn package site}} the generated plugin descriptor documentation (targetting 2.0,https://github.com/apache/maven/blob/10e2fba0fb7e97ba2a0f993bd044c4c27ac5d7c2/api/maven-api-plugin/pom.xml#L78) at {{target/site/plugin.html}} does no longer contain those.
> For all elements which are considered for all plugin descriptors (1.0, 1.1 and 2.0) I would recommend removing the version element at all! For all other ones there should only be a lower bound as IMHO none of the elements are removed.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)