[
https://issues.apache.org/jira/browse/MNG-7569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Konrad Windszus resolved MNG-7569.
----------------------------------
Fix Version/s: 4.0.0
Resolution: Fixed
Fixed in
https://github.com/apache/maven/commit/1ada7a590237db7f6f7eaa98180dd5a402412490.
> 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
>
>
> 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)