summaryrefslogtreecommitdiffstats
path: root/bootstrap.sh
diff options
context:
space:
mode:
authorgjoranv <gjoranv@gmail.com>2023-08-28 15:43:33 +0200
committergjoranv <gjoranv@gmail.com>2023-08-29 11:31:30 +0200
commit7dc3b0223cdcc31f58d7c715d81894263c5caf36 (patch)
tree1beac98c6b71d039502b12c4a8e8014809330907 /bootstrap.sh
parent0d880c045c1ea2c328ee237cf79e0f4167170e08 (diff)
Use pom file for vespa/maven-plugins.
- Maven cannot resolve the root pom before plugins are built.
Diffstat (limited to 'bootstrap.sh')
-rwxr-xr-xbootstrap.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/bootstrap.sh b/bootstrap.sh
index 5c1953836ce..f73234eee5c 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -63,10 +63,9 @@ $top/dist/getversionmap.sh $top > $top/dist/vtag.map
# The 'default' mode also builds some modules needed by C++ code.
# The 'full' mode also builds modules needed by C++ tests.
-# Set up maven wrapper and output maven version
+# 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
-${MAVEN_CMD} -v
+mvn wrapper:wrapper -Dmaven=3.8.8 -f maven-plugins/pom.xml
# must install parent poms first:
echo "Downloading all dependencies. This may take a few minutes with an empty Maven cache."