aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pom.xml32
1 files changed, 29 insertions, 3 deletions
diff --git a/pom.xml b/pom.xml
index 508e52e..60028a9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -89,6 +89,7 @@
<!-- PLUGINS VERSIONS -->
<compiler.plugin.version>3.3</compiler.plugin.version>
<surefire.plugin.version>2.19.1</surefire.plugin.version>
+ <failsafe.plugin.version>2.19.1</failsafe.plugin.version>
<bundle.plugin.version>2.5.4</bundle.plugin.version>
<autorun.plugin.version>1.7</autorun.plugin.version>
<eclipe.plugin.version>2.10</eclipe.plugin.version>
@@ -676,6 +677,28 @@
</dependencies>
</plugin>
+ <!-- FAIL SAFE PLUGIN FOR INTEGRATION TEST -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-failsafe-plugin</artifactId>
+ <version>${failsafe.plugin.version}</version>
+ <executions>
+ <execution>
+ <id>integration-tests</id>
+ <goals>
+ <goal>integration-test</goal>
+ <goal>verify</goal>
+ </goals>
+ <configuration>
+ <skipTests>${skip.integration.tests}</skipTests>
+ <!-- Sets the VM argument line used when integration tests are run. -->
+ <!--suppress MavenModelInspection -->
+ <argLine>${failsafeArgLine}</argLine>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
<!-- FIND BUGS (STATIC CODE ANALYSIS) PLUGIN -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
@@ -892,9 +915,13 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-deploy-plugin</artifactId>
+ <artifactId>maven-failsafe-plugin</artifactId>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-deploy-plugin</artifactId>
+ </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -924,7 +951,6 @@
</plugins>
</build>
-
<reporting>
<plugins>
<plugin>
@@ -962,4 +988,4 @@
<module>dcae-analytics-it</module>
</modules>
-</project>
+</project> \ No newline at end of file