<div class="gmail_quote">On Sat, Aug 29, 2009 at 8:08 AM, Mircea Markus <span dir="ltr">&lt;<a href="mailto:mircea.markus@jboss.com">mircea.markus@jboss.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br></blockquote><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">And a question: what is the purpose of having a parent pom.xml and<br>
&lt;root&gt;/pom.xml -&gt; can&#39;t the &lt;root&gt;/pom.xml be the parent?<br></blockquote></div><br><div>Yes it can. Years ago Eclipse wasn&#39;t able to handle nested projects, in which both a folder and a subdirectory of it contained a .project file with the expectation that they would both result in projects on import. Because this didn&#39;t fit Maven&#39;s view of the world people would put the parent pom in a peer directory--this was called a Flat Project Layout--see the bottom of <a href="http://maven.apache.org/plugins/maven-eclipse-plugin/reactor.html">http://maven.apache.org/plugins/maven-eclipse-plugin/reactor.html</a>.</div>
<div><br></div><div>Nested projects are no longer a problem in Eclipse, and in particular m2eclipse supports them well. I don&#39;t see why the two parents (the parent-parent and the peer-parent) shouldn&#39;t be merged (into the former) in Infinispan. This particular case is strange since it seems to merge the ideas from nested and flat structures. Not sure why...</div>
<div><br></div><div>-jeff</div>