Package com.atlassian.maven.jgitflow.api

Examples of com.atlassian.maven.jgitflow.api.MavenReleaseStartExtension


    {
        ClassLoader oldClassloader = Thread.currentThread().getContextClassLoader();

        Thread.currentThread().setContextClassLoader(getClassloader(getClasspath()));
       
        MavenReleaseStartExtension extensionObject = (MavenReleaseStartExtension) getExtensionInstance(releaseStartExtension);
       
        ReleaseContext ctx = new ReleaseContext(getBasedir());
        ctx.setAutoVersionSubmodules(autoVersionSubmodules)
           .setInteractive(getSettings().isInteractiveMode())
           .setDefaultReleaseVersion(releaseVersion)
View Full Code Here


        if (null == extension || !MavenReleaseStartExtension.class.isAssignableFrom(extension.getClass()))
        {
            return;
        }

        MavenReleaseStartExtension startExtension = (MavenReleaseStartExtension) extension;
        try
        {
            BranchType type = branchHelper.getCurrentBranchType();

            switch (type)
            {
                case DEVELOP:
                    startExtension.onDevelopBranchVersionChange(newVersion, oldVersion, flow);
                    break;
            }
        }
        catch (Exception e)
        {
View Full Code Here

TOP

Related Classes of com.atlassian.maven.jgitflow.api.MavenReleaseStartExtension

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.