Quantcast

fix wagon http lightweight

classic Classic list List threaded Threaded
16 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

fix wagon http lightweight

nicolas de loof-2
I'm testing a fix for WAGON-346 <http://jira.codehaus.org/browse/WAGON-346> and
WAGON-347 <http://jira.codehaus.org/browse/WAGON-347>
Before I commit anything to svn I'd like your advice : see
https://github.com/ndeloof/maven-wagon/tree/wagon-1.x

The idea to make LightWeightHttpWagon thread-safe despite the
java.net.Authenticator static singleton, is to have a custom Authenticator
shared component and callback methods to the wagon instance, using a
ThreadLocal to keep track of "current" wagon

For WAGON-347 the preemptive authentication can be configured either per
repository using a "preemptiveAuthentication" parameter, or system wide
using -Dmaven.wagon.http.preemptiveAuthentication=true
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: fix wagon http lightweight

nicolas de loof-2
I just can't get git svn to work and push my changes to wagon 1.x branch
feel free to pick-up those changes if you like them

2011/8/24 nicolas de loof <[hidden email]>

> I'm testing a fix for WAGON-346<http://jira.codehaus.org/browse/WAGON-346> and
> WAGON-347 <http://jira.codehaus.org/browse/WAGON-347>
> Before I commit anything to svn I'd like your advice : see
> https://github.com/ndeloof/maven-wagon/tree/wagon-1.x
>
> The idea to make LightWeightHttpWagon thread-safe despite the
> java.net.Authenticator static singleton, is to have a custom Authenticator
> shared component and callback methods to the wagon instance, using a
> ThreadLocal to keep track of "current" wagon
>
> For WAGON-347 the preemptive authentication can be configured either per
> repository using a "preemptiveAuthentication" parameter, or system wide
> using -Dmaven.wagon.http.preemptiveAuthentication=true
>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: fix wagon http lightweight

olamy
Hello,
Your changes looks good.
It will be nice to see those merged back in the ASF community scm.



2011/8/27 nicolas de loof <[hidden email]>:

> I just can't get git svn to work and push my changes to wagon 1.x branch
> feel free to pick-up those changes if you like them
>
> 2011/8/24 nicolas de loof <[hidden email]>
>
>> I'm testing a fix for WAGON-346<http://jira.codehaus.org/browse/WAGON-346> and
>> WAGON-347 <http://jira.codehaus.org/browse/WAGON-347>
>> Before I commit anything to svn I'd like your advice : see
>> https://github.com/ndeloof/maven-wagon/tree/wagon-1.x
>>
>> The idea to make LightWeightHttpWagon thread-safe despite the
>> java.net.Authenticator static singleton, is to have a custom Authenticator
>> shared component and callback methods to the wagon instance, using a
>> ThreadLocal to keep track of "current" wagon
>>
>> For WAGON-347 the preemptive authentication can be configured either per
>> repository using a "preemptiveAuthentication" parameter, or system wide
>> using -Dmaven.wagon.http.preemptiveAuthentication=true
>>
>



--
Olivier Lamy
Talend : http://talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: fix wagon http lightweight

Mark Struberg
In reply to this post by nicolas de loof-2
Hi Nicolas!

Just do a git diff and patch it into your svn checkout directory.
You are a maven committer, and if you did the changes, then you should also be the one who committed it into our repo.

txs and LieGrue,
strub

--- On Sat, 8/27/11, nicolas de loof <[hidden email]> wrote:

> From: nicolas de loof <[hidden email]>
> Subject: Re: fix wagon http lightweight
> To: "Maven Developers List" <[hidden email]>
> Date: Saturday, August 27, 2011, 5:27 AM
> I just can't get git svn to work and
> push my changes to wagon 1.x branch
> feel free to pick-up those changes if you like them
>
> 2011/8/24 nicolas de loof <[hidden email]>
>
> > I'm testing a fix for WAGON-346<http://jira.codehaus.org/browse/WAGON-346> and
> > WAGON-347 <http://jira.codehaus.org/browse/WAGON-347>
> > Before I commit anything to svn I'd like your advice :
> see
> > https://github.com/ndeloof/maven-wagon/tree/wagon-1.x
> >
> > The idea to make LightWeightHttpWagon thread-safe
> despite the
> > java.net.Authenticator static singleton, is to have a
> custom Authenticator
> > shared component and callback methods to the wagon
> instance, using a
> > ThreadLocal to keep track of "current" wagon
> >
> > For WAGON-347 the preemptive authentication can be
> configured either per
> > repository using a "preemptiveAuthentication"
> parameter, or system wide
> > using
> -Dmaven.wagon.http.preemptiveAuthentication=true
> >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: fix wagon http lightweight

Mark Struberg
In reply to this post by nicolas de loof-2
Nicolas,

I'm currently reviewing your github work. It basically looks good, but it should be applied to trunk (maven-2.x). The changes you did needs java5, but wagon-1.x is still java-1.4 only. Switching to java5 is one of the main difference between wagon-1.x and wagon-2.x

The patch should pretty much apply without much changes.

txs and LieGrue,
strub

--- On Sat, 8/27/11, nicolas de loof <[hidden email]> wrote:

> From: nicolas de loof <[hidden email]>
> Subject: Re: fix wagon http lightweight
> To: "Maven Developers List" <[hidden email]>
> Date: Saturday, August 27, 2011, 5:27 AM
> I just can't get git svn to work and
> push my changes to wagon 1.x branch
> feel free to pick-up those changes if you like them
>
> 2011/8/24 nicolas de loof <[hidden email]>
>
> > I'm testing a fix for WAGON-346<http://jira.codehaus.org/browse/WAGON-346> and
> > WAGON-347 <http://jira.codehaus.org/browse/WAGON-347>
> > Before I commit anything to svn I'd like your advice :
> see
> > https://github.com/ndeloof/maven-wagon/tree/wagon-1.x
> >
> > The idea to make LightWeightHttpWagon thread-safe
> despite the
> > java.net.Authenticator static singleton, is to have a
> custom Authenticator
> > shared component and callback methods to the wagon
> instance, using a
> > ThreadLocal to keep track of "current" wagon
> >
> > For WAGON-347 the preemptive authentication can be
> configured either per
> > repository using a "preemptiveAuthentication"
> parameter, or system wide
> > using
> -Dmaven.wagon.http.preemptiveAuthentication=true
> >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: fix wagon http lightweight

nicolas de loof-2
Merge fails, need some rework to match trunk changes
would be simpler to deprecate and drop this shit out from repository as we
did for wagon-webdav

2011/8/27 Mark Struberg <[hidden email]>

