The main branch is the development branch. It is (for most projects) never released, only branched.
The pom.xml-version of the main branch is REL-<major>.<minor>-SNAPSHOT
Most POMS-projects are released from release branches (as is the practice at VPRO).
- NOTE
-
Some VPRO-projects are released directly from main. Normally these are quite inactive projects. These projects do not have a patch version. main is
REL-<major>.<minor>-SNAPSHOT
and a release areREL-<major>.<minor>
Release branches have a name according to this scheme: REL-<major>.<minor>-SNAPSHOT
The pom.xml-version of a release branch is REL-<major>.<minor>.<patch>-SNAPSHOT
A release branch can be created with the following github action: create branch. This will branch main, update the version in both this new branch (to include an initial patchversion .0
) and in main (to increase the minor version by one)
A release branch can be released via release. This results a tag with this scheme: REL-<major>.<minor>.<patch>
, and the artifacts are via sonatype published to maven central.
If this for some reason fails, it can be retried by triggering the normal maven build on the tag.
Something it is sufficient to manually 'release' repositories in https://oss.sonatype.org/#stagingRepositories (use credentials from 1password).