Hi, I decided to start a new thread regarding Kafka 0.8 beta1 support for Scala 2.10.2 and OSGi. I asked about 2.10.2 in a different thread
I am using Maven to build my Scala library but to resolve the bad POM definition issue, https://issues.apache.org/jira/browse/KAFKA-1064, I added all the required dependencies to my POM and thought I had to use Scala 2.9.2 but it seems to build just fine with 2.10.2, this should be fine, right? However, I am getting java.lang.NoClassDefFoundError: scala/reflect/ClassManifest error calling ProducerConfig val config = new ProducerConfig(props) I believe this is because Kafka is built with 2.9.2 so I made the following changes to Build.scala scalaVersion := “2.10.2” , publishTo := Some(Resolver.file("file", new File(Path.userHome.absolutePath+"/.m2/repository"))), I should be able to run “sbt publish” to my local maven repository. However, I also need to package this library in OSGi format since I am using the library in OSGi, does anyone know if this works in OSGi? I would also need to include addSbtPlugin("com.typesafe.sbt" % "sbt-osgi" % "0.4.0”) for OSGi bundling. Thanks for any help! Bob