It is currently a pain to keep both POM files in sync. For example, if you want to include a new PlantUML update, both the pom.xml and the pom.jdk8.xml have to be adjusted. (Of course this also applies to everything else within the POM files.)
For this reason I would like to suggest to use a parent POM, in which everything is written that applies to both POMs and only version specific changes are written to the corresponding (non parent) POMs. Thus, to stay with the PlantUML update example, the version property would only need to be adjusted inside the parent POM once.
@arnaudroques Is there anything that goes against this approach? Wouldn't it make your life easier :sweat_smile:
It is currently a pain to keep both POM files in sync. For example, if you want to include a new PlantUML update, both the
pom.xml
and thepom.jdk8.xml
have to be adjusted. (Of course this also applies to everything else within the POM files.)For this reason I would like to suggest to use a parent POM, in which everything is written that applies to both POMs and only version specific changes are written to the corresponding (non parent) POMs. Thus, to stay with the PlantUML update example, the version property would only need to be adjusted inside the parent POM once.
@arnaudroques Is there anything that goes against this approach? Wouldn't it make your life easier :sweat_smile: