aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes Maven update jars Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Maven update jars" Watch "Maven update jars" New topic
Author

Maven update jars

Isaac Ferguson
Ranch Hand

Joined: Jun 22, 2012
Posts: 419
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

Joined: May 14, 2008
Posts: 5845
    
    7

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))


JBoss In Action
Vinod Tiwari
Ranch Hand

Joined: Feb 06, 2008
Posts: 466
    
    1

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.


Vinod Tiwari | Twitter | Shikshanirman | Guftgu
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Maven update jars