Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Maven update jars

 
Isaac DurĂ¡
Ranch Hand
Posts: 859
2
Java Netbeans IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am building an app and I am suffering "surprises" because jars are changed very often. Then could be possible using Maven or other building tool set the app once and forget about updates? I mean I want that the building tool update all the dependencies for me.

Thanks

 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, that's what Maven, and a repository manager such as Nexus, will do for you. As teams build their JARs, they are placed into Nexus and when you build with Maven you will automatically get the latest JARs (either because the JARs are defined as SNAPSHOTs, or you specified a version range when you defined the dependency on the JARs))
 
Vinod Tiwari
Ranch Hand
Posts: 466
1
IntelliJ IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Angus Ferguson wrote:
Then could be possible using Maven or other building tool set the app once and forget about updates?


Yes that correct. This also advantage of Maven over ANT.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic