[ 
http://issues.ops4j.org/browse/PAXURL-115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14061#action_14061
 ] 

Stephane Chomat commented on PAXURL-115:
----------------------------------------

you can use this method to configure proxy in aether lib.

{code:title=DefaultProxySelector.java (aether)|borderStyle=solid}}
    /**
     * Adds the specified proxy definition to the selector. Proxy definitions 
are ordered, the first matching proxy for
     * a given repository will be used.
     * 
     * @param proxy The proxy definition to add, must not be {@code null}.
     * @param nonProxyHosts The list of hosts to exclude from proxying, may be 
{@code null}.
     * @return This proxy selector for chaining, never {@code null}.
     */
    public DefaultProxySelector add( Proxy proxy, String nonProxyHosts )
    {
        proxies.add( new ProxyDef( proxy, nonProxyHosts ) );

        return this;
    }
{code}

> Configure aether module wich setting information for proxies and mirrors.
> -------------------------------------------------------------------------
>
>                 Key: PAXURL-115
>                 URL: http://issues.ops4j.org/browse/PAXURL-115
>             Project: Pax URL
>          Issue Type: Improvement
>          Components: aether
>            Reporter: Stephane Chomat
>            Assignee: Stephane Chomat
>             Fix For: 1.2.6
>
>
> The setting.xml can have some proxy or/and mirror informations and ather 
> library support it. But the handler aether don't use it to configure the 
> aether session.

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

        

_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to