title: maven multiple project dependency issue
body: <p>I have two maven projects in my eclipse. Say <code>employee</code> and <code>address</code>. My intention is to add the <code>address.jar</code> as a dependency to my <code>employee.jar</code> since employee project needs the classes inside address. I understand that just declaring the address as a dependency in <code>employee's pom.xml</code> is not sufficient. I ran <code>eclipse:eclipse</code> command on employee so that <code>address.jar</code> is mentioned in the employee project's <code>.classpath</code> file.</p>
  <p>After running the above command, when I opened the <code>.classpath</code> file of employee I saw something like this --&gt; let me call it <strong>A</strong></p>
  <pre><code>&lt;classpathentry kind=&quot;src&quot; path=&quot;/address&quot;/&gt;
  </code></pre>
  <p>Now, when I closed the <code>address</code> project in my eclipse. I got the following error.</p>
  <blockquote>
  <p>Project 'employee' is missing required Java project: 'address'</p>
  <p>The project cannot be built until build path errors are resolved</p>
  </blockquote>
  <p>But whereas, I was expecting something like this in the employee <code>.classpath</code> file.  --&gt; let me call this B</p>
  <pre><code>&lt;classpathentry kind=&quot;var&quot; path=&quot;M2_REPO/com/trial/1.0/address-1.0.jar&quot; sourcepath=&quot;M2_REPO/com/trial/1.0/address-1.0-sources.jar&quot;/&gt;
  </code></pre>
  <p><em><strong>P.S:</strong></em> when I replaced <strong>A</strong> with <strong>B</strong>, the error disappeared.</p>
  <p><strong>Questions:</strong></p>
  <ol>
  <li>What is the difference between <strong>A</strong> and <strong>B</strong>?</li>
  <li>Why did I not see an entry like <strong>B</strong> in the employee's <code>.classpath</code> file?</li>
  <li>Why am I getting the above-mentioned error?</li>
  </ol>