Skip to content

Instantly share code, notes, and snippets.

@eugenp
Created October 16, 2011 16:38
Show Gist options
  • Save eugenp/1291124 to your computer and use it in GitHub Desktop.
Save eugenp/1291124 to your computer and use it in GitHub Desktop.
How to run integration tests with the Maven cargo plugin - maven-surefire-plugin integration profile configuration
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<executions>
<execution>
<phase>integration-test</phase>
<goals>
<goal>test</goal>
</goals>
<configuration>
<excludes>
<exclude>none</exclude>
</excludes>
<includes>
<include>**/*IntegrationTest.java</include>
</includes>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
@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