Apache Ivy

From Wikipedia, the free encyclopedia
Apache Ivy
Apache Ivy logo.png
Developer(s)Apache Software Foundation
Stable release
2.5.0 / October 20, 2019; 2 years ago (2019-10-20)[1]
RepositoryIvy Repository
Written inJava
Operating systemCross-platform
PlatformJava
Type
LicenseApache License 2.0
Websiteant.apache.org/ivy/

Apache Ivy is a transitive package 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.

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.

These build tools and continuous integration servers were using Ivy:

  • sbt, or "simple build tool," the primary build tool for Scala projects, incorporates Ivy for its dependency management (not anymore starting from sbt 1.3[2]).
  • Grails (until anticipated 3.0 release in 2014)[3]
  • gradle (until replaced by an internal dependency resolution engine in release 1.0)[4]
  • 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[]

first created Ivy in September, 2004, with 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.

See also[]

  • Apache Maven, an alternative dependency management and build tool

References[]

  1. ^ "Release Notes | Apache Ivy". Retrieved 31 October 2019.
  2. ^ sbt Reference Manual — sbt 1.3.x releases
  3. ^ "Grails roadmap". grails.org. Retrieved 5 February 2014.
  4. ^ "Gradle 1.0 Release Notes".
  • Steve Loughran, Erik Hatcher: Ant in Action, Manning Publications Company, ISBN 1-932394-80-X
  • JUnit in Action (2nd ed.). Manning. 2011. pp. 145–147. ISBN 978-1-935182-02-3.

External links[]

Retrieved from ""