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

prevent mojo to fork lifecycle when same lifecycle is already executed

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Incomplete
    • 3.0.3
    • None
    • None

    Description

      Mojos can fork a lifecycle even if the cycle is already done. If the mojo is called from a 'larger' cycle, then the forked cycle will do again the same tasks for nothing.

      For example, jetty:run forks a 'compile' lifecycle. If this goal is bound to pre-integration-test phase it will perform 'compile' lifecycle again for nothing.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pkaplan Philippe Kaplan
              Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: