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 Summary
-
Method Summary
Modifier 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
-
DefaultMavenProjectBuilder
public DefaultMavenProjectBuilder()Deprecated.
-
-
Method Details
-
build
public MavenProject build(File pom, ProjectBuilderConfiguration configuration) throws ProjectBuildingException Deprecated.- Specified by:
build
in interfaceMavenProjectBuilder
- Throws:
ProjectBuildingException
-
build
public MavenProject build(File pom, ArtifactRepository localRepository, ProfileManager profileManager) throws ProjectBuildingException Deprecated.- Specified by:
build
in interfaceMavenProjectBuilder
- Throws:
ProjectBuildingException
-
buildFromRepository
public MavenProject buildFromRepository(Artifact artifact, List<ArtifactRepository> remoteRepositories, ProjectBuilderConfiguration configuration, boolean allowStubModel) throws ProjectBuildingException Deprecated.- Throws:
ProjectBuildingException
-
buildFromRepository
public MavenProject buildFromRepository(Artifact artifact, List<ArtifactRepository> remoteRepositories, ArtifactRepository localRepository, boolean allowStubModel) throws ProjectBuildingException Deprecated.- Specified by:
buildFromRepository
in interfaceMavenProjectBuilder
- Throws:
ProjectBuildingException
-
buildFromRepository
public MavenProject buildFromRepository(Artifact artifact, List<ArtifactRepository> remoteRepositories, ArtifactRepository localRepository) throws ProjectBuildingException Deprecated.- Specified by:
buildFromRepository
in interfaceMavenProjectBuilder
- Throws:
ProjectBuildingException
-
buildStandaloneSuperProject
public 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:
buildStandaloneSuperProject
in interfaceMavenProjectBuilder
- Throws:
ProjectBuildingException
-
buildStandaloneSuperProject
public MavenProject buildStandaloneSuperProject(ArtifactRepository localRepository) throws ProjectBuildingException Deprecated.- Specified by:
buildStandaloneSuperProject
in interfaceMavenProjectBuilder
- Throws:
ProjectBuildingException
-
buildStandaloneSuperProject
public MavenProject buildStandaloneSuperProject(ArtifactRepository localRepository, ProfileManager profileManager) throws ProjectBuildingException Deprecated.- Specified by:
buildStandaloneSuperProject
in interfaceMavenProjectBuilder
- Throws:
ProjectBuildingException
-
buildWithDependencies
public MavenProject buildWithDependencies(File pom, ArtifactRepository localRepository, ProfileManager profileManager, org.apache.maven.wagon.events.TransferListener transferListener) throws ProjectBuildingException, ArtifactResolutionException, ArtifactNotFoundException Deprecated.- Specified by:
buildWithDependencies
in interfaceMavenProjectBuilder
- Throws:
ProjectBuildingException
ArtifactResolutionException
ArtifactNotFoundException
-
buildWithDependencies
public MavenProject buildWithDependencies(File pom, ArtifactRepository localRepository, ProfileManager profileManager) throws ProjectBuildingException, ArtifactResolutionException, ArtifactNotFoundException Deprecated.- Specified by:
buildWithDependencies
in interfaceMavenProjectBuilder
- Throws:
ProjectBuildingException
ArtifactResolutionException
ArtifactNotFoundException
-