Reputation: 895
I'm using Sonatype Nexus 1.5.0 and a particular jar has a newer version in the Public Maven Central while my Nexus doesn't have it.
Assume that only the server where the Nexus is installed has the internet connection and my local laptop is not allowed to connect to internet directly, how to let the Nexus the download the newer version of the jar so that my local build can download the newer version from Nexus?
The settings.xml of my local Maven is configured with the URL of the Nexus to download the jars.
Please advise.
Upvotes: 1
Views: 5528
Reputation: 14951
Here is a summary of how your local repository, remote repo (Nexus), and Maven Central work together. If you have requested the new version of the jar in your POM, then it should end up in Nexus and your local artifact repo. If it doesn't, something is not configured correctly, and @khmarbaise gave you some good starting points for troubleshooting in his comment.
Upvotes: 2