[
https://issues.apache.org/jira/browse/MNG-8208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17872932#comment-17872932
]
Konrad Windszus commented on MNG-8208:
--------------------------------------
[~gnodet] Can you take a look as I am not sure if there really are elements in
2.0.0 which should no longer be part of the descriptor (according to
https://github.com/apache/maven-plugin-tools/blob/9332b09acc08d2e063f12a8158a57ca8ec56fadd/maven-plugin-tools-generators/src/main/java/org/apache/maven/tools/plugin/generator/PluginDescriptorFilesGenerator.java#L105
this doesn't seem to be case...)
> 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)