Little refactoring on Dockerfile and pom.xml

No match.