diff --git a/pom.xml b/pom.xml
index 0af70625653..6e3730b9e9c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -958,14 +958,14 @@
org.apache.maven.plugins
maven-surefire-plugin
2.18.1
+
+ -Djava.security.egd=file:/dev/./urandom
+
org.apache.maven.plugins
maven-failsafe-plugin
2.18.1
-
- -Djava.security.egd=file:/dev/./urandom
-