[ 
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).

  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

* threadSafe (Boolean)
* 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
>            Priority: Major
>
> 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).



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

Reply via email to