bmc/sbt-lwm — Issue #7: Documentation errors and 0.11.2 runtime error
Author: mslinn
Created: 2012-01-16 21:24:11+00:00
State: open

1) The instructions for the first code example say the file should go in ````project/plugins````, but for SBT 0.10+ ````.sbt```` files should go into ````project/```` instead.

2) The third line of the first code example in the documentation is missing a closing parenthesis:
````
// The plugin is only published for 2.8.1, 2.9.0-1 and 2.9.1
libraryDependencies <<= (scalaVersion, libraryDependencies) { (scv, deps) =>
if ((scv == "2.8.1") || (scv == "2.9.0-1") || (scv == "2.9.1") // this line needs a closing parenthesis
deps :+ "org.clapper" %% "sbt-lwm" % "0.2"
else
deps
}
````
3) When I run the plugin with SBT 0.11.2, I get:
````
[error] java.lang.NoClassDefFoundError: sbt/ScopedSetting
````

Mike