siasia/xsbt-web-plugin — Issue #58: package with webSettings(Runtime) builds jar instead of war
Author: rossabaker
Created: 2011-11-12 01:59:31+00:00
State: open

sbt-0.11.1, xsbt-web-plugin-0.2.8

I keep some library dependencies, such as my slf4j binding, in the runtime configuration. When I add my webSettings the default way, my runtime libararies are not in the container classpath or packaged in my war

seq(webSettings :_*)

To fix this, I changed the settings to:

seq(webSettings(Runtime) :_*)

This makes the runtime libraries visible. (As a Maven user, I expected this to be the default behavior.) But now `package` builds a jar. Shouldn't it still build a war? `package-war` still works as expected.