Fix pom for repository build.
Update maven version