/git-rollback-maven-plugin

Provides a release rollback functionality that deletes git tags created by a maven release, rolls back the release and deletes any artifacts deployed as part of the release

Primary LanguageJavaApache License 2.0Apache-2.0

git-rollback-maven-plugin

Provides a release rollback functionality that deletes git tags created by a maven release, rolls back the release and deletes any artifacts deployed as part of the release

Usage

mvn release:prepare
...failure
mvn org.jclarity:git-rollback-maven-plugin:rollback

Alternatively to shorten the command, add the following to the pom.xml

  <build>
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.jclarity</groupId>
          <artifactId>git-rollback-maven-plugin</artifactId>
          <version>1.0</version>
        </plugin>
      </plugins>
    </pluginManagement>
  </build>

Then execute with mvn git-rollback:rollback