Examples of ContinuumReleaseException


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

            else
            {
                // call reload in case we disable the build agent
                distributedBuildManager.reload();

                throw new ContinuumReleaseException( "Failed to perform release of " + releaseId +
                                                         " because the build agent " + buildAgentUrl +
                                                         " is not available" );
            }
        }
        catch ( MalformedURLException e )
        {
            log.error( "Invalid build agent url " + buildAgentUrl );
            throw new ContinuumReleaseException( "Invalid build agent url " + buildAgentUrl );
        }
        catch ( Exception e )
        {
            log.error( "Failed to perform release of " + releaseId, e );
            throw new ContinuumReleaseException( "Failed to perform release of " + releaseId, e );
        }
    }
View Full Code Here

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

            }

            // call reload in case we disable the build agent
            distributedBuildManager.reload();

            throw new ContinuumReleaseException(
                "Failed to perform release because the build agent " + buildAgentUrl + " is not available" );
        }
        catch ( MalformedURLException e )
        {
            log.error( "Invalid build agent url " + buildAgentUrl );
            throw new ContinuumReleaseException( "Invalid build agent url " + buildAgentUrl );
        }
        catch ( Exception e )
        {
            log.error( "Failed to perform release", e );
            throw new ContinuumReleaseException( "Failed to perform release", e );
        }
    }
View Full Code Here

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

            }

            // call reload in case we disable the build agent
            distributedBuildManager.reload();

            throw new ContinuumReleaseException( "Unable to rollback release " + releaseId +
                                                     " because the build agent " + buildAgentUrl +
                                                     " is not available" );
        }
        catch ( MalformedURLException e )
        {
            log.error( "Invalid build agent url " + buildAgentUrl );
            throw new ContinuumReleaseException( "Invalid build agent url " + buildAgentUrl );
        }
        catch ( Exception e )
        {
            log.error( "Unable to rollback release " + releaseId, e );
            throw new ContinuumReleaseException( e );
        }
    }
View Full Code Here

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

            }

            // call reload in case we disable the build agent
            distributedBuildManager.reload();

            throw new ContinuumReleaseException( "Failed to cleanup release of " + releaseId +
                                                     " because the build agent " + buildAgentUrl +
                                                     " is not available" );
        }
        catch ( MalformedURLException e )
        {
            log.error( "Invalid build agent url " + buildAgentUrl );
            throw new ContinuumReleaseException( "Invalid build agent url " + buildAgentUrl );
        }
        catch ( Exception e )
        {
            log.error( "Failed to cleanup release of " + releaseId, e );
            throw new ContinuumReleaseException( "Failed to cleanup release of " + releaseId, e );
        }
    }
View Full Code Here

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

                        }
                    }
                    catch ( MalformedURLException e )
                    {
                        log.error( "Invalid build agent url " + buildAgentUrl );
                        throw new ContinuumReleaseException( "Invalid build agent url " + buildAgentUrl );
                    }
                    catch ( Exception e )
                    {
                        log.error( "Failed to get all releases in progress ", e );
                        throw new ContinuumReleaseException( "Failed to get all releases in progress ", e );
                    }
                }
            }

            releasesInProgress = releasesMap;
        }

        try
        {
            // call reload in case we disable a build agent
            distributedBuildManager.reload();
        }
        catch ( Exception e )
        {
            throw new ContinuumReleaseException( e.getMessage(), e );
        }

        return releases;
    }
View Full Code Here

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

                return model.getPreparedReleases();
            }
            catch ( IOException e )
            {
                log.error( e.getMessage(), e );
                throw new ContinuumReleaseException( "Unable to get prepared releases", e );
            }
            catch ( XMLStreamException e )
            {
                log.error( e.getMessage(), e );
                throw new ContinuumReleaseException( e.getMessage(), e );
            }
            finally
            {
                if ( fis != null )
                {
View Full Code Here

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

            writer.write( fileWriter, model );
            fileWriter.flush();
        }
        catch ( IOException e )
        {
            throw new ContinuumReleaseException( "Failed to write prepared releases in file", e );
        }
        catch ( XMLStreamException e )
        {
            throw new ContinuumReleaseException( "Failed to write prepared releases in file", e );
        }
        finally
        {
            IOUtil.close( fileWriter );
        }
View Full Code Here

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

        {
            reactorProjects = new ProjectSorter( reactorProjects ).getSortedProjects();
        }
        catch ( CycleDetectedException e )
        {
            throw new ContinuumReleaseException( "Failed to sort projects.", e );
        }
        catch ( DuplicateProjectException e )
        {
            throw new ContinuumReleaseException( "Failed to sort projects.", e );
        }

        return reactorProjects;
    }
View Full Code Here

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

                addModules( reactorProjects, reactorProject );
            }
            catch ( ProjectBuildingException e )
            {
                throw new ContinuumReleaseException( "Failed to build project.", e );
            }
        }
    }
View Full Code Here

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

            project = projectBuilder.build( getProjectDescriptorFile( descriptor ), getLocalRepository(),
                                            getProfileManager( settings ) );
        }
        catch ( ProjectBuildingException e )
        {
            throw new ContinuumReleaseException( "Failed to build project.", e );
        }

        return project;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.