m2eclipse is currently allow to specify both user and global settings.xml. When using Maven from the command line:
- user settings is located at ~/.m2/settings.xml by default and can be changed in the command line using -s option - global settings.xml is taken from <maven install>/conf/settings.xml and can't be changed in the command line
When we are using Maven embedder in Eclipse to resolve dependencies we can specify location for both local and global settings.xml. However, when we launch Maven build in Eclipse, we can only specify location of user settings. Also note that if external Maven instance is used to launch Maven (it can be configured from Window / Preferences... / Maven / Installations), then it will use global settings.xml from that installation and not one specified in the IDE, which lead to some confusion.
In order to address this issue we would like to refactor Maven settings handling and remove configuration option for global setting from "Window / Preferences... / Maven". Instead, it would respect settings from the default Maven instance selected on "Maven / Installations", so if there is an external Maven install selected it would use its settings. The only case when global settings won't be used is when Embedded Maven instance is selected in the "Maven / Installations" preferences.
Please comment on the bug report if you have any objections http://jira.codehaus.org/browse/MNGECLIPSE-522
Thanks Eugene --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
