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

Split @Parameter into @Input and @Output

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      By knowing if parameters are input or output parameters, it is possible to improve our builds. It will be possible to create DAGs and chain the execution blocks much smarter.
      The Maven Extension created by Gradle heavily relies on this kind of information.

      It is probably easier to use new annotations instead of adding a (required) status-field to @Parameter
      Looking at the plugin.xml it looks quite easy to solve this and stay backwards compatible: the file looks now like:

        <parameters>
          <parameter>
            ...
          </parameter>
        </parameters>
      

      With plexus-magic the following should still work:

        <parameters>
          <input>
            ...
          </input>
          <output>
            ...
          </output>
        </parameters>
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rfscholte Robert Scholte
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: