mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +00:00
[DS-2397] First pass at enabling Failsafe
This commit is contained in:
@@ -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
35
pom.xml
@@ -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
|
||||
|
Reference in New Issue
Block a user