summaryrefslogtreecommitdiffstats
path: root/bootstrap.sh
diff options
context:
space:
mode:
authorgjoranv <gjoranv@gmail.com>2023-08-28 20:16:09 +0200
committergjoranv <gjoranv@gmail.com>2023-08-29 11:31:30 +0200
commit027fafe9cceb669dbd93079a2c888f611d63c77d (patch)
tree455b77cab79e8df8f78c054587dd1ab195b8ccf3 /bootstrap.sh
parent7dc3b0223cdcc31f58d7c715d81894263c5caf36 (diff)
Move installed maven wrapper to vespa root dir.
Diffstat (limited to 'bootstrap.sh')
-rwxr-xr-xbootstrap.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/bootstrap.sh b/bootstrap.sh
index f73234eee5c..7df95b31d65 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -66,6 +66,12 @@ $top/dist/getversionmap.sh $top > $top/dist/vtag.map
# Set up maven wrapper. TODO: use here and in vespa build.
echo "Setting up maven wrapper in $(pwd)"
mvn wrapper:wrapper -Dmaven=3.8.8 -f maven-plugins/pom.xml
+rm -rf .mvn
+cp -r maven-plugins/.mvn maven-plugins/mvnw .
+rm -rf maven-plugins/.mvn
+rm -f maven-plugins/mvnw*
+echo "Using maven command: ${MAVEN_CMD}"
+${MAVEN_CMD} -v
# must install parent poms first:
echo "Downloading all dependencies. This may take a few minutes with an empty Maven cache."