Maven
  1. Maven
  2. MNG-5170

prevent mojo to fork lifecycle when same lifecycle is already executed

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Incomplete
    • Affects Version/s: 3.0.3
    • Fix Version/s: None
    • Labels:
      None
    • Complexity:
      Intermediate
    • Number of attachments :
      0

      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.

        Issue Links

          Activity

          Show
          Jason van Zyl added a comment - Please refer to https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014
          Hide
          Jason van Zyl added a comment -

          Please refer to https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014 if you're wondering why this issue was closed out.

          Show
          Jason van Zyl added a comment - Please refer to https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014 if you're wondering why this issue was closed out.
          Hide
          Herve Boutemy added a comment -

          probably this one duplicates MNG-2184

          Show
          Herve Boutemy added a comment - probably this one duplicates MNG-2184

            People

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

              Dates

              • Created:
                Updated:
                Resolved: