pom.xml to Java 7