|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProjectBuildingRequest
Nested Class Summary | |
---|---|
static class |
ProjectBuildingRequest.RepositoryMerging
The possible merge modes for combining remote repositories. |
Method Summary | |
---|---|
void |
addProfile(Profile profile)
Add a Profile that has come from an external source. |
List<String> |
getActiveProfileIds()
|
Date |
getBuildStartTime()
Gets the start time of the build. |
List<String> |
getInactiveProfileIds()
|
ArtifactRepository |
getLocalRepository()
|
List<ArtifactRepository> |
getPluginArtifactRepositories()
|
List<Profile> |
getProfiles()
|
MavenProject |
getProject()
|
List<ArtifactRepository> |
getRemoteRepositories()
|
ProjectBuildingRequest.RepositoryMerging |
getRepositoryMerging()
Gets the merge mode used to combine repositories declared in the POM with the repositories specified in this request |
org.sonatype.aether.RepositorySystemSession |
getRepositorySession()
|
Properties |
getSystemProperties()
Gets the system properties to use for interpolation and profile activation. |
Properties |
getUserProperties()
Gets the user properties to use for interpolation and profile activation. |
int |
getValidationLevel()
Gets the level of validation to perform on processed models. |
boolean |
isProcessPlugins()
|
boolean |
isResolveDependencies()
|
void |
setActiveProfileIds(List<String> activeProfileIds)
Set any active profiles that the ProjectBuilder should consider while constructing
a MavenProject . |
void |
setBuildStartTime(Date buildStartTime)
Sets the start time of the build. |
void |
setInactiveProfileIds(List<String> inactiveProfileIds)
|
ProjectBuildingRequest |
setLocalRepository(ArtifactRepository localRepository)
|
ProjectBuildingRequest |
setPluginArtifactRepositories(List<ArtifactRepository> pluginArtifacgRepositories)
|
ProjectBuildingRequest |
setProcessPlugins(boolean processPlugins)
|
void |
setProfiles(List<Profile> profiles)
|
void |
setProject(MavenProject mavenProject)
|
ProjectBuildingRequest |
setRemoteRepositories(List<ArtifactRepository> remoteRepositories)
|
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 |
setRepositorySession(org.sonatype.aether.RepositorySystemSession repositorySession)
|
ProjectBuildingRequest |
setResolveDependencies(boolean resolveDependencies)
|
ProjectBuildingRequest |
setSystemProperties(Properties systemProperties)
Sets the system properties to use for interpolation and profile activation. |
ProjectBuildingRequest |
setUserProperties(Properties userProperties)
Sets the user properties to use for interpolation and profile activation. |
ProjectBuildingRequest |
setValidationLevel(int validationLevel)
Controls the level of validation to perform on processed models. |
Method Detail |
---|
ProjectBuildingRequest setLocalRepository(ArtifactRepository localRepository)
ArtifactRepository getLocalRepository()
ProjectBuildingRequest setRemoteRepositories(List<ArtifactRepository> remoteRepositories)
List<ArtifactRepository> getRemoteRepositories()
ProjectBuildingRequest setPluginArtifactRepositories(List<ArtifactRepository> pluginArtifacgRepositories)
List<ArtifactRepository> getPluginArtifactRepositories()
ProjectBuildingRequest setSystemProperties(Properties systemProperties)
System.getProperties()
and environment variables.
systemProperties
- The system properties, may be null
.
null
.Properties getSystemProperties()
System.getProperties()
and environment variables.
null
.ProjectBuildingRequest setUserProperties(Properties userProperties)
-Dkey=value
parameter on the command
line.
userProperties
- The user properties, may be null
.
null
.Properties getUserProperties()
-Dkey=value
parameter on the command
line.
null
.void setProject(MavenProject mavenProject)
MavenProject getProject()
ProjectBuildingRequest setProcessPlugins(boolean processPlugins)
boolean isProcessPlugins()
ProjectBuildingRequest setResolveDependencies(boolean resolveDependencies)
boolean isResolveDependencies()
ProjectBuildingRequest setValidationLevel(int validationLevel)
validationLevel
- The level of validation to perform on processed models, e.g.
ModelBuildingRequest.VALIDATION_LEVEL_STRICT
.
null
.int getValidationLevel()
void setActiveProfileIds(List<String> activeProfileIds)
ProjectBuilder
should consider while constructing
a MavenProject
.
List<String> getActiveProfileIds()
void setInactiveProfileIds(List<String> inactiveProfileIds)
List<String> getInactiveProfileIds()
void addProfile(Profile profile)
Profile
that has come from an external source. This may be from a custom configuration
like the MavenCLI settings.xml file, or from a custom dialog in an IDE integration like M2Eclipse.
profile
- void setProfiles(List<Profile> profiles)
List<Profile> getProfiles()
Date getBuildStartTime()
null
if unknown.void setBuildStartTime(Date buildStartTime)
buildStartTime
- The start time of the build, may be null
.org.sonatype.aether.RepositorySystemSession getRepositorySession()
ProjectBuildingRequest setRepositorySession(org.sonatype.aether.RepositorySystemSession repositorySession)
ProjectBuildingRequest setRepositoryMerging(ProjectBuildingRequest.RepositoryMerging mode)
mode
- The repository merge mode, must not be null
.
null
.setRemoteRepositories(List)
ProjectBuildingRequest.RepositoryMerging getRepositoryMerging()
null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |