You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Evgeny Goldin (JIRA)" <ji...@codehaus.org> on 2011/01/13 18:12:57 UTC

[jira] Created: (MNG-4977) Both Maven 2 and 3 fail to retrieve a that is larger than Integer.MAX_VALUE

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

        

[jira] Issue Comment Edited: (MNG-4977) Both Maven 2 and 3 fail to retrieve a that is larger than Integer.MAX_VALUE

Posted by "Evgeny Goldin (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-4977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=253441#action_253441 ] 

Evgeny Goldin edited comment on MNG-4977 at 1/28/11 8:19 PM:
-------------------------------------------------------------

Managed to grab headers again, before the sniffer crashed (1.png). Yes, the correct length is sent. Was running Maven 2.2.1< will try to reproduce it again with 3.0.2.

      was (Author: evgeny.goldin):
    Managed to grab headers again, before the sniffer crashed (1.png). Yes, the correct length is sent. Was running Maven 3.0.2.
  
> 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
>         Attachments: 1.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 contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MNG-4977) Both Maven 2 and 3 fail to retrieve a that is larger than Integer.MAX_VALUE

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
    [ 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

        

[jira] Commented: (MNG-4977) Both Maven 2 and 3 fail to retrieve a that is larger than Integer.MAX_VALUE

Posted by "Evgeny Goldin (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-4977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=253437#action_253437 ] 

Evgeny Goldin commented on MNG-4977:
------------------------------------

Hi Mark,

We use Artifactory and downloading over HTTP works Ok with it. I'll see what headers are sent in response when Maven is making a request for <dependency>.

> 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

        

[jira] (WAGON-381) Both Maven 2 and 3 fail to retrieve a that is larger than Integer.MAX_VALUE

Posted by "Ben Douglas (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/WAGON-381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=317433#comment-317433 ] 

Ben Douglas commented on WAGON-381:
-----------------------------------

I just attempted the 3.1 snapshot (build 320) and my download stalled again and gave me a bad md5 warning:

{noformat}
bdouglas@gambit templates$ /opt/apache-maven-3.1-SNAPSHOT/bin/mvn --version
Apache Maven 3.1-SNAPSHOT (rNON-CANONICAL_2012-12-01_03-31_jenkins; 2012-11-30 22:31:54-0500)
Maven home: /opt/apache-maven-3.1-SNAPSHOT
Java version: 1.6.0_33, vendor: Sun Microsystems Inc.
Java home: /opt/jdk1.6.0_33/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.6.11-1.fc17.x86_64", arch: "amd64", family: "unix"
bdouglas@gambit templates$
{noformat}

The checksum failing is when the artifact is only the Integer.MAX_VALUE size

{noformat}
[INFO] Configured Artifact: org.centos:CentOS-6.3-x86_64-bin-DVD1:1.0:iso
[DEBUG] Using connector WagonRepositoryConnector with priority 0 for http://xxxxx.com/artifactory/libs-release
Downloading: http://xxxxx.com/artifactory/libs-release/org/centos/CentOS-6.3-x86_64-bin-DVD1/1.0/CentOS-6.3-x86_64-bin-DVD1-1.0.iso
[WARNING] Checksum validation failed, expected eaa52f3d1ccf2df3b03e064fb0fa6168be28a4d4 but is 249cf446611db34ad8006bbdb99397c2a4bc201a for http://xxxxx.com/artifactory/libs-release/org/centos/CentOS-6.3-x86_64-bin-DVD1/1.0/CentOS-6.3-x86_64-bin-DVD1-1.0.iso
{noformat}

                
> 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.3
>
>         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: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (WAGON-381) Both Maven 2 and 3 fail to retrieve a that is larger than Integer.MAX_VALUE

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/WAGON-381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=313491#comment-313491 ] 

Olivier Lamy commented on WAGON-381:
------------------------------------

must be fixed with https://git-wip-us.apache.org/repos/asf/maven-wagon/repo?p=maven-wagon.git;a=commit;h=b8ca4254b1f5a828e7b1347c49b5f14bbb59e30b
You can try last maven 3.1 snapshot available here https://builds.apache.org/view/M-R/view/Maven/job/maven-3.0.x/
@since build #365
                
> 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
>             Fix For: 2.3
>
>         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: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MNG-4977) Both Maven 2 and 3 fail to retrieve a that is larger than Integer.MAX_VALUE

Posted by "Mark Struberg (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-4977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=253432#action_253432 ] 

Mark Struberg commented on MNG-4977:
------------------------------------

which servlet engine is your corporate maven repository using? Not sure if this is a maven problem or a problem of the repo manager (sending the wrong size). We would need to test this with downloading from a plane httpd.

> 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

        

[jira] Updated: (MNG-4977) Both Maven 2 and 3 fail to retrieve a that is larger than Integer.MAX_VALUE

Posted by "Evgeny Goldin (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-4977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Evgeny Goldin updated MNG-4977:
-------------------------------

    Attachment: 1.png

> 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
>         Attachments: 1.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 contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MNG-4977) Both Maven 2 and 3 fail to retrieve a that is larger than Integer.MAX_VALUE

Posted by "Evgeny Goldin (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-4977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Evgeny Goldin updated MNG-4977:
-------------------------------

    Attachment: 2.png

> 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
>         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 contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MNG-4977) Both Maven 2 and 3 fail to retrieve a that is larger than Integer.MAX_VALUE

Posted by "Evgeny Goldin (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-4977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=253441#action_253441 ] 

Evgeny Goldin commented on MNG-4977:
------------------------------------

Managed to grab headers again, before the sniffer crashed (1.png). Yes, the correct length is sent.

