The following forum message was posted by tdebat at 
http://sourceforge.net/projects/artifactory/forums/forum/603429/topic/5171106:

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.

[code]
...
Downloading: http://localhost:8080/artifactory/ext-release-local/data-noarch-nov
oindex-hg19/nix/data-noarch-novoindex-hg19.nix/2.7/data-noarch-novoindex-hg19.ni
x-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-hg
19/nix/data-noarch-novoindex-hg19.nix/2.7/data-noarch-novoindex-hg19.nix-2.7-1.0
.0.jar
...
[/code]

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

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


Why does the artifact get truncated at 2GB when using Maven to download it from
Artifactory? How can I make it work?

Thanks,
Tony

Artifactory Version: 2.5.1.1

Tomcat Version: 6.0.35

$ 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)

$ 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"

------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to