tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Syer (Commented) (JIRA)" <>
Subject [jira] [Commented] (MTOMCAT-74) Deploy war type plugin dependencies with tomcat:run
Date Thu, 16 Feb 2012 11:00:59 GMT


Dave Syer commented on MTOMCAT-74:

Mark, I'm not really sure what you are saying.  If you want to re-purpose the addContextWarDependencies
flag to look in plugin dependencies instead of project dependencies that's a great idea, but
it won't work in mvn 3 if we still use the dependency type "tomcat" (it's illegal now as a
plugin dependency type and gets a fat warning as a normal dependency type).  I can't see the
patch because JIRA barfs on me when I click on the link.  What does it do and when is it going
to be applied?

Plus addContextWarDependencies is not working for me as it did in 1.1 - I can see the war
unpacked (in two separate directories), but it never gets deployed into the container.  Maybe
the default server.xml is ballsed up (where is it)?  Should I open anothre ticket for this?
> Deploy war type plugin dependencies with tomcat:run
> ---------------------------------------------------
>                 Key: MTOMCAT-74
>                 URL:
>             Project: Apache Tomcat Maven Plugin
>          Issue Type: Improvement
>    Affects Versions: 1.1
>         Environment: all
>            Reporter: Ryan Connolly
>              Labels: tocheck
>         Attachments: tomcat-run-pluginDependency-war-deployment.patch
> It would be nice to be able to run a war file in the embedded container alongside the
current war project being developed.  As addContextWarDependencies only looks at project dependencies
and not those configured as plugin dependencies it may be worthwhile to add another option
for deploying these types: addContextWarPluginDependencies.
> An example configuration may resemble the following:
> {code:language=xml}
> <plugin>
>   <groupId>org.codehaus.mojo</groupId>
>   <artifactId>tomcat-maven-plugin</artifactId>
>   <configuration>
>     <addContextWarPluginDependencies>true</addContextWarPluginDependencies>
>     <path>/</path>
>   </configuration>
>   <dependencies>
>     <dependency>
>       <groupId>my.groupId</groupId>
>       <artifactId>mywar-artifact</artifactId>
>       <version>1.0</version>
>       <type>war</type>
>     </dependency>
>   </dependencies>
> </plugin>
> {code}

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message