I'm trying to use JavaAppPackaging from sbt-native-packager. My understanding is, that when I run:
sbt stage
I should get a directory target/universal/stage/bin with some startup scripts. Now I only get lib which contains my jar and it's dependencies.
Here's the relevant parts of my build.sbt:
val scalatra = "org.scalatra" %% "scalatra" % "2.3.1"
enablePlugins(JavaAppPackaging)
lazy val root = (project in file(".")).
settings(
name := "myapp",
version := "0.2",
scalaVersion := "2.11.6",
libraryDependencies += scalatra
)
Also, my plugins.sbt has this:
addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "1.0.0")
I'm using sbt 0.13.8.
So why don't I get the startup scripts, what am I missing?