Trisha Shetty (Editor)

Apache Ivy

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Written in
  
Java

Platform
  
Java

Operating system
  
Cross-platform

Type
  
Library dependency

Apache Ivy

Developer(s)
  
Apache Software Foundation

Stable release
  
2.4.0 / December 26, 2014 (2014-12-26) [1]

Apache Ivy is a transitive dependency manager. It is a sub-project of the Apache Ant project, with which Ivy works to resolve project dependencies. An external XML file defines project dependencies and lists the resources necessary to build a project. Ivy then resolves and downloads resources from an artifact repository: either a private repository or one publicly available on the Internet.

Contents

To some degree, it competes with Apache Maven, which also manages dependencies. However, Maven is a complete build tool, whereas Ivy focuses purely on managing transitive dependencies.

Newer build tools and continuous integration servers regularly support or include Ivy:

  • sbt, or "simple build tool," the primary build tool for Scala projects, incorporates Ivy for its dependency management.
  • Grails (until anticipated 3.0 release in 2014)
  • gradle (until replaced by an internal dependency resolution engine in release 1.0)
  • Jenkins
  • Features

  • Managing project dependencies
  • XML-driven declaration of project dependencies and JAR repositories
  • Automatic retrieval of transitive dependency definitions and resources
  • Automatic integration to publicly available artifact repositories
  • Resolution of dependency closures
  • Configurable project state definitions, which allow for multiple dependency-set definitions
  • Publishing of artifacts into a local enterprise repository
  • History

    Jayasoft first created Ivy in September, 2004, with Xavier Hanin serving as the principal architect and developer of the project. Jayasoft moved hosting of Ivy (then at version 1.4.1) to Apache Incubator in October 2006. Since then, the project has undergone package renaming to reflect its association with the Apache Software Foundation. Package names prefixes of the form fr.jayasoft.ivy have become org.apache.ivy prefixes.

    Ivy graduated from the Apache Incubator in October, 2007. As of 2009 it functions as a sub-project of Apache Ant.

    References

    Apache Ivy Wikipedia