Updated for sonarqube

This commit is contained in:
2022-06-25 15:58:42 -04:00
parent e56fe7dc5a
commit 280cea2a75
4 changed files with 114 additions and 7 deletions

33
pom.xml
View File

@@ -9,13 +9,12 @@
<version>1.0-SNAPSHOT</version>
<name>myClasses</name>
<!-- TODO: change it to the project's website -->
<url>http://www.example.com</url>
<url>www.mattrixwv.com</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>14</maven.compiler.source>
<maven.compiler.target>14</maven.compiler.target>
<maven.compiler.source>18</maven.compiler.source>
<maven.compiler.target>18</maven.compiler.target>
</properties>
<dependencies>
@@ -89,6 +88,32 @@
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>3.1.1</version>
</plugin>
<!--Sonar-->
<plugin>
<groupId>org.sonarsource.scanner.maven</groupId>
<artifactId>sonar-maven-plugin</artifactId>
<version>3.9.1.2184</version>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.8</version>
<executions>
<execution>
<id>jacoco-initialize</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>jacoco-site</id>
<phase>package</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>