title: war project dependency in maven
body: <p>I need to access one bean class from war project into my another war project. The bean class is exists in MyProject. I wrote pom of another project called NewProject as follows.</p>
  
  <pre><code>&lt;groupId&gt;MyProject&lt;/groupId&gt;
      &lt;artifactId&gt;MyProject&lt;/artifactId&gt;
      &lt;version&gt;1&lt;/version&gt; 
  &lt;/parent&gt;
  &lt;artifactId&gt;MyProject&lt;/artifactId&gt;
  &lt;packaging&gt;war&lt;/packaging&gt;
  </code></pre>
  
  <p>Is it possible to add war dependency in another war project?</p>