> Nicolas,
>
> I'm currently reviewing your github work. It basically looks good, but it
> should be applied to trunk (maven-2.x). The changes you did needs java5, but
> wagon-1.x is still java-1.4 only. Switching to java5 is one of the main
> difference between wagon-1.x and wagon-2.x
>
> The patch should pretty much apply without much changes.
>
> txs and LieGrue,
> strub
>
> --- On Sat, 8/27/11, nicolas de loof <[hidden email]> wrote:
>
> > From: nicolas de loof <[hidden email]>
> > Subject: Re: fix wagon http lightweight
> > To: "Maven Developers List" <[hidden email]>
> > Date: Saturday, August 27, 2011, 5:27 AM
> > I just can't get git svn to work and
> > push my changes to wagon 1.x branch
> > feel free to pick-up those changes if you like them
> >
> > 2011/8/24 nicolas de loof <[hidden email]>
> >
> > > I'm testing a fix for WAGON-346<
> http://jira.codehaus.org/browse/WAGON-346> and
> > > WAGON-347 <http://jira.codehaus.org/browse/WAGON-347>
> > > Before I commit anything to svn I'd like your advice :
> > see
> > > https://github.com/ndeloof/maven-wagon/tree/wagon-1.x
> > >
> > > The idea to make LightWeightHttpWagon thread-safe
> > despite the
> > > java.net.Authenticator static singleton, is to have a
> > custom Authenticator
> > > shared component and callback methods to the wagon
> > instance, using a
> > > ThreadLocal to keep track of "current" wagon
> > >
> > > For WAGON-347 the preemptive authentication can be
> > configured either per
> > > repository using a "preemptiveAuthentication"
> > parameter, or system wide
> > > using
> > -Dmaven.wagon.http.preemptiveAuthentication=true
> > >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: fix wagon http lightweight

Mark Struberg
Hi Nicolas!

Not really sure what you are talking of. Which parts/versions do you like to deprecate and which part of wagon-webdav got deprecated?

LieGrue,
strub


--- On Sun, 8/28/11, nicolas de loof <[hidden email]> wrote:

> From: nicolas de loof <[hidden email]>
> Subject: Re: fix wagon http lightweight
> To: "Maven Developers List" <[hidden email]>
> Date: Sunday, August 28, 2011, 7:30 AM
> Merge fails, need some rework to
> match trunk changes
> would be simpler to deprecate and drop this shit out from
> repository as we
> did for wagon-webdav
>
> 2011/8/27 Mark Struberg <[hidden email]>
>
> > Nicolas,
> >
> > I'm currently reviewing your github work. It basically
> looks good, but it
> > should be applied to trunk (maven-2.x). The changes
> you did needs java5, but
> > wagon-1.x is still java-1.4 only. Switching to java5
> is one of the main
> > difference between wagon-1.x and wagon-2.x
> >
> > The patch should pretty much apply without much
> changes.
> >
> > txs and LieGrue,
> > strub
> >
> > --- On Sat, 8/27/11, nicolas de loof <[hidden email]>
> wrote:
> >
> > > From: nicolas de loof <[hidden email]>
> > > Subject: Re: fix wagon http lightweight
> > > To: "Maven Developers List" <[hidden email]>
> > > Date: Saturday, August 27, 2011, 5:27 AM
> > > I just can't get git svn to work and
> > > push my changes to wagon 1.x branch
> > > feel free to pick-up those changes if you like
> them
> > >
> > > 2011/8/24 nicolas de loof <[hidden email]>
> > >
> > > > I'm testing a fix for WAGON-346<
> > http://jira.codehaus.org/browse/WAGON-346> and
> > > > WAGON-347 <http://jira.codehaus.org/browse/WAGON-347>
> > > > Before I commit anything to svn I'd like
> your advice :
> > > see
> > > > https://github.com/ndeloof/maven-wagon/tree/wagon-1.x
> > > >
> > > > The idea to make LightWeightHttpWagon
> thread-safe
> > > despite the
> > > > java.net.Authenticator static singleton, is
> to have a
> > > custom Authenticator
> > > > shared component and callback methods to the
> wagon
> > > instance, using a
> > > > ThreadLocal to keep track of "current"
> wagon
> > > >
> > > > For WAGON-347 the preemptive authentication
> can be
> > > configured either per
> > > > repository using a
> "preemptiveAuthentication"
> > > parameter, or system wide
> > > > using
> > > -Dmaven.wagon.http.preemptiveAuthentication=true
> > > >
> > >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [hidden email]
> > For additional commands, e-mail: [hidden email]
> >
> >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: fix wagon http lightweight

nicolas de loof-2
lightweight-http-wagon
http-wagon could replace it

2011/8/28 Mark Struberg <[hidden email]>

> Hi Nicolas!
>
> Not really sure what you are talking of. Which parts/versions do you like
> to deprecate and which part of wagon-webdav got deprecated?
>
> LieGrue,
> strub
>
>
> --- On Sun, 8/28/11, nicolas de loof <[hidden email]> wrote:
>
> > From: nicolas de loof <[hidden email]>
> > Subject: Re: fix wagon http lightweight
> > To: "Maven Developers List" <[hidden email]>
> > Date: Sunday, August 28, 2011, 7:30 AM
> > Merge fails, need some rework to
> > match trunk changes
> > would be simpler to deprecate and drop this shit out from
> > repository as we
> > did for wagon-webdav
> >
> > 2011/8/27 Mark Struberg <[hidden email]>
> >
> > > Nicolas,
> > >
> > > I'm currently reviewing your github work. It basically
> > looks good, but it
> > > should be applied to trunk (maven-2.x). The changes
> > you did needs java5, but
> > > wagon-1.x is still java-1.4 only. Switching to java5
> > is one of the main
> > > difference between wagon-1.x and wagon-2.x
> > >
> > > The patch should pretty much apply without much
> > changes.
> > >
> > > txs and LieGrue,
> > > strub
> > >
> > > --- On Sat, 8/27/11, nicolas de loof <[hidden email]>
> > wrote:
> > >
> > > > From: nicolas de loof <[hidden email]>
> > > > Subject: Re: fix wagon http lightweight
> > > > To: "Maven Developers List" <[hidden email]>
> > > > Date: Saturday, August 27, 2011, 5:27 AM
> > > > I just can't get git svn to work and
> > > > push my changes to wagon 1.x branch
> > > > feel free to pick-up those changes if you like
> > them
> > > >
> > > > 2011/8/24 nicolas de loof <[hidden email]>
> > > >
> > > > > I'm testing a fix for WAGON-346<
> > > http://jira.codehaus.org/browse/WAGON-346> and
> > > > > WAGON-347 <http://jira.codehaus.org/browse/WAGON-347>
> > > > > Before I commit anything to svn I'd like
> > your advice :
> > > > see
> > > > > https://github.com/ndeloof/maven-wagon/tree/wagon-1.x
> > > > >
> > > > > The idea to make LightWeightHttpWagon
> > thread-safe
> > > > despite the
> > > > > java.net.Authenticator static singleton, is
> > to have a
> > > > custom Authenticator
> > > > > shared component and callback methods to the
> > wagon
> > > > instance, using a
> > > > > ThreadLocal to keep track of "current"
> > wagon
> > > > >
> > > > > For WAGON-347 the preemptive authentication
> > can be
> > > > configured either per
> > > > > repository using a
> > "preemptiveAuthentication"
> > > > parameter, or system wide
> > > > > using
> > > > -Dmaven.wagon.http.preemptiveAuthentication=true
> > > > >
> > > >
> > >
> > >
> > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [hidden email]
> > > For additional commands, e-mail: [hidden email]
> > >
> > >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: fix wagon http lightweight

