https://maven.apache.org/ant-tasks/ 

1. There is a task to resolve/retrieve dependencies.

2. The dependency task can create classpath and fileset refids for the 
dependencies, and per-dependency properties, so you shouldn't have to worry 
about copy jars to and fro.

3. There are examples at the link above.

________________________________________
From: Zk W [mpc8...@gmail.com]
Sent: Wednesday, May 13, 2015 10:00 PM
To: users@maven.apache.org
Subject: [EXTERNAL] dependency management with ant quick question

Hi All

We are new to Maven and we are an ant shop.
We like to use Maven's dependency management feature, not ivy.

1- Can we just use Maven's dependency management feature to work with our
ant build script ?

2- Since .m2 is the default folder for all the jars, do we use ant copy
task to copy jars from .m2 folder to different project folders to compile
properly ?

3. Are there examples out there that use ant for build purpose in
conjunction with maven's dependency management ?

Thank you.

----------------------------------------------------------------------
This e-mail, including any attached files, may contain confidential and 
privileged information for the sole use of the intended recipient.  Any review, 
use, distribution, or disclosure by others is strictly prohibited.  If you are 
not the intended recipient (or authorized to receive information for the 
intended recipient), please contact the sender by reply e-mail and delete all 
copies of this message.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to