bmuschko/gradle-cargo-plugin — Issue #9: Support of deployment of multiple different WAR-deployments
Author: oeztuce
Created: 2011-11-27 22:36:45+00:00
State: open

The current release of the gradle-cargo-plugin (v0.4) only accepts one deployable.

In maven it is possible with the cargo-maven2-plugin to deploy 3 different WAR-dependencies under different context on the same cargo/tomcat instance.

See relevant pom snippet below.

org.codehaus.cargo
cargo-maven2-plugin
${cargo.version}

false

${cargo.container}

${project.build.directory}/install/${tomcat.artifactId}-${tomcat.version}

standalone
${project.build.directory}/${cargo.container}

${cargo.port}
${cargo.rmi.port}
-XX:PermSize=512m -XX:MaxPermSize=1024

my
app1
war

/applicationOne

my
app2
war

/applicationTwo

my
anotherapp
war

/justanotherapp

start-container
pre-integration-test

start

stop-container
post-integration-test

stop