From 3f40e1ca3c6166d4ce36d4ef34539286845e21fa Mon Sep 17 00:00:00 2001 From: Britta Weber Date: Wed, 26 Aug 2015 18:08:03 +0200 Subject: [PATCH] make sure JAVA_HOME is set before tests are run relates to #12961 --- pom.xml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index ceef389cd37..ca10b996f33 100644 --- a/pom.xml +++ b/pom.xml @@ -462,6 +462,7 @@ org.apache.maven.plugins maven-enforcer-plugin + 1.4.1 org.apache.maven.plugins @@ -526,7 +527,6 @@ org.apache.maven.plugins maven-enforcer-plugin - 1.4.1 enforce-versions @@ -561,6 +561,21 @@ display-info + + enforce-java-home-is-set + + enforce + + + + + JAVA_HOME + "JAVA_HOME must be set and point to the jdk to run the tests" + + + true + +