You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Tony DeBat <to...@gmail.com> on 2012/04/18 16:08:53 UTC

Large artifact is truncated at 2GB

Hello, I've got a 6GB artifact. When I include it as a dependency in a
pom.xml file and run 'mvn install' it downloads exactly 2GB. Maven then
tells me that the checksum has failed.

... Downloading:
http://localhost:8080/artifactory/ext-release-local/data-noarch-novoindex-hg19/nix/data-noarch-novoindex-hg19.nix/2.7/data-noarch-novoindex-hg19.nix-2.7-1.0.0.jar[WARNING]
Checksum validation failed, expected
8a5fb3b00f2b31f4a74f33f44f1cbc8c44cc2506 but is
5fb087edb1f31b9e5ed9ea660d3b5250f1bfcc01 for
http://localhost:8080/artifactory/ext-release-local/data-noarch-novoindex-hg19/nix/data-noarch-novoindex-hg19.nix/2.7/data-noarch-novoindex-hg19.nix-2.7-1.0.0.jar...

If I use wget or a web browser I can download the entire file. The
following succeeds:

wget
http://localhost:8080/artifactory/ext-release-local/data-noarch-novoindex-hg19/nix/data-noarch-novoindex-hg19.nix/2.7/data-noarch-novoindex-hg19.nix-2.7-1.0.0.jar

Why does the artifact get truncated at 2GB when using Maven to download it
from a repository? How can I make it work? Thanks, Tony
$ mvn -version Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
Maven home: /usr/share/maven Java version: 1.6.0_29, vendor: Apple Inc.
Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
Default locale: en_US, platform encoding: MacRoman OS name: "mac os x",
version: "10.7.3", arch: "x86_64", family: "mac"

$ java -version java version "1.6.0_29" Java(TM) SE Runtime Environment
(build 1.6.0_29-b11-402-11D50b) Java HotSpot(TM) 64-Bit Server VM (build
20.4-b02-402, mixed mode)
Artifactory Version: 2.5.1.1 Tomcat Version: 6.0.35