Konrad Windszus created MNG-8208:
------------------------------------

             Summary: 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


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)

Reply via email to