[
http://jira.codehaus.org/browse/MNG-4977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=253440#action_253440
]
Benjamin Bentmann commented on MNG-4977:
----------------------------------------
[URLConnection.getContentLength()|http://download.oracle.com/javase/1.5.0/docs/api/java/net/URLConnection.html#getContentLength%28%29]
is of type {{int}}, this might explain the trouble with wagon-http-lightweight.
> Both Maven 2 and 3 fail to retrieve a <dependency> that is larger than
> Integer.MAX_VALUE
> ----------------------------------------------------------------------------------------
>
> Key: MNG-4977
> URL: http://jira.codehaus.org/browse/MNG-4977
> Project: Maven 2 & 3
> Issue Type: Bug
> Components: Dependencies
> Affects Versions: 3.0.2
> Reporter: Evgeny Goldin
>
> 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 contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira