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

com.atlassian.maven.plugins.jgitflow.extension.FeatureStartPluginExtension Maven / Gradle / Ivy

The newest version!
package com.atlassian.maven.plugins.jgitflow.extension;

import com.atlassian.jgitflow.core.extension.impl.EmptyFeatureStartExtension;
import com.atlassian.maven.plugins.jgitflow.extension.command.UpdateFeaturePomsWithSnapshotsCommand;

import org.codehaus.plexus.component.annotations.Component;
import org.codehaus.plexus.component.annotations.Requirement;

@Component(role = FeatureStartPluginExtension.class)
public class FeatureStartPluginExtension extends EmptyFeatureStartExtension implements InitializingExtension
{

    @Requirement
    private UpdateFeaturePomsWithSnapshotsCommand updateFeaturePomsWithSnapshotsCommand;


    @Override
    public void init()
    {
        addAfterCreateBranchCommands(updateFeaturePomsWithSnapshotsCommand);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy