Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-16359

kafka-clients-3.7.0.jar published to Maven Central is defective

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 3.7.0
    • 3.8.0, 3.7.1
    • clients
    • None

    Description

      The kafka-clients-3.7.0.jar that has been published to Maven Central is defective: it's META-INF/MANIFEST.MF bogusly include a Class-Path element:

      Manifest-Version: 1.0
      Class-Path: zstd-jni-1.5.5-6.jar lz4-java-1.8.0.jar snappy-java-1.1.10
      .5.jar slf4j-api-1.7.36.jar
      

      This bogus Class-Path element leads to compiler warnings for projects that utilize it as a dependency:

      [WARNING] [path] bad path element ".../.m2/repository/org/apache/kafka/kafka-clients/3.7.0/zstd-jni-1.5.5-6.jar": no such file or directory
      [WARNING] [path] bad path element ".../.m2/repository/org/apache/kafka/kafka-clients/3.7.0/lz4-java-1.8.0.jar": no such file or directory
      [WARNING] [path] bad path element ".../.m2/repository/org/apache/kafka/kafka-clients/3.7.0/snappy-java-1.1.10.5.jar": no such file or directory
      [WARNING] [path] bad path element ".../.m2/repository/org/apache/kafka/kafka-clients/3.7.0/slf4j-api-1.7.36.jar": no such file or directory
      

      Either the kafka-clients-3.7.0.jar needs to be respun and published without the bogus Class-Path element in it's META-INF/MANIFEST.MF or a new release should be published that corrects this defect.

      Attachments

        Issue Links

          Activity

            People

              apoorvmittal10 Apoorv Mittal
              norrisjeremy Jeremy Norris
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: