Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-7309

Remove redundant MojoDescriptor parameterMap

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.8.9, 3.9.7, 4.0.0-alpha-2, 4.0.0
    • Core
    • None

    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.

      Attachments

        Issue Links

          Activity

            People

              cstamas Tamas Cservenak
              cstamas Tamas Cservenak
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: