title: How do I add the storm mongo library as a maven dependency?
body: <p>I'm trying to use a SimpleMongoBolt from <a href="https://github.com/nathanmarz/storm-contrib" rel="nofollow">storm-contrib</a>. I downloaded the source, entered the storm-contrib-mongo directory and ran mvn package and mvn install. Everything worked fine and IntelliJ was able to resolve things while coding. When I try to build my project, however, it tries to find a pom for this library on an external repository. When it can't find it, it fails. What do I need to do to fix this?</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;project xmlns="http://maven.apache.org/POM/4.0.0"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  
      &lt;groupId&gt;StormTest&lt;/groupId&gt;
      &lt;artifactId&gt;StormTest&lt;/artifactId&gt;
      &lt;version&gt;1.0&lt;/version&gt;
      &lt;packaging&gt;jar&lt;/packaging&gt;
      &lt;name&gt;StormTest&lt;/name&gt;
  
      &lt;repositories&gt;
          &lt;repository&gt;
              &lt;id&gt;clojars.org&lt;/id&gt;
              &lt;url&gt;http://clojars.org/repo&lt;/url&gt;
          &lt;/repository&gt;
      &lt;/repositories&gt;
  
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;storm&lt;/groupId&gt;
              &lt;artifactId&gt;storm&lt;/artifactId&gt;
              &lt;version&gt;0.7.2&lt;/version&gt;
              &lt;scope&gt;Test&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.rapportive&lt;/groupId&gt;
              &lt;artifactId&gt;storm-amqp-spout&lt;/artifactId&gt;
              &lt;version&gt;0.1.1&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.rapportive&lt;/groupId&gt;
              &lt;artifactId&gt;storm-json&lt;/artifactId&gt;
              &lt;version&gt;0.0.1&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;storm&lt;/groupId&gt;
              &lt;artifactId&gt;storm-contrib-mongo&lt;/artifactId&gt;
              &lt;version&gt;0.1-SNAPSHOT&lt;/version&gt;
          &lt;/dependency&gt;
      &lt;/dependencies&gt;
  &lt;/project&gt;
  </code></pre>