summaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorLusheng Ji <lji@research.att.com>2018-05-17 09:00:02 +0000
committerGerrit Code Review <gerrit@onap.org>2018-05-17 09:00:02 +0000
commit87387a5954a3c6767e51fa5b28eb1af0109e4c85 (patch)
tree1039ef88f55ae6024dbaae0e87178c77297d491b /pom.xml
parent7412a22e82ed782c2a783483b80186c2f2fa3065 (diff)
parent96481e0db6db2593299c1e3e630dd8e14b5bab53 (diff)
Merge "Added test for AAIProducerTask"
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>