Mark Struberg
yea, wagon-http-lightweight has lots of systematic problems. Mainly the inability to correctly handle files which are bigger than the memory given via -Xmx

I think John tried once to deprecate the lightweight provider, but then reverted it back because we got quite a few bugs reported for wagon-http. I think it is worth it to try it again and this time to just fix the bugs in wagon-http.

Of course this would mean that we should be ready to release 2 or 3 new wagon + maven versions pretty quickly...

LieGrue,
strub  

--- On Sun, 8/28/11, nicolas de loof <[hidden email]> wrote:

> From: nicolas de loof <[hidden email]>
> Subject: Re: fix wagon http lightweight
> To: "Maven Developers List" <[hidden email]>
> Date: Sunday, August 28, 2011, 8:04 AM
> lightweight-http-wagon
> http-wagon could replace it
>
> 2011/8/28 Mark Struberg <[hidden email]>
>
> > Hi Nicolas!
> >
> > Not really sure what you are talking of. Which
> parts/versions do you like
> > to deprecate and which part of wagon-webdav got
> deprecated?
> >
> > LieGrue,
> > strub
> >
> >
> > --- On Sun, 8/28/11, nicolas de loof <[hidden email]>
> wrote:
> >
> > > From: nicolas de loof <[hidden email]>
> > > Subject: Re: fix wagon http lightweight
> > > To: "Maven Developers List" <[hidden email]>
> > > Date: Sunday, August 28, 2011, 7:30 AM
> > > Merge fails, need some rework to
> > > match trunk changes
> > > would be simpler to deprecate and drop this shit
> out from
> > > repository as we
> > > did for wagon-webdav
> > >
> > > 2011/8/27 Mark Struberg <[hidden email]>
> > >
> > > > Nicolas,
> > > >
> > > > I'm currently reviewing your github work. It
> basically
> > > looks good, but it
> > > > should be applied to trunk (maven-2.x). The
> changes
> > > you did needs java5, but
> > > > wagon-1.x is still java-1.4 only. Switching
> to java5
> > > is one of the main
> > > > difference between wagon-1.x and wagon-2.x
> > > >
> > > > The patch should pretty much apply without
> much
> > > changes.
> > > >
> > > > txs and LieGrue,
> > > > strub
> > > >
> > > > --- On Sat, 8/27/11, nicolas de loof <[hidden email]>
> > > wrote:
> > > >
> > > > > From: nicolas de loof <[hidden email]>
> > > > > Subject: Re: fix wagon http
> lightweight
> > > > > To: "Maven Developers List" <[hidden email]>
> > > > > Date: Saturday, August 27, 2011, 5:27
> AM
> > > > > I just can't get git svn to work and
> > > > > push my changes to wagon 1.x branch
> > > > > feel free to pick-up those changes if
> you like
> > > them
> > > > >
> > > > > 2011/8/24 nicolas de loof <[hidden email]>
> > > > >
> > > > > > I'm testing a fix for
> WAGON-346<
> > > > http://jira.codehaus.org/browse/WAGON-346> and
> > > > > > WAGON-347 <http://jira.codehaus.org/browse/WAGON-347>
> > > > > > Before I commit anything to svn
> I'd like
> > > your advice :
> > > > > see
> > > > > > https://github.com/ndeloof/maven-wagon/tree/wagon-1.x
> > > > > >
> > > > > > The idea to make
> LightWeightHttpWagon
> > > thread-safe
> > > > > despite the
> > > > > > java.net.Authenticator static
> singleton, is
> > > to have a
> > > > > custom Authenticator
> > > > > > shared component and callback
> methods to the
> > > wagon
> > > > > instance, using a
> > > > > > ThreadLocal to keep track of
> "current"
> > > wagon
> > > > > >
> > > > > > For WAGON-347 the preemptive
> authentication
> > > can be
> > > > > configured either per
> > > > > > repository using a
> > > "preemptiveAuthentication"
> > > > > parameter, or system wide
> > > > > > using
> > > > >
> -Dmaven.wagon.http.preemptiveAuthentication=true
> > > > > >
> > > > >
> > > >
> > > >
> > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: [hidden email]
> > > > For additional commands, e-mail: [hidden email]
> > > >
> > > >
> > >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [hidden email]
> > For additional commands, e-mail: [hidden email]
> >
> >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: fix wagon http lightweight

nicolas de loof-2
except for getting volunteers, why shouldn't we be able to release pretty
quickly ?
jenkins releases every week :P

2011/8/28 Mark Struberg <[hidden email]>

