Closed PhilAndrew closed 9 years ago
@PhilAndrew sorry, only just seen this issue. It seems that the snapshot binary in the snapshot repository is not up to date (ivy.xml says build date was 05 Jan 14).
Perhaps @reggert may be able to publish a current snapshot at some point when possible; for now though you may use it by depending on the source rather than the binary. E.g in your plugin definition file replace:
resolvers += Classpaths.sbtPluginSnapshots
addSbtPlugin("com.typesafe.sbt" % "sbt-osgi" % "0.8.0-SNAPSHOT")
with
lazy val plugins = (project in file("."))
.dependsOn(sbtOsgi)
lazy val sbtOsgi = uri("git://github.com/sbt/sbt-osgi.git")
can we get an updated artefact please ?
Hi hsyed, I don't think this project is being maintained anymore, so I made a Sbt OSGi from which you can build upon. https://github.com/PhilAndrew/ScalaOsgiWithSbt
Just clone that, should solve your main problem if you want to be able to use Scala and output a OSGi jar.
I'll see if I can publish a new snapshot some time this week if I have time.
Version 0.8.0 has been released, pending approval for inclusion in the sbt-plugin-releases repository.
For the snapshot version, this import does not work. Following the instructions for the snapshot version does not work.
import com.typesafe.sbt.SbtOsgi.autoImport._