dcaoyuan / nbsbt

Plugin for sbt to create Netbeans project definition.
21 stars 15 forks source link

unresolved dependencies: org.netbeans.nbsbt:nbsbt-plugin:1.0.2 (sbtVersion=0.12, scalaVersion=2.9.2) #9

Open michaelajr opened 10 years ago

michaelajr commented 10 years ago

Hi. I compiled and installed locally the NBSBT plugin for SBT 0.12. That all went fine. I have the following SBT project:

[info] This is sbt 0.12.4
[info] No project is currently loaded
[info] sbt, sbt plugins, and build definitions are using Scala 2.9.2

And I get the following error:

unresolved dependencies: org.netbeans.nbsbt:nbsbt-plugin:1.0.2 (sbtVersion=0.12, scalaVersion=2.9.2)

I'm new to Scala and SBT - but it appears that dependencies are marked with which Scala Version and SBT version they were compiled with, and will not work with other versions of Scala or SBT. Is this a bug? Is there anything I can do to get NBSBT to work with this project?

michaelajr commented 10 years ago

and this is my plugin definition:

addSbtPlugin("org.netbeans.nbsbt" % "nbsbt-plugin" % "1.0.2")