summaryrefslogtreecommitdiffstats
path: root/products/openecomp
diff options
context:
space:
mode:
Diffstat (limited to 'products/openecomp')
-rw-r--r--products/openecomp/auth/pom.xml34
1 files changed, 33 insertions, 1 deletions
diff --git a/products/openecomp/auth/pom.xml b/products/openecomp/auth/pom.xml
index ed2429ad..e509467a 100644
--- a/products/openecomp/auth/pom.xml
+++ b/products/openecomp/auth/pom.xml
@@ -30,9 +30,41 @@
<artifactId>cli-products-openecomp-auth</artifactId>
<name>cli/products/openecomp/auth</name>
<packaging>jar</packaging>
-
+ <!--Step-1:- SonarCloud migration from SonarQube -->
+ <properties>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <sonar.language>java</sonar.language>
+ <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
+ <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
+ <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
+ <sonar.projectVersion>${project.version}</sonar.projectVersion>
+ <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
+ </properties>
<build>
<plugins>
+ <!--Step-2:- SonarCloud migration from SonarQube -->
+ <plugin>
+ <groupId>org.jacoco</groupId>
+ <artifactId>jacoco-maven-plugin</artifactId>
+ <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>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>