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

Make build process info read-only to mojos, and provide mechanism for explicit out-params for mojos to declare

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Trivial
    • Resolution: Incomplete
    • Affects Version/s: 2.0
    • Fix Version/s: None
    • Labels:
      None

      Description

      We need to have the ability to look at a mojo descriptor and see how it will change the build environment. This requires two things:

      1. Cut off the loophole allowing unauthorized mutation of build state by making build state read-only to the mojo
      2. Provide an API/annotation-set to allow explicit export of values from a mojo, where they will be incorporated into the build state.

      This should enable things like determining whether a mojo generates sources, or collecting the source directories (even generated ones) by scanning the plugins configured for the build.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jdcasey John Dennis Casey
              • Votes:
                1 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: