Maven release almost nirvana

2019-02-28

Axel Fontaine had a number of posts on improving release for maven projects. His latest installment suggests releasing using:

mvn deploy scm:tag -Drevision=$BUILD_NUMBER

It is done without using release plugin which became possible with mvn 3.2.1+ that introduced continuous delivery friendly versions.

This leaves/creates two problems:

Sample multi-module project with flatten plugin is available here