Skip to content

Commit

Permalink
deegree#857 migrated findbugs plugin to spotbugs plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
tfr42 authored and lgoltz committed May 10, 2021
1 parent 24c5783 commit d324c8e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
6 changes: 3 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pipeline {
}
stage ('Build') {
steps {
echo 'Unit testing'
echo 'Building'
sh 'mvn -B -C -Poracle,mssql clean test-compile'
}
}
Expand All @@ -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: ''
}
}
Expand Down
13 changes: 6 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.0.1</version>
<version>3.2.0</version>
<configuration>
<doclint>none</doclint>
<detectLinks>false</detectLinks>
Expand Down Expand Up @@ -1167,13 +1167,12 @@
<reporting>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>3.0.5</version>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
<version>4.1.3</version>
<configuration>
<xmlOutput>true</xmlOutput>
<findbugsXmlWithMessages>true</findbugsXmlWithMessages>
<findbugsXmlOutput>true</findbugsXmlOutput>
<spotbugsXmlOutput>true</spotbugsXmlOutput>
</configuration>
</plugin>
<plugin>
Expand Down Expand Up @@ -1204,7 +1203,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.0.1</version>
<version>3.2.0</version>
<configuration>
<doclint>none</doclint>
<detectLinks>false</detectLinks>
Expand Down

0 comments on commit d324c8e

Please sign in to comment.