Ahh.. Here's a case where copy and paste would have caught that ;) Thanks Jason :) The appends instead of overrides is perfect as it is exactly what I was looking for :)
Thanks. Tim Chen [EMAIL PROTECTED] -----Original Message----- From: Jason van Zyl [mailto:[EMAIL PROTECTED] Sent: Friday, January 09, 2004 2:24 PM To: Maven Users List Subject: Re: extending dependencies On Fri, 2004-01-09 at 13:16, Tim Chen wrote: > I have: > aproject > -- project.xml > -- modules > --subproject > -- project.xml > > in which the subprojects project.xml declares > <extends>${basedir}/../../project.xml</extends> It is <extend/> not <extends/> which is why you're probably not seeing dependency aggregation. But for the dependencies of the parent are appended to the child dependencies. It is the exception as the whole element is not overriden. > in the aproject project.xml i have a dependency > > <dependencies> > <dependency> > <groupId>log4j</groupId> > <artifactId>log4j</artifactId> > <version>1.2.8</version> > <url>http://jakarta.apache.org/log4j.html</url> > </dependency> > </dependencies> > > But the subproject doesnt seem to be picking up this dependency :-/ > Anyone encounter this before? Thanks, > -Tim > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- jvz. Jason van Zyl [EMAIL PROTECTED] http://tambora.zenplex.org In short, man creates for himself a new religion of a rational and technical order to justify his work and to be justified in it. -- Jacques Ellul, The Technological Society --------------------------------------------------------------------- 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]
