Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 356391

Summary: m2e won't work behind a proxy
Product: z_Archived Reporter: Gianni Paglia <gianenrico.paglia>
Component: m2eAssignee: Project Inbox <m2e.core-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: blocker    
Priority: P3 CC: igor
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
user and global settings files none

Description Gianni Paglia CLA 2011-08-31 15:13:13 EDT
Created attachment 202559 [details]
user and global settings files

Hello,

I am running Eclipse 4.1 with m2e 1.0.100 on Windows 7.

I just cannot make m2e work behind a proxy: 
- at Eclipse startup I get the error: "Unable to update index for central | http://repo1.maven.org/maven2"
- if I try to create a Maven project based on an archetype (like simple-j2ee), I get a complaint about not being able to resolve the archetype

If I bypass the proxy, everything works fine.

I have configured Eclipse proxy setting on "Native" (it picks up the Windows settings), and I have configured the global and user settings for Maven by configuring the Maven preference page in Eclipse for global setting and user setting to "global settings.xml" and "settings.xml" file respectively, both of which have a <proxy> entry set for the corporate proxy address.


PLS note that Eclipse marketplace access and Eclipse update work perfectly behing the proxy.

I attach the setting files.

regards,
Gianni
Comment 1 Igor Fedorenko CLA 2011-08-31 15:23:52 EDT
Does import of existing maven project fail as well? 

Is this NTLM proxy?
Comment 2 Gianni Paglia CLA 2011-09-01 02:59:17 EDT
(In reply to comment #1)
> Does import of existing maven project fail as well? 
I'll try today and post the outcome.
> Is this NTLM proxy?
Yes it is.

BR

Gianni
Comment 3 Igor Fedorenko CLA 2011-09-01 07:58:22 EDT

*** This bug has been marked as a duplicate of bug 343009 ***
Comment 4 Denis Roy CLA 2021-04-19 13:26:03 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/