• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Maven: download dependency jars ?

 
Edward Chen
Ranch Hand
Posts: 798
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you do anything involving compilation it'll download the jars.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18277
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic