aboutsummaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorwasala <przemyslaw.wasala@nokia.com>2018-05-16 15:17:56 +0200
committerwasala <przemyslaw.wasala@nokia.com>2018-05-16 18:59:55 +0200
commit96481e0db6db2593299c1e3e630dd8e14b5bab53 (patch)
treecb520d5d5bc870e7129a7551a68e5942be9511e0 /pom.xml
parent66a071133ae4a56e5add6c6408a74e1d2b301a5e (diff)
Added test for AAIProducerTask
Included jacoco for Code Coverage Change-Id: I48ae221e7d83fcf11f1ca00bf5b6f9d00d78d9c1 Issue-ID: DCAEGEN2-396 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml50
1 files changed, 49 insertions, 1 deletions
diff --git a/pom.xml b/pom.xml
index 20d01aae..4b4d3698 100644
--- a/pom.xml
+++ b/pom.xml
@@ -226,7 +226,7 @@
<exclude>**/*IT.java</exclude>
</excludes>
<!-- Sets the VM argument line used when unit tests are run. -->
- <argLine>${surefireArgLine}</argLine>
+ <argLine>${argLine}</argLine>
</configuration>
<dependencies>
<dependency>
@@ -321,6 +321,50 @@
<artifactId>maven-resources-plugin</artifactId>
<version>${resource.maven.plugin.version}</version>
</plugin>
+ <plugin>
+ <groupId>org.jacoco</groupId>
+ <artifactId>jacoco-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>default-prepare-agent</id>
+ <goals>
+ <goal>prepare-agent</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>report</id>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>report</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>check</id>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <rule>
+ <element>CLASS</element>
+ <limits>
+ <limit>
+ <counter>LINE</counter>
+ <value>COVEREDRATIO</value>
+ <!--<minimum>0.70</minimum>-->
+ </limit>
+ <limit>
+ <counter>BRANCH</counter>
+ <value>COVEREDRATIO</value>
+ <!--<minimum>0.70</minimum>-->
+ </limit>
+ </limits>
+ </rule>
+ </rules>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</pluginManagement>
<plugins>
@@ -354,6 +398,10 @@
<artifactId>maven-javadoc-plugin</artifactId>
</plugin>
+ <plugin>
+ <groupId>org.jacoco</groupId>
+ <artifactId>jacoco-maven-plugin</artifactId>
+ </plugin>
</plugins>
</build>