> yea, wagon-http-lightweight has lots of systematic problems. Mainly the
> inability to correctly handle files which are bigger than the memory given
> via -Xmx
>
> I think John tried once to deprecate the lightweight provider, but then
> reverted it back because we got quite a few bugs reported for wagon-http. I
> think it is worth it to try it again and this time to just fix the bugs in
> wagon-http.
>
> Of course this would mean that we should be ready to release 2 or 3 new
> wagon + maven versions pretty quickly...
>
> LieGrue,
> strub
>
> --- On Sun, 8/28/11, nicolas de loof <[hidden email]> wrote:
>
> > From: nicolas de loof <[hidden email]>
> > Subject: Re: fix wagon http lightweight
> > To: "Maven Developers List" <[hidden email]>
> > Date: Sunday, August 28, 2011, 8:04 AM
> > lightweight-http-wagon
> > http-wagon could replace it
> >
> > 2011/8/28 Mark Struberg <[hidden email]>
> >
> > > Hi Nicolas!
> > >
> > > Not really sure what you are talking of. Which
> > parts/versions do you like
> > > to deprecate and which part of wagon-webdav got
> > deprecated?
> > >
> > > LieGrue,
> > > strub
> > >
> > >
> > > --- On Sun, 8/28/11, nicolas de loof <[hidden email]>
> > wrote:
> > >
> > > > From: nicolas de loof <[hidden email]>
> > > > Subject: Re: fix wagon http lightweight
> > > > To: "Maven Developers List" <[hidden email]>
> > > > Date: Sunday, August 28, 2011, 7:30 AM
> > > > Merge fails, need some rework to
> > > > match trunk changes
> > > > would be simpler to deprecate and drop this shit
> > out from
> > > > repository as we
> > > > did for wagon-webdav
> > > >
> > > > 2011/8/27 Mark Struberg <[hidden email]>
> > > >
> > > > > Nicolas,
> > > > >
> > > > > I'm currently reviewing your github work. It
> > basically
> > > > looks good, but it
> > > > > should be applied to trunk (maven-2.x). The
> > changes
> > > > you did needs java5, but
> > > > > wagon-1.x is still java-1.4 only. Switching
> > to java5
> > > > is one of the main
> > > > > difference between wagon-1.x and wagon-2.x
> > > > >
> > > > > The patch should pretty much apply without
> > much
> > > > changes.
> > > > >
> > > > > txs and LieGrue,
> > > > > strub
> > > > >
> > > > > --- On Sat, 8/27/11, nicolas de loof <[hidden email]>
> > > > wrote:
> > > > >
> > > > > > From: nicolas de loof <[hidden email]>
> > > > > > Subject: Re: fix wagon http
> > lightweight
> > > > > > To: "Maven Developers List" <[hidden email]>
> > > > > > Date: Saturday, August 27, 2011, 5:27
> > AM
> > > > > > I just can't get git svn to work and
> > > > > > push my changes to wagon 1.x branch
> > > > > > feel free to pick-up those changes if
> > you like
> > > > them
> > > > > >
> > > > > > 2011/8/24 nicolas de loof <[hidden email]>
> > > > > >
> > > > > > > I'm testing a fix for
> > WAGON-346<
> > > > > http://jira.codehaus.org/browse/WAGON-346> and
> > > > > > > WAGON-347 <http://jira.codehaus.org/browse/WAGON-347>
> > > > > > > Before I commit anything to svn
> > I'd like
> > > > your advice :
> > > > > > see
> > > > > > > https://github.com/ndeloof/maven-wagon/tree/wagon-1.x
> > > > > > >
> > > > > > > The idea to make
> > LightWeightHttpWagon
> > > > thread-safe
> > > > > > despite the
> > > > > > > java.net.Authenticator static
> > singleton, is
> > > > to have a
> > > > > > custom Authenticator
> > > > > > > shared component and callback
> > methods to the
> > > > wagon
> > > > > > instance, using a
> > > > > > > ThreadLocal to keep track of
> > "current"
> > > > wagon
> > > > > > >
> > > > > > > For WAGON-347 the preemptive
> > authentication
> > > > can be
> > > > > > configured either per
> > > > > > > repository using a
> > > > "preemptiveAuthentication"
> > > > > > parameter, or system wide
> > > > > > > using
> > > > > >
> > -Dmaven.wagon.http.preemptiveAuthentication=true
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: [hidden email]
> > > > > For additional commands, e-mail: [hidden email]
> > > > >
> > > > >
> > > >
> > >
> > >
> > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [hidden email]
> > > For additional commands, e-mail: [hidden email]
> > >
> > >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: fix wagon http lightweight

olamy
In reply to this post by nicolas de loof-2
Hello
Not so easy for core distrib due to commons-logging dependency which is
exclude.

--
Olivier
send from a mobile
 Le 28 août 2011 10:05, "nicolas de loof" <[hidden email]> a
écrit :

> lightweight-http-wagon
> http-wagon could replace it
>
> 2011/8/28 Mark Struberg <[hidden email]>
>
>> Hi Nicolas!
>>
>> Not really sure what you are talking of. Which parts/versions do you like
>> to deprecate and which part of wagon-webdav got deprecated?
>>
>> LieGrue,
>> strub
>>
>>
>> --- On Sun, 8/28/11, nicolas de loof <[hidden email]> wrote:
>>
>> > From: nicolas de loof <[hidden email]>
>> > Subject: Re: fix wagon http lightweight
>> > To: "Maven Developers List" <[hidden email]>
>> > Date: Sunday, August 28, 2011, 7:30 AM
>> > Merge fails, need some rework to
>> > match trunk changes
>> > would be simpler to deprecate and drop this shit out from
>> > repository as we
>> > did for wagon-webdav
>> >
>> > 2011/8/27 Mark Struberg <[hidden email]>
>> >
>> > > Nicolas,
>> > >
>> > > I'm currently reviewing your github work. It basically
>> > looks good, but it
>> > > should be applied to trunk (maven-2.x). The changes
>> > you did needs java5, but
>> > > wagon-1.x is still java-1.4 only. Switching to java5
>> > is one of the main
>> > > difference between wagon-1.x and wagon-2.x
>> > >
>> > > The patch should pretty much apply without much
>> > changes.
>> > >
>> > > txs and LieGrue,
>> > > strub
>> > >
>> > > --- On Sat, 8/27/11, nicolas de loof <[hidden email]>
>> > wrote:
>> > >
>> > > > From: nicolas de loof <[hidden email]>
>> > > > Subject: Re: fix wagon http lightweight
>> > > > To: "Maven Developers List" <[hidden email]>
>> > > > Date: Saturday, August 27, 2011, 5:27 AM
>> > > > I just can't get git svn to work and
>> > > > push my changes to wagon 1.x branch
>> > > > feel free to pick-up those changes if you like
>> > them
>> > > >
>> > > > 2011/8/24 nicolas de loof <[hidden email]>
>> > > >
>> > > > > I'm testing a fix for WAGON-346<
>> > > http://jira.codehaus.org/browse/WAGON-346> and
>> > > > > WAGON-347 <http://jira.codehaus.org/browse/WAGON-347>
>> > > > > Before I commit anything to svn I'd like
>> > your advice :
>> > > > see
>> > > > > https://github.com/ndeloof/maven-wagon/tree/wagon-1.x
>> > > > >
>> > > > > The idea to make LightWeightHttpWagon
>> > thread-safe
>> > > > despite the
>> > > > > java.net.Authenticator static singleton, is
>> > to have a
>> > > > custom Authenticator
>> > > > > shared component and callback methods to the
>> > wagon
>> > > > instance, using a
>> > > > > ThreadLocal to keep track of "current"
>> > wagon
>> > > > >
>> > > > > For WAGON-347 the preemptive authentication
>> > can be
>> > > > configured either per
>> > > > > repository using a
>> > "preemptiveAuthentication"
>> > > > parameter, or system wide
>> > > > > using
>> > > > -Dmaven.wagon.http.preemptiveAuthentication=true
>> > > > >
>> > > >
>> > >
>> > >
>> > ---------------------------------------------------------------------
>> > > To unsubscribe, e-mail: [hidden email]
>> > > For additional commands, e-mail: [hidden email]
>> > >
>> > >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: fix wagon http lightweight

