Fork me on GitHub

buildnumber:hgchangeset

Full name:

org.codehaus.mojo:buildnumber-maven-plugin:3.1.0:hgchangeset

Description:

Goal which sets project properties for changeSet and changeSetDate from the current Mercurial repository.

Attributes:

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

Optional Parameters

Name Type Since Description
<scmDirectory> File 1.0 Local directory to be used to issue SCM actions
Default value is: ${basedir}.
User property is: maven.changeSet.scmDirectory.
<skip> boolean 1.3 Whether to skip this execution.
Default value is: false.
User property is: maven.buildNumber.skip.
<useLastChangeSetInDirectory> Boolean 1.5 Forces to use last logged changeset/changesetDate from scmDirectory and not current repository changeset/changesetDate.
Default value is: false.
User property is: maven.buildNumber.useLastChangeSetInDirectory.

Parameter Details

<scmDirectory>

Local directory to be used to issue SCM actions
  • Type: java.io.File
  • Since: 1.0
  • Required: No
  • User Property: maven.changeSet.scmDirectory
  • Default: ${basedir}

<skip>

Whether to skip this execution.
  • Type: boolean
  • Since: 1.3
  • Required: No
  • User Property: maven.buildNumber.skip
  • Default: false

<useLastChangeSetInDirectory>

Forces to use last logged changeset/changesetDate from scmDirectory and not current repository changeset/changesetDate.
  • Type: java.lang.Boolean
  • Since: 1.5
  • Required: No
  • User Property: maven.buildNumber.useLastChangeSetInDirectory
  • Default: false