diff --git a/spring-boot-deployment-tests/pom.xml b/spring-boot-deployment-tests/pom.xml
index af27f3be1e1..bdbf6417962 100644
--- a/spring-boot-deployment-tests/pom.xml
+++ b/spring-boot-deployment-tests/pom.xml
@@ -20,7 +20,7 @@
${basedir}/..
1.7
300000
- ${user.home}/.cargo/installs
+ ${java.io.tmpdir}/cargo/installs
spring-boot-deployment-test-tomee