Package | Description |
---|---|
org.apache.maven.execution | |
org.apache.maven.project |
Modifier and Type | Method and Description |
---|---|
ProjectBuildingRequest |
MavenSession.getProjectBuildingRequest() |
ProjectBuildingRequest |
MavenExecutionRequest.getProjectBuildingRequest() |
ProjectBuildingRequest |
DefaultMavenExecutionRequest.getProjectBuildingRequest() |
Modifier and Type | Method and Description |
---|---|
void |
DefaultMavenExecutionRequest.setProjectBuildingConfiguration(ProjectBuildingRequest projectBuildingConfiguration) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultProjectBuildingRequest
DefaultProjectBuildingRequest
|
Modifier and Type | Method and Description |
---|---|
ProjectBuildingRequest |
MavenProject.getProjectBuildingRequest()
Deprecated.
|
ProjectBuildingRequest |
ProjectBuildingRequest.setLocalRepository(ArtifactRepository localRepository) |
ProjectBuildingRequest |
DefaultProjectBuildingRequest.setLocalRepository(ArtifactRepository localRepository) |
ProjectBuildingRequest |
ProjectBuildingRequest.setPluginArtifactRepositories(List<ArtifactRepository> pluginArtifactRepositories) |
ProjectBuildingRequest |
DefaultProjectBuildingRequest.setPluginArtifactRepositories(List<ArtifactRepository> pluginArtifactRepositories) |
ProjectBuildingRequest |
ProjectBuildingRequest.setProcessPlugins(boolean processPlugins) |
ProjectBuildingRequest |
DefaultProjectBuildingRequest.setProcessPlugins(boolean processPlugins) |
ProjectBuildingRequest |
ProjectBuildingRequest.setRemoteRepositories(List<ArtifactRepository> remoteRepositories) |
ProjectBuildingRequest |
DefaultProjectBuildingRequest.setRemoteRepositories(List<ArtifactRepository> remoteRepositories) |
ProjectBuildingRequest |
ProjectBuildingRequest.setRepositoryMerging(ProjectBuildingRequest.RepositoryMerging mode)
Sets the merge mode used to combine repositories declared in the POM with the repositories specified in this
request.
|
ProjectBuildingRequest |
ProjectBuildingRequest.setRepositorySession(RepositorySystemSession repositorySession) |
ProjectBuildingRequest |
ProjectBuildingRequest.setResolveDependencies(boolean resolveDependencies) |
ProjectBuildingRequest |
DefaultProjectBuildingRequest.setResolveDependencies(boolean resolveDependencies) |
ProjectBuildingRequest |
ProjectBuildingRequest.setResolveVersionRanges(boolean value)
Deprecated.
This got added when implementing MNG-2199 and is no longer used.
Commit 6cf9320942c34bc68205425ab696b1712ace9ba4 updated the way 'MavenProject' objects are initialized.
|
ProjectBuildingRequest |
DefaultProjectBuildingRequest.setResolveVersionRanges(boolean value)
Deprecated.
This got added when implementing MNG-2199 and is no longer used.
Commit 6cf9320942c34bc68205425ab696b1712ace9ba4 updated the way 'MavenProject' objects are initialized.
|
ProjectBuildingRequest |
ProjectBuildingRequest.setSystemProperties(Properties systemProperties)
Sets the system properties to use for interpolation and profile activation.
|
ProjectBuildingRequest |
DefaultProjectBuildingRequest.setSystemProperties(Properties systemProperties) |
ProjectBuildingRequest |
ProjectBuildingRequest.setUserProperties(Properties userProperties)
Sets the user properties to use for interpolation and profile activation.
|
ProjectBuildingRequest |
DefaultProjectBuildingRequest.setUserProperties(Properties userProperties) |
ProjectBuildingRequest |
ProjectBuildingRequest.setValidationLevel(int validationLevel)
Controls the level of validation to perform on processed models.
|
ProjectBuildingRequest |
DefaultProjectBuildingRequest.setValidationLevel(int validationLevel) |
Modifier and Type | Method and Description |
---|---|
ProjectBuildingResult |
ProjectBuilder.build(Artifact projectArtifact,
boolean allowStubModel,
ProjectBuildingRequest request)
Builds a project descriptor for the specified artifact.
|
ProjectBuildingResult |
DefaultProjectBuilder.build(Artifact artifact,
boolean allowStubModel,
ProjectBuildingRequest request) |
ProjectBuildingResult |
ProjectBuilder.build(Artifact projectArtifact,
ProjectBuildingRequest request)
Builds a project descriptor for the specified artifact.
|
ProjectBuildingResult |
DefaultProjectBuilder.build(Artifact artifact,
ProjectBuildingRequest request) |
ProjectBuildingResult |
ProjectBuilder.build(File projectFile,
ProjectBuildingRequest request)
Builds a project descriptor from the specified POM file.
|
ProjectBuildingResult |
DefaultProjectBuilder.build(File pomFile,
ProjectBuildingRequest request) |
List<ProjectBuildingResult> |
ProjectBuilder.build(List<File> pomFiles,
boolean recursive,
ProjectBuildingRequest request)
Builds the projects for the specified POM files and optionally their children.
|
List<ProjectBuildingResult> |
DefaultProjectBuilder.build(List<File> pomFiles,
boolean recursive,
ProjectBuildingRequest request) |
ProjectBuildingResult |
ProjectBuilder.build(ModelSource modelSource,
ProjectBuildingRequest request)
Builds a project descriptor for the specified model source.
|
ProjectBuildingResult |
DefaultProjectBuilder.build(ModelSource modelSource,
ProjectBuildingRequest request) |
List<ArtifactRepository> |
ProjectBuildingHelper.createArtifactRepositories(List<Repository> pomRepositories,
List<ArtifactRepository> externalRepositories,
ProjectBuildingRequest request)
Creates the effective artifact repositories from the specified POM repositories.
|
List<ArtifactRepository> |
DefaultProjectBuildingHelper.createArtifactRepositories(List<Repository> pomRepositories,
List<ArtifactRepository> externalRepositories,
ProjectBuildingRequest request) |
ProjectRealmCache.CacheRecord |
ProjectBuildingHelper.createProjectRealm(MavenProject project,
Model model,
ProjectBuildingRequest request)
Creates the project realm that hosts the build extensions of the specified model.
|
ProjectRealmCache.CacheRecord |
DefaultProjectBuildingHelper.createProjectRealm(MavenProject project,
Model model,
ProjectBuildingRequest request) |
void |
MavenProject.setProjectBuildingRequest(ProjectBuildingRequest projectBuildingRequest)
Deprecated.
|
Constructor and Description |
---|
DefaultModelBuildingListener(MavenProject project,
ProjectBuildingHelper projectBuildingHelper,
ProjectBuildingRequest projectBuildingRequest) |
DefaultProjectBuildingRequest(ProjectBuildingRequest request) |
Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.