olamy
In reply to this post by nicolas de loof-2
Why not commit your changes in trunk ?
If you're not volunteer.  I will do this wagon  2.0 first  release.

--
Olivier
send from a mobile
 Le 28 août 2011 11:13, "nicolas de loof" <[hidden email]> a
écrit :
> except for getting volunteers, why shouldn't we be able to release pretty
> quickly ?
> jenkins releases every week :P
>
> 2011/8/28 Mark Struberg <[hidden email]>
>
>> yea, wagon-http-lightweight has lots of systematic problems. Mainly the
>> inability to correctly handle files which are bigger than the memory
given
>> via -Xmx
>>
>> I think John tried once to deprecate the lightweight provider, but then
>> reverted it back because we got quite a few bugs reported for wagon-http.
I
>> think it is worth it to try it again and this time to just fix the bugs
in

>> wagon-http.
>>
>> Of course this would mean that we should be ready to release 2 or 3 new
>> wagon + maven versions pretty quickly...
>>
>> LieGrue,
>> strub
>>
>> --- On Sun, 8/28/11, nicolas de loof <[hidden email]> wrote:
>>
>> > From: nicolas de loof <[hidden email]>
>> > Subject: Re: fix wagon http lightweight
>> > To: "Maven Developers List" <[hidden email]>
>> > Date: Sunday, August 28, 2011, 8:04 AM
>> > lightweight-http-wagon
>> > http-wagon could replace it
>> >
>> > 2011/8/28 Mark Struberg <[hidden email]>
>> >
>> > > Hi Nicolas!
>> > >
>> > > Not really sure what you are talking of. Which
>> > parts/versions do you like
>> > > to deprecate and which part of wagon-webdav got
>> > deprecated?
>> > >
>> > > LieGrue,
>> > > strub
>> > >
>> > >
>> > > --- On Sun, 8/28/11, nicolas de loof <[hidden email]>
>> > wrote:
>> > >
>> > > > From: nicolas de loof <[hidden email]>
>> > > > Subject: Re: fix wagon http lightweight
>> > > > To: "Maven Developers List" <[hidden email]>
>> > > > Date: Sunday, August 28, 2011, 7:30 AM
>> > > > Merge fails, need some rework to
>> > > > match trunk changes
>> > > > would be simpler to deprecate and drop this shit
>> > out from
>> > > > repository as we
>> > > > did for wagon-webdav
>> > > >
>> > > > 2011/8/27 Mark Struberg <[hidden email]>
>> > > >
>> > > > > Nicolas,
>> > > > >
>> > > > > I'm currently reviewing your github work. It
>> > basically
>> > > > looks good, but it
>> > > > > should be applied to trunk (maven-2.x). The
>> > changes
>> > > > you did needs java5, but
>> > > > > wagon-1.x is still java-1.4 only. Switching
>> > to java5
>> > > > is one of the main
>> > > > > difference between wagon-1.x and wagon-2.x
>> > > > >
>> > > > > The patch should pretty much apply without
>> > much
>> > > > changes.
>> > > > >
>> > > > > txs and LieGrue,
>> > > > > strub
>> > > > >
>> > > > > --- On Sat, 8/27/11, nicolas de loof <[hidden email]>
>> > > > wrote:
>> > > > >
>> > > > > > From: nicolas de loof <[hidden email]>
>> > > > > > Subject: Re: fix wagon http
>> > lightweight
>> > > > > > To: "Maven Developers List" <[hidden email]>
>> > > > > > Date: Saturday, August 27, 2011, 5:27
>> > AM
>> > > > > > I just can't get git svn to work and
>> > > > > > push my changes to wagon 1.x branch
>> > > > > > feel free to pick-up those changes if
>> > you like
>> > > > them
>> > > > > >
>> > > > > > 2011/8/24 nicolas de loof <[hidden email]>
>> > > > > >
>> > > > > > > I'm testing a fix for
>> > WAGON-346<
>> > > > > http://jira.codehaus.org/browse/WAGON-346> and
>> > > > > > > WAGON-347 <http://jira.codehaus.org/browse/WAGON-347>
>> > > > > > > Before I commit anything to svn
>> > I'd like
>> > > > your advice :
>> > > > > > see
>> > > > > > > https://github.com/ndeloof/maven-wagon/tree/wagon-1.x
>> > > > > > >
>> > > > > > > The idea to make
>> > LightWeightHttpWagon
>> > > > thread-safe
>> > > > > > despite the
>> > > > > > > java.net.Authenticator static
>> > singleton, is
>> > > > to have a
>> > > > > > custom Authenticator
>> > > > > > > shared component and callback
>> > methods to the
>> > > > wagon
>> > > > > > instance, using a
>> > > > > > > ThreadLocal to keep track of
>> > "current"
>> > > > wagon
>> > > > > > >
>> > > > > > > For WAGON-347 the preemptive
>> > authentication
>> > > > can be
>> > > > > > configured either per
>> > > > > > > repository using a
>> > > > "preemptiveAuthentication"
>> > > > > > parameter, or system wide
>> > > > > > > using
>> > > > > >
>> > -Dmaven.wagon.http.preemptiveAuthentication=true
>> > > > > > >
>> > > > > >
>> > > > >
>> > > > >
>> > > >
>> > ---------------------------------------------------------------------
>> > > > > To unsubscribe, e-mail: [hidden email]
>> > > > > For additional commands, e-mail: [hidden email]
>> > > > >
>> > > > >
>> > > >
>> > >
>> > >
>> > ---------------------------------------------------------------------
>> > > To unsubscribe, e-mail: [hidden email]
>> > > For additional commands, e-mail: [hidden email]
>> > >
>> > >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: fix wagon http lightweight

nicolas de loof-2
In reply to this post by olamy
can't we use slf4j to redirect such log to whatever logging system ?

2011/8/28 Olivier Lamy <[hidden email]>

