Maven
  1. Maven
  2. MNG-5170

prevent mojo to fork lifecycle when same lifecycle is already executed

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor 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.

        Issue Links

          Activity

          Philippe Kaplan created issue -
          Hervé Boutemy made changes -
          Field Original Value New Value
          Link This issue is related to MJAVADOC-171 [ MJAVADOC-171 ]
          Jason van Zyl made changes -
          Resolution Incomplete [ 4 ]
          Status Open [ 1 ] Closed [ 6 ]
          Hervé Boutemy made changes -
          Link This issue is related to MNG-2184 [ MNG-2184 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 08:49:45 UTC 2015 [ 1428223785911 ]
          Mark Thomas made changes -
          Link This issue is related to MJAVADOC-171 [ MJAVADOC-171 ]
          Mark Thomas made changes -
          Workflow jira [ 12715400 ] Default workflow, editable Closed status [ 12754936 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 21:45:26 UTC 2015 [ 1428270326204 ]
          Mark Thomas made changes -
          Link This issue is related to MJAVADOC-171 [ MJAVADOC-171 ]
          Mark Thomas made changes -
          Workflow jira [ 12952793 ] Default workflow, editable Closed status [ 12990126 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development