com.atlassian.maven.jgitflow.api.StartProductionBranchExtension Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jgitflow-maven-api Show documentation
Show all versions of jgitflow-maven-api Show documentation
An API to allow maven projects to extend the jgitflow-maven-plugin
package com.atlassian.maven.jgitflow.api;
import com.atlassian.jgitflow.core.JGitFlowInfo;
import com.atlassian.maven.jgitflow.api.exception.MavenJGitFlowExtensionException;
public interface StartProductionBranchExtension extends MavenJGitFlowExtension
{
/**
* Called when the version changes on "topic" branches.
* These are release/hotfix/feature branches.
*
* This method is called AFTER the poms have been committed.
* Any changes made to the project within this method will need to also be committed within this method.
* A helper class is provided to make this easier. {@link com.atlassian.maven.jgitflow.api.util.JGitFlowCommitHelper}
*
* @throws com.atlassian.maven.jgitflow.api.exception.MavenJGitFlowExtensionException
*/
void onTopicBranchVersionChange(String newVersion, String oldVersion, JGitFlowInfo flow) throws MavenJGitFlowExtensionException;
}