diff options
author | Lusheng Ji <lji@research.att.com> | 2018-05-17 09:00:02 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-05-17 09:00:02 +0000 |
commit | 87387a5954a3c6767e51fa5b28eb1af0109e4c85 (patch) | |
tree | 1039ef88f55ae6024dbaae0e87178c77297d491b /pom.xml | |
parent | 7412a22e82ed782c2a783483b80186c2f2fa3065 (diff) | |
parent | 96481e0db6db2593299c1e3e630dd8e14b5bab53 (diff) |
Merge "Added test for AAIProducerTask"
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 50 |
1 files changed, 49 insertions, 1 deletions
@@ -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> |