title: How does one build a custom Bootstrap WebJar with sbt?
body: <p>I want to build a WebJar that contains a brand-customized version of Bootstrap from LESS source. I have <code>sbt.version=0.13.5-M4</code> in <code>project/build.properties</code> and <code>addSbtPlugin("com.typesafe.sbt" % "sbt-less" % "1.0.0-M2a")</code> in <code>project/plugins.sbt</code>. My <code>build.sbt</code> looks like this:</p>
  
  <pre><code>import com.typesafe.web.sbt.WebPlugin
  import com.typesafe.jse.sbt.JsEnginePlugin
  import com.typesafe.web.sbt.WebPlugin.WebKeys
  
  name := "brand-assets"
  
  organization := "com.example"
  
  version := "0.0.1-SNAPSHOT"
  
  WebPlugin.webSettings
  
  JsEnginePlugin.jsEngineSettings
  
  lazy val root = (project in file(".")).addPlugins(SbtWeb)
  
  excludeFilter in Assets := new PatternFilter("""[^_].*\.less""".r.pattern)
  </code></pre>
  
  <p>The errors I get are:</p>
  
  <pre><code>build.sbt:1: error: object web is not a member of package com.typesafe
  import com.typesafe.web.sbt.WebPlugin
                      ^
  build.sbt:2: error: object sbt is not a member of package com.typesafe.jse
  import com.typesafe.jse.sbt.JsEnginePlugin
                          ^
  build.sbt:15: error: value addPlugins is not a member of sbt.Project
  lazy val root = (project in file(".")).addPlugins(SbtWeb)
                                         ^
  sbt.compiler.EvalException: Type error in expression
  </code></pre>
  
  <p>What am I missing?</p>