I'm trying to deploy to deploy a webapp to a different webapps directory using the maven plugin with an existing tomcat, it seems the '
cargo.tomcat.webappsDirectory' property is not available to the 'existing' configuration? is there any reason this was not implemented? or cannot be implemented?
<plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
<configuration>
<container>
<containerId>tomcat7x</containerId>
<home>${env.TOMCAT_HOME}</home>
</container>
<configuration>
<type>existing</type>
<home>${env.TOMCAT_HOME}</home>
<properties>
<cargo.tomcat.webappsDirectory>webapps/somedir</cargo.tomcat.webappsDirectory>
<tomcat.webappsDirectory>webapps/somedir</tomcat.webappsDirectory>
<webappsDirectory>webapps/somedir</webappsDirectory>
</properties>
</configuration>
<deployables>
<deployable>
<properties>
<context>${flightdeck.context}</context>
</properties>
</deployable>
</deployables>
</configuration>
</plugin>
it always deploys to the webapps folder.