Package org.apache.maven.model.building

Examples of org.apache.maven.model.building.UrlModelSource


        // We have no POM file.
        //
        if ( request.getPom() == null )
        {
            ModelSource modelSource = new UrlModelSource( DefaultMaven.class.getResource( "project/standalone.xml" ) );
            MavenProject project =
                projectBuilder.build( modelSource, request.getProjectBuildingRequest() ).getProject();
            project.setExecutionRoot( true );
            projects.add( project );
            request.setProjectPresent( false );
View Full Code Here


        // We have no POM file.
        //
        if ( request.getPom() == null )
        {
            ModelSource modelSource = new UrlModelSource( DefaultMaven.class.getResource( "project/standalone.xml" ) );
            MavenProject project =
                projectBuilder.build( modelSource, request.getProjectBuildingRequest() ).getProject();
            project.setExecutionRoot( true );
            projects.add( project );
            request.setProjectPresent( false );
View Full Code Here

     */
    public ProjectBuildingResult buildStandaloneSuperProject( ProjectBuildingRequest config )
        throws ProjectBuildingException
    {
        ProjectBuildingResult result =
            build( null, new UrlModelSource( getClass().getResource( "standalone.xml" ) ), config );
        result.getProject().setExecutionRoot( true );
        return result;
    }
View Full Code Here

TOP

Related Classes of org.apache.maven.model.building.UrlModelSource

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.