> Hello
> Not so easy for core distrib due to commons-logging dependency which is
> exclude.
>
> --
> Olivier
> send from a mobile
>  Le 28 août 2011 10:05, "nicolas de loof" <[hidden email]> a
> écrit :
> > lightweight-http-wagon
> > http-wagon could replace it
> >
> > 2011/8/28 Mark Struberg <[hidden email]>
> >
> >> Hi Nicolas!
> >>
> >> Not really sure what you are talking of. Which parts/versions do you
> like
> >> to deprecate and which part of wagon-webdav got deprecated?
> >>
> >> LieGrue,
> >> strub
> >>
> >>
> >> --- On Sun, 8/28/11, nicolas de loof <[hidden email]> wrote:
> >>
> >> > From: nicolas de loof <[hidden email]>
> >> > Subject: Re: fix wagon http lightweight
> >> > To: "Maven Developers List" <[hidden email]>
> >> > Date: Sunday, August 28, 2011, 7:30 AM
> >> > Merge fails, need some rework to
> >> > match trunk changes
> >> > would be simpler to deprecate and drop this shit out from
> >> > repository as we
> >> > did for wagon-webdav
> >> >
> >> > 2011/8/27 Mark Struberg <[hidden email]>
> >> >
> >> > > Nicolas,
> >> > >
> >> > > I'm currently reviewing your github work. It basically
> >> > looks good, but it
> >> > > should be applied to trunk (maven-2.x). The changes
> >> > you did needs java5, but
> >> > > wagon-1.x is still java-1.4 only. Switching to java5
> >> > is one of the main
> >> > > difference between wagon-1.x and wagon-2.x
> >> > >
> >> > > The patch should pretty much apply without much
> >> > changes.
> >> > >
> >> > > txs and LieGrue,
> >> > > strub
> >> > >
> >> > > --- On Sat, 8/27/11, nicolas de loof <[hidden email]>
> >> > wrote:
> >> > >
> >> > > > From: nicolas de loof <[hidden email]>
> >> > > > Subject: Re: fix wagon http lightweight
> >> > > > To: "Maven Developers List" <[hidden email]>
> >> > > > Date: Saturday, August 27, 2011, 5:27 AM
> >> > > > I just can't get git svn to work and
> >> > > > push my changes to wagon 1.x branch
> >> > > > feel free to pick-up those changes if you like
> >> > them
> >> > > >
> >> > > > 2011/8/24 nicolas de loof <[hidden email]>
> >> > > >
> >> > > > > I'm testing a fix for WAGON-346<
> >> > > http://jira.codehaus.org/browse/WAGON-346> and
> >> > > > > WAGON-347 <http://jira.codehaus.org/browse/WAGON-347>
> >> > > > > Before I commit anything to svn I'd like
> >> > your advice :
> >> > > > see
> >> > > > > https://github.com/ndeloof/maven-wagon/tree/wagon-1.x
> >> > > > >
> >> > > > > The idea to make LightWeightHttpWagon
> >> > thread-safe
> >> > > > despite the
> >> > > > > java.net.Authenticator static singleton, is
> >> > to have a
> >> > > > custom Authenticator
> >> > > > > shared component and callback methods to the
> >> > wagon
> >> > > > instance, using a
> >> > > > > ThreadLocal to keep track of "current"
> >> > wagon
> >> > > > >
> >> > > > > For WAGON-347 the preemptive authentication
> >> > can be
> >> > > > configured either per
> >> > > > > repository using a
> >> > "preemptiveAuthentication"
> >> > > > parameter, or system wide
> >> > > > > using
> >> > > > -Dmaven.wagon.http.preemptiveAuthentication=true
> >> > > > >
> >> > > >
> >> > >
> >> > >
> >> > ---------------------------------------------------------------------
> >> > > To unsubscribe, e-mail: [hidden email]
> >> > > For additional commands, e-mail: [hidden email]
> >> > >
> >> > >
> >> >
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [hidden email]
> >> For additional commands, e-mail: [hidden email]
> >>
> >>
>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: fix wagon http lightweight

Mark Struberg
In wagon-2.0 we also upgraded from commons-httpclient-3.x to httpcomponents.client-4.x. There have been lots of changes under the hood. I'd not be surprised if they have also changed the logging. But would need to check that.

LieGrue,
strub

--- On Sun, 8/28/11, nicolas de loof <[hidden email]> wrote:

> From: nicolas de loof <[hidden email]>
> Subject: Re: fix wagon http lightweight
> To: "Maven Developers List" <[hidden email]>
> Date: Sunday, August 28, 2011, 9:30 AM
> can't we use slf4j to redirect such
> log to whatever logging system ?
>
> 2011/8/28 Olivier Lamy <[hidden email]>
>
> > Hello
> > Not so easy for core distrib due to commons-logging
> dependency which is
> > exclude.
> >
> > --
> > Olivier
> > send from a mobile
> >  Le 28 août 2011 10:05, "nicolas de loof" <[hidden email]>
> a
> > écrit :
> > > lightweight-http-wagon
> > > http-wagon could replace it
> > >
> > > 2011/8/28 Mark Struberg <[hidden email]>
> > >
> > >> Hi Nicolas!
> > >>
> > >> Not really sure what you are talking of.
> Which parts/versions do you
> > like
> > >> to deprecate and which part of wagon-webdav
> got deprecated?
> > >>
> > >> LieGrue,
> > >> strub
> > >>
> > >>
> > >> --- On Sun, 8/28/11, nicolas de loof <[hidden email]>
> wrote:
> > >>
> > >> > From: nicolas de loof <[hidden email]>
> > >> > Subject: Re: fix wagon http lightweight
> > >> > To: "Maven Developers List" <[hidden email]>
> > >> > Date: Sunday, August 28, 2011, 7:30 AM
> > >> > Merge fails, need some rework to
> > >> > match trunk changes
> > >> > would be simpler to deprecate and drop
> this shit out from
> > >> > repository as we
> > >> > did for wagon-webdav
> > >> >
> > >> > 2011/8/27 Mark Struberg <[hidden email]>
> > >> >
> > >> > > Nicolas,
> > >> > >
> > >> > > I'm currently reviewing your github
> work. It basically
> > >> > looks good, but it
> > >> > > should be applied to trunk
> (maven-2.x). The changes
> > >> > you did needs java5, but
> > >> > > wagon-1.x is still java-1.4 only.
> Switching to java5
> > >> > is one of the main
> > >> > > difference between wagon-1.x and
> wagon-2.x
> > >> > >
> > >> > > The patch should pretty much apply
> without much
> > >> > changes.
> > >> > >
> > >> > > txs and LieGrue,
> > >> > > strub
> > >> > >
> > >> > > --- On Sat, 8/27/11, nicolas de
> loof <[hidden email]>
> > >> > wrote:
> > >> > >
> > >> > > > From: nicolas de loof <[hidden email]>
> > >> > > > Subject: Re: fix wagon http
> lightweight
> > >> > > > To: "Maven Developers List"
> <[hidden email]>
> > >> > > > Date: Saturday, August 27,
> 2011, 5:27 AM
> > >> > > > I just can't get git svn to
> work and
> > >> > > > push my changes to wagon 1.x
> branch
> > >> > > > feel free to pick-up those
> changes if you like
> > >> > them
> > >> > > >
> > >> > > > 2011/8/24 nicolas de loof
> <[hidden email]>
> > >> > > >
> > >> > > > > I'm testing a fix for
> WAGON-346<
> > >> > > http://jira.codehaus.org/browse/WAGON-346> and
> > >> > > > > WAGON-347 <http://jira.codehaus.org/browse/WAGON-347>
> > >> > > > > Before I commit anything
> to svn I'd like
> > >> > your advice :
> > >> > > > see
> > >> > > > > https://github.com/ndeloof/maven-wagon/tree/wagon-1.x
> > >> > > > >
> > >> > > > > The idea to make
> LightWeightHttpWagon
> > >> > thread-safe
> > >> > > > despite the
> > >> > > > > java.net.Authenticator
> static singleton, is
> > >> > to have a
> > >> > > > custom Authenticator
> > >> > > > > shared component and
> callback methods to the
> > >> > wagon
> > >> > > > instance, using a
> > >> > > > > ThreadLocal to keep track
> of "current"
> > >> > wagon
> > >> > > > >
> > >> > > > > For WAGON-347 the
> preemptive authentication
> > >> > can be
> > >> > > > configured either per
> > >> > > > > repository using a
> > >> > "preemptiveAuthentication"
> > >> > > > parameter, or system wide
> > >> > > > > using
> > >> > > >
> -Dmaven.wagon.http.preemptiveAuthentication=true
> > >> > > > >
> > >> > > >
> > >> > >
> > >> > >
> > >> >
> ---------------------------------------------------------------------
> > >> > > To unsubscribe, e-mail: [hidden email]
> > >> > > For additional commands, e-mail: [hidden email]
> > >> > >
> > >> > >
> > >> >
> > >>
> > >>
> ---------------------------------------------------------------------
> > >> To unsubscribe, e-mail: [hidden email]
> > >> For additional commands, e-mail: [hidden email]
> > >>
> > >>
> >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: fix wagon http lightweight

nicolas de loof-2
I merged my fix to 2.x / trunk and committed
I'll no look for a fix on java 1.4 - will probably be a brute force
syncrhonized(LightWeightHttpWagon.class) { ... }

2011/8/28 Mark Struberg <[hidden email]>

> In wagon-2.0 we also upgraded from commons-httpclient-3.x to
> httpcomponents.client-4.x. There have been lots of changes under the hood.
> I'd not be surprised if they have also changed the logging. But would need
> to check that.
>
> LieGrue,
> strub
>
> --- On Sun, 8/28/11, nicolas de loof <[hidden email]> wrote:
>
> > From: nicolas de loof <[hidden email]>
> > Subject: Re: fix wagon http lightweight
> > To: "Maven Developers List" <[hidden email]>
> > Date: Sunday, August 28, 2011, 9:30 AM
> > can't we use slf4j to redirect such
> > log to whatever logging system ?
> >
> > 2011/8/28 Olivier Lamy <[hidden email]>
> >
> > > Hello
> > > Not so easy for core distrib due to commons-logging
> > dependency which is
> > > exclude.
> > >
> > > --
> > > Olivier
> > > send from a mobile
> > >  Le 28 août 2011 10:05, "nicolas de loof" <[hidden email]>
> > a
> > > écrit :
> > > > lightweight-http-wagon
> > > > http-wagon could replace it
> > > >
> > > > 2011/8/28 Mark Struberg <[hidden email]>
> > > >
> > > >> Hi Nicolas!
> > > >>
> > > >> Not really sure what you are talking of.
> > Which parts/versions do you
> > > like
> > > >> to deprecate and which part of wagon-webdav
> > got deprecated?
> > > >>
> > > >> LieGrue,
> > > >> strub
> > > >>
> > > >>
> > > >> --- On Sun, 8/28/11, nicolas de loof <[hidden email]>
> > wrote:
> > > >>
> > > >> > From: nicolas de loof <[hidden email]>
> > > >> > Subject: Re: fix wagon http lightweight
> > > >> > To: "Maven Developers List" <[hidden email]>
> > > >> > Date: Sunday, August 28, 2011, 7:30 AM
> > > >> > Merge fails, need some rework to
> > > >> > match trunk changes
> > > >> > would be simpler to deprecate and drop
> > this shit out from
> > > >> > repository as we
> > > >> > did for wagon-webdav
> > > >> >
> > > >> > 2011/8/27 Mark Struberg <[hidden email]>
> > > >> >
> > > >> > > Nicolas,
> > > >> > >
> > > >> > > I'm currently reviewing your github
> > work. It basically
> > > >> > looks good, but it
> > > >> > > should be applied to trunk
> > (maven-2.x). The changes
> > > >> > you did needs java5, but
> > > >> > > wagon-1.x is still java-1.4 only.
> > Switching to java5
> > > >> > is one of the main
> > > >> > > difference between wagon-1.x and
> > wagon-2.x
> > > >> > >
> > > >> > > The patch should pretty much apply
> > without much
> > > >> > changes.
> > > >> > >
> > > >> > > txs and LieGrue,
> > > >> > > strub
> > > >> > >
> > > >> > > --- On Sat, 8/27/11, nicolas de
> > loof <[hidden email]>
> > > >> > wrote:
> > > >> > >
> > > >> > > > From: nicolas de loof <[hidden email]>
> > > >> > > > Subject: Re: fix wagon http
> > lightweight
> > > >> > > > To: "Maven Developers List"
> > <[hidden email]>
> > > >> > > > Date: Saturday, August 27,
> > 2011, 5:27 AM
> > > >> > > > I just can't get git svn to
> > work and
> > > >> > > > push my changes to wagon 1.x
> > branch
> > > >> > > > feel free to pick-up those
> > changes if you like
> > > >> > them
> > > >> > > >
> > > >> > > > 2011/8/24 nicolas de loof
> > <[hidden email]>
> > > >> > > >
> > > >> > > > > I'm testing a fix for
> > WAGON-346<
> > > >> > > http://jira.codehaus.org/browse/WAGON-346> and
> > > >> > > > > WAGON-347 <http://jira.codehaus.org/browse/WAGON-347>
> > > >> > > > > Before I commit anything
> > to svn I'd like
> > > >> > your advice :
> > > >> > > > see
> > > >> > > > > https://github.com/ndeloof/maven-wagon/tree/wagon-1.x
> > > >> > > > >
> > > >> > > > > The idea to make
> > LightWeightHttpWagon
> > > >> > thread-safe
> > > >> > > > despite the
> > > >> > > > > java.net.Authenticator
> > static singleton, is
> > > >> > to have a
> > > >> > > > custom Authenticator
> > > >> > > > > shared component and
> > callback methods to the
> > > >> > wagon
> > > >> > > > instance, using a
> > > >> > > > > ThreadLocal to keep track
> > of "current"
> > > >> > wagon
> > > >> > > > >
> > > >> > > > > For WAGON-347 the
> > preemptive authentication
> > > >> > can be
> > > >> > > > configured either per
> > > >> > > > > repository using a
> > > >> > "preemptiveAuthentication"
> > > >> > > > parameter, or system wide
> > > >> > > > > using
> > > >> > > >
> > -Dmaven.wagon.http.preemptiveAuthentication=true
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> > >
> > > >> >
> > ---------------------------------------------------------------------
> > > >> > > To unsubscribe, e-mail: [hidden email]
> > > >> > > For additional commands, e-mail: [hidden email]
> > > >> > >
> > > >> > >
> > > >> >
> > > >>
> > > >>
> > ---------------------------------------------------------------------
> > > >> To unsubscribe, e-mail: [hidden email]
> > > >> For additional commands, e-mail: [hidden email]
> > > >>
> > > >>
> > >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: fix wagon http lightweight

