...
NOTE: Confirm that pom-us.xml also gets versioned appropriately. If not, updated manually.
NOTE: you may notice the complexity of running versions:set twice. This is because of the split nature of the parent and aggregator modules. It is recommended in the future that parent project be merged into the aggregator and removed. Thant involves:
- Moving the dependencyManagement section from parent/pom.xml to pom.xml
- Moving the pluginManagement section from parent/pom.xml to pom.xml
- Removing "parent" from the modules list in pom.xml
- Updating pom.xml to remove the "<parent>" section at the top (it is now the parent)
- Also change pom.xml description to indicate that it is both parent and aggregator
- in particular, change the artifactId to be "...-parent" instead of "...-aggregator" (this is for the next part)
- update all other pom.xml files in submodules to change the relativePath to the parent module
- from "../parent" to ".."
- OR from "../../parent" to "../.."
Managing Hotfixes
Occasionally, only a select few commits from develop need to be deployed on production as a hotfix. In these cases, the full merging from develop to master is inappropriate, and the following steps should be followed instead:
References/Links
- n/a