Skip to content

Instantly share code, notes, and snippets.

@eugenp
Created October 16, 2011 16:35
Show Gist options
  • Save eugenp/1291118 to your computer and use it in GitHub Desktop.
Save eugenp/1291118 to your computer and use it in GitHub Desktop.
How to run integration tests with the Maven cargo plugin - cargo-maven2-plugin configuration
<plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
<configuration>
<wait>false</wait>
</configuration>
<executions>
<execution>
<id>start-server</id>
<phase>pre-integration-test</phase>
<goals>
<goal>start</goal>
</goals>
</execution>
<execution>
<id>stop-server</id>
<phase>post-integration-test</phase>
<goals>
<goal>stop</goal>
</goals>
</execution>
</executions>
</plugin>
@eugenp
Copy link
Author

eugenp commented Feb 14, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment