From 04cbd07fb5f2bf77fb27d3871ced67eba5134c99 Mon Sep 17 00:00:00 2001 From: Alexey Andreev Date: Thu, 14 Oct 2021 11:06:36 +0300 Subject: [PATCH] Fix build configuration for parallel builds --- deploy.sh | 4 ++-- tools/idea/idea-artifacts/pom.xml | 23 +++++++++++++++++++++++ tools/idea/jps-common/pom.xml | 6 ++++++ 3 files changed, 31 insertions(+), 2 deletions(-) diff --git a/deploy.sh b/deploy.sh index 0f6b918bc..a19652424 100755 --- a/deploy.sh +++ b/deploy.sh @@ -52,14 +52,14 @@ function deploy_teavm { -DgenerateBackupPoms=false \ || { echo 'Setting version' ; return 1; } - mvn -e -V deploy \ + mvn -T $TEAVM_DEPLOY_THREADS -e -V deploy \ --settings ../deploy-settings.xml \ -P with-idea -P with-cli -P deploy-to-teavm \ -Dmaven.repo.local=`pwd`/../build-cache/maven-repository \ -Dteavm.build.all=false \ -Dteavm.junit.optimized=false \ -Dteavm.junit.js.decodeStack=false \ - -Dteavm.junit.threads=4 \ + -Dteavm.junit.threads=$TEAVM_DEPLOY_TEST_THREADS \ -Dteavm.junit.js.runner=browser-chrome \ || { echo 'Deploy failed' ; return 1; } diff --git a/tools/idea/idea-artifacts/pom.xml b/tools/idea/idea-artifacts/pom.xml index 592857f7f..0370b088b 100644 --- a/tools/idea/idea-artifacts/pom.xml +++ b/tools/idea/idea-artifacts/pom.xml @@ -37,6 +37,29 @@ true + + + org.teavm + teavm-tooling + ${project.version} + + + org.teavm + teavm-devserver + ${project.version} + + + org.teavm + teavm-classlib + ${project.version} + + + org.teavm + teavm-chrome-rdp + ${project.version} + + + diff --git a/tools/idea/jps-common/pom.xml b/tools/idea/jps-common/pom.xml index f8f9da12c..d16729ce7 100644 --- a/tools/idea/jps-common/pom.xml +++ b/tools/idea/jps-common/pom.xml @@ -35,6 +35,12 @@ + + org.teavm + teavm-idea-artifacts + ${project.version} + pom + org.teavm.idea openapi