olamy
In reply to this post by nicolas de loof-2
Hello,
Personally, I would prefer a shading mechanism rather than introducing
slf4j dependency in core distrib.

2011/8/28 nicolas de loof <[hidden email]>:

> can't we use slf4j to redirect such log to whatever logging system ?
>
> 2011/8/28 Olivier Lamy <[hidden email]>
>
>> Hello
>> Not so easy for core distrib due to commons-logging dependency which is
>> exclude.
>>
>> --
>> Olivier
>> send from a mobile
>>  Le 28 août 2011 10:05, "nicolas de loof" <[hidden email]> a
>> écrit :
>> > lightweight-http-wagon
>> > http-wagon could replace it
>> >
>> > 2011/8/28 Mark Struberg <[hidden email]>
>> >
>> >> Hi Nicolas!
>> >>
>> >> Not really sure what you are talking of. Which parts/versions do you
>> like
>> >> to deprecate and which part of wagon-webdav got deprecated?
>> >>
>> >> LieGrue,
>> >> strub
>> >>
>> >>
>> >> --- On Sun, 8/28/11, nicolas de loof <[hidden email]> wrote:
>> >>
>> >> > From: nicolas de loof <[hidden email]>
>> >> > Subject: Re: fix wagon http lightweight
>> >> > To: "Maven Developers List" <[hidden email]>
>> >> > Date: Sunday, August 28, 2011, 7:30 AM
>> >> > Merge fails, need some rework to
>> >> > match trunk changes
>> >> > would be simpler to deprecate and drop this shit out from
>> >> > repository as we
>> >> > did for wagon-webdav
>> >> >
>> >> > 2011/8/27 Mark Struberg <[hidden email]>
>> >> >
>> >> > > Nicolas,
>> >> > >
>> >> > > I'm currently reviewing your github work. It basically
>> >> > looks good, but it
>> >> > > should be applied to trunk (maven-2.x). The changes
>> >> > you did needs java5, but
>> >> > > wagon-1.x is still java-1.4 only. Switching to java5
>> >> > is one of the main
>> >> > > difference between wagon-1.x and wagon-2.x
>> >> > >
>> >> > > The patch should pretty much apply without much
>> >> > changes.
>> >> > >
>> >> > > txs and LieGrue,
>> >> > > strub
>> >> > >
>> >> > > --- On Sat, 8/27/11, nicolas de loof <[hidden email]>
>> >> > wrote:
>> >> > >
>> >> > > > From: nicolas de loof <[hidden email]>
>> >> > > > Subject: Re: fix wagon http lightweight
>> >> > > > To: "Maven Developers List" <[hidden email]>
>> >> > > > Date: Saturday, August 27, 2011, 5:27 AM
>> >> > > > I just can't get git svn to work and
>> >> > > > push my changes to wagon 1.x branch
>> >> > > > feel free to pick-up those changes if you like
>> >> > them
>> >> > > >
>> >> > > > 2011/8/24 nicolas de loof <[hidden email]>
>> >> > > >
>> >> > > > > I'm testing a fix for WAGON-346<
>> >> > > http://jira.codehaus.org/browse/WAGON-346> and
>> >> > > > > WAGON-347 <http://jira.codehaus.org/browse/WAGON-347>
>> >> > > > > Before I commit anything to svn I'd like
>> >> > your advice :
>> >> > > > see
>> >> > > > > https://github.com/ndeloof/maven-wagon/tree/wagon-1.x
>> >> > > > >
>> >> > > > > The idea to make LightWeightHttpWagon
>> >> > thread-safe
>> >> > > > despite the
>> >> > > > > java.net.Authenticator static singleton, is
>> >> > to have a
>> >> > > > custom Authenticator
>> >> > > > > shared component and callback methods to the
>> >> > wagon
>> >> > > > instance, using a
>> >> > > > > ThreadLocal to keep track of "current"
>> >> > wagon
>> >> > > > >
>> >> > > > > For WAGON-347 the preemptive authentication
>> >> > can be
>> >> > > > configured either per
>> >> > > > > repository using a
>> >> > "preemptiveAuthentication"
>> >> > > > parameter, or system wide
>> >> > > > > using
>> >> > > > -Dmaven.wagon.http.preemptiveAuthentication=true
>> >> > > > >
>> >> > > >
>> >> > >
>> >> > >
>> >> > ---------------------------------------------------------------------
>> >> > > To unsubscribe, e-mail: [hidden email]
>> >> > > For additional commands, e-mail: [hidden email]
>> >> > >
>> >> > >
>> >> >
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: [hidden email]
>> >> For additional commands, e-mail: [hidden email]
>> >>
>> >>
>>
>



--
Olivier Lamy
Talend : http://talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Loading...