Package org.apache.maven.project

Examples of org.apache.maven.project.DefaultProjectBuilderConfiguration


     * @return
     */
    protected MavenProject createMinimalProject( ArtifactRepository localRepository )
    {
        MavenProjectBuilder projectBuilder = (MavenProjectBuilder) lookup( MavenProjectBuilder.ROLE );
        DefaultProjectBuilderConfiguration builderConfig = new DefaultProjectBuilderConfiguration( );
        builderConfig.setLocalRepository( localRepository );
        builderConfig.setGlobalProfileManager( getProfileManager() );

        try
        {
            return projectBuilder.buildStandaloneSuperProject( builderConfig );
        }
View Full Code Here


     *
     * @return
     */
    private ProjectBuilderConfiguration createProjectBuilderConfig( ArtifactRepository localArtifactRepository )
    {
        ProjectBuilderConfiguration builderConfig = new DefaultProjectBuilderConfiguration();
        builderConfig.setLocalRepository( localArtifactRepository );
        builderConfig.setGlobalProfileManager( this.getActivatedProfiles() );
        builderConfig.setUserProperties( getAntProjectProperties() );
        builderConfig.setExecutionProperties( getAntProjectProperties() );

        return builderConfig;
    }
View Full Code Here

TOP

Related Classes of org.apache.maven.project.DefaultProjectBuilderConfiguration

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.