com.atlassian.maven.plugins.jgitflow.provider.DefaultMavenSessionProvider 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
package com.atlassian.maven.plugins.jgitflow.provider;
import org.apache.maven.execution.MavenSession;
import org.codehaus.plexus.component.annotations.Component;
@Component(role = MavenSessionProvider.class)
public class DefaultMavenSessionProvider implements MavenSessionProvider
{
private static final DefaultMavenSessionProvider INSTANCE = new DefaultMavenSessionProvider();
private MavenSession session;
@Override
public MavenSession getSession()
{
return INSTANCE.session;
}
@Override
public void setSession(MavenSession session)
{
INSTANCE.session = session;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy