ggitflow:hotfix-finish

Full name:

com.dkirrane.maven.plugins:ggitflow-maven-plugin:1.5-SNAPSHOT:hotfix-finish

Description:

Merges a hotfix branch back into the develop and master branch and then creates a tag for the hotfix on master.

Attributes:

  • Requires a Maven project to be executed.
  • Executes as an aggregator plugin.

Optional Parameters

Name Type Since Description
allowSnapshots boolean 1.2 If true, the hotfix can still finish even if -SNAPSHOT dependencies exists in the pom.
Default value is: false.
User property is: allowSnapshots.
keep Boolean 1.2 If true, the branch will not be deleted after the merge.
Default value is: false.
User property is: keep.
msgPrefix String 1.2 Message prefix used for any commits made by this plugin.
User property is: msgPrefix.
msgSuffix String 1.2 Message suffix used for any commits made by this plugin.
User property is: msgSuffix.
prefixes Prefixes 1.2 Gitflow branches and prefixes to use.
Default value is: ${prefixes}.
pushHotfixes boolean 1.2 If true, the hotfix branch is pushed to the remote repository
Default value is: false.
User property is: pushHotfixes.
releaseProfiles String 1.2 Comma separated profiles to enable on deployment, in addition to active profiles for project execution.
User property is: releaseProfiles.
sign Boolean 1.2 If true, the hotfix tag will be signed.
Default value is: false.
User property is: sign.
signingkey String 1.2 The GNU Privacy Guard (GPG) private key used to sign the tag.
User property is: signingkey.
skipBuild Boolean 1.2 Skips any calls to mvn install
Default value is: false.
User property is: skipBuild.
skipDeploy Boolean 1.2 Skips any calls to mvn deploy
Default value is: false.
User property is: skipDeploy.
skipTests Boolean 1.2 Skips any tests during mvn install and mvn deploy
Default value is: false.
User property is: skipTests.
squash Boolean 1.2 If true, all commits to the branch will be squashed into a single commit before the merge.
Default value is: false.
User property is: squash.
useReleaseProfile Boolean 1.2 Whether to use the release profile that adds sources and javadoc to the released artifact, if appropriate. If set to true, the hotfix-finish will set the property "performRelease" to true, which activates the profile "release-profile", which is inherited from the super pom.
Default value is: true.
User property is: useReleaseProfile.

Parameter Details

allowSnapshots:

If true, the hotfix can still finish even if -SNAPSHOT dependencies exists in the pom.
  • Type: boolean
  • Since: 1.2
  • Required: No
  • User Property: allowSnapshots
  • Default: false

keep:

If true, the branch will not be deleted after the merge.
  • Type: java.lang.Boolean
  • Since: 1.2
  • Required: No
  • User Property: keep
  • Default: false

msgPrefix:

Message prefix used for any commits made by this plugin.
  • Type: java.lang.String
  • Since: 1.2
  • Required: No
  • User Property: msgPrefix

msgSuffix:

Message suffix used for any commits made by this plugin.
  • Type: java.lang.String
  • Since: 1.2
  • Required: No
  • User Property: msgSuffix

prefixes:

Gitflow branches and prefixes to use.
  • Type: com.dkirrane.maven.plugins.ggitflow.Prefixes
  • Since: 1.2
  • Required: No
  • Default: ${prefixes}

pushHotfixes:

If true, the hotfix branch is pushed to the remote repository
  • Type: boolean
  • Since: 1.2
  • Required: No
  • User Property: pushHotfixes
  • Default: false

releaseProfiles:

Comma separated profiles to enable on deployment, in addition to active profiles for project execution.
  • Type: java.lang.String
  • Since: 1.2
  • Required: No
  • User Property: releaseProfiles

sign:

If true, the hotfix tag will be signed.
  • Type: java.lang.Boolean
  • Since: 1.2
  • Required: No
  • User Property: sign
  • Default: false

signingkey:

The GNU Privacy Guard (GPG) private key used to sign the tag.
  • Type: java.lang.String
  • Since: 1.2
  • Required: No
  • User Property: signingkey

skipBuild:

Skips any calls to mvn install
  • Type: java.lang.Boolean
  • Since: 1.2
  • Required: No
  • User Property: skipBuild
  • Default: false

skipDeploy:

Skips any calls to mvn deploy
  • Type: java.lang.Boolean
  • Since: 1.2
  • Required: No
  • User Property: skipDeploy
  • Default: false

skipTests:

Skips any tests during mvn install and mvn deploy
  • Type: java.lang.Boolean
  • Since: 1.2
  • Required: No
  • User Property: skipTests
  • Default: false

squash:

If true, all commits to the branch will be squashed into a single commit before the merge.
  • Type: java.lang.Boolean
  • Since: 1.2
  • Required: No
  • User Property: squash
  • Default: false

useReleaseProfile:

Whether to use the release profile that adds sources and javadoc to the released artifact, if appropriate. If set to true, the hotfix-finish will set the property "performRelease" to true, which activates the profile "release-profile", which is inherited from the super pom.
  • Type: java.lang.Boolean
  • Since: 1.2
  • Required: No
  • User Property: useReleaseProfile
  • Default: true