libraryDependencies += "org.eclipse.jetty"% "jetty-webapp"% " 8.0.4.v20111024"% "container"
If you don’t want to, you don’t have to use a container for testing.
I want to convert my SBT project Build and package as a .war file. I found the plugin xsbt-web-plugin, but it requires Jetty dependencies that I don’t need because I use Apache Tomcat for production and development. What I want from SBT is to use the standard hierarchy to My build is packaged into a .war file. Is it possible?
If you include the following line in the build.sbt file, jetty will only be used to run the container to test your application in sbt; it will not be included in the war In the file:
libraryDependencies += "org.eclipse.jetty"% "jetty-webapp"% "8.0.4.v20111024"% "container" pre>If you don't want to, you don't have to use a container for testing.