[
https://issues.apache.org/jira/browse/MNG-6118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16574196#comment-16574196
]
Jesse Glick commented on MNG-6118:
----------------------------------
Came across this in a
[blog|http://andresalmiray.com/multi-module-project-builds-with-maven-and-gradle/].
The motivating use case is similar to one mentioned in MNG-5059.
> 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
> Priority: Major
>
> 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 now 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
> module 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
(v7.6.3#76005)