diff --git a/Jenkinsfile b/Jenkinsfile index 57004c17a0..6bd4ffcc1f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -45,11 +45,11 @@ pipeline { } steps { echo 'Quality checking' - sh 'mvn -B -C -fae -Poracle,mssql findbugs:findbugs checkstyle:checkstyle javadoc:javadoc' + sh 'mvn -B -C -fae -Poracle,mssql com.github.spotbugs:spotbugs-maven-plugin:spotbugs checkstyle:checkstyle javadoc:javadoc' } post { success { - findbugs canComputeNew: false, defaultEncoding: '', excludePattern: '', healthy: '', includePattern: '', pattern: '**/findbugsXml.xml', unHealthy: '' + findbugs canComputeNew: false, defaultEncoding: '', excludePattern: '', healthy: '', includePattern: '', pattern: '**/spotbugsXml.xml', unHealthy: '' checkstyle canComputeNew: false, canRunOnFailed: true, defaultEncoding: '', healthy: '', pattern: '**/checkstyle-result.xml', unHealthy: '' } } diff --git a/pom.xml b/pom.xml index a3ea15857f..06e83f3064 100644 --- a/pom.xml +++ b/pom.xml @@ -1102,19 +1102,18 @@ - org.codehaus.mojo - findbugs-maven-plugin - 2.5.2 + com.github.spotbugs + spotbugs-maven-plugin + 4.1.3 true - true - true + true org.apache.maven.plugins maven-pmd-plugin - 2.7.1 + 3.14.0 true ${project.build.sourceEncoding}