Update Java pom file for Java 7