Examples of MissingProjectException


Examples of com.cibuddy.core.build.MissingProjectException

                }
            } catch (URISyntaxException ex) {
                java.util.logging.Logger.getLogger(JenkinsServer.class.getName()).log(Level.SEVERE, null, ex);
            } catch (IOException e) {
                LOG.warn("Problem occured while checking Jenkins Server:"+requestURI);
                throw new MissingProjectException(projectName,e);
            }
           
        } catch (UnsupportedEncodingException ex) {
            LOG.warn("Couldn't encode project URL for Jenkins CI build server project called: "+projectName, ex);
        } catch (MalformedURLException ex) {
View Full Code Here

Examples of com.cibuddy.core.build.MissingProjectException

        if(server != null) {
            try {
                return server.getProject(pt.getId());
            } catch (Exception e) {
                LOG.warn(e.getMessage(), e);
                 throw new MissingProjectException(pt.getId());
            }
        }
        return null;
    }
View Full Code Here

Examples of com.cibuddy.core.build.MissingProjectException

        try {
            // http://travis-ci.org/cibuddy/cibuddy.json
            return getProject(projectName, null);
        } catch (IOException ioe) {
            LOG.warn("Problem occured while checking Travis Server:"+serveruri);
                throw new MissingProjectException(projectName, ioe);
        } catch (Exception ex) {
            LOG.warn("Trying to obtain "+projectName+" from "+serveruri.toString()+" failed.");
            throw (RuntimeException)ex;
        }
    }
View Full Code Here

Examples of org.apache.maven.lifecycle.MissingProjectException

        MojoDescriptor mojoDescriptor = mojoExecution.getMojoDescriptor();

        if ( mojoDescriptor.isProjectRequired() && !session.isUsingPOMsFromFilesystem() )
        {
            Throwable cause =
                new MissingProjectException( "Goal requires a project to execute"
                    + " but there is no POM in this directory (" + session.getExecutionRootDirectory() + ")."
                    + " Please verify you invoked Maven from the correct directory." );
            throw new LifecycleExecutionException( mojoExecution, null, cause );
        }
View Full Code Here

Examples of org.apache.maven.lifecycle.MissingProjectException

        }

        if ( mojoDescriptor.isProjectRequired() && !session.isUsingPOMsFromFilesystem() )
        {
            Throwable cause =
                new MissingProjectException( "Goal requires a project to execute"
                    + " but there is no POM in this directory (" + session.getExecutionRootDirectory() + ")."
                    + " Please verify you invoked Maven from the correct directory." );
            throw new LifecycleExecutionException( mojoExecution, null, cause );
        }
View Full Code Here

Examples of org.apache.maven.lifecycle.MissingProjectException

        }

        if ( mojoDescriptor.isProjectRequired() && !session.isUsingPOMsFromFilesystem() )
        {
            Throwable cause =
                new MissingProjectException( "Goal requires a project to execute"
                    + " but there is no POM in this directory (" + session.getExecutionRootDirectory() + ")."
                    + " Please verify you invoked Maven from the correct directory." );
            throw new LifecycleExecutionException( mojoExecution, null, cause );
        }
View Full Code Here

Examples of org.apache.maven.lifecycle.MissingProjectException

        try
        {
            if ( buildExecutionRequiresProject( session ) && projectIsNotPresent( session ) )
            {
                throw new MissingProjectException( "The goal you specified requires a project to execute"
                    + " but there is no POM in this directory (" + session.getExecutionRootDirectory() + ")."
                    + " Please verify you invoked Maven from the correct directory." );
            }

            List<TaskSegment> taskSegments = lifecycleTaskSegmentCalculator.calculateTaskSegments( session );
View Full Code Here

Examples of org.apache.maven.lifecycle.MissingProjectException

        }

        if ( mojoDescriptor.isProjectRequired() && !session.isUsingPOMsFromFilesystem() )
        {
            Throwable cause =
                new MissingProjectException( "Goal requires a project to execute"
                    + " but there is no POM in this directory (" + session.getExecutionRootDirectory() + ")."
                    + " Please verify you invoked Maven from the correct directory." );
            throw new LifecycleExecutionException( mojoExecution, null, cause );
        }
View Full Code Here

Examples of org.apache.maven.lifecycle.MissingProjectException

        try
        {
            if ( !session.isUsingPOMsFromFilesystem() && lifecycleTaskSegmentCalculator.requiresProject( session ) )
            {
                throw new MissingProjectException( "The goal you specified requires a project to execute"
                    + " but there is no POM in this directory (" + session.getExecutionRootDirectory() + ")."
                    + " Please verify you invoked Maven from the correct directory." );
            }

            final MavenExecutionRequest executionRequest = session.getRequest();
View Full Code Here

Examples of org.apache.maven.lifecycle.MissingProjectException

        MojoDescriptor mojoDescriptor = mojoExecution.getMojoDescriptor();

        if ( mojoDescriptor.isProjectRequired() && !session.isUsingPOMsFromFilesystem() )
        {
            Throwable cause =
                new MissingProjectException( "Goal requires a project to execute"
                    + " but there is no POM in this directory (" + session.getExecutionRootDirectory() + ")."
                    + " Please verify you invoked Maven from the correct directory." );
            throw new LifecycleExecutionException( mojoExecution, null, cause );
        }
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.