Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.1
-
None
-
None
-
all
Description
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:
<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>
Attachments
Attachments
Issue Links
- is duplicated by
-
MTOMCAT-75 Dependency scope of "tomcat" needed for addContextWarDependencies to work in run/run-war goals.
- Closed