Skip to content
This repository was archived by the owner on Oct 5, 2021. It is now read-only.

Commit 034d5e5

Browse files
ngrigorievAlexander Patrikalakis
authored andcommitted
Better handling of failed downloads
Switched to newer version of the download plugin which fails on incomplete downloads. Disabled cache polling for large server ZIP file and enabled overwriting of the target file.
1 parent 39d49b8 commit 034d5e5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pom.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<maven.failsafe.version>2.19.1</maven.failsafe.version>
2929
<maven.resources.plugin.version>2.7</maven.resources.plugin.version>
3030
<exec.maven.plugin.version>1.2</exec.maven.plugin.version>
31-
<download.maven.plugin.version>1.2.1</download.maven.plugin.version>
31+
<download.maven.plugin.version>1.3.0</download.maven.plugin.version>
3232
<slf4j.version>1.7.21</slf4j.version>
3333
<opencsv.version>3.8</opencsv.version>
3434
<metrics3.version>3.0.1</metrics3.version>
@@ -445,7 +445,9 @@
445445
<configuration>
446446
<url>https://github.com/JanusGraph/janusgraph/releases/download/v${janusgraph.version}/janusgraph-${janusgraph.version}-hadoop2.zip</url>
447447
<unpack>false</unpack>
448-
<outputDirectory>${project.build.directory}/../server</outputDirectory>
448+
<outputDirectory>${project.build.directory}/../server</outputDirectory>
449+
<skipCache>true</skipCache>
450+
<overwrite>true</overwrite>
449451
</configuration>
450452
</execution>
451453
</executions>

0 commit comments

Comments
 (0)