Examples of buildStandaloneSuperProject()


Examples of org.apache.maven.project.MavenProjectBuilder.buildStandaloneSuperProject()

        MavenProjectBuilder projectBuilder = (MavenProjectBuilder) lookup( MavenProjectBuilder.ROLE );

        MavenProject mavenProject;
    try
    {
      mavenProject = projectBuilder.buildStandaloneSuperProject( localArtifactRepository, getProfileManager() );
    }
    catch (ProjectBuildingException e)
    {
            throw new BuildException( "Unable to create dummy Pom", e );
    }
View Full Code Here

Examples of org.apache.maven.project.MavenProjectBuilder.buildStandaloneSuperProject()

        builderConfig.setLocalRepository( localRepository );
        builderConfig.setGlobalProfileManager( getProfileManager() );

        try
        {
            MavenProject mavenProject = projectBuilder.buildStandaloneSuperProject(builderConfig);
            // if we don't null out these fields then the pom that will be created is at the super-pom's
            // GAV coordinates and we will not be able to inherit partial GAV coordinates from a parent GAV.
            mavenProject.setGroupId(null);
            mavenProject.setArtifactId(null);
            mavenProject.setVersion(null);
View Full Code Here

Examples of org.apache.maven.project.MavenProjectBuilder.buildStandaloneSuperProject()

        MavenProjectBuilder projectBuilder = (MavenProjectBuilder) lookup( MavenProjectBuilder.ROLE );

        MavenProject mavenProject;
        try
        {
            mavenProject = projectBuilder.buildStandaloneSuperProject( localArtifactRepository, getProfileManager() );
        }
        catch ( ProjectBuildingException e )
        {
            throw new BuildException( "Unable to create dummy Pom", e );
        }
View Full Code Here

Examples of org.apache.maven.project.MavenProjectBuilder.buildStandaloneSuperProject()

        builderConfig.setLocalRepository( localRepository );
        builderConfig.setGlobalProfileManager( getProfileManager() );

        try
        {
            return projectBuilder.buildStandaloneSuperProject( builderConfig );
        }
        catch ( ProjectBuildingException e )
        {
            throw new BuildException( "Unable to create dummy Pom", e );
        }
View Full Code Here

Examples of org.apache.maven.project.MavenProjectBuilder.buildStandaloneSuperProject()

        builderConfig.setLocalRepository( localRepository );
        builderConfig.setGlobalProfileManager( getProfileManager() );

        try
        {
            return projectBuilder.buildStandaloneSuperProject( builderConfig );
        }
        catch ( ProjectBuildingException e )
        {
            throw new BuildException( "Unable to create dummy Pom", e );
        }
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.