Enable to safely build jars with maven in parallel

This commit is contained in:
Joseph Garrone 2024-05-26 11:00:02 +02:00
parent c28caaa495
commit 332b1f74d9

View File

@ -272,7 +272,7 @@ export async function buildJar(params: {
await new Promise<void>((resolve, reject) =>
child_process.exec(
"mvn clean install",
`mvn clean install -Dmaven.repo.local=${pathJoin(keycloakifyBuildTmpDirPath, ".m2")}`,
{ cwd: keycloakifyBuildTmpDirPath },
error => {
if (error !== null) {