From 17d379ca1be7b7b4d490cda39dcc1b30f5cb3bd3 Mon Sep 17 00:00:00 2001 From: Mick Semb Wever Date: Sat, 3 Apr 2021 02:06:46 +0200 Subject: [PATCH] Offline build mode When all dependencies are already in the local `~/.m2/repository/` we should not be needing an internet connection. ("Offline" mode should be automatic) patch by Mick Semb Wever; reviewed by Brandon Williams for CASSANDRA-16559 --- .build/build-resolver.xml | 77 +++++++++++++++++---------------------- build.xml | 30 +++++++++------ 2 files changed, 52 insertions(+), 55 deletions(-) diff --git a/.build/build-resolver.xml b/.build/build-resolver.xml index c725ad62d9..2a363060e1 100644 --- a/.build/build-resolver.xml +++ b/.build/build-resolver.xml @@ -18,46 +18,45 @@ ~ under the License. --> + xmlns:resolver="antlib:org.apache.maven.resolver.ant" + xmlns:if="ant:if" + xmlns:unless="ant:unless"> - + + + + + + - - + + + + - - - - - + - - + + Downloading Resolver ANT Tasks... + - + - - - Downloading Resolver ANT Tasks... - - + + Downloading jstackunit... + + @@ -145,7 +144,7 @@ - + @@ -156,24 +155,14 @@ - - - - - - - - - + - - - + - + @@ -193,17 +182,17 @@ - - + + - + - - + + diff --git a/build.xml b/build.xml index 19ad28c7e4..15f3219122 100644 --- a/build.xml +++ b/build.xml @@ -267,21 +267,15 @@ - - - - - - @@ -530,7 +524,9 @@ - + + + @@ -652,7 +648,10 @@ - + + + + @@ -725,6 +724,7 @@ + @@ -918,6 +918,10 @@ + + + + + + + + @@ -1070,7 +1078,7 @@ - + @@ -1267,7 +1275,7 @@ - +