Fork me on GitHub

Plugin Documentation

Goals available for this plugin:

Goal Description
gitflow:feature-finish The git flow feature finish mojo.
gitflow:feature-start The git flow feature start mojo.
gitflow:help Display help information on gitflow-maven-plugin.
Call mvn gitflow:help -Ddetail=true -Dgoal=<goal-name> to display parameter details.
gitflow:hotfix-finish The git flow hotfix finish mojo.
gitflow:hotfix-start The git flow hotfix start mojo.
gitflow:release The git flow release mojo.
gitflow:release-finish The git flow release finish mojo.
gitflow:release-start The git flow release start mojo.
gitflow:support-start The git flow support start mojo.
gitflow:version-update Updates version in release or support branch, optionally tagging and pushing it to the remote repository.

System Requirements

The following specifies the minimum requirements to run this Maven plugin:

Maven 3.9.4
JDK 1.8

Usage

You should specify the version in your project's plugin configuration:

<project>
  ...
  <build>
    <!-- To define the plugin version in your parent POM -->
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>com.amashchenko.maven.plugin</groupId>
          <artifactId>gitflow-maven-plugin</artifactId>
          <version>1.21.0</version>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>com.amashchenko.maven.plugin</groupId>
        <artifactId>gitflow-maven-plugin</artifactId>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

For more information, see "Guide to Configuring Plug-ins"