You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wagon-dev@maven.apache.org by Brett Porter <br...@codehaus.org> on 2005/02/03 23:34:18 UTC
Re: cvs commit: maven-wagon/wagon-providers/wagon-http-lightweight/src/main/java/org/apache/maven/wagon/providers/http LightweightHttpWagon.java
You're thinking of Wagon solely as being used in Maven. It won't be.
I originally thought this too, but its better to centralise the information and
resolution of it. Every user shouldn't need to replicate the non-proxy hosts
handling and exclusion.
Besides, in the lightweight wagon, this means you just have to set a system
property, which is quite nice :)
- Brett
Quoting Michal Maczka <mm...@interia.pl>:
> brett@apache.org wrote:
>
> >brett 2005/02/03 03:39:15
> >
> > Modified:
> wagon-provider-api/src/main/java/org/apache/maven/wagon/proxy
> > ProxyInfo.java
> >
>
wagon-providers/wagon-http-lightweight/src/main/java/org/apache/maven/wagon/providers/http
> > LightweightHttpWagon.java
> > Log:
> > o add basic auth to model and lightweight wagon
> > o add proxy configuration in lightweight wagon
> > o not yet wiring in the properties from maven.properties into the
> repository
> > -
> > + /**
> > + * The non-proxy hosts. Follows Java system property format:
> <code>*.foo.com|localhost</code>.
> > + */
> > + private String nonProxyHosts;
> >
> >
> >
> Hey Brett.
>
> I am wondering if this is the way to go with proxies in wagon.
> My initial intention was quite different from what you did.
> I wanted to handle to Wagon ProxyInfo bean only if it will need it for
> given repository.
> I know what's repository url, I should know (it's not done yet, but this
> is probably out of scope of wagon)
> if for given url proxy server must be used. So I should also know if I
> need to contruct ProxyInfo instance
> and use it.
> So I wonder if we really need something like "nonProxyHosts" in
> ProxyInfo bean.
>
> What do you think?
>
> Michal
>
>
>
>
>
>
> --------------------------------------------------------------------
> Tylko 35 gr za granice przez 0708-108-107.
> Zadnych oplat wiecej!!
> Sprawdz: >>> http://link.interia.pl/f1849 <<<
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wagon-dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: wagon-dev-help@maven.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: wagon-dev-unsubscribe@maven.apache.org
For additional commands, e-mail: wagon-dev-help@maven.apache.org