- This topic has 5 replies, 4 voices, and was last updated 12 years, 3 months ago by Christopher DiBartolo.
-
AuthorPosts
-
altijoriMemberWhen I try to run a maven build I get the following error:
Error code 407, Proxy Authentication Required. This works fine when I use an external maven build. Please advise.
support-joyMemberaltijori,
Sorry to hear you are running into this issue. Looks like you are behind proxy. I would recommend you try out the suggestions listed in below weblinnks –
1. http://stackoverflow.com/questions/2855339/can-access-maven-repository-from-behind-proxy-need-help
2. http://stackoverflow.com/questions/3019811/unable-to-download-jars-using-m2eclipse-0-10-0-using-maven-3Let me know how this works for you.
Christopher DiBartoloMembermy resolution for this issue, described in detail here: http://www.myeclipseide.com/PNphpBB2-printview-t-25800-start-0.html
is as follows for myeclipse blue 10.6 with maven4myeclipse version:
10.6.0.me201207261914configure maven 3.0.4 via MyEclipse>Maven4MyEclipse>Installations rather than utilizing the embedded (3.0.0/1.0.0.me201109061757) version, which results in the following error despite correct proxy settings in maven settings.xml:
[ERROR] Plugin org.apache.maven.plugins:maven-install-plugin:2.3.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-install-plugin:jar:2.3.1: Could not transfer artifact org.apache.maven.plugins:maven-install-plugin:pom:2.3.1 from/to central (http://repo1.maven.org/maven2): Access denied to http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.3.1/maven-install-plugin-2.3.1.pom. Error code 407, authenticationrequired -> [Help 1]
note that this did not work for myeclipse 10.5
support-joyMemberchrisdibartolo,
Sorry to hear you are running into this issue. I have escalated this to dev team member. They will get back to you.
Brian FernandesModeratorChris,
Just so we are on the same page here, are you still experiencing a problem or was the problem you described something you faced and fixed with your workaround?
In 10.5, we were affected by a bug in our core m2e plugin, which was fixed in 10.6 – this could explain why your fix did not work in 10.5
https://www.genuitec.com/forums/topic/unable-to-update-index-for-central-2/If you are using a proxy, can you give us more details about the type of Proxy server in use? HTTP / SOCKS, whether it requires authentication or not, etc.?
Christopher DiBartoloMemberBrian,
My issue was resolved with my workaround.
Our proxy is HTTP/S and authentication is required, so i’m passing in the credentials via the settings.xml used by Maven.
-
AuthorPosts