com.atlassian.maven.plugins.jgitflow.helper.MavenExecutionHelper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jgitflow-maven-plugin Show documentation
Show all versions of jgitflow-maven-plugin Show documentation
A maven plugin to support doing git-flow releases
The newest version!
package com.atlassian.maven.plugins.jgitflow.helper;
import java.io.IOException;
import com.atlassian.jgitflow.core.exception.JGitFlowException;
import com.atlassian.maven.plugins.jgitflow.exception.ReactorReloadException;
import org.apache.maven.execution.MavenSession;
import org.apache.maven.project.MavenProject;
import org.apache.maven.shared.release.exec.MavenExecutorException;
import org.eclipse.jgit.api.errors.GitAPIException;
/**
* @since version
*/
public interface MavenExecutionHelper
{
void execute(MavenProject rootProject, MavenSession session) throws MavenExecutorException;
void execute(MavenProject rootProject, MavenSession session, String goals) throws MavenExecutorException;
MavenSession reloadReactor(MavenProject rootProject, MavenSession oldSession) throws ReactorReloadException;
MavenSession getSessionForBranch(String branchName, MavenProject rootProject, MavenSession oldSession) throws JGitFlowException, IOException, GitAPIException, ReactorReloadException;
}