Timothy Reilly wrote:
It is not currently possible to change global settings.xml file used by embedded maven due to http://jira.codehaus.org/browse/MNG-3611. You can, however, override all settings you need, including location of local maven repository, in user settings.xml file which is configurable in m2eclipse preferences (Window->Preferences->Maven->Installations). Let me know if this does not answer your question.
I wanted to try to provide a patch for that issue. Eugene, I see Maven <code>Configuration#setGlobalSettingsFile</code>
interface already accepts a global settings file location. Is that not
the resolution to the issue? If it's not - what is missing so I can take
a shot at doing a patch.
There is no command line switch accepted by MavenCli that allows to set location of that file when launching Maven in external JVM. You may want to take this to the maven-dev list, because it might be involved as I am not sure if any maven components making any assumptions about location of that global settings file.

 regards,
 Eugene



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to