You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tamás Cservenák (Jira)" <ji...@apache.org> on 2022/02/14 11:28:00 UTC

[jira] [Resolved] (MNG-7309) Remove redundant MojoDescriptor parameterMap

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

Tamás Cservenák resolved MNG-7309.
----------------------------------
    Resolution: Fixed

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