kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Stein <crypt...@gmail.com>
Subject Re: use kafka as dependency in sbt from central maven repository
Date Tue, 20 Aug 2013 13:15:26 GMT
you need to put intransitive() at the end so it ignores dependencies that
are defined to be ignored in maven

so your line would be

libraryDependencies += "org.apache.kafka" % "kafka_2.9.2" % "0.8.0-beta1"
intransitive()

/*******************************************
 Joe Stein
 Founder, Principal Consultant
 Big Data Open Source Security LLC
 http://www.stealth.ly
 Twitter: @allthingshadoop <http://www.twitter.com/allthingshadoop>
********************************************/


On Tue, Aug 20, 2013 at 2:48 AM, Lorenz Knies <me@l1024.org> wrote:

> Hi,
>
> i am having problems using kafka as a dependency in sbt.
>
> with this simple build.sbt:
>
>  name := "kafka-dependency-test"
>
>  scalaVersion := "2.9.2"
>
>  libraryDependencies += "org.apache.kafka" % "kafka_2.9.2" % "0.8.0-beta1"
>
>
> when i do
>
>  sbt update
>
> i get the following error:
>
>  sbt.ResolveException: unresolved dependency:
> org.apache.kafka#kafka_2.9.2;0.8.0-beta1: null name not allowed
>
> i am using sbt 0.12.4 but also tried other versions with no luck
>
> looks like the ivy implementation ignores the org and name attributes for
> the zookeeper dependency in the custom inline xml included in kafkas
> Build.scala
>
> anybody else having these problems and maybe some advice for a
> solution/workaround?
>
>
> regards
>
> lorenz
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message