hankem opened a new issue, #3754:
URL: https://github.com/apache/logging-log4j2/issues/3754
## Description
log4j 2.25.0's dependency `com.github.spotbugs:spotbugs-annotations:4.9.3`
is only compatible with JVM runtime version 11+
## Configuration
**Version:** 2.25.0
**Operating system:** Linux 6.14.6-2-MANJARO
**JDK:** Oracle Java 1.8.0
## Logs
from a `./gradlew build` with a `org.apache.logging.log4j:log4j-api:2.25.0`
dependency using Java 8:
```
> Task :compileJava FAILED
FAILURE: Build failed with an exception.
* 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-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.
```
## Reproduction
https://github.com/hankem/log4j-2.25.0-with-Java-8
--
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]