Russ, thanks. I was surprised to see how easy it was to do plain old ant
with Maven. Although I can't figure out what plug-in offers the goal you
suggested below. Is this a maven plug-in? - Eric



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




----- Original Message ----- 
From: "Jubenville, Russ" <[EMAIL PROTECTED]>
To: "Maven Users List" <users@maven.apache.org>
Sent: Monday, April 18, 2005 9:23 AM
Subject: RE: accessing maven dependencies in build.xml


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]


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

Reply via email to