This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Maven: download dependency jars ?  RSS feed

 
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
Bartender
Posts: 18709
71
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
Boost this thread!