@Component(role=MavenProjectBuilder.class) @Deprecated public class DefaultMavenProjectBuilder extends Object implements MavenProjectBuilder
Constructor and Description |
---|
DefaultMavenProjectBuilder()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
MavenProject |
build(File pom,
ArtifactRepository localRepository,
ProfileManager profileManager)
Deprecated.
|
MavenProject |
build(File pom,
ProjectBuilderConfiguration configuration)
Deprecated.
|
MavenProject |
buildFromRepository(Artifact artifact,
List<ArtifactRepository> remoteRepositories,
ArtifactRepository localRepository)
Deprecated.
|
MavenProject |
buildFromRepository(Artifact artifact,
List<ArtifactRepository> remoteRepositories,
ArtifactRepository localRepository,
boolean allowStubModel)
Deprecated.
|
MavenProject |
buildFromRepository(Artifact artifact,
List<ArtifactRepository> remoteRepositories,
ProjectBuilderConfiguration configuration,
boolean allowStubModel)
Deprecated.
|
MavenProject |
buildStandaloneSuperProject(ArtifactRepository localRepository)
Deprecated.
|
MavenProject |
buildStandaloneSuperProject(ArtifactRepository localRepository,
ProfileManager profileManager)
Deprecated.
|
MavenProject |
buildStandaloneSuperProject(ProjectBuilderConfiguration configuration)
Deprecated.
This is used for pom-less execution like running archetype:generate.
|
MavenProject |
buildWithDependencies(File pom,
ArtifactRepository localRepository,
ProfileManager profileManager)
Deprecated.
|
MavenProject |
buildWithDependencies(File pom,
ArtifactRepository localRepository,
ProfileManager profileManager,
org.apache.maven.wagon.events.TransferListener transferListener)
Deprecated.
|
public MavenProject build(File pom, ProjectBuilderConfiguration configuration) throws ProjectBuildingException
build
in interface MavenProjectBuilder
ProjectBuildingException
public MavenProject build(File pom, ArtifactRepository localRepository, ProfileManager profileManager) throws ProjectBuildingException
build
in interface MavenProjectBuilder
ProjectBuildingException
public MavenProject buildFromRepository(Artifact artifact, List<ArtifactRepository> remoteRepositories, ProjectBuilderConfiguration configuration, boolean allowStubModel) throws ProjectBuildingException
ProjectBuildingException
public MavenProject buildFromRepository(Artifact artifact, List<ArtifactRepository> remoteRepositories, ArtifactRepository localRepository, boolean allowStubModel) throws ProjectBuildingException
buildFromRepository
in interface MavenProjectBuilder
ProjectBuildingException
public MavenProject buildFromRepository(Artifact artifact, List<ArtifactRepository> remoteRepositories, ArtifactRepository localRepository) throws ProjectBuildingException
buildFromRepository
in interface MavenProjectBuilder
ProjectBuildingException
public MavenProject buildStandaloneSuperProject(ProjectBuilderConfiguration configuration) throws ProjectBuildingException
buildStandaloneSuperProject
in interface MavenProjectBuilder
ProjectBuildingException
public MavenProject buildStandaloneSuperProject(ArtifactRepository localRepository) throws ProjectBuildingException
buildStandaloneSuperProject
in interface MavenProjectBuilder
ProjectBuildingException
public MavenProject buildStandaloneSuperProject(ArtifactRepository localRepository, ProfileManager profileManager) throws ProjectBuildingException
buildStandaloneSuperProject
in interface MavenProjectBuilder
ProjectBuildingException
public MavenProject buildWithDependencies(File pom, ArtifactRepository localRepository, ProfileManager profileManager, org.apache.maven.wagon.events.TransferListener transferListener) throws ProjectBuildingException, ArtifactResolutionException, ArtifactNotFoundException
buildWithDependencies
in interface MavenProjectBuilder
ProjectBuildingException
ArtifactResolutionException
ArtifactNotFoundException
public MavenProject buildWithDependencies(File pom, ArtifactRepository localRepository, ProfileManager profileManager) throws ProjectBuildingException, ArtifactResolutionException, ArtifactNotFoundException
buildWithDependencies
in interface MavenProjectBuilder
ProjectBuildingException
ArtifactResolutionException
ArtifactNotFoundException
Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.