[
https://jira.codehaus.org/browse/WAGON-381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=326915#comment-326915
]
Olivier Lamy commented on WAGON-381:
------------------------------------
still weird for me.
I added a unit test
https://git-wip-us.apache.org/repos/asf?p=maven-wagon.git;a=commit;h=05098b3f0f0378a7272f0d9491ef356889bfc67f
And those huge files (with Content-Length or Chunked) are correctly downloaded.
> Both Maven 2 and 3 fail to retrieve a <dependency> that is larger than
> Integer.MAX_VALUE
> ----------------------------------------------------------------------------------------
>
> Key: WAGON-381
> URL: https://jira.codehaus.org/browse/WAGON-381
> Project: Maven Wagon
> Issue Type: Bug
> Components: wagon-http
> Affects Versions: 2.2
> Reporter: Evgeny Goldin
> Assignee: Olivier Lamy
> Fix For: 2.5
>
> Attachments: 1.png, 2.png
>
>
> We have a *{{*.tar}}* file stored in corporate Maven repository, its size is
> *{{2.5Gb}}*. Trying to bring it with Maven (both 2 and 3) causes file of
> *{{2147483647}}* size to be downloaded to local maven repo, which is exactly
> 2<sup>31</sup>-1.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira