JavaServer Pages (JSP) under sbt build. Currently Jetty8 is used a an implementation for compiler.
outputFileName - output jar file name, by default ${project_name}_jsp.jar is used.
expected path to web.xml is
sourceDirectory / "main" / "webapp" / "WEB-INF" / "web.xml"
expected path to JSP is
sourceDirectory / "main" / "webapp"
Create a file in your project called project/plugins.sbt
with the following contents:
externalResolvers += Resolver.bintrayIvyRepo("evolutiongaming", "sbt-plugins")
addSbtPlugin( "com.evolutiongaming" % "sbt-jspc-plugin" % "1.0.0")
lazy val web =
Project("web", file("web")).enablePlugins(JspcPlugin)
then sbt web\jspc
will compile JSP under