New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unresolved dependency: com.typesafe.sbteclipse#sbteclipse-plugin;2.1.1: not found #148
Comments
I also tried with sbt 0.12.2, same behavior. I got it to work by dowgrading from Scala 2.10.0 to Scala 2.9.2. But I want to use Scala 2.10 in my project, so this is not a solution. |
The problem is there is no 2.10 directory on the repo: http://repo.typesafe.com/typesafe/ivy-releases/com.typesafe.sbteclipse/sbteclipse-plugin/
|
Hey, You certainly added your plugins.sbt with addSbtPlugin(...sbteclipse...) in your / directory, instead of /project/ or better in ~/.sbt/plugins/. Cheers Heiko Seeberger On Feb 17, 2013, at 6:41 PM, vnicolici notifications@github.com wrote:
|
No, I didn't. Anyway, the project: https://skydrive.live.com/redir?resid=D652E988DB742907!104203&authkey=!AHVWVQu3hVfMyPY |
Well, you kind of did. You must move the build.sbt one level up to the build root dir! Then just start sbt in the root dir (backup-tool). Plugin refs need to be one level deeper in the project/ dir in a *.sbt file (usually plugins.sbt, but the name doesn't matter). Cheers Heiko Seeberger On Feb 17, 2013, at 7:37 PM, vnicolici notifications@github.com wrote:
|
Thanks, that fixed the issue. I usually use .scala files for the project, not .sbt files, and I assumed .sbt files should be in the same location. |
Common mistake ;-) |
I'm having the same symptom, although my plugins.sbt is project/plugins.sbt, so the fix doesn't work for me. [warn] ==== typesafe-ivy-releases: tried My guess (although it's not obvious from the above discussion) is that there is no sbteclipse-plugin for scala 2.10.0 yet. Is that correct? And if it is available somewhere, what resolver do I need to find it?
|
@philwalk sorry to be rude, but you are doing it wrong: As there is no released version of sbt that uses Scala 2.10, this error message clearly states that (a) your project (not sbt itself) depends on 2.10 and (b) you somehow made your project (not the plugins) depend on sbteclipse. Please point me to the code and I will show you ... |
thanks for the rapid response ... |
I'm having the same problem with sbteclipse. Do I ned to downgrade to Scala 2.10? |
No, but please double-check your dependency (particularly, the directory where your |
addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.5.0") |
Would it be possible to list the supported Scala versions in the home page? I've been scratching my head for the last hour until I found this post and downgraded to scala 2.10. Given that the latest stable versions of scala and sbt you can download are 2.11.7 and 0.13.9, that they both work fine together, and that the home page says sbt 0.13.9 is supported, it's nigh impossible to figure out the error. Also, the home (https://github.com/typesafehub/sbteclipse) and installation (https://github.com/typesafehub/sbteclipse/wiki/Installing-sbteclipse) pages mention different sbteclipse versions (4 vs 2.5) Thanks! |
what did the trick for me was: in plugins.sbt: in build.sbt: libraryDependencies += "org.scala-lang.modules" %% "scala-java8-compat" % "0.2.0" After this the command 'sbt eclipse' still did not work, so I had to add in the file ~/.sbt/0.13/plugins/plugins.sbt this: |
remove ~/.sbt/boot/sbt.boot.lock and again try . It worked for me. |
add the newer version it worked for me.
|
I tried to create a simple sbt eclipse project, and this is the result:
build.properties:
build.sbt:
plugins.sbt:
The text was updated successfully, but these errors were encountered: