using ant ivy in netbeans

空扰寡人 提交于 2019-12-06 19:42:30
Mark O'Connor

The following answer to your other question gives a detailed example of a working ivy enabled project:

Yes, you'll have to create the ivy.xml file yourself, but Maven Central makes this really easy. Your examples are as follows:

Just copy-n-paste the ivy dependency declarations into your ivy.xml file:

<dependencies>
  <dependency org="jgraph" name="jgraph" rev="5.13.0.0" />
  <dependency org="commons-codec" name="commons-codec" rev="1.6" />
</dependencies>

Update

If you want to latest revision of a dependency then use the dynamic revisions feature.

<dependencies>
  <dependency org="jgraph" name="jgraph" rev="latest.release" />
  <dependency org="commons-codec" name="commons-codec" rev="latest.release" />
</dependencies>

Be warned this can lead to build instability as 3rd party projects will change over time.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!