MyEclipse: Maven4MyEclipse plugin Error code 407, Proxy Authentication

altijori - Dec 23, 2011 - 05:03 AM
Post subject: Maven4MyEclipse plugin Error code 407, Proxy Authentication
When 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-joy - Dec 26, 2011 - 08:42 PM
Post subject:
altijori,

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-3

Let me know how this works for you.
chrisdibartolo - Jul 27, 2012 - 08:36 PM
Post subject:
my 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.me201207261914

configure 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-joy - Jul 30, 2012 - 01:14 PM
Post subject:
chrisdibartolo,

Sorry to hear you are running into this issue. I have escalated this to dev team member. They will get back to you.
Support-Brian - Jul 30, 2012 - 07:05 PM
Post subject:
Chris,

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
http://www.myeclipseide.com/PNphpBB2-viewtopic-t-29212.html

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.?
chrisdibartolo - Aug 17, 2012 - 07:25 PM
Post subject:
Brian,

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.
All times are GMT - 6 Hours
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits