[
https://issues.apache.org/jira/browse/MNG-6118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15895017#comment-15895017
]
Robert Scholte commented on MNG-6118:
-------------------------------------
I think we can make it easier for the user if you can go to the proper module
and say something like {{jetty:run -am}}, which means: run a certain phase
(depending on requirements of jetty:run) on all the required modules of this
multimodule project and end with jetty:run on the final project.
This will likely require a {{.mvn}} in the multimodule root.
> Add option to execute goals on a specific module while building a multimodule
> project
> -------------------------------------------------------------------------------------
>
> Key: MNG-6118
> URL: https://issues.apache.org/jira/browse/MNG-6118
> Project: Maven
> Issue Type: Improvement
> Components: Command Line, Plugins and Lifecycle
> Reporter: Robert Scholte
>
> Suppose we have a multimodule which results in a war. In the end we want to
> run this war in a container like jetty. Up until know the {{jetty:run}} is
> executed on every module, which doesn't make sense for the other modules.
> This is just one of several examples where you want to control on which to
> execute a specific goal. In case of wars, the plugin could check for the
> packaging type, but in case of jars this won't work.
> There should be a generic solution to mark goals for a specific module.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)