Nevermind, indeed it does work the way I was
expecting, and I did have a bug in my project.xml
files. Incidently, the problem was a missing <extend>
tag at the beginning of each project.xml file.

Richard


--- Richard Bair <[EMAIL PROTECTED]> wrote:

> Hey Everyone,
> 
> I've read that Reactor will order sub-projects for
> compilation based on those sub-projects
> dependancies.
> So, if A depends on B which depends on C, then they
> will be built C->B->A.
> 
> I assumed that to form these dependencies I would
> just
> list a dependency for A like so in my project.xml
> for
> A:
> 
>   <dependencies>
>     <dependency>
>       <groupId>mygroup</groupId>
>       <artifactId>B</artifactId>
>       <version>0.6</version>
>     </dependency>
>   </dependencies>
> 
> I also have the groupId for all of my subprojects
> set
> to the same value (in this case, mygroup).
> 
> I also put the following into my main project's
> maven.xml file:
> 
> <goal name="mygroup-build">
>     <maven:reactor
>       basedir="${basedir}/.."
>       includes="*/project.xml"
>         excludes="mygroup-build/project.xml"
>       goals="clean,jar:install"
>       banner="Building"
>       ignoreFailures="false"
>       postProcessing="true"
>     />
> </goal>
> 
> Finally, the project structure is set up like so:
> 
> /workspace
>     mygroup-build/
>     A/
>     B/
>     C/
> 
> How do I go about setting up these interproject
> dependancies? Is it correct as I have detailed here,
> and I just have a bug in one of my project.xml
> files?
> 
> Thanks,
> Richard
> 
> 
>               
> __________________________________ 
> Do you Yahoo!? 
> Send a seasonal email greeting and help others. Do
> good. 
> http://celebrity.mail.yahoo.com
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 



                
__________________________________ 
Do you Yahoo!? 
Send holiday email and support a worthy cause. Do good. 
http://celebrity.mail.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to