All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.atlassian.maven.plugins.jgitflow.provider.DefaultMavenSessionProvider Maven / Gradle / Ivy

There is a newer version: 1.0-m5.1
Show newest version
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