jgit-buildnumber:extract-buildnumber

Full name:

ru.concerteza.buildnumber:maven-jgit-buildnumber-plugin:1.2.9:extract-buildnumber

Description:

Goal which creates build number.

Attributes:

  • Requires a Maven project to be executed.
  • Binds by default to the lifecycle phase: prepare-package.

Optional Parameters

Name Type Since Description
branchProperty String - Branch property name
User property is: branchProperty.
buildnumberProperty String - Buildnumber property name
User property is: buildnumberProperty.
commitsCountProperty String - Commits count property name
User property is: commitsCountProperty.
javaScriptBuildnumberCallback String - Java Script buildnumber callback
User property is: javaScriptBuildnumberCallback.
parentProperty String - Parent property name
User property is: parentProperty.
repositoryDirectory File - Directory to start searching git root from, should contain '.git' directory or be a subdirectory of such directory. '${project.basedir}' is used by default.
Default value is: ${project.basedir}.
User property is: repositoryDirectory.
revisionProperty String - Revision property name
User property is: revisionProperty.
runOnlyAtExecutionRoot boolean - Setting this parameter to 'false' allows to execute plugin in every submodule, not only in root one.
Default value is: true.
User property is: runOnlyAtExecutionRoot.
shortRevisionProperty String - Short revision property name
User property is: shortRevisionProperty.
tagProperty String - Tag property name
User property is: tagProperty.

Parameter Details

branchProperty:

Branch property name
  • Type: java.lang.String
  • Required: No
  • User Property: branchProperty

buildnumberProperty:

Buildnumber property name
  • Type: java.lang.String
  • Required: No
  • User Property: buildnumberProperty

commitsCountProperty:

Commits count property name
  • Type: java.lang.String
  • Required: No
  • User Property: commitsCountProperty

javaScriptBuildnumberCallback:

Java Script buildnumber callback
  • Type: java.lang.String
  • Required: No
  • User Property: javaScriptBuildnumberCallback

parentProperty:

Parent property name
  • Type: java.lang.String
  • Required: No
  • User Property: parentProperty

repositoryDirectory:

Directory to start searching git root from, should contain '.git' directory or be a subdirectory of such directory. '${project.basedir}' is used by default.
  • Type: java.io.File
  • Required: No
  • User Property: repositoryDirectory
  • Default: ${project.basedir}

revisionProperty:

Revision property name
  • Type: java.lang.String
  • Required: No
  • User Property: revisionProperty

runOnlyAtExecutionRoot:

Setting this parameter to 'false' allows to execute plugin in every submodule, not only in root one.
  • Type: boolean
  • Required: No
  • User Property: runOnlyAtExecutionRoot
  • Default: true

shortRevisionProperty:

Short revision property name
  • Type: java.lang.String
  • Required: No
  • User Property: shortRevisionProperty

tagProperty:

Tag property name
  • Type: java.lang.String
  • Required: No
  • User Property: tagProperty