This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Ant, Maven and Other Build Tools and the fly likes Maven: Trouble loading a dependency from a local repository Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Maven: Trouble loading a dependency from a local repository" Watch "Maven: Trouble loading a dependency from a local repository" New topic
Author

Maven: Trouble loading a dependency from a local repository

Dave Alvarado
Ranch Hand

Joined: Jul 02, 2008
Posts: 436
Hi,

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Maven: Trouble loading a dependency from a local repository
 
Similar Threads
Richfaces + Spring + Maven Setup help
Why is Eclipse/Maven project not picking up the values from settings.xml?
ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:2.4.1:resources
Multiple Repositorys in Maven
Maven Local repository Vs nexus