Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Ant task to force update of maven repository

 
Siddharth Bhargava
Ranch Hand
Posts: 280
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends,

I have the following requirement:

I want to write an ant task which takes the update of the local repository of maven every time it's run. Please do help me with this. I have searched the net but got nothing worthwhile. Having lot of difficulty in this.


Thanks and Regards,
Sid
 
Jayesh A Lalwani
Rancher
Posts: 2756
32
Eclipse IDE Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you want to integrate Ant with Maven repository, you might want to look at Ivy It provides an ant target that downloads artifacts and their dependencies from maven repos
 
Siddharth Bhargava
Ranch Hand
Posts: 280
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jayesh A Lalwani wrote:If you want to integrate Ant with Maven repository, you might want to look at Ivy It provides an ant target that downloads artifacts and their dependencies from maven repos


Hi Jayesh,
Could you please help me with some example to get me started. I am new to Ivy and need to get an ant task to take the latest repository from maven.

Thanks and Regards,
Sid
 
Jayesh A Lalwani
Rancher
Posts: 2756
32
Eclipse IDE Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The example is right in the link that I gave you. Actually, I linked you right to the simple example. Here it is again if you need it http://ant.apache.org/ivy/history/latest-milestone/tutorial/start.html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic