<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 04/23/2012 01:42 PM, Max Rydahl Andersen wrote:
<blockquote
cite="mid:3F1922B3-9102-4E07-B868-FE043E8D03FE@redhat.com"
type="cite">
<pre wrap="">What actually happens if you build everything from root and multiple parents are used ? how does maven resolve that some is using 3.3.0* and others 0.0.4-? </pre>
</blockquote>
I need to give it a try, but I think there is no "smart" dependency
resolution for the parent. Those specifying 3.3.0* will receive
3.3.0* as parent; those specifying 0.0.4-SNAPSHOT will get
0.0.4-SNAPSHOT.<br>
<br>
<blockquote
cite="mid:3F1922B3-9102-4E07-B868-FE043E8D03FE@redhat.com"
type="cite">
<blockquote type="cite">
<pre wrap="">For more concrete stuff, here is what you should read in your root pom.xml
<parent>
<groupId>org.jboss.tools</groupId>
<artifactId>parent</artifactId>
<version>3.3.0.Beta3-SNAPSHOT</version>
<relativePath>../build/parent/pom.xml</relativePath>
</parent>
This will poll the parent from JBoss Nexus. We publish the parent to Nexus in a CI job. You should also include this to ensure your build can find it:
</pre>
</blockquote>
<pre wrap="">Which areas was this changed for ? Just the build setup or did you change the modules ? </pre>
</blockquote>
The root pom.xml of each module has /parent/version changed.<br>
<br>
<blockquote
cite="mid:3F1922B3-9102-4E07-B868-FE043E8D03FE@redhat.com"
type="cite">
<pre wrap="">for the repositories setup: Just put this in settings.xml like needed for many other jboss.org projects: <a class="moz-txt-link-freetext" href="https://community.jboss.org/wiki/MavenGettingStarted-Developers">https://community.jboss.org/wiki/MavenGettingStarted-Developers</a></pre>
</blockquote>
Ok, I just put <a class="moz-txt-link-freetext" href="https://issues.jboss.org/browse/JBIDE-11615">https://issues.jboss.org/browse/JBIDE-11615</a> in my
TODO-list.<br>
<br>
<div class="moz-signature">-- <br>
Mickael Istria<br>
Eclipse developer at <a href="http://www.jboss.org/tools">JBoss,
by Red Hat</a><br>
<a href="http://mickaelistria.wordpress.com">My blog</a> - <a
href="http://twitter.com/mickaelistria">My Tweets</a></div>
</body>
</html>