Deploy war type plugin dependencies with tomcat:run
---------------------------------------------------
Key: MTOMCAT-74
URL: http://jira.codehaus.org/browse/MTOMCAT-74
Project: Maven 2.x Tomcat Plugin
Issue Type: Improvement
Affects Versions: 1.1
Environment: all
Reporter: Ryan Connolly
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 contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email