title: Dependency convergence error with Maven
body: <p>I am trying to create a REST api server for a NLP library (Illinois NER tagger) using DropWizard. The following is the content of my <code>.pom</code> file:</p>
  
  <pre><code>&lt;repositories&gt;
      &lt;repository&gt;
          &lt;id&gt;sonatype-nexus-snapshots&lt;/id&gt;
          &lt;name&gt;Sonatype Nexus Snapshots&lt;/name&gt;
          &lt;url&gt;http://oss.sonatype.org/content/repositories/snapshots&lt;/url&gt;
      &lt;/repository&gt;
      &lt;repository&gt;
          &lt;id&gt;CogcompSoftware&lt;/id&gt;
          &lt;name&gt;CogcompSoftware&lt;/name&gt;
          &lt;url&gt;http://cogcomp.cs.illinois.edu/m2repo/&lt;/url&gt;
      &lt;/repository&gt;
  &lt;/repositories&gt;
  
  &lt;dependencyManagement&gt;
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;io.dropwizard&lt;/groupId&gt;
              &lt;artifactId&gt;dropwizard-bom&lt;/artifactId&gt;
              &lt;version&gt;${project.version}&lt;/version&gt;
              &lt;type&gt;pom&lt;/type&gt;
              &lt;scope&gt;import&lt;/scope&gt;
          &lt;/dependency&gt;
      &lt;/dependencies&gt;
  &lt;/dependencyManagement&gt;
  
  &lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;edu.illinois.cs.cogcomp&lt;/groupId&gt;
          &lt;artifactId&gt;illinois-ner&lt;/artifactId&gt;
          &lt;version&gt;3.0.72&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;io.dropwizard&lt;/groupId&gt;
          &lt;artifactId&gt;dropwizard-core&lt;/artifactId&gt;
          &lt;version&gt;1.1.2&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;io.dropwizard&lt;/groupId&gt;
          &lt;artifactId&gt;dropwizard-http2&lt;/artifactId&gt;
          &lt;version&gt;1.1.2&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;io.dropwizard&lt;/groupId&gt;
          &lt;artifactId&gt;dropwizard-hibernate&lt;/artifactId&gt;
          &lt;version&gt;1.1.2&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;io.dropwizard&lt;/groupId&gt;
          &lt;artifactId&gt;dropwizard-metrics-graphite&lt;/artifactId&gt;
          &lt;version&gt;1.1.2&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.h2database&lt;/groupId&gt;
          &lt;artifactId&gt;h2&lt;/artifactId&gt;
          &lt;version&gt;1.4.196&lt;/version&gt;
      &lt;/dependency&gt;
  &lt;/dependencies&gt;
  </code></pre>
  
  <p>On adding the dependency tag and repository tag corresponding to Illinois library my code is crashing with following error on <code>mvn package</code></p>
  
  <pre><code>[INFO] 
  [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce) @ dropwizard-example ---
  [WARNING] 
  Dependency convergence error for edu.illinois.cs.cogcomp:illinois-core-utilities:3.0.72 paths to dependency are:
  +-io.dropwizard:dropwizard-example:1.2.0-SNAPSHOT
    +-edu.illinois.cs.cogcomp:illinois-ner:3.0.72
      +-edu.illinois.cs.cogcomp:illinois-tokenizer:3.0.72
        +-edu.illinois.cs.cogcomp:illinois-core-utilities:3.0.72
  and
  +-io.dropwizard:dropwizard-example:1.2.0-SNAPSHOT
    +-edu.illinois.cs.cogcomp:illinois-ner:3.0.72
      +-edu.illinois.cs.cogcomp:illinois-core-utilities:3.0.72
  and
  +-io.dropwizard:dropwizard-example:1.2.0-SNAPSHOT
    +-edu.illinois.cs.cogcomp:illinois-ner:3.0.72
      +-edu.illinois.cs.cogcomp:LBJava:1.2.24
        +-edu.illinois.cs.cogcomp:illinois-inference:0.6.0
          +-edu.illinois.cs.cogcomp:illinois-core-utilities:3.0.51
  and
  +-io.dropwizard:dropwizard-example:1.2.0-SNAPSHOT
    +-edu.illinois.cs.cogcomp:illinois-ner:3.0.72
      +-edu.illinois.cs.cogcomp:LBJava:1.2.24
        +-edu.illinois.cs.cogcomp:illinois-inference:0.6.0
          +-edu.illinois.cs.cogcomp:illinois-sl-core:1.0.2
            +-edu.illinois.cs.cogcomp:illinois-core-utilities:3.0.22
  and
  +-io.dropwizard:dropwizard-example:1.2.0-SNAPSHOT
    +-edu.illinois.cs.cogcomp:illinois-ner:3.0.72
      +-edu.illinois.cs.cogcomp:LBJava-NLP-tools:1.0.1
        +-edu.illinois.cs.cogcomp:illinois-core-utilities:1.2.11
  
  [WARNING] 
  Dependency convergence error for edu.illinois.cs.cogcomp:LBJava:1.2.24 paths to dependency are:
  +-io.dropwizard:dropwizard-example:1.2.0-SNAPSHOT
    +-edu.illinois.cs.cogcomp:illinois-ner:3.0.72
      +-edu.illinois.cs.cogcomp:LBJava:1.2.24
  and
  +-io.dropwizard:dropwizard-example:1.2.0-SNAPSHOT
    +-edu.illinois.cs.cogcomp:illinois-ner:3.0.72
      +-edu.illinois.cs.cogcomp:LBJava-NLP-tools:1.0.1
        +-edu.illinois.cs.cogcomp:LBJava:1.1.0
  
  [WARNING] Rule 0: org.apache.maven.plugins.enforcer.DependencyConvergence failed with message:
  Failed while enforcing releasability the error(s) are [
  Dependency convergence error for edu.illinois.cs.cogcomp:illinois-core-utilities:3.0.72 paths to dependency are:
  +-io.dropwizard:dropwizard-example:1.2.0-SNAPSHOT
    +-edu.illinois.cs.cogcomp:illinois-ner:3.0.72
      +-edu.illinois.cs.cogcomp:illinois-tokenizer:3.0.72
        +-edu.illinois.cs.cogcomp:illinois-core-utilities:3.0.72
  and
  +-io.dropwizard:dropwizard-example:1.2.0-SNAPSHOT
    +-edu.illinois.cs.cogcomp:illinois-ner:3.0.72
      +-edu.illinois.cs.cogcomp:illinois-core-utilities:3.0.72
  and
  +-io.dropwizard:dropwizard-example:1.2.0-SNAPSHOT
    +-edu.illinois.cs.cogcomp:illinois-ner:3.0.72
      +-edu.illinois.cs.cogcomp:LBJava:1.2.24
        +-edu.illinois.cs.cogcomp:illinois-inference:0.6.0
          +-edu.illinois.cs.cogcomp:illinois-core-utilities:3.0.51
  and
  +-io.dropwizard:dropwizard-example:1.2.0-SNAPSHOT
    +-edu.illinois.cs.cogcomp:illinois-ner:3.0.72
      +-edu.illinois.cs.cogcomp:LBJava:1.2.24
        +-edu.illinois.cs.cogcomp:illinois-inference:0.6.0
          +-edu.illinois.cs.cogcomp:illinois-sl-core:1.0.2
            +-edu.illinois.cs.cogcomp:illinois-core-utilities:3.0.22
  and
  +-io.dropwizard:dropwizard-example:1.2.0-SNAPSHOT
    +-edu.illinois.cs.cogcomp:illinois-ner:3.0.72
      +-edu.illinois.cs.cogcomp:LBJava-NLP-tools:1.0.1
        +-edu.illinois.cs.cogcomp:illinois-core-utilities:1.2.11
  , 
  Dependency convergence error for edu.illinois.cs.cogcomp:LBJava:1.2.24 paths to dependency are:
  +-io.dropwizard:dropwizard-example:1.2.0-SNAPSHOT
    +-edu.illinois.cs.cogcomp:illinois-ner:3.0.72
      +-edu.illinois.cs.cogcomp:LBJava:1.2.24
  and
  +-io.dropwizard:dropwizard-example:1.2.0-SNAPSHOT
    +-edu.illinois.cs.cogcomp:illinois-ner:3.0.72
      +-edu.illinois.cs.cogcomp:LBJava-NLP-tools:1.0.1
        +-edu.illinois.cs.cogcomp:LBJava:1.1.0
  ]
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD FAILURE
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 38.047 s
  [INFO] Finished at: 2017-07-31T16:36:33+05:30
  [INFO] Final Memory: 27M/1517M
  [INFO] ------------------------------------------------------------------------
  [ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.4.1:enforce (enforce) on project dropwizard-example: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed. -&gt; [Help 1]
  [ERROR] 
  [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  [ERROR] 
  [ERROR] For more information about the errors and possible solutions, please read the following articles:
  [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
  </code></pre>
  
  <p>Please help me to resolve this error. </p>