Details
-
Task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
The module compiles to a Java 11 target since this commit part of SLING-11037. Java 11 classes are not compatible with the journal.it module and break the tests with
[ERROR] Failed to execute goal org.codehaus.mojo:animal-sniffer-maven-plugin:1.16:check (default) on project org.apache.sling.distribution.journal.it: Failed to check signatures: failed to process jar /Users/tmaret/.m2/repository/org/apache/sling/org.apache.sling.distribution.journal.kafka/0.3.0/org.apache.sling.distribution.journal.kafka-0.3.0.jar : Bad class file /Users/tmaret/.m2/repository/org/apache/sling/org.apache.sling.distribution.journal.kafka/0.3.0/org.apache.sling.distribution.journal.kafka-0.3.0.jar:org/apache/sling/distribution/journal/kafka/CLSwitch.class: IllegalArgumentException -> [Help 1]
We should either migrate all the Content Distribution bundles to Java 11 or none. Migrating is a larger effort that should be tracked independently. At this point, there's no need to use Java 11, so this issue is about compiling to the default Java version. This will also unblock the effort to update the journal.it bundle to the latest Sling parent tracked in SLING-11289.
Attachments
Issue Links
- blocks
-
SLING-11289 Update org.apache.sling.distribution.journal.it to latest parent bundle 47
- Open
- relates to
-
SLING-11037 Upgrade to java 11 and latest parent
- Resolved