diff --git a/ant-phase-compile.xml b/ant-phase-compile.xml
index 1de76f7e2..097adfd69 100644
--- a/ant-phase-compile.xml
+++ b/ant-phase-compile.xml
@@ -7,10 +7,9 @@
-
diff --git a/pom.xml b/pom.xml
index febb64d29..9a7d119a0 100755
--- a/pom.xml
+++ b/pom.xml
@@ -152,6 +152,7 @@
3.4
1.7.0
${java.home}/../lib/tools.jar
+ 1.7
@@ -277,8 +278,8 @@
maven-compiler-plugin
2.3.2
- 1.7
- 1.7
+ ${java.version}
+ ${java.version}