[DS-2397] First pass at enabling Failsafe

This commit is contained in:
Mark H. Wood
2015-01-14 13:40:27 -05:00
parent e26b3f04fc
commit d4c4966535
2 changed files with 41 additions and 0 deletions

View File

@@ -113,6 +113,11 @@
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
</plugin>
</plugins>
</build>
@@ -136,6 +141,7 @@
</plugins>
</build>
</profile>
<!-- If Unit Testing is enabled, then setup the Unit Test Environment.
See also the 'skiptests' profile in Parent POM. -->
<profile>

35
pom.xml
View File

@@ -106,6 +106,25 @@
-->
</configuration>
</plugin>
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
<version>2.18.1</version>
<configuration>
<excludes>
<exclude>**/Abstract*</exclude>
</excludes>
<redirectTestOutputToFile>true</redirectTestOutputToFile>
</configuration>
<executions>
<execution>
<id>integration-test</id>
<goals>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
@@ -306,6 +325,22 @@
</properties>
</profile>
<!-- Skip Integration Tests by default, but allow override on
command line by setting property "-DskipITs=false" -->
<profile>
<id>skipits</id>
<activation>
<!-- This profile should be active at all times, unless the user
specifies a different value for "skipITs" -->
<property>
<name>!skipITs</name>
</property>
</activation>
<properties>
<skipITs>true</skipITs>
</properties>
</profile>
<!-- Allow for passing extra memory to Unit tests (via maven-surefire-plugin).
By default this gives unit tests 512MB of memory (when tests are enabled),
unless tweaked on commandline (e.g. "-Dsurefire.argLine=-Xmx512m"). Since