Fix build configuration for parallel builds

This commit is contained in:
Alexey Andreev 2021-10-14 11:06:36 +03:00
parent 1ef2d5d1c2
commit 04cbd07fb5
3 changed files with 31 additions and 2 deletions

View File

@ -52,14 +52,14 @@ function deploy_teavm {
-DgenerateBackupPoms=false \ -DgenerateBackupPoms=false \
|| { echo 'Setting version' ; return 1; } || { echo 'Setting version' ; return 1; }
mvn -e -V deploy \ mvn -T $TEAVM_DEPLOY_THREADS -e -V deploy \
--settings ../deploy-settings.xml \ --settings ../deploy-settings.xml \
-P with-idea -P with-cli -P deploy-to-teavm \ -P with-idea -P with-cli -P deploy-to-teavm \
-Dmaven.repo.local=`pwd`/../build-cache/maven-repository \ -Dmaven.repo.local=`pwd`/../build-cache/maven-repository \
-Dteavm.build.all=false \ -Dteavm.build.all=false \
-Dteavm.junit.optimized=false \ -Dteavm.junit.optimized=false \
-Dteavm.junit.js.decodeStack=false \ -Dteavm.junit.js.decodeStack=false \
-Dteavm.junit.threads=4 \ -Dteavm.junit.threads=$TEAVM_DEPLOY_TEST_THREADS \
-Dteavm.junit.js.runner=browser-chrome \ -Dteavm.junit.js.runner=browser-chrome \
|| { echo 'Deploy failed' ; return 1; } || { echo 'Deploy failed' ; return 1; }

View File

@ -37,6 +37,29 @@
<activeByDefault>true</activeByDefault> <activeByDefault>true</activeByDefault>
</activation> </activation>
<dependencies>
<dependency>
<groupId>org.teavm</groupId>
<artifactId>teavm-tooling</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.teavm</groupId>
<artifactId>teavm-devserver</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.teavm</groupId>
<artifactId>teavm-classlib</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.teavm</groupId>
<artifactId>teavm-chrome-rdp</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>

View File

@ -35,6 +35,12 @@
</properties> </properties>
<dependencies> <dependencies>
<dependency>
<groupId>org.teavm</groupId>
<artifactId>teavm-idea-artifacts</artifactId>
<version>${project.version}</version>
<type>pom</type>
</dependency>
<dependency> <dependency>
<groupId>org.teavm.idea</groupId> <groupId>org.teavm.idea</groupId>
<artifactId>openapi</artifactId> <artifactId>openapi</artifactId>