I migrated my application to OpenJDK11 and Jenkins build is failing because Findbug is no longer supported. The plugin :
- sonar-maven-plugin - Is internally calling Findbug in java 11 env and it's breaking the Jenkins build
How do I migrate this plugin to use the latest Spotbug dependency, I still want to keep the sonar-maven-plugin to get the report to sonar.
Current pom.xml relevant portion :
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.sonarsource.scanner.maven</groupId>
<artifactId>sonar-maven-plugin</artifactId>
<version>3.7.0.1746</version>
</plugin>
</plugins>
</pluginManagement>
</build>
Already went through many docs. Couldn't find a solution.
SonarQube version: Version 6.7 (build 33306)
Installed Plugins (Relevant ones) :
- FindbugsExternal Analysers Analyze Java code with SpotBugs 3.1.0-RC6. 3.6.0
- SonarJavaLanguages Code Analyzer for Java 5.13.1 (build 18282)
- SonarXML Code Analyzer for XML 2.0.1 (build 2020)
- CheckstyleExternal Analysers Analyze Java code with Checkstyle 4.23