maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hervé Boutemy (JIRA) <j...@apache.org>
Subject [jira] [Commented] (MNG-6118) Add option to execute goals on a specific module while building a multimodule project
Date Sun, 05 Nov 2017 16:21:00 GMT

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

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

I imagine both approaches are useful at different times:
- your approach when the choice of which module is not always the same and depends on local
situation
- my approach when the choice is always the same and has just to be made reproducible, like
in a normal build

> 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)

Mime
View raw message