I'm assuming you're using Maven 1.x.  Take a look at the
deploy:copy-deps goal, something like:

        <deploy:copy-deps todir="${my.lib.dir}"/>

Russ Jubenville

-----Original Message-----
From: Eric Wood [mailto:[EMAIL PROTECTED] 
Sent: April 18, 2005 10:19
To: Maven Users List
Subject: accessing maven dependencies in build.xml


Hi,
I have a hybrid setup with ant and maven. My current setup requires me
to copy every referenced dependency in project.xml into a lib folder
within the project so I can reference it in my build.xml when I build a
distribibution with ant. I'm wondering if there is a way to reference
the maven dependencies directly in the build.xml. Also wondering if
there is a way to say in build.xml "take all of the referenced maven
dependencies and copy them into this folder." Any ideas? 

########################################################################
#############
This e-mail message has been scanned for Viruses and Content and cleared

by NetIQ MailMarshal
########################################################################
#############
#####################################################################################
This e-mail message has been scanned for Viruses and Content and cleared 
by NetIQ MailMarshal
#####################################################################################

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to