From 0447f956d2d92ecff62b740595258d25bc308231 Mon Sep 17 00:00:00 2001 From: Julien Dubois Date: Wed, 27 Sep 2017 16:21:02 +0200 Subject: [PATCH] Add a mutex on Yarn to try to fix the Travis build corruptions See https://github.com/yarnpkg/yarn/issues/683 --- generators/server/templates/_pom.xml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/generators/server/templates/_pom.xml b/generators/server/templates/_pom.xml index b59eb8a17656..287a250a41ed 100644 --- a/generators/server/templates/_pom.xml +++ b/generators/server/templates/_pom.xml @@ -1299,6 +1299,15 @@ ${frontend-maven-plugin.version} <%_ if (clientPackageManager === 'yarn') { _%> + + yarn install + + yarn + + + install --mutex file + + install node and yarn