You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Philippe Kaplan (JIRA)" <ji...@codehaus.org> on 2011/09/07 13:42:32 UTC

[jira] Created: (MNG-5170) prevent mojo to fork lifecycle when same lifecycle is already executed

prevent mojo to fork lifecycle when same lifecycle is already executed
----------------------------------------------------------------------

                 Key: MNG-5170
                 URL: https://jira.codehaus.org/browse/MNG-5170
             Project: Maven 2 & 3
          Issue Type: Improvement
          Components: Performance, Plugins and Lifecycle
    Affects Versions: 3.0.3
            Reporter: Philippe Kaplan
            Priority: Minor


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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira