pom.xml configuration to be able to release with java 8