thanks for the reply, but that unfortunately does not help.

to make my problem easily reproducible:

creating an empty directory, put just a build.sbt file with the following 
content into it:

name := "kafka-dependency-test"

scalaVersion := "2.8.2"

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

and run

sbt update

gives me the following error:

sbt.ResolveException: unresolved dependency: 
org.apache.kafka#kafka_2.8.2;0.8.0-beta1: null name not allowed


sbt sbt-version gives me the following:

[info] Loading global plugins from /Users/lorenz/.sbt/plugins
[info] Set current project to kafka-dependency-test (in build 
file:/Users/lorenz/software/kafka_dependency_test/)
[info] 0.12.4



nobody else having these problems?
regards

lorenz




On Aug 20, 2013, at 3:15 PM, Joe Stein <crypt...@gmail.com> wrote:

> 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 <m...@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
>> 
>> 

Reply via email to