Fixed an error on the Java configuration on the pom file.