Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-11290

Content Distribution Journal Kafka module should build Java 8 module

    XMLWordPrintableJSON

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

          Activity

            People

              Unassigned Unassigned
              marett Timothee Maret
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: