[
https://issues.apache.org/jira/browse/MNG-5885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16284153#comment-16284153
]
Robert Scholte commented on MNG-5885:
-------------------------------------
An error is way too offensive to me. And I expect that the meaning of this
command gets a new meaning in a multimodule project: run up this phase for
every module before continuing up until the next phase. I still need to work on
this...
> Optimize execution when phases of same lifecycle are called
> -----------------------------------------------------------
>
> Key: MNG-5885
> URL: https://issues.apache.org/jira/browse/MNG-5885
> Project: Maven
> Issue Type: Sub-task
> Components: Plugins and Lifecycle
> Affects Versions: 3.3.3
> Reporter: Robert Scholte
> Fix For: 3.x / Backlog
>
>
> In case someone calls {{compile package}} there's no need for the separate
> {{compile}} call. Now the lifecycle is executed twice: once until {{compile}}
> and once again until {{package}}.
> Note: {{package compile}} is weird due to its order, but should not be
> optimized. {{compile resources:copy-resources package}} is a bit complicated.
> Ideally this should call all phases up until {{compile}}, followed by
> {{resources:copy-resources}}, followed by the {{process-classes}} to
> {{package}} phases.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)