Kafka
  1. Kafka
  2. KAFKA-1174

Empty jar in Maven Central for Scala 2.8.0

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Critical Critical
    • Resolution: Unresolved
    • Affects Version/s: 0.8.0
    • Fix Version/s: None
    • Component/s: packaging
    • Labels:
      None

      Description

      As reported by wildag on IRC

      In Maven Central, the jar for kafka core only contains the license and notice files, no classes. I checked the other Scala versions and they seem fine.

      See: http://search.maven.org/#artifactdetails%7Corg.apache.kafka%7Ckafka_2.8.0%7C0.8.0%7Cjar

      Unless we can invoke the power of the Sonatype gods, I think we must bump the version number to fix this (or wait until 0.8.1 drops).

        Activity

        Hide
        Joe Stein added a comment -

        The issue looks like it was in the packing and publish for the release.

        I staged a 2.8.0 jar (with only changing the versions)

        https://repository.apache.org/content/groups/staging/

        <dependency>
        <groupId>org.apache.kafka</groupId>
        <artifactId>kafka_2.8.0</artifactId>
        <version>0.8.0-s28fixTest</version>
        </dependency>

        lets verify that this solves all the issues before deciding next steps

        Show
        Joe Stein added a comment - The issue looks like it was in the packing and publish for the release. I staged a 2.8.0 jar (with only changing the versions) https://repository.apache.org/content/groups/staging/ <dependency> <groupId>org.apache.kafka</groupId> <artifactId>kafka_2.8.0</artifactId> <version>0.8.0-s28fixTest</version> </dependency> lets verify that this solves all the issues before deciding next steps
        Hide
        David Arthur added a comment -

        +1 verified:

        I don't suppose it's possible to replace the Jars on Maven Central? If not, I guess the right thing to do is do another release and bump the version to 0.8.0.1. Either that, or we create a special version for the 2.8.0 artifact like "0.8.0-fixed" or something.

        Show
        David Arthur added a comment - +1 verified: Jars in https://repository.apache.org/content/groups/staging/org/apache/kafka/kafka_2.8.0/0.8.0/ are emtpy (only a few Kb) Jars in https://repository.apache.org/content/groups/staging/org/apache/kafka/kafka_2.8.0/0.8.0-s28fixTest/ are "real" (a few Mb). I don't suppose it's possible to replace the Jars on Maven Central? If not, I guess the right thing to do is do another release and bump the version to 0.8.0.1. Either that, or we create a special version for the 2.8.0 artifact like "0.8.0-fixed" or something.
        Hide
        Brent Bradbury added a comment -

        +1, burned ourselves on JRuby with this for a few hours till we thought to jar -tf the kafka jar.

        Show
        Brent Bradbury added a comment - +1, burned ourselves on JRuby with this for a few hours till we thought to jar -tf the kafka jar.

          People

          • Assignee:
            Unassigned
            Reporter:
            David Arthur
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:

              Development