-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Labels
apiAffects the public APIAffects the public APIbugIncorrect, unexpected, or unintended behavior of existing codeIncorrect, unexpected, or unintended behavior of existing codedependenciesRelated to third party dependency updates or migrationsRelated to third party dependency updates or migrations
Milestone
Description
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
timtebeek, greg-at-moderne, ummels, rschmitt, oneiros-de and 1 moreEliasZ and rschmitt
Metadata
Metadata
Assignees
Labels
apiAffects the public APIAffects the public APIbugIncorrect, unexpected, or unintended behavior of existing codeIncorrect, unexpected, or unintended behavior of existing codedependenciesRelated to third party dependency updates or migrationsRelated to third party dependency updates or migrations
Type
Projects
Status
Done