Uses of Class
org.apache.maven.api.settings.Profile
-
Uses of Profile in org.apache.maven.api.settings
Modifier and TypeMethodDescriptionProfile.Builder.build()
static Profile
Profile.newInstance()
Creates a newProfile
instance.static Profile
Profile.newInstance
(boolean withDefaults) Creates a newProfile
instance using default values or not.Profile.withActivation
(Activation activation) Creates a newProfile
instance using the specified activation.Creates a newProfile
instance using the specified id.Profile.withPluginRepositories
(Collection<Repository> pluginRepositories) Creates a newProfile
instance using the specified pluginRepositories.Profile.withProperties
(Map<String, String> properties) Creates a newProfile
instance using the specified properties.Profile.withRepositories
(Collection<Repository> repositories) Creates a newProfile
instance using the specified repositories.Modifier and TypeMethodDescriptionSettings.getProfiles()
Configuration of build profiles for adjusting the build according to environmental parameters.Settings.getProfilesAsMap()
Modifier and TypeMethodDescriptionstatic Profile.Builder
Profile.newBuilder
(Profile from) Creates a newProfile
builder instance using the specified object as a basis.static Profile.Builder
Profile.newBuilder
(Profile from, boolean forceCopy) Creates a newProfile
builder instance using the specified object as a basis.Modifier and TypeMethodDescriptionSettings.Builder.profiles
(Collection<Profile> profiles) Settings.withProfiles
(Collection<Profile> profiles) Creates a newSettings
instance using the specified profiles.