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 2024/07/11 10:52:00 UTC

[jira] [Updated] (MNG-7569) Plugin descriptor model should contain all elements understood by PluginDescriptorBuilder and correctly specify mandatory attributes

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

Tamas Cservenak updated MNG-7569:
---------------------------------
    Fix Version/s: 4.0.0-alpha-3

> Plugin descriptor model should contain all elements understood by PluginDescriptorBuilder and correctly specify mandatory attributes
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-7569
>                 URL: https://issues.apache.org/jira/browse/MNG-7569
>             Project: Maven
>          Issue Type: Improvement
>          Components: Plugin API
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>            Priority: Major
>              Labels: plugin-descriptor-1.1
>             Fix For: 4.0.0-alpha-3, 4.0.0
>
>
> The plugin descriptor schema at https://maven.apache.org/ref/3.8.6/maven-plugin-api/plugin.html currently does not list all elements which are understood by PluginDescriptorBuilder
> * v4Api (Boolean)
> Also none of the elements are currently marked as required but in fact the {{PluginDescriptorBuilder}} unconditionally dereferences some elements. All those should be marked as required in the underlying model (also to generate a proper XSD).
> In addition the {{configuration}} element need to be classified as type {{DOM}} to generate a proper XSD (compare with https://github.com/codehaus-plexus/modello/issues/264).



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