Fix pom depencies, output dirs and versions