Skip to content

Instantly share code, notes, and snippets.

@cjmamo
Created July 12, 2015 14:02
Show Gist options
  • Select an option

  • Save cjmamo/b1ee1e398c0b22d912ed to your computer and use it in GitHub Desktop.

Select an option

Save cjmamo/b1ee1e398c0b22d912ed to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
...
<build>
<plugins>
<plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
<version>1.4.14</version>
<executions>
<execution>
<id>start-jetty-container</id>
<phase>pre-integration-test</phase>
<configuration>
<configuration>
<properties>
<cargo.servlet.port>${jetty.port}</cargo.servlet.port>
</properties>
</configuration>
<wait>false</wait>
<container>
<containerId>jetty9x</containerId>
<type>embedded</type>
</container>
<deployables>
<deployable>
<groupId>com.modus.tracker</groupId>
<artifactId>tracker</artifactId>
<type>war</type>
<properties>
<context>/tracker</context>
</properties>
</deployable>
<deployable>
<groupId>com.modus</groupId>
<artifactId>tpm-portal</artifactId>
<type>war</type>
<properties>
<context>/tpm-service</context>
</properties>
</deployable>
<deployable>
<groupId>com.modus</groupId>
<artifactId>tpm-portal</artifactId>
<type>war</type>
<properties>
<context>/tpm-service</context>
</properties>
</deployable>
</deployables>
</configuration>
<goals>
<goal>start</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
...
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment