Fixed pom.xml compliance with Java 1.7