timtebeek commented on PR #3545: URL: https://github.com/apache/logging-log4j2/pull/3545#issuecomment-2981702365
@ppkarwasz following [yesterday's v2.25.0 release](https://github.com/apache/logging-log4j2/releases/tag/rel%2F2.25.0) I'm seeing the following issue when targeting Java 8: ``` * What went wrong: Execution failed for task ':compileJava'. > Could not resolve all files for configuration ':compileClasspath'. > Could not resolve com.github.spotbugs:spotbugs-annotations:4.9.3. Required by: root project : > org.apache.logging.log4j:log4j-core:2.25.0 root project : > org.apache.logging.log4j:log4j-core:2.25.0 > org.apache.logging.log4j:log4j-api:2.25.0 > Dependency resolution is looking for a library compatible with JVM runtime version 8, but 'com.github.spotbugs:spotbugs-annotations:4.9.3' is only compatible with JVM runtime version 11 or newer. ``` That's because Spotbugs 4.9.0 bumped the required Java version to Java 11: https://github.com/spotbugs/spotbugs/releases/tag/4.9.0 The last version before that still supporting Java 8 would be 4.8.6 https://github.com/spotbugs/spotbugs/releases/tag/4.8.6 Would it make sense to rollback spotbugs-annotations to support Java 8 for some time longer? I didn't spot any explicit mention of bumping this requirement. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
