geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leo Simons <leosim...@apache.org>
Subject Re: [build] Dependency management
Date Sat, 16 Aug 2003 13:00:12 GMT
Jason Dillon wrote:

> Comments?  Suggestions? 

combining project.xml and maven.xml (maven.xml is your jelly script) 
inheritance
with SNAPSHOT dependencies and the 'jar:install-snapshot' goal works 
wonders.

Write a base project.xml containing the common deps (like 
commons-logging) and
other common info, write a base maven.xml that fires up a reactor that 
calls the
'jar:install-snapshot' goal, and life will be much easier already. 
Declare all
intra-project dependencies as SNAPSHOT to make sure you always get the 
latest
generated jar.

You can see a setup like this in action in the avalon-components cvs 
module and
inside avalon-sandbox/merlin as well. I'm sure Steve (who set that up) 
borrowed
ideas from other projects that work like this :D

hope that helps,

- Leo Simons




Mime
View raw message