Class RollbackReleaseMojo

    • Field Detail

      • scmRollbackCommitComment

        @Parameter(defaultValue="@{prefix} rollback the release of @{releaseLabel}",
                   property="scmRollbackCommitComment")
        private java.lang.String scmRollbackCommitComment
        The SCM commit comment when rolling back. Defaults to "@{prefix} rollback the release of @{releaseLabel}".

        Property interpolation is performed on the value, but in order to ensure that the interpolation occurs during release, you must use @{...} to reference the properties rather than ${...}. The following properties are available:

        • prefix - The comment prefix.
        • groupId - The groupId of the root project.
        • artifactId - The artifactId of the root project.
        • releaseLabel - The release version of the root project.
        Since:
        3.0.0
    • Constructor Detail

      • RollbackReleaseMojo

        public RollbackReleaseMojo()
    • Method Detail

      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoExecutionException,
                            org.apache.maven.plugin.MojoFailureException
        Specified by:
        execute in interface org.apache.maven.plugin.Mojo
        Overrides:
        execute in class AbstractScmReleaseMojo
        Throws:
        org.apache.maven.plugin.MojoExecutionException
        org.apache.maven.plugin.MojoFailureException