Old version moved to 0.1
This is a forked version of xsbt-web-plugin which adds support for the Jetty SSL connector in xsbt-web-plugin (so that the app can be deployed on both http and https ports).
This work has been sponsored and donated to the public by the great Parkio company - http://www.parkio.com
rm -rf $HOME/.ivy2/cache/com.github.siasia
rm -rf $HOME/.ivy2/local/com.github.siasia
git clone https://github.com/ambisoft/xsbt-web-plugin.git
cd xsbt-web-plugin
sh <path_to_sbt>/sbt publish-local (builds a plugin and publishes locally in the ivy repository)
libraryDependencies <+= sbtVersion(v => "com.github.siasia" %% "xsbt-web-plugin" % (v+"-0.2.10.1"))
Inject plugin settings into project in build.sbt
:
seq(webSettings :_*)
libraryDependencies += "org.mortbay.jetty" % "jetty" % "6.1.22" % "container"
ssl in container.Configuration := Some(ssl_port, "path_to_keystore", "keystore_password", "key_password")
See Wiki for details
This software is distributed under modified 3-clause BSD license. See LICENSE for more information.