Update distribution and remove form pom.xml some useless modules.