org.apache.maven.project
Class DefaultMavenProjectBuilder
java.lang.Object
org.apache.maven.project.DefaultMavenProjectBuilder
- All Implemented Interfaces:
- MavenProjectBuilder, org.codehaus.plexus.logging.LogEnabled
@Component(role=MavenProjectBuilder.class)
public class DefaultMavenProjectBuilder
- extends java.lang.Object
- implements MavenProjectBuilder, org.codehaus.plexus.logging.LogEnabled
- Version:
- $Id: DefaultMavenProjectBuilder.java 738128 2009-01-27 16:18:32Z bentmann $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
profilesBuilder
@Requirement
protected MavenProfilesBuilder profilesBuilder
artifactResolver
@Requirement
protected ArtifactResolver artifactResolver
artifactMetadataSource
@Requirement
protected ArtifactMetadataSource artifactMetadataSource
DefaultMavenProjectBuilder
public DefaultMavenProjectBuilder()
build
public MavenProject build(java.io.File project,
ArtifactRepository localRepository,
ProfileManager profileManager)
throws ProjectBuildingException
- Specified by:
build in interface MavenProjectBuilder
- Throws:
ProjectBuildingException
build
public MavenProject build(java.io.File projectDescriptor,
ProjectBuilderConfiguration config)
throws ProjectBuildingException
- Specified by:
build in interface MavenProjectBuilder
- Throws:
ProjectBuildingException
buildFromRepository
public MavenProject buildFromRepository(Artifact artifact,
java.util.List remoteArtifactRepositories,
ArtifactRepository localRepository,
boolean allowStubs)
throws ProjectBuildingException
- Specified by:
buildFromRepository in interface MavenProjectBuilder
- Throws:
ProjectBuildingException
buildFromRepository
public MavenProject buildFromRepository(Artifact artifact,
java.util.List remoteArtifactRepositories,
ArtifactRepository localRepository)
throws ProjectBuildingException
- Specified by:
buildFromRepository in interface MavenProjectBuilder
- Throws:
ProjectBuildingException
buildStandaloneSuperProject
public MavenProject buildStandaloneSuperProject(ProjectBuilderConfiguration config)
throws ProjectBuildingException
- This is used for pom-less execution like running archetype:generate.
I am taking out the profile handling and the interpolation of the base directory until we spec
this out properly.
- Specified by:
buildStandaloneSuperProject in interface MavenProjectBuilder
- Throws:
ProjectBuildingException
buildProjectWithDependencies
public MavenProjectBuildingResult buildProjectWithDependencies(java.io.File projectDescriptor,
ProjectBuilderConfiguration config)
throws ProjectBuildingException
- Specified by:
buildProjectWithDependencies in interface MavenProjectBuilder
- Throws:
ProjectBuildingException
enableLogging
public void enableLogging(org.codehaus.plexus.logging.Logger logger)
- Specified by:
enableLogging in interface org.codehaus.plexus.logging.LogEnabled
Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.