Fixed pom to compile for Java 6