aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes Maven: download dependency jars ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Maven: download dependency jars ?" Watch "Maven: download dependency jars ?" New topic
Author

Maven: download dependency jars ?

Edward Chen
Ranch Hand

Joined: Dec 23, 2003
Posts: 798
if I have a pom.xml which includes dependency, then which command will let maven to manually download those jars ?

Thanks.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

If you do anything involving compilation it'll download the jars.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16305
    
  21

David Newton wrote:If you do anything involving compilation it'll download the jars.


Well, it's a little more complicated than that, since there are more scopes than just just "compile", but that will cover the most common case.

The jars are cached in the MAVEN_HOME/repository directory.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Maven: download dependency jars ?