> 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
>         Attachments: 1.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 contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MNG-4977) Both Maven 2 and 3 fail to retrieve a that is larger than Integer.MAX_VALUE

Posted by "Evgeny Goldin (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-4977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=253438#action_253438 ] 

Evgeny Goldin commented on MNG-4977:
------------------------------------

I tried to sniff the headers when dependency is sent but it's not that easy. IEInspector HTTP Analyzer crashes, WireShark freezes and I can't see the headers. But on one occasion before HTTP Analyzer crashed I saw the correct response length header was sent. I'll try to see if there are other ways to see the headers. May be you can also reproduce this problem and sniff the traffic with better tools or better machines than mine.

> 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

        

[jira] (WAGON-381) Both Maven 2 and 3 fail to retrieve a that is larger than Integer.MAX_VALUE

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/WAGON-381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=317856#comment-317856 ] 

Olivier Lamy commented on WAGON-381:
------------------------------------

only checksum fail but artifact is 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.3
>
>         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: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (WAGON-381) Both Maven 2 and 3 fail to retrieve a that is larger than Integer.MAX_VALUE

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/WAGON-381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy closed WAGON-381.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.3
         Assignee: Olivier Lamy
    
> 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.3
>
>         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: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Issue Comment Edited: (MNG-4977) Both Maven 2 and 3 fail to retrieve a that is larger than Integer.MAX_VALUE

Posted by "Evgeny Goldin (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-4977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=253441#action_253441 ] 

Evgeny Goldin edited comment on MNG-4977 at 1/28/11 8:19 PM:
-------------------------------------------------------------

Managed to grab headers again, before the sniffer crashed (1.png). Yes, the correct length is sent. Was running Maven 2.2.1, will try to reproduce it again with 3.0.2.

      was (Author: evgeny.goldin):
    Managed to grab headers again, before the sniffer crashed (1.png). Yes, the correct length is sent. Was running Maven 2.2.1< will try to reproduce it again with 3.0.2.
  
> 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
>         Attachments: 1.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 contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (WAGON-381) Both Maven 2 and 3 fail to retrieve a that is larger than Integer.MAX_VALUE

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/WAGON-381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy moved MNG-4977 to WAGON-381:
-----------------------------------------

           Complexity:   (was: Intermediate)
          Component/s:     (was: Dependencies)
                       wagon-http
    Affects Version/s:     (was: 3.0.2)
                       2.2
                  Key: WAGON-381  (was: MNG-4977)
              Project: Maven Wagon  (was: Maven 2 & 3)
    
> 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
>         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: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (WAGON-381) Both Maven 2 and 3 fail to retrieve a that is larger than Integer.MAX_VALUE

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/WAGON-381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=317860#comment-317860 ] 

Olivier Lamy commented on WAGON-381:
------------------------------------

ok I just need to find a way how to test that. 
As adding such huge file in the sources tree for unit test is impossible.
                
> 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.3
>
>         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: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (WAGON-381) Both Maven 2 and 3 fail to retrieve a that is larger than Integer.MAX_VALUE

Posted by "Ben Douglas (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/WAGON-381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=317858#comment-317858 ] 

Ben Douglas commented on WAGON-381:
-----------------------------------

No -- looking at the download information, it stopped downloading then checked the checksum, it failed, so it retried the download, and kept trying and only got as far at the ~1G each time, finally failing
                
> 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.3
>
>         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: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MNG-4977) Both Maven 2 and 3 fail to retrieve a that is larger than Integer.MAX_VALUE

Posted by "David McWhorter (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MNG-4977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=296003#comment-296003 ] 

David McWhorter commented on MNG-4977:
--------------------------------------

I have the same issue, using the latest maven 3.0.4.  Downloads exactly 2^31-1 bytes and then stops.  Also using artifactory to serve the artifact and downloading the artifact with wget works without problems.
                
> Both Maven 2 and 3 fail to retrieve a <dependency> that is larger than Integer.MAX_VALUE
> ----------------------------------------------------------------------------------------
>
>                 Key: MNG-4977
>                 URL: https://jira.codehaus.org/browse/MNG-4977
>             Project: Maven 2 & 3
>          Issue Type: Bug
>          Components: Dependencies
>    Affects Versions: 3.0.2
>            Reporter: Evgeny Goldin
>         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: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Issue Comment Edited: (MNG-4977) Both Maven 2 and 3 fail to retrieve a that is larger than Integer.MAX_VALUE

Posted by "Evgeny Goldin (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-4977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=253441#action_253441 ] 

Evgeny Goldin edited comment on MNG-4977 at 1/28/11 8:18 PM:
-------------------------------------------------------------

Managed to grab headers again, before the sniffer crashed (1.png). Yes, the correct length is sent. Was running Maven 3.0.2.

      was (Author: evgeny.goldin):
    Managed to grab headers again, before the sniffer crashed (1.png). Yes, the correct length is sent.
  
> 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
>         Attachments: 1.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 contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Issue Comment Edited: (MNG-4977) Both Maven 2 and 3 fail to retrieve a that is larger than Integer.MAX_VALUE

Posted by "Evgeny Goldin (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-4977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=253441#action_253441 ] 

Evgeny Goldin edited comment on MNG-4977 at 1/31/11 2:26 AM:
-------------------------------------------------------------

Managed to grab headers again, before the sniffer crashed (see images attached). Yes, the correct length is sent. Was running Maven 2.2.1 and 3.0.2.

      was (Author: evgeny.goldin):
    Managed to grab headers again, before the sniffer crashed (1.png). Yes, the correct length is sent. Was running Maven 2.2.1, will try to reproduce it again with 3.0.2.
  
> 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
>         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 contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira