diff --git a/Jenkinsfile b/Jenkinsfile
index ea0c7bb5..990e3d34 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -22,10 +22,7 @@ pipeline {
stage('Reporting') {
steps {
- pmd canComputeNew: false, defaultEncoding: '', healthy: '', pattern: '**/target/pmd.xml', thresholdLimit: 'high', unHealthy: ''
- findbugs canComputeNew: false, defaultEncoding: '', excludePattern: '', healthy: '', includePattern: '', isRankActivated: true, pattern: '**/target/findbugsXml.xml', unHealthy: ''
- jacoco classPattern: '**/build/classes/*/main/', execPattern: '**/target/*.exec', sourcePattern: '**/src/main/java', inclusionPattern: '**/*.class'
- }
+ sh '${M2_HOME}/bin/mvn --batch-mode -V -U -e checkstyle:checkstyle pmd:pmd pmd:cpd findbugs:findbugs spotbugs:spotbugs'
}
}
diff --git a/pom.xml b/pom.xml
index 3ab05932..5c455a7c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -146,6 +146,19 @@
+
+ com.github.spotbugs
+ spotbugs-maven-plugin
+ 4.5.3.0
+
+
+
+ com.github.spotbugs
+ spotbugs
+ 4.6.0
+
+
+
org.jacoco
jacoco-maven-plugin