Thanks, I'll carry on looking for the weirdness. You've confirmed my understanding of how it should work though.
I've done a build with -X - very verbose. I'll try to look through that to see if it gives me any hints on the decisions being made. Ian > -----Original Message----- > From: Wayne Fay [mailto:[EMAIL PROTECTED] > Sent: 08 June 2007 17:37 > To: Maven Users List > Subject: Re: [m2] Multi-project dependency issue > > Ian, you must be doing something weird/wrong, or you're doing > something more complex than you're describing here, or you've > got dependencies declared wrong. There are a lot of us doing > exactly what you're describing with absolutely no problems at all. > > Tell us the packaging of the children and any plugins you're > running during the compilation phase. > > Wayne > > On 6/8/07, Orford, Ian <[EMAIL PROTECTED]> wrote: > > Yes to both. > > Not only that, in the parent pom, the modules are listed in > the order > > I want them built - ie A,B,C,D > > > > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED] On Behalf Of Vandermeeren, Jo > > > Sent: 08 June 2007 14:21 > > > To: Maven Users List > > > Subject: Re: [m2] Multi-project dependency issue > > > > > > On 6/8/07, Orford, Ian <[EMAIL PROTECTED]> wrote: > > > > > > > > P is the parent POM that has modules A, B, C and D. > > > > P defines A, B, C and D in <dependencyManagement> A has P > > > as a parent > > > > and no dependencies at all. > > > > B has P as a parent and defines A in <dependencies> C > has P as a > > > > parent and defines A and B in <dependencies> D has P as a > > > parent and > > > > defines C in <dependencies> > > > > > > > > Mvn install compiles A, then B. The trouble starts > because it then > > > > moves onto D. Since C hasn't been installed, it fails. > > > > > > > > > > > > Hi Ian, > > > > > > Are you building from the directory that contains the > parent pom.xml? > > > Are modules A,B,C,D listed as modules in the parent pom.xml? > > > > > > Cheers > > > Jo > > > > > > > > > -- > > This e-mail is confidential and the information contained > in it may be privileged. It should not be read, copied or > used by anyone other than the intended recipient. If you > have received it in error, please contact the sender > immediately by telephoning +44 (0)20 7623 8000 or by return > email, and delete the e-mail and do not disclose its contents > to any person. We believe, but do not warrant, that this > e-mail and any attachments are virus free, but you must take > full responsibility for virus checking. Please refer to > http://www.dresdnerkleinwort.com/disc/email/ and read our > e-mail disclaimer statement and monitoring policy. > > > > Dresdner Kleinwort is the trading name of the investment > banking division of Dresdner Bank AG, and operates through > Dresdner Bank AG, Dresdner Kleinwort Limited, Dresdner > Kleinwort Securities Limited and their affiliated or > associated companies. Dresdner Bank AG is a company > incorporated in Germany with limited liability and registered > in England (registered no. FC007638, place of business 30 > Gresham Street, London EC2V 7PG), and is authorised by the > German Federal Financial Supervisory Authority and by the > Financial Services Authority ('FSA') and regulated by the FSA > for the conduct of designated business in the UK. Dresdner > Kleinwort Limited is a company incorporated in England > (registered no. 551334, registered office 30 Gresham Street, > London EC2V 7PG), and is authorised and regulated by the FSA. > Dresdner Kleinwort Securities Limited is a company > incorporated in England (registered no. 1767419, registered > office 30 Gresham Street, London EC2V 7PG), and is authorised > and regulated by the FSA. > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- This e-mail is confidential and the information contained in it may be privileged. It should not be read, copied or used by anyone other than the intended recipient. If you have received it in error, please contact the sender immediately by telephoning +44 (0)20 7623 8000 or by return email, and delete the e-mail and do not disclose its contents to any person. We believe, but do not warrant, that this e-mail and any attachments are virus free, but you must take full responsibility for virus checking. Please refer to http://www.dresdnerkleinwort.com/disc/email/ and read our e-mail disclaimer statement and monitoring policy. Dresdner Kleinwort is the trading name of the investment banking division of Dresdner Bank AG, and operates through Dresdner Bank AG, Dresdner Kleinwort Limited, Dresdner Kleinwort Securities Limited and their affiliated or associated companies. Dresdner Bank AG is a company incorporated in Germany with limited liability and registered in England (registered no. FC007638, place of business 30 Gresham Street, London EC2V 7PG), and is authorised by the German Federal Financial Supervisory Authority and by the Financial Services Authority ('FSA') and regulated by the FSA for the conduct of designated business in the UK. Dresdner Kleinwort Limited is a company incorporated in England (registered no. 551334, registered office 30 Gresham Street, London EC2V 7PG), and is authorised and regulated by the FSA. Dresdner Kleinwort Securities Limited is a company incorporated in England (registered no. 1767419, registered office 30 Gresham Street, London EC2V 7PG), and is authorised and regulated by the FSA. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]