[
https://issues.apache.org/jira/browse/MNG-7309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Herve Boutemy updated MNG-7309:
-------------------------------
Description:
The class maven-plugin-api:MojoDescriptor contains a list of parameters and a
map of parameters:
https://maven.apache.org/ref/3.8.4/maven-plugin-api/xref/org/apache/maven/plugin/descriptor/MojoDescriptor.html#L58
The code is broken, in a way that the two – that should contain same things –
may end up not containing same things.
Note: not that anything uses it in such way, as instances of this class are
loaded up from descriptor, but still, it may easily lead to confusion.
was:
The class maven-plugin-api:MojoDescritor contains a list of parameters and a
map of parameters. The code is broken, in a way that the two – that should
contain same things – may end up not containing same things.
Note: not that anything uses it in such way, as instances of this class are
loaded up from descriptor, but still, it may easily lead to confusion.
> Remove redundant MojoDescriptor parameterMap
> --------------------------------------------
>
> Key: MNG-7309
> URL: https://issues.apache.org/jira/browse/MNG-7309
> Project: Maven
> Issue Type: Task
> Components: Core
> Reporter: Tamás Cservenák
> Assignee: Tamás Cservenák
> Priority: Major
> Fix For: 4.0.x-candidate, 4.0.0-alpha-1
>
>
> The class maven-plugin-api:MojoDescriptor contains a list of parameters and a
> map of parameters:
> https://maven.apache.org/ref/3.8.4/maven-plugin-api/xref/org/apache/maven/plugin/descriptor/MojoDescriptor.html#L58
> The code is broken, in a way that the two – that should contain same things –
> may end up not containing same things.
> Note: not that anything uses it in such way, as instances of this class are
> loaded up from descriptor, but still, it may easily lead to confusion.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)