• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Ant task to force update of maven repository

 
Ranch Hand
Posts: 280
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Rancher
Posts: 2759
32
Eclipse IDE Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 2759
32
Eclipse IDE Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic