Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Maven dependency

 
Pawanpreet Singh
Ranch Hand
Posts: 264
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can i use local dependencies if maven is not able to download the dependencies.
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why can't your install of Maven download the appropriate artifacts? Is it a proxy server that is blocking you? Maven allows you to download through a proxy server if you give it the right configuration.
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are lots of solutions.

One you can create the directory structure yourself in your .mr/repository directory to match.

Run mvn with the arguments to add a jar to the local repository.

Create a mvn repository within your network and add a <repository> tag to your repositories that point to your "company" repository.

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic