|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MavenProjectBuilder
Field Summary | |
---|---|
static String |
ROLE
|
static String |
STANDALONE_SUPERPOM_ARTIFACTID
|
static String |
STANDALONE_SUPERPOM_GROUPID
|
static String |
STANDALONE_SUPERPOM_VERSION
|
Method Summary | |
---|---|
MavenProject |
build(File project,
ArtifactRepository localRepository,
ProfileManager globalProfileManager)
|
MavenProject |
build(File project,
ArtifactRepository localRepository,
ProfileManager globalProfileManager,
boolean checkDistributionManagementStatus)
|
MavenProject |
build(File pom,
ProjectBuilderConfiguration config)
|
MavenProject |
build(File pom,
ProjectBuilderConfiguration config,
boolean checkDistributionManagementStatus)
|
MavenProject |
buildFromRepository(Artifact artifact,
List remoteArtifactRepositories,
ArtifactRepository localRepository)
Build the artifact from the local repository, resolving it if necessary. |
MavenProject |
buildFromRepository(Artifact artifact,
List remoteArtifactRepositories,
ArtifactRepository localRepository,
boolean allowStubModel)
Build the artifact from the local repository, resolving it if necessary. |
MavenProject |
buildStandaloneSuperProject(ArtifactRepository localRepository)
Deprecated. Use buildStandaloneSuperProject(ProjectBuilderConfiguration) instead. |
MavenProject |
buildStandaloneSuperProject(ArtifactRepository localRepository,
ProfileManager profileManager)
Deprecated. Use buildStandaloneSuperProject(ProjectBuilderConfiguration) instead. |
MavenProject |
buildStandaloneSuperProject(ProjectBuilderConfiguration config)
|
MavenProject |
buildWithDependencies(File project,
ArtifactRepository localRepository,
ProfileManager globalProfileManager)
|
MavenProject |
buildWithDependencies(File project,
ArtifactRepository localRepository,
ProfileManager globalProfileManager,
org.apache.maven.wagon.events.TransferListener transferListener)
|
void |
calculateConcreteState(MavenProject project,
ProjectBuilderConfiguration config)
Variant of calculateConcreteState(MavenProject, ProjectBuilderConfiguration, boolean)
which assumes that project references should be processed. |
void |
calculateConcreteState(MavenProject project,
ProjectBuilderConfiguration config,
boolean processReferences)
Up to this point, the build section of the POM remains uninterpolated except for the artifact coordinates it contains. |
Field Detail |
---|
static final String ROLE
static final String STANDALONE_SUPERPOM_GROUPID
static final String STANDALONE_SUPERPOM_ARTIFACTID
static final String STANDALONE_SUPERPOM_VERSION
Method Detail |
---|
MavenProject build(File project, ArtifactRepository localRepository, ProfileManager globalProfileManager) throws ProjectBuildingException
ProjectBuildingException
MavenProject build(File project, ArtifactRepository localRepository, ProfileManager globalProfileManager, boolean checkDistributionManagementStatus) throws ProjectBuildingException
ProjectBuildingException
MavenProject buildWithDependencies(File project, ArtifactRepository localRepository, ProfileManager globalProfileManager, org.apache.maven.wagon.events.TransferListener transferListener) throws ProjectBuildingException, ArtifactResolutionException, ArtifactNotFoundException
ProjectBuildingException
ArtifactResolutionException
ArtifactNotFoundException
MavenProject buildWithDependencies(File project, ArtifactRepository localRepository, ProfileManager globalProfileManager) throws ProjectBuildingException, ArtifactResolutionException, ArtifactNotFoundException
ProjectBuildingException
ArtifactResolutionException
ArtifactNotFoundException
MavenProject buildFromRepository(Artifact artifact, List remoteArtifactRepositories, ArtifactRepository localRepository) throws ProjectBuildingException
artifact
- the artifact descriptionlocalRepository
- the local repositoryremoteArtifactRepositories
- the remote repository list
ProjectBuildingException
MavenProject buildFromRepository(Artifact artifact, List remoteArtifactRepositories, ArtifactRepository localRepository, boolean allowStubModel) throws ProjectBuildingException
artifact
- the artifact descriptionlocalRepository
- the local repositoryremoteArtifactRepositories
- the remote repository listallowStubModel
- return a stub if the POM is not found
ProjectBuildingException
MavenProject buildStandaloneSuperProject(ArtifactRepository localRepository) throws ProjectBuildingException
buildStandaloneSuperProject(ProjectBuilderConfiguration)
instead.
ProjectBuildingException
MavenProject buildStandaloneSuperProject(ArtifactRepository localRepository, ProfileManager profileManager) throws ProjectBuildingException
buildStandaloneSuperProject(ProjectBuilderConfiguration)
instead.
ProjectBuildingException
MavenProject buildStandaloneSuperProject(ProjectBuilderConfiguration config) throws ProjectBuildingException
ProjectBuildingException
MavenProject build(File pom, ProjectBuilderConfiguration config) throws ProjectBuildingException
ProjectBuildingException
MavenProject build(File pom, ProjectBuilderConfiguration config, boolean checkDistributionManagementStatus) throws ProjectBuildingException
ProjectBuildingException
void calculateConcreteState(MavenProject project, ProjectBuilderConfiguration config) throws ModelInterpolationException
calculateConcreteState(MavenProject, ProjectBuilderConfiguration, boolean)
which assumes that project references should be processed. This is provided for performance reasons, for cases
where you know all projects in the reactor will be processed, making traversal of project references unnecessary.
ModelInterpolationException
void calculateConcreteState(MavenProject project, ProjectBuilderConfiguration config, boolean processReferences) throws ModelInterpolationException
MavenProjectBuilder#restoreDynamicState(MavenProject, ProjectBuilderConfiguration, boolean)
method, this method allows expressions in these areas of the POM and project instance to
be reevaluated in the event that a mojo changes one the build-path values, or a project property.
ModelInterpolationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |