spotbugs / spotbugs-maven-plugin

Maven Mojo Plug-In to generate reports based on the SpotBugs Analyzer
https://spotbugs.github.io/spotbugs-maven-plugin/
Apache License 2.0
79 stars 53 forks source link

Release 4.8.6.0 suddenly requires Java 11 #834

Closed michael-o closed 5 months ago

michael-o commented 5 months ago

When upgrading fron 4.8.5.0 to 4.8.6.0 I get this:

[INFO] Configuring report plugin spotbugs-maven-plugin:4.8.6.0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  2.966 s
[INFO] Finished at: 2024-06-26T23:47:26+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:4.0.0-M15:site (default-site) on project michael-o-parent: Execution default-site of goal org.apache.maven.plugins:maven-site-plugin:4.0.0-M15:site failed: An API incompatibility was encountered while executing org.apache.maven.plugins:maven-site-plugin:4.0.0-M15:site: java.lang.UnsupportedClassVersionError: org/codehaus/mojo/spotbugs/CheckMojo has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
[ERROR] -----------------------------------------------------
[ERROR] realm =    plugin>org.apache.maven.plugins:maven-site-plugin:4.0.0-M15
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/C:/Users/mosipov/.m2/repository/org/apache/maven/plugins/maven-site-plugin/4.0.0-M15/maven-site-

but this Java upgrade is not mentioned in the release notes. Is this by accident?

hazendaz commented 5 months ago

by accident. Will roll a patch out tomorrow evening putting it back to java 8. The base parent used had rolled up, failed to roll this back down.

hazendaz commented 5 months ago

resolved, will be in central in few.