Maven Saga II: How to handle library/jar dependencies

Gerald Bauer <[email protected]> Fri, 21 May 2004 06:49:54 -0700 (PDT)
Newsgroups gmane.comp.java.luxor-xul.user
Message-ID <[email protected]>
Hello,

   I plan to upgrade the Luxor build system for real
in the next week.

   However, I'm starting to have second thoughts about
Maven. I just stumbled over the entry by Howard Lewis
Ship titled "Moving Away from Maven" online @
http://howardlewisship.com/blog/2004/05/moving-away-from-maven.html

  The #1 reason to switch over to Maven for the Luxor
project is the handling of dependencies (that is,
automatic download of jars, etc.).

  Now it looks like Ant 1.6 can also handle automatic
downloading of dependencies using the
http://www.ibiblio.org/maven repository.

  For example, Howard's Ant script reads:

<target name="compile">
		<ibiblio-dependency jar="commons-logging-1.0.3.jar"
group-id="commons-logging"/>
		<ibiblio-dependency jar="javassist-2.6.jar"
group-id="jboss"/>
		<ibiblio-dependency jar="werkz-1.0-beta-10.jar"
group-id="werkz"/>
		<ibiblio-dependency jar="servletapi-2.3.jar"
group-id="servletapi"/>				
		<ibiblio-dependency jar="oro-2.0.6.jar"
group-id="oro"/>
		<ibiblio-dependency jar="log4j-1.2.7.jar"
group-id="log4j"/>


   Has anyone tried out Ant's new <ibiblio-dependency>
tags? Do you know where to find more documentation?
What's your preferred way to handle jar dependencies?
Please, let us know and share your experience. Any
help is appreciated.

   - Gerald


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click