[
https://issues.apache.org/jira/browse/MNG-7569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Konrad Windszus updated MNG-7569:
---------------------------------
Description:
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).
was:
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).
> 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
>
> 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)