You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hervé Boutemy (JIRA)" <ji...@apache.org> on 2017/11/05 06:00:00 UTC

[jira] [Commented] (MNG-6118) Add option to execute goals on a specific module while building a multimodule project

    [ https://issues.apache.org/jira/browse/MNG-6118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16239416#comment-16239416 ] 

Hervé Boutemy commented on MNG-6118:
------------------------------------

bq. solution to mark goals for a specific module
IMHO, we need to go the opposite way: ie mark modules for a specific goal
then have the goal check if the marker is present or not in the current module

> 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 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
(v6.4.14#64029)