Unable to download .jar files inside m2 repository using maven dependencies
This issue got fixed when I add the mirrors on settings.xml which is located in C:\Program Files\Maven\apache-maven-3.0.4\conf\settings.xml
from the below URL
After updating the XML, try Maven > Update Project..
Prashanth Sams
Author of Selenium Essentials O'Reilly | PacktPub | Amazon.in | Amazon.com | Amazon (Kindle) | Google | Barnes&Noble | Apple Store Selenium WebDriver, Appium, API, Locust, Cucumber, Docker, Helm, Kubernetes, Jenkins, Jenkins job-dsl, AWS, Git, Github, Gitlab, Ruby, Python, JavaScript, TypeScript, Groovy, Shell, Protractor, Java, Grafana, Prometheus, Datadog, Graphite, CasperJS, Behave, JBehave Blog: http://www.seleniumworks.com/ https://devopsqa.wordpress.com/ Skype: prashanth.sams Official Site: http://prashanthsams.com Twitter: https://twitter.com/prashanthsams GitHub: https://github.com/prashanth-sams LinkedIn: https://www.linkedin.com/in/prashanth-sams-58208953/ Google+: https://plus.google.com/u/0/104394276212961437513/posts Facebook: https://www.facebook.com/groups/selenimusers/
Updated on June 05, 2022Comments
-
Prashanth Sams almost 2 years
This is the error thrown,
Failure to transfer org.codehaus.plexus:plexus-utils:jar:3.0 from http://mirrors.ibiblio.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of ibiblio.org has elapsed or updates are forced. Original error: Could not transfer artifact org.codehaus.plexus:plexus-utils:jar:3.0 from/to ibiblio.org (http://mirrors.ibiblio.org/ maven2): Access denied to http://mirrors.ibiblio.org/maven2/org/codehaus/plexus/plexus-utils/3.0/plexus-utils-3.0.jar. Error code 403, Forbidden
In Pic,
I have the same issue in two different machines [One of the machines with Proxy and other without proxy (Personnel laptop)]
I'm using
- Eclipse Kepler
- JDK 1.6
- Maven 3.0.4
No luck after lots of attempts; Some of them are listed below:
- downgraded JDK [Java] from
1.7
to1.6
-
added proxy on
settings.xml
under [C:\Users\prashanth_sams\.m2
] added mirror in
settings.xml
underC:\Program Files\Maven\apache-maven-3.0.4\conf\settings.xml
- located specific Maven version location externally
But, instead of jar files, I see the following two files present inside the repo with suffix,
.lastUpdated
Is there any other mirrors to be added in the settings.xml? Any help is highly welcome!