sbt / sbt-eclipse

Plugin for sbt to create Eclipse project definitions
Apache License 2.0
718 stars 167 forks source link

sbt-eclipse,sbt-assembly plugin issue: scala-spark-sbt-plugins #316

Open Nav15 opened 8 years ago

Nav15 commented 8 years ago

Hi Friends, I am new to Spark-Scala-sbt area. I am trying to run one sample spark-scala code using sbt and some sbt eclipse and sbt assembly plugins, But not able to package run it due to below issue,:

Created the plugins. sbt file under MyProject/project/ with below : addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.4.0")

addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.3")

Environment: sbt version is 0.13 scala version is 2.10.3

now from my project directory cd ~/MyProject MyProject$ sbt package ,getting below error.

[info] Resolving org.scala-sbt#compiler-interface;0.13.1 ... [warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] :: UNRESOLVED DEPENDENCIES :: [warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] :: com.typesafe.sbteclipse#sbteclipse-plugin;2.4.0: not found [warn] :: com.eed3si9n#sbt-assembly;0.14.3: not found [warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] [warn] Note: Some unresolved dependencies have extra attributes. Check that these dependencies exist with the requested attributes. [warn] com.typesafe.sbteclipse:sbteclipse-plugin:2.4.0 (sbtVersion=0.13, scalaVersion=2.10) [warn] com.eed3si9n:sbt-assembly:0.14.3 (sbtVersion=0.13, scalaVersion=2.10) [warn] sbt.ResolveException: unresolved dependency: com.typesafe.sbteclipse#sbteclipse-plugin;2.4.0: not found unresolved dependency: com.eed3si9n#sbt-assembly;0.14.3: not found

Checked some solution but unfortunately not working for me.

PardoJ commented 8 years ago

Same problem here. Seems that default repositories are empty... I Can't figure how download thoses dependencies.