build.major=${major}
build.minor=${minor}
build.phase=${phase}
build.number=${number}
*****************************************************************************
*
* The Increment system was not initialized.
* It has now been initialized but it is required that Maven is restarted.
* Please make sure that the ${maven.increment.dir}/build.numbers contains
* the version numbers you intend to use.
*
*****************************************************************************
*****************************************************************************
*
* The Increment system was not initialized.
* It has now been initialized but it is required that Maven is restarted.
* Please make sure that the ${maven.increment.dir}/build.numbers contains
* the version numbers you intend to use.
*
*****************************************************************************
The 'Incrementor' is a versioning system, made specifically for
the Avalon project.
It uses a version format of;
MAJOR "." MINOR "." PHASE NUMBER
where PHASE is "dev-", "rc-", ""
To increment any of MAJOR, MINOR or PHASE, invoke the
increment:major
increment:minor
increment:phase
The NUMBER is incremented automatically when the artifact/project is
deployed to the central repository.
Whenever a position is incremented, all the position to its right are
reset to their respective start values.
MINOR=0
PHASE=dev-
NUMBER=0
Example of a cycle;
2.1.dev-34, 2.1.dev-35, 2.1.rc-0, 2.1.rc-1, 2.1.0, 2.1.1, 2.2.dev-0
Before start using it, one must invoke the
increment:initialize
or, if it is forgotten, it will do so automatically and require you to
restart Maven, since the pom.currentVersion can't be updated after
start.
The following properties are used (with their default values);
# This property must be set to true, to enable the Versioning system
maven.increment.enable = false
# The directory where the versioning information is persisted.
maven.increment.dir=${basedir}/versioning
# The directory where the versioning information is persisted.
maven.increment.central.entities=${basedir}/versioning
# If the version number data should be committed to CVS after a deploy.
maven.increment.commit=true