aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnstein Ressem <aressem@gmail.com>2018-07-18 12:34:37 +0200
committerGitHub <noreply@github.com>2018-07-18 12:34:37 +0200
commit25c426342e21fa529a7b0eeb4f6c70848976f0e8 (patch)
tree096d96e92f31cc6b5760796eccb0714e7541c808
parentf11a96bb8d0b600bc2b54e184c010129f7ecf1ba (diff)
parent6b2afabc58465f3313d4775634f4dc505ec13907 (diff)
Merge pull request #6415 from vespa-engine/aressem/single-threaded-plugin-compile
Maven install plugin fails when multiple maven plugins are installed …
-rwxr-xr-xbootstrap.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/bootstrap.sh b/bootstrap.sh
index 491f707d9f8..163834a78b1 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -26,7 +26,7 @@ else
fi
mvn_install() {
- mvn --quiet --batch-mode --threads 1.5C --no-snapshot-updates clean install -Dmaven.test.skip=true -Dmaven.javadoc.skip=true "$@"
+ mvn --quiet --batch-mode --no-snapshot-updates clean install -Dmaven.test.skip=true -Dmaven.javadoc.skip=true "$@"
}
# Generate vtag map
@@ -48,17 +48,17 @@ $top/dist/getversion.pl -M $top > $top/dist/vtag.map
echo "Downloading all dependencies. This may take a few minutes with an empty Maven cache."
(
cd container-dependency-versions
- mvn_install
+ mvn_install --threads 1.5C
)
(
cd parent
- mvn_install
+ mvn_install --threads 1.5C
)
-mvn_install -N
+mvn_install --threads 1.5C -N
# and build plugins first:
echo "Building Vespa Maven plugins."
-mvn_install -f maven-plugins/pom.xml
+mvn_install --threads 1 -f maven-plugins/pom.xml
# now everything else should just work with normal maven dependency resolution: