Fork me on GitHub

build-helper:released-version

Full name:

org.codehaus.mojo:build-helper-maven-plugin:3.0.0:released-version

Description:

Resolve the latest released version of this project. This mojo sets the following properties:
  [propertyPrefix].version
  [propertyPrefix].majorVersion
  [propertyPrefix].minorVersion
  [propertyPrefix].incrementalVersion
Where the propertyPrefix is the string set in the mojo parameter.

Attributes:

  • Requires a Maven project to be executed.
  • The goal is thread-safe and supports parallel builds.
  • Since version: 1.6.
  • Binds by default to the lifecycle phase: validate.

Optional Parameters

Name Type Since Description
propertyPrefix String 1.6 Prefix string to use for the set of version properties.
Default value is: releasedVersion.

Parameter Details

propertyPrefix:

Prefix string to use for the set of version properties.
  • Type: java.lang.String
  • Since: 1.6
  • Required: No
  • Default: releasedVersion