Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Maven: Trouble loading a dependency from a local repository

Dave Alvarado
Ranch Hand
Posts: 436
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

We're using Maven 3.0.3. I'm having trouble getting a JAR loaded from our internal repository. I have this in my pom.xml ...

And we have this file located in an internal repository located at our internal URL -- http://maven:9999/nexus/content/groups/external/org/seleniumhq/selenium/selenium-server/2.18.0/. Regrettably, when I run our pom.xml, Maven is trying to download this artifact from somewhere else ...

Below is teh settings.xml file we pass into our Maven command through the "-s settings.xml" flag. Note the below profile is active with the repository URL included.

How can I get this JAR file loaded from our Internal repository and not the one that is being loaded right now? Thanks, - Dave
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic