summaryrefslogtreecommitdiffstats
path: root/mod2
diff options
context:
space:
mode:
authorDhrumin Desai <dd303q@att.com>2021-09-07 12:02:31 -0400
committerDhrumin Desai <dd303q@att.com>2021-09-07 12:03:08 -0400
commitc36caa1c936a5876a464bdd927819ef668676b42 (patch)
treecaaa91fa0bd0aa6566266a3b3b98cdf446272162 /mod2
parent1838366d51a172b0240a5e23c5d691b544a7a6be (diff)
adding missing sonar properties to helm-chart-generator
Issue-ID: DCAEGEN2-2839 Change-Id: I5d7eb4278459cea046ba1d72d2cbd0474abeb942 Signed-off-by: Dhrumin Desai <dd303q@att.com>
Diffstat (limited to 'mod2')
-rw-r--r--mod2/helm-generator/pom.xml47
1 files changed, 38 insertions, 9 deletions
diff --git a/mod2/helm-generator/pom.xml b/mod2/helm-generator/pom.xml
index 592611c..bc7b466 100644
--- a/mod2/helm-generator/pom.xml
+++ b/mod2/helm-generator/pom.xml
@@ -41,6 +41,17 @@
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<spring-boot.version>2.4.0</spring-boot.version>
+ <sonar.maven.plugin>3.0.2</sonar.maven.plugin>
+ <sonar.junit.reportsPath>${project.basedir}/target/surefire-reports
+ </sonar.junit.reportsPath>
+ <sonar.surefire.reportsPath>${project.basedir}/target/surefire-reports
+ </sonar.surefire.reportsPath>
+ <sonar.coverage.exclusions>coverage/**</sonar.coverage.exclusions>
+ <sonar.coverage.jacoco.xmlReportPaths>${project.basedir}/../coverage/target/site/jacoco-aggregate/jacoco.xml
+ </sonar.coverage.jacoco.xmlReportPaths>
+ <sonar.coverage.jacoco.xmlReportPaths>
+ ${project.basedir}/../coverage/target/site/jacoco-aggregate/jacoco.xml
+ </sonar.coverage.jacoco.xmlReportPaths>
</properties>
<dependencies>
<dependency>
@@ -111,19 +122,37 @@
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>2.10.2</version>
+ <configuration>
+ <additionalparam>-Xdoclint:all</additionalparam>
+ <additionalparam>-Xlint:all</additionalparam>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-report-plugin</artifactId>
+ <version>2.6</version>
+ <executions>
+ <execution>
+ <phase>test</phase>
+ <goals>
+ <goal>report</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.2</version>
</plugin>
- </plugins>
- </build>
- <reporting>
- <plugins>
<plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>cobertura-maven-plugin</artifactId>
- <version>2.7</version>
+ <groupId>org.sonarsource.scanner.maven</groupId>
+ <artifactId>sonar-maven-plugin</artifactId>
+ <version>${sonar.maven.plugin}</version>
</plugin>
</plugins>
- </reporting>
-
+ </build>
</project>