Updated pom.xml to support Java 1.7.