mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-17 15:03:18 +00:00
[DS-2397] First pass at enabling Failsafe
This commit is contained in:
@@ -113,6 +113,11 @@
|
|||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-failsafe-plugin</artifactId>
|
||||||
|
</plugin>
|
||||||
|
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
@@ -136,6 +141,7 @@
|
|||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</profile>
|
</profile>
|
||||||
|
|
||||||
<!-- If Unit Testing is enabled, then setup the Unit Test Environment.
|
<!-- If Unit Testing is enabled, then setup the Unit Test Environment.
|
||||||
See also the 'skiptests' profile in Parent POM. -->
|
See also the 'skiptests' profile in Parent POM. -->
|
||||||
<profile>
|
<profile>
|
||||||
|
35
pom.xml
35
pom.xml
@@ -106,6 +106,25 @@
|
|||||||
-->
|
-->
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</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>
|
<plugin>
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
<artifactId>findbugs-maven-plugin</artifactId>
|
<artifactId>findbugs-maven-plugin</artifactId>
|
||||||
@@ -306,6 +325,22 @@
|
|||||||
</properties>
|
</properties>
|
||||||
</profile>
|
</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).
|
<!-- 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),
|
By default this gives unit tests 512MB of memory (when tests are enabled),
|
||||||
unless tweaked on commandline (e.g. "-Dsurefire.argLine=-Xmx512m"). Since
|
unless tweaked on commandline (e.g. "-Dsurefire.argLine=-Xmx512m"). Since
|
||||||
|
Reference in New Issue
Block a user