Couldn't you just change the child's <sourceDirectory> to point to the
parent?  

<sourceDirectory>${basedir}/../src/java</sourceDirectory>

-----Original Message-----
From: Eric Giguere [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 14, 2004 2:58 PM
To: Maven Users List
Subject: Child project using parent sources

Hi all
Is there a property somewhere in the projet that can be set to tell a 
sub project to use the parents directories? I'm trying to build multiple 
jars using multiple maven projects but each uses its own sources and 
targets. The class files are in the parent's target.

thx for any advice
Eric.



---------------------------------------------------------------------
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]

Reply via email to