Uploaded image for project: 'Maven Plugin Tools'
  1. Maven Plugin Tools
  2. MPLUGIN-57

Mojo fields @component and no @parameter annotations are still considered parameters and can't be distinguished when it became a Parameter Object

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.4
    • None
    • None

    Description

      Two possible solutions:

      1] Do not consider fields with @component and no @parameter as a mojo parameter

      or

      2] Add a method boolean isComponent() in the Parameter Object to distinguish them from actual parameters.

      Btw, this causes @component fields to appear in the mojo parameters list.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              elpunzalan Edwin Punzalan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: