{"comment":{"created_at":"2011-10-13T03:39:04Z","body":"I'm not familiar with `libraryDependencies ++= Dependencies.war` syntax. Can you shed some light on what does it mean? It might be the root cause. \r\n\r\nBtw war packaging was not changed since 0.1 very much it grabs `fullClasspath in Compile` along with `webappResources` and packages it into a war. The only thing changed is that `fullClasspath` was not scoped in Compile in 0.1, while in 0.2 it is by default.\r\n\r\nAlso what exactly do you mean when saying \"war contains nothing\". Did you tried to unpack the resulting war and review the contents?","updated_at":"2011-10-13T03:39:04Z","url":"https://api.github.com/repos/siasia/xsbt-web-plugin/issues/comments/2390910","id":2390910,"user":{"avatar_url":"https://secure.gravatar.com/avatar/a4c46907011b58560a266b2fc8e7bf6a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/siasia","id":38494,"login":"siasia"}},"action":"created","issue":{"number":43,"created_at":"2011-10-11T18:46:41Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"Two scenarios:\r\n\r\n(1) The app is using Servlet 3.0 Annotations _only_. Thus, src/main/webapp is not necessary at all.\r\n(2) The app is a multi-module app and src/main/webapp is not in defined in some other dependent module (or it uses (1)) above.\r\n\r\nI'm still trying to work out getting this plugin to work in a project using only servlet 3.0 annotations and a module structure:\r\n\r\nroot = AggregateProject(...)\r\ncore = Project()\r\nmodule1 = Project(... dependsOn(core))\r\nmodule2 = Project(... dependsOn(core))\r\nmodule3 = Project(... dependsOn(module2))\r\nwar = Project(... dependsOn(module1, module3), settings = defaultSettings ++ webSettings))\r\n\r\nHowever, I haven't been able to successfully get a war to package the dependent modules (and thus, I also assume that the jetty container isn't pulling in the other packages). I plan to file a separate issue when I determine the source of the problem.\r\n ","comments":11,"title":"Requiring src/main/webapp is unnecessary","updated_at":"2011-10-13T03:39:04Z","url":"https://api.github.com/repos/siasia/xsbt-web-plugin/issues/43","id":1879587,"assignee":null,"milestone":null,"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/07839f899f0c7a45b64a75c52ede182a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/endarkenj","id":794214,"login":"endarkenj"},"html_url":"https://github.com/siasia/xsbt-web-plugin/issues/43","labels":[],"state":"open"},"legacy":{"issue_id":1879587,"comment_id":2390910}}