mavenExecutionHelper.execute(rootProject, featureSession, goal);
}
}
catch (MavenExecutorException e)
{
throw new MavenJGitFlowException("Error building: " + e.getMessage(), e);
}
}
//revert our local changes
flow.git().reset().setMode(ResetCommand.ResetType.HARD).call();
}
catch (JGitFlowException e)
{
throw new MavenJGitFlowException("Error finish feature: " + e.getMessage(), e);
}
catch (GitAPIException e)
{
throw new MavenJGitFlowException("Error finish feature: " + e.getMessage(), e);
}
catch (ReactorReloadException e)
{
throw new MavenJGitFlowException("Error finish feature: " + e.getMessage(), e);
}
finally
{
if (null != flow)
{