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

prevent mojo to fork lifecycle when same lifecycle is already executed

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Incomplete
    • Affects Version/s: 3.0.3
    • Fix Version/s: None
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: