Package org.apache.maven.continuum.release

Examples of org.apache.maven.continuum.release.DefaultReleaseManagerListener


    }

    public void releaseRollback( String releaseId, int projectId )
        throws ContinuumReleaseException
    {
        ContinuumReleaseManagerListener listener = new DefaultReleaseManagerListener();

        releaseManager.rollback( releaseId, buildAgentConfigurationService.getWorkingDirectory( projectId ).getPath(), listener );

        //recurse until rollback is finished
        while ( listener.getState() != ContinuumReleaseManagerListener.FINISHED )
        {
            try
            {
                Thread.sleep( 1000 );
            }
View Full Code Here


                return ERROR;
            }
        }
        else
        {
            listener = new DefaultReleaseManagerListener();

            String workingDirectory = getContinuum().getWorkingDirectory( projectId ).getPath();

            ContinuumReleaseManager releaseManager = getContinuum().getReleaseManager();
View Full Code Here

                return ERROR;
            }
        }
        else
        {
            listener = new DefaultReleaseManagerListener();
   
            ContinuumReleaseManager releaseManager = getContinuum().getReleaseManager();

            //todo should be configurable
            File performDirectory = new File( getContinuum().getConfiguration().getWorkingDirectory(),
View Full Code Here

        }
        else
        {
            ContinuumReleaseManager releaseManager = getContinuum().getReleaseManager();
   
            ContinuumReleaseManagerListener listener = new DefaultReleaseManagerListener();
   
            Project project = getContinuum().getProject( projectId );
   
            releaseManager.rollback( releaseId, workingDirectoryService.getWorkingDirectory( project ).getPath(), listener );
   
            //recurse until rollback is finished
            while ( listener.getState() != ContinuumReleaseManagerListener.FINISHED )
            {
                try
                {
                    Thread.sleep( 1000 );
                }
View Full Code Here

    public void releasePerform( String releaseId, String goals, String arguments, boolean useReleaseProfile,
                                Map repository )
        throws ContinuumReleaseException
    {
        ContinuumReleaseManagerListener listener = new DefaultReleaseManagerListener();

        LocalRepository repo = null;

        if ( !repository.isEmpty() )
        {
View Full Code Here

    }

    public void releaseRollback( String releaseId, int projectId )
        throws ContinuumReleaseException
    {
        ContinuumReleaseManagerListener listener = new DefaultReleaseManagerListener();

        releaseManager.rollback( releaseId, buildAgentConfigurationService.getWorkingDirectory( projectId ).getPath(),
                                 listener );

        //recurse until rollback is finished
        while ( listener.getState() != ContinuumReleaseManagerListener.FINISHED )
        {
            try
            {
                Thread.sleep( 1000 );
            }
View Full Code Here

                return ERROR;
            }
        }
        else
        {
            listener = new DefaultReleaseManagerListener();
   
            ContinuumReleaseManager releaseManager = getContinuum().getReleaseManager();

            //todo should be configurable
            File performDirectory = new File( getContinuum().getConfiguration().getWorkingDirectory(),
View Full Code Here

    {
        Project project = getProject( projectMap );

        Properties releaseProperties = getReleaseProperties( properties );

        ContinuumReleaseManagerListener listener = new DefaultReleaseManagerListener();

        String workingDirectory = buildAgentConfigurationService.getWorkingDirectory( project.getId() ).getPath();

        String executable = buildAgentInstallationService.getExecutorConfigurator(
            BuildAgentInstallationService.MAVEN2_TYPE ).getExecutable();
View Full Code Here

        }
        else
        {
            ContinuumReleaseManager releaseManager = getContinuum().getReleaseManager();
   
            ContinuumReleaseManagerListener listener = new DefaultReleaseManagerListener();
   
            Project project = getContinuum().getProject( projectId );
   
            releaseManager.rollback( releaseId, workingDirectoryService.getWorkingDirectory( project ).getPath(), listener );
   
            //recurse until rollback is finished
            while ( listener.getState() != ContinuumReleaseManagerListener.FINISHED )
            {
                try
                {
                    Thread.sleep( 1000 );
                }
View Full Code Here

                return ERROR;
            }
        }
        else
        {
            listener = new DefaultReleaseManagerListener();

            String workingDirectory = getContinuum().getWorkingDirectory( projectId ).getPath();

            ContinuumReleaseManager releaseManager = getContinuum().getReleaseManager();
View Full Code Here

TOP

Related Classes of org.apache.maven.continuum.release.DefaultReleaseManagerListener

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.