title: Overriding jetty port setting when using Build.scala files
body: <p>I am moving my build from <em>build.sbt</em> to <em>Build.scala</em> files and I am having trouble overriding the jetty port setting when using the <em>xsbt-web-plugin</em>. When using <em>build.sbt</em> I was able to set the property using: </p>
  
  <pre><code>port in container.Configuration := 8081
  </code></pre>
  
  <p>In my .scala files I have tried a few things but jetty is always starting on 8080 for example in my <em>BuildSettings</em> object:</p>
  
  <pre><code>import sbt._
  import Keys._
  import com.earldouglas.xsbtwebplugin.PluginKeys._
  object BuildSettings {
    lazy val settings =  com.earldouglas.xsbtwebplugin.WebPlugin.webSettings ++ seq(
      ...
      port := 8081,
      ...
    ) 
  }
  </code></pre>
  
  <p>I have also tried overriding it in the Project definition in <em>Build.scala</em>:</p>
  
  <pre><code>  lazy val root = Project("test",file("."))
      .settings(settings: _*)
      .settings(port := 8081)
  </code></pre>
  
  <p>But it always starts on 8080. In both of these cases running <code>show port</code> shows 8081.</p>