title: Dependency not found in Spring Boot project
body: <p>When doing a <em>mvn clean compile</em> in projectA I'm getting a <strong>package does not exist</strong> compilation error. The error is refering to a package imported from projectB, which is a Spring Boot project (projectA is a regular maven project). projectB compiles nicely and the resulting jar is in my local maven repo.</p>
  
  <p>projectB is included in projectA:</p>
  
  <pre><code>    &lt;projectB.version&gt;1.0.4-SNAPSHOT&lt;/projectB.version&gt;
  
      [...]
  
      &lt;dependency&gt;
          &lt;groupId&gt;de.company&lt;/groupId&gt;
          &lt;artifactId&gt;projectB&lt;/artifactId&gt;
          &lt;version&gt;${projectB.version}&lt;/version&gt;
      &lt;/dependency&gt;
  </code></pre>
  
  <p>I already did the usual cleaning and also deleted the contents of the local repo for projectB manually.</p>