MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
altijori
Post subject: Maven4MyEclipse plugin Error code 407, Proxy Authentication  PostPosted: Dec 23, 2011 - 05:03 AM



Joined: Dec 23, 2011
Posts: 1

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.
 
 View user's profile Send private message  
Reply with quote Back to top
support-joy
Post subject:   PostPosted: Dec 26, 2011 - 08:42 PM
Registered Member
Registered Member


Joined: Feb 03, 2009
Posts: 3442

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.

_________________
Joy
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
chrisdibartolo
Post subject:   PostPosted: Jul 27, 2012 - 08:36 PM



Joined: Jul 27, 2012
Posts: 2

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
 
 View user's profile Send private message  
Reply with quote Back to top
support-joy
Post subject:   PostPosted: Jul 30, 2012 - 01:14 PM
Registered Member
Registered Member


Joined: Feb 03, 2009
Posts: 3442

chrisdibartolo,

Sorry to hear you are running into this issue. I have escalated this to dev team member. They will get back to you.

_________________
Joy
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
Support-Brian
Post subject:   PostPosted: Jul 30, 2012 - 07:05 PM
Moderator
Moderator


Joined: Aug 21, 2004
Posts: 2508

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.?

_________________
Brian
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
chrisdibartolo
Post subject:   PostPosted: Aug 17, 2012 - 07:25 PM



Joined: Jul 27, 2012
Posts: 2

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.
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits