Verified Commit 2bba7364 authored by Johannes Visintini's avatar Johannes Visintini
Browse files

added spotbugs to maven dependencies, updated spotbugs to 4.2.0

parent ca38576e
Pipeline #1751 passed with stage
in 0 seconds
......@@ -4,6 +4,7 @@ Changelog
## 2.9
* add base configuration for [sonarcloud](https://sonarcloud.io/giscience) code analysis
* integrated spotbugs into parent dependencies, updated spotbugs to 4.2.0
## 2.8
......
......@@ -83,7 +83,7 @@ pipeline {
}
// warnings plugin
rtMaven.run pom: 'pom.xml', goals: '--batch-mode -V -e clean compile checkstyle:checkstyle pmd:pmd pmd:cpd com.github.spotbugs:spotbugs-maven-plugin:3.1.7:spotbugs -Dmaven.repo.local=.m2'
rtMaven.run pom: 'pom.xml', goals: '--batch-mode -V -e clean compile checkstyle:checkstyle pmd:pmd pmd:cpd spotbugs:spotbugs -Dmaven.repo.local=.m2'
recordIssues enabledForFailure: true, tools: [mavenConsole(), java(), javaDoc()]
recordIssues enabledForFailure: true, tool: checkStyle()
......
......@@ -79,6 +79,7 @@
<mavencompiler.version>3.8.0</mavencompiler.version>
<mavengpg.version>1.6</mavengpg.version>
<mavenjavadoc.version>3.2.0</mavenjavadoc.version>
<mavenspotbugs.version>4.2.0</mavenspotbugs.version>
<nexusstagingmaven.version>1.6.8</nexusstagingmaven.version>
<sonar.coverage.jacoco.xmlReportPaths>${project.build.directory}/site/jacoco/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
......@@ -104,6 +105,18 @@
<source>${java.version}</source>
</configuration>
</plugin>
<plugin>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
<version>${mavenspotbugs.version}</version>
<dependencies>
<dependency>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs</artifactId>
<version>${mavenspotbugs.version}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment