Modified the pom.xml to build against java 1.6