Upgraded Maven configuration to Java 7