<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 29 Aug 2009, at 17:30, Jeff Ramsdale wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><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>&nbsp;</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't the &lt;root&gt;/pom.xml be the parent?<br></blockquote></div><br><div>Yes it can. Years ago Eclipse wasn'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't fit Maven'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&nbsp;<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't see why the two parents (the parent-parent and the peer-parent) shouldn'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></blockquote><div><br></div><div>Parent-parent structures are needed to share common libraries and functionaliity, while a peer-parent is needed to build assemblies, jun post-package tasks, etc.</div></div><div><br class="webkit-block-placeholder"></div><div><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><span class="Apple-style-span" style="font-size: medium;">If you can manage to build these into a single pom at the root level, be my guest. &nbsp;:)</span></div><div>--</div><div>Manik Surtani</div><div><a href="mailto:manik@jboss.org">manik@jboss.org</a></div><div>Lead, Infinispan</div><div>Lead, JBoss Cache</div><div><a href="http://www.infinispan.org">http://www.infinispan.org</a></div><div><a href="http://www.jbosscache.org">http://www.jbosscache.org</a></div><div><br></div></div></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline">
</div>
<br></body></html>