RenamePackages renamePackagesTool = new RenamePackages(project.getGroupId());
if (project.hasParent()) {
renamePackagesTool.setBaseDir(project.getBasedir() + "/src");
}
renamePackagesTool.execute();
}
// when performing full-source on a modular project, add the properties to the root pom.xml at the end
if (project.getPackaging().equals("war") && project.hasParent()) {
// store sorted properties in a thread local for later retrieval