title: Including a different version of a library, in a maven dependency totally broke my build
body: <p>So I had </p>
  
  <pre><code> &lt;dependency&gt;
              &lt;groupId&gt;org.codehaus.jackson&lt;/groupId&gt;
              &lt;artifactId&gt;jackson-jaxrs&lt;/artifactId&gt;
              &lt;version&gt;1.8.3&lt;/version&gt;
              &lt;scope&gt;${defaultScope}&lt;/scope&gt;
          &lt;/dependency&gt;
  </code></pre>
  
  <p>I included this</p>
  
  <pre><code>   &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.social&lt;/groupId&gt;
              &lt;artifactId&gt;spring-social-web&lt;/artifactId&gt;
              &lt;version&gt;1.0.2.RELEASE&lt;/version&gt;
          &lt;/dependency&gt;
  </code></pre>
  
  <p>which itself includes this</p>
  
  <pre><code> &lt;dependency&gt;
        &lt;groupId&gt;org.codehaus.jackson&lt;/groupId&gt;
        &lt;artifactId&gt;jackson-mapper-asl&lt;/artifactId&gt;
        &lt;version&gt;1.9.3&lt;/version&gt;
        &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
  </code></pre>
  
  <p>Which resulted in a no class not found for jsonwrapper.</p>
  
  <p>I updated my original version of jackson dependency to be up-to-date with the spring-social included version, and it now works.</p>
  
  <p>This seem rather fragile/unfriendly, is there something I should be doing to avoid such problems ?</p>