Fix parent and formatting issues in the pom.xml files.