Package org.apache.maven.project
Class DefaultMavenProjectBuilder
java.lang.Object
org.apache.maven.project.DefaultMavenProjectBuilder
- All Implemented Interfaces:
- MavenProjectBuilder
@Component(role=MavenProjectBuilder.class)
@Deprecated
public class DefaultMavenProjectBuilder
extends Object
implements MavenProjectBuilder
Deprecated.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild(File pom, ArtifactRepository localRepository, ProfileManager profileManager) Deprecated.build(File pom, ProjectBuilderConfiguration configuration) Deprecated.buildFromRepository(Artifact artifact, List<ArtifactRepository> remoteRepositories, ArtifactRepository localRepository) Deprecated.buildFromRepository(Artifact artifact, List<ArtifactRepository> remoteRepositories, ArtifactRepository localRepository, boolean allowStubModel) Deprecated.buildFromRepository(Artifact artifact, List<ArtifactRepository> remoteRepositories, ProjectBuilderConfiguration configuration, boolean allowStubModel) Deprecated.buildStandaloneSuperProject(ArtifactRepository localRepository) Deprecated.buildStandaloneSuperProject(ArtifactRepository localRepository, ProfileManager profileManager) Deprecated.buildStandaloneSuperProject(ProjectBuilderConfiguration configuration) Deprecated.This is used for pom-less execution like running archetype:generate.buildWithDependencies(File pom, ArtifactRepository localRepository, ProfileManager profileManager) Deprecated.buildWithDependencies(File pom, ArtifactRepository localRepository, ProfileManager profileManager, org.apache.maven.wagon.events.TransferListener transferListener) Deprecated.
- 
Constructor Details- 
DefaultMavenProjectBuilderpublic DefaultMavenProjectBuilder()Deprecated.
 
- 
- 
Method Details- 
buildpublic MavenProject build(File pom, ProjectBuilderConfiguration configuration) throws ProjectBuildingException Deprecated.- Specified by:
- buildin interface- MavenProjectBuilder
- Throws:
- ProjectBuildingException
 
- 
buildpublic MavenProject build(File pom, ArtifactRepository localRepository, ProfileManager profileManager) throws ProjectBuildingException Deprecated.- Specified by:
- buildin interface- MavenProjectBuilder
- Throws:
- ProjectBuildingException
 
- 
buildFromRepositorypublic MavenProject buildFromRepository(Artifact artifact, List<ArtifactRepository> remoteRepositories, ProjectBuilderConfiguration configuration, boolean allowStubModel) throws ProjectBuildingException Deprecated.- Throws:
- ProjectBuildingException
 
- 
buildFromRepositorypublic MavenProject buildFromRepository(Artifact artifact, List<ArtifactRepository> remoteRepositories, ArtifactRepository localRepository, boolean allowStubModel) throws ProjectBuildingException Deprecated.- Specified by:
- buildFromRepositoryin interface- MavenProjectBuilder
- Throws:
- ProjectBuildingException
 
- 
buildFromRepositorypublic MavenProject buildFromRepository(Artifact artifact, List<ArtifactRepository> remoteRepositories, ArtifactRepository localRepository) throws ProjectBuildingException Deprecated.- Specified by:
- buildFromRepositoryin interface- MavenProjectBuilder
- Throws:
- ProjectBuildingException
 
- 
buildStandaloneSuperProjectpublic MavenProject buildStandaloneSuperProject(ProjectBuilderConfiguration configuration) throws ProjectBuildingException Deprecated.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:
- buildStandaloneSuperProjectin interface- MavenProjectBuilder
- Throws:
- ProjectBuildingException
 
- 
buildStandaloneSuperProjectpublic MavenProject buildStandaloneSuperProject(ArtifactRepository localRepository) throws ProjectBuildingException Deprecated.- Specified by:
- buildStandaloneSuperProjectin interface- MavenProjectBuilder
- Throws:
- ProjectBuildingException
 
- 
buildStandaloneSuperProjectpublic MavenProject buildStandaloneSuperProject(ArtifactRepository localRepository, ProfileManager profileManager) throws ProjectBuildingException Deprecated.- Specified by:
- buildStandaloneSuperProjectin interface- MavenProjectBuilder
- Throws:
- ProjectBuildingException
 
- 
buildWithDependenciespublic MavenProject buildWithDependencies(File pom, ArtifactRepository localRepository, ProfileManager profileManager, org.apache.maven.wagon.events.TransferListener transferListener) throws ProjectBuildingException, ArtifactResolutionException, ArtifactNotFoundException Deprecated.- Specified by:
- buildWithDependenciesin interface- MavenProjectBuilder
- Throws:
- ProjectBuildingException
- ArtifactResolutionException
- ArtifactNotFoundException
 
- 
buildWithDependenciespublic MavenProject buildWithDependencies(File pom, ArtifactRepository localRepository, ProfileManager profileManager) throws ProjectBuildingException, ArtifactResolutionException, ArtifactNotFoundException Deprecated.- Specified by:
- buildWithDependenciesin interface- MavenProjectBuilder
- Throws:
- ProjectBuildingException
- ArtifactResolutionException
- ArtifactNotFoundException
 
 
-