[
http://jira.codehaus.org/browse/WAGON-277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=249896#action_249896
]
Tom Fennelly commented on WAGON-277:
------------------------------------
Guys, is there a fix or documented workaround for this issue anywhere? I've
been jumping around all of these linked JIRAs without any success.
I've tried using maven 2.2.1 and 3.0.1 and have tried preemptive auth on and
off... I've configured both the "httpclient" and "lightweight" wagons in the
settings.xml and am still seeing this issue i.e. uploading twice.
Any help would be appreciated.
> HttpClient wagon (wagon-http) uploads all files twice when preemptive
> authentication is disabled
> ------------------------------------------------------------------------------------------------
>
> Key: WAGON-277
> URL: http://jira.codehaus.org/browse/WAGON-277
> Project: Maven Wagon
> Issue Type: Bug
> Components: wagon-http
> Affects Versions: 1.0-beta-6
> Reporter: John Casey
> Priority: Critical
> Fix For: 1.0
>
>
> This causes timeouts and tends to cause invalid checksums for anything that
> attaches an observer to the stream or connection (Maven does). It seems that
> the Sun (lightweight-http) wagon sends the first file twice, then caches the
> authentication after a challenge and uses preemptive auth from then on. This
> wagon should probably take steps to approximate this strategy, or possibly
> even improve on it.
> For an example of this, try deploying any artifact to a normal http
> repository (Nexus uses bare HTTP PUT, for instance) with Maven 2.2.0, and
> watch the checksums or logs to see how the transfer takes place.
--
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