bewsoftware-version-plugin Maven Mojo

Configuration

These settings are available for both the build and release goals.

keep

To keep the current version number:
<keep>true</keep>

Can be useful when making a minor fix to a release version without incrementing the patch number. Or for testing a fix during development to see how the Release Build will be affected, but keeping the "-SNAPSHOT" extension in the version number.

skip

To skip an execution set this to true:
<skip>true</skip>

Default: false.

finalBaseNamePropertyName

Set the property name of the returned value for the final base filename string.

This is an alternative to the project.build.finalName property which in some parts of the running build, cannot be updated by this plugin. So, by using the property name you set here, you get the new filename version text that the finalName property is set to.

For example to set it to finalBaseName:
<finalBaseNamePropertyName>finalBaseName</finalBaseNamePropertyName>

which could then be used like this:
${project.build.directory}/${finalBaseName}.jar

Default: no default.