title: Getting a Maven dependency in sbt
body: <p>I'm trying to get the library discussed <a href="https://bitbucket.org/okapiframework/xliff-toolkit/wiki/Getting_Started" rel="nofollow">here</a></p>
  
  <pre><code>&lt;repositories&gt;
   &lt;repository&gt;
    &lt;id&gt;okapi-xliff&lt;/id&gt;
     &lt;name&gt;okapi-xliff-repository&lt;/name&gt;
     &lt;url&gt;http://repository-okapi-xliff.forge.cloudbees.com/release/&lt;/url&gt;                       
     &lt;layout&gt;default&lt;/layout&gt;
   &lt;/repository&gt;
  &lt;/repositories&gt;
  ...
  &lt;dependencies&gt;
   &lt;dependency&gt;
    &lt;groupId&gt;net.sf.okapi.lib&lt;/groupId&gt;
    &lt;artifactId&gt;okapi-lib-xliff2&lt;/artifactId&gt;
    &lt;version&gt;1.0&lt;/version&gt;
   &lt;/dependency&gt;
  &lt;/dependencies&gt;
  </code></pre>
  
  <p>And attempted to convert this to a build.sbt import with</p>
  
  <pre><code>libraryDependencies ++= Seq(
  "net.sf.okapi.lib" % "okapi-lib-xliff2" % "1.0"
  )
  
  resolvers += "okapi-xliff" at "http://repository-okapi-xliff.forge.cloudbees.com/release"
  
  resolvers += "websudos-repo" at "http://maven.websudos.co.uk/ext-release-local"
  </code></pre>
  
  <p>I was eventually hitting an error</p>
  
  <pre><code>Server access Error: Connection timed out url=http://maven.websudos.co.uk/ext-release-local/net/sf/okapi/lib/okapi-lib-xliff2/1.0/okapi-lib-xliff2-1.0.pom
  </code></pre>
  
  <p>Which I think is ok as websudos is another resolver I have listed. However; it was taking about 10 minutes before the timeout error came; then SBT would just sit there - so I'm not sure if it was trying okapi.</p>
  
  <p>I think I'm pretty close as - <code>http://repository-okapi-xliff.forge.cloudbees.com/release/net/sf/okapi/lib/okapi-lib-xliff2/1.0/okapi-lib-xliff2-1.0.pom</code> is a valid URL</p>
  
  <p>So</p>
  
  <p>1) Is there anyway for me to configure SBT to timeout faster?
  2) Does my build.sbt look correct? Should it eventually resolve the dependency?</p>
  
  <p>Thanks</p>