my dog learned polymorphism
The moose likes Java in General and the fly likes Ivy: when to use? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Ivy: when to use?" Watch "Ivy: when to use?" New topic

Ivy: when to use?

surlac surlacovich
Ranch Hand

Joined: Mar 12, 2013
Posts: 296

Hello Partners.
I've used Ant and Maven build tools before, and I like dependency management mechanism of maven which seems like gives you all you need while Ant provides lightweight building capabilities.
When should I use Ivy? It looks like extension of Ant for dependency support.
Saif Asif
Ranch Hand

Joined: Aug 11, 2011
Posts: 440

Howdy Surlac,
Well think of Ivy as a plugin for ant that provides the automatic dependency management capabilities to the simple Ant tool. Now the question as to when to use it totally depends on your requirements. Maven is a project management tool , dependency management is just one of the module of Maven. Maven provides many other modules and functionalities that aid in the management of a project. If your project is already running on Ant and your tired of handling the dependencies manually but you don't want the over-head of configuring the other modules of maven , then Ivy is your best solution. For ivy you just have to add an ivy.xml file to handle and download the artifacts. Maven requires a lot of other things and changes in the project before you can actually benefit from it.

Muhammad Saif Asif Mirza
surlac surlacovich
Ranch Hand

Joined: Mar 12, 2013
Posts: 296

Thanks Saif! This seems like a complete and full answer to my question. So if I will need to upgrade some of my Ant based projects, I will definitely go with Ivy, otherwise I'll use Maven.
I agree. Here's the link:
subject: Ivy: when to use?
jQuery in Action, 3rd edition