Package | Description |
---|---|
org.apache.maven.api.settings | |
org.apache.maven.settings | |
org.apache.maven.settings.v4 |
Modifier and Type | Method and Description |
---|---|
Profile |
Profile.Builder.build() |
static Profile |
Profile.newInstance()
Creates a new
Profile instance. |
static Profile |
Profile.newInstance(boolean withDefaults)
Creates a new
Profile instance using default values or not. |
Profile |
Profile.withActivation(Activation activation)
Creates a new
Profile instance using the specified activation. |
Profile |
Profile.withId(String id)
Creates a new
Profile instance using the specified id. |
Profile |
Profile.withPluginRepositories(Collection<Repository> pluginRepositories)
Creates a new
Profile instance using the specified pluginRepositories. |
Profile |
Profile.withProperties(Map<String,String> properties)
Creates a new
Profile instance using the specified properties. |
Profile |
Profile.withRepositories(Collection<Repository> repositories)
Creates a new
Profile instance using the specified repositories. |
Modifier and Type | Method and Description |
---|---|
List<Profile> |
Settings.getProfiles()
Configuration of build profiles for adjusting the build
according to environmental parameters.
|
Map<String,Profile> |
Settings.getProfilesAsMap() |
Modifier and Type | Method and Description |
---|---|
static Profile.Builder |
Profile.newBuilder(Profile from)
Creates a new
Profile builder instance using the specified object as a basis. |
static Profile.Builder |
Profile.newBuilder(Profile from,
boolean forceCopy)
Creates a new
Profile builder instance using the specified object as a basis. |
Modifier and Type | Method and Description |
---|---|
Settings.Builder |
Settings.Builder.profiles(Collection<Profile> profiles) |
Settings |
Settings.withProfiles(Collection<Profile> profiles)
Creates a new
Settings instance using the specified profiles. |
Modifier and Type | Method and Description |
---|---|
static Profile |
SettingsUtils.convertToSettingsProfile(Profile modelProfile) |
Profile |
Profile.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static List<Profile> |
Profile.profileToApiV4(List<Profile> list) |
Modifier and Type | Method and Description |
---|---|
static Profile |
SettingsUtils.convertFromSettingsProfile(Profile settingsProfile) |
Modifier and Type | Method and Description |
---|---|
static List<Profile> |
Profile.profileToApiV3(List<Profile> list) |
Constructor and Description |
---|
Profile(Profile delegate) |
Modifier and Type | Method and Description |
---|---|
protected Profile |
SettingsMerger.mergeProfile(Profile target,
Profile source,
boolean sourceDominant,
Map<Object,Object> context) |
Modifier and Type | Method and Description |
---|---|
protected SettingsMerger.KeyComputer<Profile> |
SettingsMerger.getProfileKey() |
Modifier and Type | Method and Description |
---|---|
protected void |
SettingsMerger.mergeProfile_Activation(Profile.Builder builder,
Profile target,
Profile source,
boolean sourceDominant,
Map<Object,Object> context) |
protected void |
SettingsMerger.mergeProfile_Id(Profile.Builder builder,
Profile target,
Profile source,
boolean sourceDominant,
Map<Object,Object> context) |
protected void |
SettingsMerger.mergeProfile_PluginRepositories(Profile.Builder builder,
Profile target,
Profile source,
boolean sourceDominant,
Map<Object,Object> context) |
protected void |
SettingsMerger.mergeProfile_Properties(Profile.Builder builder,
Profile target,
Profile source,
boolean sourceDominant,
Map<Object,Object> context) |
protected void |
SettingsMerger.mergeProfile_Repositories(Profile.Builder builder,
Profile target,
Profile source,
boolean sourceDominant,
Map<Object,Object> context) |
protected void |
SettingsMerger.mergeProfile(Profile.Builder builder,
Profile target,
Profile source,
boolean sourceDominant,
Map<Object,Object> context) |
protected Profile |
SettingsMerger.mergeProfile(Profile target,
Profile source,
boolean sourceDominant,
Map<Object,Object> context) |
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.