Skip to content

Instantly share code, notes, and snippets.

@manisnesan
Created August 20, 2014 14:31
Show Gist options
  • Save manisnesan/393c00d780e5f8fb7bff to your computer and use it in GitHub Desktop.
Save manisnesan/393c00d780e5f8fb7bff to your computer and use it in GitHub Desktop.
Profile for integration tests in maven
<!-- To run $mvn install -Pintegration-tests -->
<profiles>
<profile>
<id>integration-tests</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>2.16</version>
<executions>
<execution>
<id>integration-test</id>
<goals>
<goal>integration-test</goal>
</goals>
</execution>
<execution>
<id>int-verify</id>
<goals>
<goal>verify</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment