Skip to content
This repository has been archived by the owner on Sep 18, 2021. It is now read-only.

SBT build fails #13

Open
ardlema opened this issue Jan 2, 2014 · 1 comment
Open

SBT build fails #13

ardlema opened this issue Jan 2, 2014 · 1 comment

Comments

@ardlema
Copy link

ardlema commented Jan 2, 2014

Hi there,

I am trying to include the library in a simple project and am getting these resolve dependencies exceptions:

sbt.ResolveException: download failed: javax.jms#jms;1.1!jms.jar
download failed: com.sun.jdmk#jmxtools;1.2.1!jmxtools.jar
download failed: com.sun.jmx#jmxri;1.2.1!jmxri.jar

Following is my build.sbt file:

name := "scala-cassandra-spike"

organization := "ardlema"

version := "0.0.1"

scalaVersion := "2.10.3"

val twitterRepo = "Twitter's Repository" at "http://maven.twttr.com/"
val cassie = "com.twitter" % "cassie" % "0.19.0"

resolvers ++= Seq(twitterRepo)

libraryDependencies ++= Seq(
"org.scalacheck" %% "scalacheck" % "1.10.0" % "test" withSources() withJavadoc(),
cassie
)

initialCommands := "import ardlema.scalacassandraspike._"

Thank you in advance

@pmarnik
Copy link

pmarnik commented Feb 20, 2014

This is standard problem with transitive dependency to log4j which takse those unresorvable dependencies. Just exclude those problematic dependencies from your build.

val cassie = "com.twitter" % "cassie" % "0.19.0" exclude("javax.jms", "jms") exclude("com.sun.jdmk", "jmxtools") exclude("com.sun.jmx", "jmxri")

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants