Package | Description |
---|---|
org.apache.maven.execution | |
org.apache.maven.model |
Maven POM (Project Object Model) classes, generated from
maven.mdo model. |
org.apache.maven.model.building | |
org.apache.maven.model.merge |
POM merger.
|
org.apache.maven.model.profile | |
org.apache.maven.model.profile.activation | |
org.apache.maven.profiles | |
org.apache.maven.profiles.activation | |
org.apache.maven.project | |
org.apache.maven.settings |
Modifier and Type | Method and Description |
---|---|
List<Profile> |
MavenExecutionRequest.getProfiles() |
List<Profile> |
DefaultMavenExecutionRequest.getProfiles() |
Modifier and Type | Method and Description |
---|---|
MavenExecutionRequest |
MavenExecutionRequest.addProfile(Profile profile) |
MavenExecutionRequest |
DefaultMavenExecutionRequest.addProfile(Profile profile) |
Modifier and Type | Method and Description |
---|---|
MavenExecutionRequest |
MavenExecutionRequest.setProfiles(List<Profile> profiles) |
MavenExecutionRequest |
DefaultMavenExecutionRequest.setProfiles(List<Profile> profiles) |
Modifier and Type | Method and Description |
---|---|
Profile |
Profile.clone()
Method clone.
|
Modifier and Type | Method and Description |
---|---|
List<Profile> |
Model.getProfiles()
Method getProfiles.
|
Modifier and Type | Method and Description |
---|---|
void |
Model.addProfile(Profile profile)
Method addProfile.
|
void |
Model.removeProfile(Profile profile)
Method removeProfile.
|
Modifier and Type | Method and Description |
---|---|
void |
Model.setProfiles(List<Profile> profiles)
Set a listing of project-local build profiles which will
modify the build process
when activated.
|
Modifier and Type | Method and Description |
---|---|
List<Profile> |
ModelBuildingResult.getActiveExternalProfiles()
Gets the external profiles that were active during model building.
|
List<Profile> |
ModelBuildingResult.getActivePomProfiles(String modelId)
Gets the profiles from the specified model that were active during model building.
|
List<Profile> |
ModelBuildingRequest.getProfiles()
Gets the external profiles that should be considered for model building.
|
List<Profile> |
DefaultModelBuildingRequest.getProfiles() |
Modifier and Type | Method and Description |
---|---|
ModelBuildingRequest |
ModelBuildingRequest.setProfiles(List<Profile> profiles)
Sets the external profiles that should be considered for model building.
|
DefaultModelBuildingRequest |
DefaultModelBuildingRequest.setProfiles(List<Profile> profiles) |
Modifier and Type | Method and Description |
---|---|
protected Object |
ModelMerger.getProfileKey(Profile profile) |
protected void |
ModelMerger.mergeProfile(Profile target,
Profile source,
boolean sourceDominant,
Map<Object,Object> context) |
Modifier and Type | Method and Description |
---|---|
List<Profile> |
ProfileSelector.getActiveProfiles(Collection<Profile> profiles,
ProfileActivationContext context,
ModelProblemCollector problems)
Determines the profiles which are active in the specified activation context.
|
List<Profile> |
DefaultProfileSelector.getActiveProfiles(Collection<Profile> profiles,
ProfileActivationContext context,
ModelProblemCollector problems) |
Modifier and Type | Method and Description |
---|---|
void |
ProfileInjector.injectProfile(Model model,
Profile profile,
ModelBuildingRequest request,
ModelProblemCollector problems)
Merges values from the specified profile into the given model.
|
void |
DefaultProfileInjector.injectProfile(Model model,
Profile profile,
ModelBuildingRequest request,
ModelProblemCollector problems) |
Modifier and Type | Method and Description |
---|---|
List<Profile> |
ProfileSelector.getActiveProfiles(Collection<Profile> profiles,
ProfileActivationContext context,
ModelProblemCollector problems)
Determines the profiles which are active in the specified activation context.
|
List<Profile> |
DefaultProfileSelector.getActiveProfiles(Collection<Profile> profiles,
ProfileActivationContext context,
ModelProblemCollector problems) |
Modifier and Type | Method and Description |
---|---|
boolean |
PropertyProfileActivator.isActive(Profile profile,
ProfileActivationContext context,
ModelProblemCollector problems) |
boolean |
ProfileActivator.isActive(Profile profile,
ProfileActivationContext context,
ModelProblemCollector problems)
Determines whether the specified profile is active in the given activator context.
|
boolean |
OperatingSystemProfileActivator.isActive(Profile profile,
ProfileActivationContext context,
ModelProblemCollector problems) |
boolean |
JdkVersionProfileActivator.isActive(Profile profile,
ProfileActivationContext context,
ModelProblemCollector problems) |
boolean |
FileProfileActivator.isActive(Profile profile,
ProfileActivationContext context,
ModelProblemCollector problems) |
boolean |
PropertyProfileActivator.presentInConfig(Profile profile,
ProfileActivationContext context,
ModelProblemCollector problems) |
boolean |
ProfileActivator.presentInConfig(Profile profile,
ProfileActivationContext context,
ModelProblemCollector problems)
Determines whether specified activation method is present in configuration or not.
|
boolean |
OperatingSystemProfileActivator.presentInConfig(Profile profile,
ProfileActivationContext context,
ModelProblemCollector problems) |
boolean |
JdkVersionProfileActivator.presentInConfig(Profile profile,
ProfileActivationContext context,
ModelProblemCollector problems) |
boolean |
FileProfileActivator.presentInConfig(Profile profile,
ProfileActivationContext context,
ModelProblemCollector problems) |
Modifier and Type | Method and Description |
---|---|
static Profile |
ProfilesConversionUtils.convertFromProfileXmlProfile(Profile profileXmlProfile)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
ProfileManager.addProfile(Profile profile)
Deprecated.
|
void |
DefaultProfileManager.addProfile(Profile profile)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
SystemPropertyProfileActivator.canDetectActivation(Profile profile)
Deprecated.
|
protected boolean |
JdkPrefixProfileActivator.canDetectActivation(Profile profile)
Deprecated.
|
protected boolean |
FileProfileActivator.canDetectActivation(Profile profile)
Deprecated.
|
protected abstract boolean |
DetectedProfileActivator.canDetectActivation(Profile profile)
Deprecated.
|
boolean |
ProfileActivator.canDetermineActivation(Profile profile)
Deprecated.
|
boolean |
OperatingSystemProfileActivator.canDetermineActivation(Profile profile)
Deprecated.
|
boolean |
DetectedProfileActivator.canDetermineActivation(Profile profile)
Deprecated.
|
boolean |
SystemPropertyProfileActivator.isActive(Profile profile)
Deprecated.
|
boolean |
ProfileActivator.isActive(Profile profile)
Deprecated.
|
boolean |
OperatingSystemProfileActivator.isActive(Profile profile)
Deprecated.
|
boolean |
JdkPrefixProfileActivator.isActive(Profile profile)
Deprecated.
|
boolean |
FileProfileActivator.isActive(Profile profile)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
List<Profile> |
MavenProject.getActiveProfiles() |
List<Profile> |
ProjectBuildingRequest.getProfiles() |
List<Profile> |
DefaultProjectBuildingRequest.getProfiles() |
Modifier and Type | Method and Description |
---|---|
void |
ProjectBuildingRequest.addProfile(Profile profile)
Add a
Profile that has come from an external source. |
void |
DefaultProjectBuildingRequest.addProfile(Profile profile) |
Modifier and Type | Method and Description |
---|---|
void |
MavenProject.setActiveProfiles(List<Profile> activeProfiles) |
void |
ProjectBuildingRequest.setProfiles(List<Profile> profiles) |
void |
DefaultProjectBuildingRequest.setProfiles(List<Profile> profiles) |
Modifier and Type | Method and Description |
---|---|
static Profile |
SettingsUtils.convertFromSettingsProfile(Profile settingsProfile) |
Modifier and Type | Method and Description |
---|---|
static Profile |
SettingsUtils.convertToSettingsProfile(Profile modelProfile) |
Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.