aboutsummaryrefslogtreecommitdiffstats
path: root/cmso-sonar/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'cmso-sonar/pom.xml')
-rw-r--r--cmso-sonar/pom.xml31
1 files changed, 30 insertions, 1 deletions
diff --git a/cmso-sonar/pom.xml b/cmso-sonar/pom.xml
index a46add5..5811df7 100644
--- a/cmso-sonar/pom.xml
+++ b/cmso-sonar/pom.xml
@@ -55,7 +55,7 @@
<docker.skip.push>false</docker.skip.push>
<docker.skip.tag>false</docker.skip.tag>
<skip.staging.artifacts>false</skip.staging.artifacts>
-
+ <skipIntegrationTests>true</skipIntegrationTests>
</properties>
<dependencies>
<dependency>
@@ -88,6 +88,13 @@
</executions>
</plugin>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-failsafe-plugin</artifactId>
+ <configuration>
+ <skipITs>${skipIntegrationTests}</skipITs>
+ </configuration>
+ </plugin>
+ <plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<executions>
@@ -98,6 +105,7 @@
<goal>report</goal>
</goals>
<configuration>
+ <skip>${skipIntegrationTests}</skip>
<dataFile>${project.basedir}/target/code-coverage/service.jacoco.exec</dataFile>
<outputDirectory>${project.basedir}/target/site/service-it</outputDirectory>
<includes>
@@ -111,6 +119,27 @@
</excludes>
</configuration>
</execution>
+ <execution>
+ <id>post-integration-test2</id>
+ <phase>post-integration-test</phase>
+ <goals>
+ <goal>report</goal>
+ </goals>
+ <configuration>
+ <skip>${skipIntegrationTests}</skip>
+ <dataFile>${project.basedir}/target/code-coverage/optimizer.jacoco.exec</dataFile>
+ <outputDirectory>${project.basedir}/target/site/optimizer-it</outputDirectory>
+ <includes>
+ <include>optimizer/**</include>
+ </includes>
+ <excludes>
+ <exclude>**/gen/**</exclude>
+ <exclude>**/generated-sources/**</exclude>
+ <exclude>**/yang-gen/**</exclude>
+ <exclude>**/pax/**</exclude>
+ </excludes>
+ </configuration>
+ </execution>
</executions>
</plugin>
</plugins>