m2eclipse seems to ignore my user settings.xml [message #1698287] |
Fri, 12 June 2015 17:37  |
Eclipse User |
|
|
|
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 #1699313 is a reply to message #1699105] |
Tue, 23 June 2015 06:37   |
Eclipse User |
|
|
|
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
|
|
|
|
Powered by
FUDForum. Page generated in 0.06457 seconds