Fix pom's so that dist module isnt run unless its there and mojo dependency is determined in the root pom