Apache Ivy is a subproject of Ant to simplify dependency management. Its primary use is to retrieve prerequisite JAR files from repositories and to publish new JAR files. A major feature of Ivy is that it integrates with normal Ant projects instead of requiring a new paradigm. (Note: This tag should not be used for questions regarding Angular's Ivy compiler - instead, use the angular-ivy tag.)
Apache Ivy is a subproject of Ant to simplify dependency management.
Its primary use is to retrieve prerequisite JAR files from repositories and to publish new JAR files. A major feature of Ivy is that it integrates with normal Ant projects instead of requiring a new paradigm.
It is able to handle Maven repositories.
Enable Ivy in your build.xml
Ivy is packaged as an antlib, so to enable it you need to do the following
Declare the ivy namespace at the top of the build file
<project ..... xmlns:ivy="antlib:org.apache.ivy.ant">
Include the ivy jar in one of the ant library directories. A good practice is to include the following target in your build files to setup a new environment:
<target name="install" description="Used to install the ivy task jar"> <mkdir dir="${user.home}/.ant/lib"/> <get dest="${user.home}/.ant/lib/ivy.jar" src="http://search.maven.org/remotecontent?filepath=org/apache/ivy/ivy/2.2.0/ivy-2.2.0.jar"/> </target>