Enable to safely build jars with maven in parallel
This commit is contained in:
parent
c28caaa495
commit
332b1f74d9
@ -272,7 +272,7 @@ export async function buildJar(params: {
|
|||||||
|
|
||||||
await new Promise<void>((resolve, reject) =>
|
await new Promise<void>((resolve, reject) =>
|
||||||
child_process.exec(
|
child_process.exec(
|
||||||
"mvn clean install",
|
`mvn clean install -Dmaven.repo.local=${pathJoin(keycloakifyBuildTmpDirPath, ".m2")}`,
|
||||||
{ cwd: keycloakifyBuildTmpDirPath },
|
{ cwd: keycloakifyBuildTmpDirPath },
|
||||||
error => {
|
error => {
|
||||||
if (error !== null) {
|
if (error !== null) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user