Skip to content

Instantly share code, notes, and snippets.

@iamkristian
Created March 15, 2012 09:08
Show Gist options
  • Save iamkristian/2043096 to your computer and use it in GitHub Desktop.
Save iamkristian/2043096 to your computer and use it in GitHub Desktop.
disable surefire when running grails
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
<executions>
<execution>
<id>surefire-it</id>
<phase>integration-test</phase>
<goals>
<goal>test</goal>
</goals>
<configuration>
<skip>true</skip>
<!-- This has to be true - grails runs it's own tests, and
surefire don't know squat about integration tests -->
</configuration>
</execution>
</executions>
</plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment