version:get-major-version

Full name:

org.kuali.maven.plugins:version-maven-plugin:1.0.0-SNAPSHOT:get-major-version

Description:

Stores the major version of the project as a property. The mojo assumes 3 digit versions eg "1.0.1" and counts "1.0" as the major version

Attributes:

  • Requires a Maven project to be executed.

Required Parameters

Name Type Since Description
majorVersionProperty String - The property where the major version will be stored
Default value is: majorVersion.

Parameter Details

majorVersionProperty:

The property where the major version will be stored
  • Type: java.lang.String
  • Required: Yes
  • Expression: ${version.majorVersion}
  • Default: majorVersion