IVY 简介

With no specific settings, Ivy uses the maven 2 repository to resolve the dependencies you declare in an Ivy
file.

To know what to put in these attributes, you need to know the exact information for the libraries you depend on. Ivy uses the maven 2 repository by default, so we recommend you use mvnrepository.com to look for the module you want. Once you find it, you will have the details on how to declare the dependency in a maven POM. For instance:
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>2.0</version>
</dependency>

To convert this into an Ivy dependency declaration, all you have to do is use the groupId as organization, the artifactId as module name, and the version as revision.

 

Reference:http://ant.apache.org/ivy/history/latest-milestone/index.html

posted @ 2011-12-19 20:11  万法自然~  阅读(625)  评论(0编辑  收藏  举报