title: Maven does not find dependencies, eclipse works correctly, with ca.uhn.hapi.fhir dependency
body: <p>i'm working on a Java project that works correctly in Eclipse. When i use another IDE, or when i try to compile it using maven, i have some compilation errors, all related to a specific import.
  In pom, i have:</p>
  <pre><code>        &lt;dependency&gt;
              &lt;groupId&gt;ca.uhn.hapi.fhir&lt;/groupId&gt;
              &lt;artifactId&gt;hapi-fhir-structures-dstu3&lt;/artifactId&gt;
              &lt;version&gt;3.2.0&lt;/version&gt;
          &lt;/dependency&gt;
  </code></pre>
  <p>The library is correctly imported and i can use some libraries that are in the package ca.uhn.hapi....</p>
  <p>In some points of the code, i use this class:</p>
  <pre><code>org.hl7.fhir.exceptions.FHIRException;
  </code></pre>
  <p>So, the problem is: when i compile using eclipse, it works correctly. The class org.hl7.fhir.exceptions.FHIRException; is correctly imported and used. When i compile using maven (mvn install), i have this error:</p>
  <pre><code>.java:[5,31] package org.hl7.fhir.exceptions does not exist
  </code></pre>
  <p>It sounds like the package is not imported correctly. I think that eclipse does some automatic operations to import code correctly.
  Another particular thing is that  org.hl7.fhir.exceptions is contained into ca.uhn.hapi.fhir. The directory structure is:</p>
  <pre><code>.m2\repository\ca\uhn\hapi\fhir\org.hl7.fhir.utilities\5.2.0\org.hl7.fhir.utilities-5.2.0.jar
  </code></pre>
  <p>And this classes are in package org.hl7.fhir.exceptions;</p>
  <p>Is there a way to fix that issue? How can Eclipse recognize that i'm importing a package X, that is contained in a pom with a completely different name? (org.hl7 VS ca.uhn)</p>