-
Bug
-
Resolution: Fixed
-
P2
-
7.0.0
As JMC-6128 [0] has been resolved, JMC uses OpenJFX as available from maven central.
It appears that this change has resulted in failures when building and using SpotBugs. This looks to be due to using an older version of the SpotBugs maven plugin (3.1.3), which doesn't support JDK 10 and above (introduced in version 3.1.3.1). I've set up a number of branches on Travis CI (see attached screenshot) that shows the build returns to normal after an update to the SpotBugs maven plugin (current release is 3.1.10). I've included a link at the bottom of this comment to a Travis build log [1] that fails.
Once this issue has been published I'll post back with a proposed one-liner webrev to update the SpotBugs version.
Example build error message from Travis log [1]:
[[1;31mERROR[m] Failed to execute goal [32mcom.github.spotbugs:spotbugs-maven-plugin:3.1.3:check[m [1m(default)[m on project [36morg.openjdk.jmc.joverflow.ui[m: [1;31mfailed with 17 bugs and 1001 errors
[0] https://bugs.openjdk.java.net/browse/JMC-6128
[1] https://api.travis-ci.org/v3/job/482998757/log.txt