Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      The generated pom.xml includes two dependency sections. This results in Gradle being unable to resolve transitive dependencies as it inspects the first dependency section, not the second which includes the actual dependencies. Thus, using Kafka in Gradle requires specifying all the dependencies by hand or rewriting the pom.xml and deploying to an internal repository.

      http://search.maven.org/remotecontent?filepath=org/apache/kafka/kafka_2.9.1/0.8.0-beta1/kafka_2.9.1-0.8.0-beta1.pom

        Activity

        Hide
        Neha Narkhede added a comment -

        I believe the file to be patched is project/Build.scala. Would you like to take a stab at a patch?

        Show
        Neha Narkhede added a comment - I believe the file to be patched is project/Build.scala. Would you like to take a stab at a patch?
        Hide
        Ben Manes added a comment -

        My naive change would be to remove the ivyXML declaration as unnecessary. I'm not very familiar with sbt and why ivy metadata is defined, so that may not be the proper fix.

        Show
        Ben Manes added a comment - My naive change would be to remove the ivyXML declaration as unnecessary. I'm not very familiar with sbt and why ivy metadata is defined, so that may not be the proper fix.
        Hide
        Joe Stein added a comment -
        Show
        Joe Stein added a comment - See KAFKA-1018

          People

          • Assignee:
            Unassigned
            Reporter:
            Ben Manes
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development