Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Maven: Trouble loading a dependency from a local repository  RSS feed

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
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!