Parent pom for Java projects
The goal of the project is to configure Maven plugins in a standard way. Dependency management is out of scope.
- Make sure you're on the default branch and there are no pending changes
- Push a tag in the naming convention
vx.y.z
e.g.
mvn release:clean
mvn -DtagNameFormat='v@{project.version}' release:prepare
// alternatively to not push changes and also format the pom.xml again
mvn -DtagNameFormat='v@{project.version}' -DpushChanges=false -DcompletionGoals=validate release:prepare
mvn release:clean