aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpwielebs <piotr.wielebski@nokia.com>2019-10-31 10:43:59 +0100
committerpwielebs <piotr.wielebski@nokia.com>2019-11-06 15:50:48 +0100
commit6143c1a5f85f5e56263c4ef0b242ed1ebc761db5 (patch)
treedeb9903beeef8fd0870706429309383729d35bc7
parent1a805c28f0e2cae6058e4f37b9ee98003dc528e6 (diff)
Exclude IT from tests in MVN
Change-Id: I819b15b077c411a340fb9d2a67f5a4c13cf80a65 Issue-ID: DCAEGEN2-1773 Signed-off-by: Piotr Wielebski <piotr.wielebski@nokia.com>
-rw-r--r--pom.xml36
1 files changed, 35 insertions, 1 deletions
diff --git a/pom.xml b/pom.xml
index ff95cd5e..ec138157 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,6 +24,40 @@
</license>
</licenses>
+ <profiles>
+ <profile>
+ <id>default</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-failsafe-plugin</artifactId>
+ <configuration>
+ <skipITs>true</skipITs>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
+ <id>integration-pairwise</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <skipTests>true</skipTests>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
<properties>
<java.version>8</java.version>
<junit-jupiter.version>5.3.1</junit-jupiter.version>
@@ -109,7 +143,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
- <version>2.22.1</version>
+ <version>3.0.0-M3</version>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>