Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 663 Bytes

File metadata and controls

21 lines (13 loc) · 663 Bytes

This project demonstrates how to do a multi-module CI friendly release management with Maven 3.2.1 and above.

It can be used without flattening plugin if it's modules are not used in other project dependencies.

Usage:

mvn clean deploy scm:tag -Drevision=$BUILD_NUMBER

or in case you want branch to be created together with tag

mvn clean deploy scm:tag scm:branch -Drevision=$BUILD_NUMBER

Inspired by Maven Release Plugin: Dead and Buried and Defining a central version in multi-module projects