Well spotted. It looks like a tight corner for this functionality what with
Central having anonymous GET get authenticated PUT. I guess the behaviour
feels unfinished therefore no-one knows what it should be documented as.

Irrespective, there seems no obvious way to update these pages as indicated
in the comments.

On 31 March 2015 at 10:30, Arnaud Héritier <aherit...@gmail.com> wrote:

> Is it related to comments in https://jira.codehaus.org/browse/WAGON-405
> ???
> For sure the documentation can be updated if required
>
> On Tue, Mar 31, 2015 at 9:57 AM, James Green <james.mk.gr...@gmail.com>
> wrote:
>
> > So how does one update the documentation to state that pre-emptive
> > authentication is not possible..?
> >
> > On 30 March 2015 at 13:31, Gordon Cody <gordon.c...@zafin.com> wrote:
> >
> > > Hello James
> > >
> > > It really does try twice. The first time it tries with no credentials
> > > supplied.
> > > This came to our attention when we upgraded from maven-2.0.9 to
> > > maven-3.0.5.
> > >
> > > We found out at that time that it had to do with being compliant to
> some
> > > web specification and there was no way to force it to use credentials
> on
> > > the first attempt.
> > >
> > > The delay is a mere fraction of a second for most files. On larger
> files
> > it
> > > can be slightly irritating.
> > > We now avoid deploying ear files altogether by using the skip argument
> of
> > > the deploy plugin.
> > >
> > >
> > > Regards, Gord Cody
> > >
> > >
> > >
> > > On Mon, Mar 30, 2015 at 4:34 AM, James Green <james.mk.gr...@gmail.com
> >
> > > wrote:
> > >
> > > > I am a little confused. According to:
> > > >
> > > > https://maven.apache.org/guides/mini/guide-http-settings.html
> > > >
> > > > Maven 3.0.4 defaults to pre-emptive authentication for HTTP PUTs.
> > > >
> > > > According to my haproxy logs, each PUT is done twice:
> > > >
> > > > 1. PUT happens, receives a 401 response from Nexus
> > > > 2. PUT happens, receives a 201 response from Nexus
> > > >
> > > > Our installed version:
> > > > ii  maven                                 3.0.4-2
> > > >   Java software project management and comprehension tool
> > > >
> > > > Is the documentation simply wrong or am I somehow mis-interpreting
> > > things?
> > > >
> > > > Thanks,
> > > >
> > > > James
> > > >
> > >
> > >
> > >
> > > --
> > > Best Regards, Gord Cody
> > >
> > > Release Manager  Zafin Labs Americas Inc.
> > > 179 Colonnade Road-Suite 100, Ottawa ON, Canada
> > > Phone: +1 (613) 216-2504  Fax: +1 (613) 688-1374  Mobile: +1
> 613-601-2734
> > > Web: http://zafin.com  Email: gordon.c...@zafin.com
> > >
> > > --
> > > Zafin - Canada
> > >
> > > --
> > > http://zafin.com
> > >
> > > <http://zafin.com/>
> > >
> > > ------------------------------
> > >
> > > Connect with us
> > >
> > >  <http://www.youtube.com/user/ZafinGlobal>
> > > <http://www.linkedin.com/company/Zafin>  <http://twitter.com/Zafin>
> > >
> > > News and Events
> > >
> > > Zafin joins the Deloitte Fast 50 and Fast 500 Rankings
> > > <
> > >
> >
> http://zafin.com/press-releases/zafin-ranks-16th-on-the-2014-deloitte-technology-fast-50-list/
> > > >
> > >
> > > <
> > >
> >
> http://zafin.com/press-releases/zafin-ranks-16th-on-the-2014-deloitte-technology-fast-50-list/
> > > >
> > >
> >
>
>
>
> --
> -----
> Arnaud Héritier
> http://aheritier.net
> Mail/GTalk: aheritier AT gmail DOT com
> Twitter/Skype : aheritier
>

Reply via email to