[ http://jira.codehaus.org/browse/MNG-1070?page=comments#action_52565 ] 

Joakim Erdfelt commented on MNG-1070:
-------------------------------------

Conversation on #maven about loading the settings.xml from the embedder.

<raphael> jvanzyl: hi, in the embedder, why do a call to the resolve method use 
only the central repo and not also those declared in settings.xml ?
<raphael> is there some configuration i miss ?
<jvanzyl> the embedder needs a mode to use the settings.xml
<jvanzyl> the embedder and maven's functionality is separates from the cli
<jvanzyl> and the settings.xml is a cli feature
<jvanzyl> the core of maven doesn't know anything about settings.xml
<jvanzyl> the cli translates it
<jvanzyl> but the embedder should have a mode to use the user settings if they 
are available
<jvanzyl> that's a bit of a tricky issue
<jvanzyl> anyone who has maven installed wants the embedder to obey their 
personal settings
<jvanzyl> but a tool integrator might not want that all
<jvanzyl> at all
<raphael> ok
<joe> ok, how about a method on the embedder to make our lifes easier. - 
.useDefaultSettings(), and allow the embedder implementor to decide.
<jvanzyl> sure, that's a good idea.


> Determine how settings and plugin registry will be used from the embeder.
> -------------------------------------------------------------------------
>
>          Key: MNG-1070
>          URL: http://jira.codehaus.org/browse/MNG-1070
>      Project: Maven 2
>         Type: Task
>   Components: maven-embedder
>     Reporter: Jason van Zyl

>
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to