[ 
https://issues.apache.org/jira/browse/MTOMCAT-284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dennis Lundberg updated MTOMCAT-284:
------------------------------------
    Attachment: MTOMCAT-284.patch

Here is a patch that adds a skip parameter to the container goals for tomcat 6 
and tomcat 7 plugins. I have used the same parameter name, default value and 
command line parameter that the Run mojos already have.

> Add a skip parameter to deploy/redeploy/undeploy goals
> ------------------------------------------------------
>
>                 Key: MTOMCAT-284
>                 URL: https://issues.apache.org/jira/browse/MTOMCAT-284
>             Project: Apache Tomcat Maven Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.2
>            Reporter: Dennis Lundberg
>         Attachments: MTOMCAT-284.patch
>
>
> Our use case for this is a multi module project with one overlay module (with 
> war packaging) and other war modules that use the first one as an overlay.
> {noformat}
> root
> +-- overlay-war
> +-- app1-war
> +-- app2-war
> {noformat}
> So app1-war and app2-war uses overlay-war as a war-type dependency to use it 
> as an overlay.
> We want to use the tomcat-maven-plugin to deploy/redeploy/undeploy app1-war 
> and app2-war to a Tomcat instance. However we do not want to 
> deploy/redeploy/undeploy overlay-war.
> This could be fixed by adding a skip parameter that we could apply to the 
> overlay-war configuration. There is a skip parameter already in the plugin 
> for other goals like "run".



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to