-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
Current version of spotbugs-maven-plugin 3.1.5 has an issue when executed with JDK-11. New version 3.1.7 added support for JDK-11 already. Still there is some issue with false-positive errors tracked here and caused probably by the way how java bytecode is created in JDK-11.
We should perform update of the plugin to latest version to support JDK-11 execution. To avoid followup issue with false-positive errors we can introduce new maven profile which makes spotbugs-maven-plugin not to fail when executed with JDK-11.