diff options
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 37 |
1 files changed, 36 insertions, 1 deletions
@@ -12,7 +12,7 @@ <groupId>org.onap.so.libs</groupId> <artifactId>openstack-java-sdk</artifactId> - <version>1.5.0-SNAPSHOT</version> + <version>1.5.2-SNAPSHOT</version> <packaging>pom</packaging> <name>so-libs</name> <description>OpenStack Java SDK</description> @@ -24,6 +24,8 @@ <siteNexusPath>/content/sites/site/org/onap/so/libs/${project.version}</siteNexusPath> <format.skipValidate>false</format.skipValidate> <format.skipExecute>true</format.skipExecute> + <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths> + <jacoco.version>0.8.5</jacoco.version> </properties> <distributionManagement> <repository> @@ -172,6 +174,16 @@ <artifactId>jackson-databind</artifactId> <version>2.9.8</version> </dependency> + <dependency> + <groupId>com.fasterxml.jackson.core</groupId> + <artifactId>jackson-core</artifactId> + <version>2.9.8</version> + </dependency> + <dependency> + <groupId>com.fasterxml.jackson.core</groupId> + <artifactId>jackson-annotations</artifactId> + <version>2.9.8</version> + </dependency> </dependencies> <reporting> <plugins> @@ -379,6 +391,29 @@ <version>2.9.8</version> </dependency> </dependencies> + </plugin> + <plugin> + <groupId>org.jacoco</groupId> + <artifactId>jacoco-maven-plugin</artifactId> + <version>${jacoco.version}</version> + <executions> + <execution> + <id>prepare-agent</id> + <goals> + <goal>prepare-agent</goal> + </goals> + </execution> + <execution> + <id>report</id> + <goals> + <goal>report</goal> + </goals> + <configuration> + <dataFile>${project.build.directory}/code-coverage/jacoco.exec</dataFile> + <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory> + </configuration> + </execution> + </executions> </plugin> </plugins> </build> |