title: Project 'X' is missing required Java project: 'Y'
body: <p>I've created a Maven project, of packaging type "jar", called "Y"
  I've done "Maven install", and I could find it in my local repository..</p>
  
  <p>Then, I've created another project, of packaging type "war", called "X". In this project, I added a dependency to "Y" jar, as follows :</p>
  
  <pre><code>&lt;dependency&gt;
     &lt;groupId&gt;my.pck&lt;/groupId&gt;
     &lt;artifactId&gt;Y&lt;/artifactId&gt;
     &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
     &lt;type&gt;jar&lt;/type&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>My problem is that when I close the project "Y", I receive this error : </p>
  
  <pre><code>Project 'X' is missing required Java project: 'Y'
  </code></pre>
  
  <p>But, it doesn't say "missing artifact"... and in all the cases, when I try to deploy "X" I get this : <code>java.lang.ClassNotFoundException:</code>for every class that I have in project "Y" and used in the project "X"...</p>