[pom] Fix distribution management