Fixing distribution management in pom.xml files