diff options
Diffstat (limited to 'certServiceK8sExternalProvider/pom.xml')
-rw-r--r-- | certServiceK8sExternalProvider/pom.xml | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/certServiceK8sExternalProvider/pom.xml b/certServiceK8sExternalProvider/pom.xml index a34ffc3f..22c4757e 100644 --- a/certServiceK8sExternalProvider/pom.xml +++ b/certServiceK8sExternalProvider/pom.xml @@ -5,7 +5,7 @@ <parent> <artifactId>oom-certservice</artifactId> <groupId>org.onap.oom.platform.cert-service</groupId> - <version>2.2.0-SNAPSHOT</version> + <version>2.3.0-SNAPSHOT</version> </parent> <modelVersion>4.0.0</modelVersion> @@ -15,8 +15,20 @@ <properties> <version.mvn-clean-plugin>3.1.0</version.mvn-clean-plugin> <version.mvn-golang-wrapper-plugin>2.3.5</version.mvn-golang-wrapper-plugin> + <sonar.go.coverage.reportPaths>bin/coverage.out</sonar.go.coverage.reportPaths> + <sonar.exclusions>**/*_test.go, **/testdata/*</sonar.exclusions> + <sonar-go-plugin.version>1.1.1.2000</sonar-go-plugin.version> </properties> + + <dependencies> + <dependency> + <groupId>org.sonarsource.go</groupId> + <artifactId>sonar-go-plugin</artifactId> + <version>${sonar-go-plugin.version}</version> + </dependency> + </dependencies> + <build> <!--Changing standard Maven project source structure to make it Go compatible--> <sourceDirectory>${basedir}</sourceDirectory> @@ -46,6 +58,17 @@ <extensions>true</extensions> <executions> <execution> + <id>coverage</id> + <goals> + <goal>test</goal> + </goals> + <configuration> + <testFlags> + <flag>-coverprofile=bin/coverage.out</flag> + </testFlags> + </configuration> + </execution> + <execution> <id>install</id> <goals> <goal>install</goal> |