Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » m2eclipse seems to ignore my user settings.xml
m2eclipse seems to ignore my user settings.xml [message #1698287] Fri, 12 June 2015 17:37 Go to next message
Eclipse UserFriend
Hi... new member here, running from command line, project/settings.xml work as expected... pulling artifacts from Nexus repository.

When I run in Eclipse, it seems to suggest that it's reading from my settings.xml, however, it pulls everything directly from Central, apparently ignoring my settings/proxy. It seems even more evident that it is ignoring it, as I tried introducing some typos in settings.xml, and got no complaints during the build.

Log output running within Eclipse:

Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 2014-02-14T11:37:52-06:00)
Maven home: C:\j2ee\maven\OnlineJ2EE\EMBEDDED
Java version: 1.7.0_17, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.7.0_17\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
[INFO] Error stacktraces are turned on.
[DEBUG] Reading global settings from EMBEDDED\conf\settings.xml
[DEBUG] Reading user settings from C:\Users\jhuston\.m2\settings.xml
.
.
[DEBUG] Using connector AetherRepositoryConnector with priority 3.4028235E38 for CENTRALURL
[INFO] Downloading: CENTRALURL/org/apache/maven/plugins/maven-resources-plugin/2.6/maven-resources-plugin-2.6.pom


The only immediate difference I see between command line and Eclipse, is it's using an AetherRepositoryConnector... where command line is using a WagonRepositoryConnector...

From command line mvn:

[DEBUG] Using connector WagonRepositoryConnector with priority 0.0 for MYURL/nexus/content/groups/plugins with username=deployment, password=***
Downloading: MYURL/nexus/content/groups/plugins/org/apache/maven/plugins/maven-resources-plugin/2.6/maven-resources-plugin-2.6.pom


Thanks for any insights anyone might share,

Jeff
Re: m2eclipse seems to ignore my user settings.xml [message #1699105 is a reply to message #1698287] Sun, 21 June 2015 05:24 Go to previous messageGo to next message
Eclipse UserFriend
As your question indicates, you are seeking advice regarding m2e, not necessarily JDT.
Please see here for how to interact with the m2e folks: https://www.eclipse.org/m2e/m2e-community.html
You probably want the user mailing list.
Re: m2eclipse seems to ignore my user settings.xml [message #1699313 is a reply to message #1699105] Tue, 23 June 2015 06:37 Go to previous messageGo to next message
Eclipse UserFriend
Hi... new member here, running from command line, project/settings.xml work as expected... pulling artifacts from Nexus repository.

When I run in Eclipse, it seems to suggest that it's reading from my settings.xml, however, it pulls everything directly from Central, apparently ignoring my settings/proxy. It seems even more evident that it is ignoring it, as I tried introducing some typos in settings.xml, and got no complaints during the build.

Log output running within Eclipse:

Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 2014-02-14T11:37:52-06:00)
Maven home: C:\j2ee\maven\OnlineJ2EE\EMBEDDED
Java version: 1.7.0_17, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.7.0_17\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
[INFO] Error stacktraces are turned on.
[DEBUG] Reading global settings from EMBEDDED\conf\settings.xml
[DEBUG] Reading user settings from C:\Users\jhuston\.m2\settings.xml
.
.
[DEBUG] Using connector AetherRepositoryConnector with priority 3.4028235E38 for CENTRALURL
[INFO] Downloading: CENTRALURL/org/apache/maven/plugins/maven-resources-plugin/2.6/maven-resources-plugin-2.6.pom


The only immediate difference I see between command line and Eclipse, is it's using an AetherRepositoryConnector... where command line is using a WagonRepositoryConnector...

From command line mvn:

[DEBUG] Using connector WagonRepositoryConnector with priority 0.0 for MYURL/nexus/content/groups/plugins with username=deployment, password=***
Downloading: MYURL/nexus/content/groups/plugins/org/apache/maven/plugins/maven-resources-plugin/2.6/maven-resources-plugin-2.6.pom


Thanks for any insights anyone might share,

jagannartu
Re: m2eclipse seems to ignore my user settings.xml [message #1699314 is a reply to message #1699105] Tue, 23 June 2015 06:41 Go to previous message
Eclipse UserFriend
As your question indicates, you are seeking advice regarding m2e, not necessarily JDT.
Please see here for how to interact with the m2e folks: https://www.eclipse.org/m2e/m2e-community.html
You probably want the user mailing list.
Previous Topic:what is the solution to java.lang.SecurityException?
Next Topic: code source java projet of an IDS
Goto Forum:
  


Current Time: Sat Apr 26 04:45:23 EDT 2025

Powered by FUDForum. Page generated in 0.03692 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top