String newArtifactId = null;
if (groupId.startsWith("org.argeo.dep")) {
newGroupId = "org.argeo.tp";
- } else if (!groupId.startsWith("org.argeo")) {
+ } else if (!(groupId.startsWith("org.argeo")
+ || groupId.startsWith("com.capco")
+ || groupId.startsWith("com.agfa") || groupId
+ .startsWith("org.ibboost"))) {
newGroupId = "org.argeo.tp";
}
}
if (wasChanged) {
-// pomFile.renameTo(new File(pomFile.getParentFile(),
-// "pom-old.xml"));
+ // pomFile.renameTo(new File(pomFile.getParentFile(),
+ // "pom-old.xml"));
// save in place
Source source = new DOMSource(doc);
Result result = new StreamResult(pomFile);
}
public static void main(String argv[]) {
- new ConvertPoms_01_03("/home/mbaudier/dev/src/commons").run();
+ new ConvertPoms_01_03(argv[0]).run();
}
}