Uses of Class
org.apache.maven.api.settings.Settings
Package
Description
Maven Core API
-
Uses of Settings in org.apache.maven.api
Modifier and TypeMethodDescriptionSession.getSettings()
Retrieves the settings for the current session. -
Uses of Settings in org.apache.maven.api.services
Modifier and TypeMethodDescriptionSettingsBuilderResult.getEffectiveSettings()
Gets the assembled settings.Modifier and TypeMethodDescriptiondefault List
<BuilderProblem> Validate the specified settings.Validate the specified settings. -
Uses of Settings in org.apache.maven.api.settings
Modifier and TypeMethodDescriptionSettings.Builder.build()
static Settings
Settings.newInstance()
Creates a newSettings
instance.static Settings
Settings.newInstance
(boolean withDefaults) Creates a newSettings
instance using default values or not.Settings.withActiveProfiles
(Collection<String> activeProfiles) Creates a newSettings
instance using the specified activeProfiles.Settings.withInteractiveMode
(boolean interactiveMode) Creates a newSettings
instance using the specified interactiveMode.Settings.withLocalRepository
(String localRepository) Creates a newSettings
instance using the specified localRepository.Settings.withMirrors
(Collection<Mirror> mirrors) Creates a newSettings
instance using the specified mirrors.Settings.withOffline
(boolean offline) Creates a newSettings
instance using the specified offline.Settings.withPluginGroups
(Collection<String> pluginGroups) Creates a newSettings
instance using the specified pluginGroups.Settings.withPluginRepositories
(Collection<Repository> pluginRepositories) Creates a newSettings
instance using the specified pluginRepositories.Settings.withProfiles
(Collection<Profile> profiles) Creates a newSettings
instance using the specified profiles.Settings.withProxies
(Collection<Proxy> proxies) Creates a newSettings
instance using the specified proxies.Settings.withRepositories
(Collection<Repository> repositories) Creates a newSettings
instance using the specified repositories.Settings.withServers
(Collection<Server> servers) Creates a newSettings
instance using the specified servers.Settings.withUsePluginRegistry
(boolean usePluginRegistry) Creates a newSettings
instance using the specified usePluginRegistry.Modifier and TypeMethodDescriptionstatic Settings.Builder
Settings.newBuilder
(Settings from) Creates a newSettings
builder instance using the specified object as a basis.static Settings.Builder
Settings.newBuilder
(Settings from, boolean forceCopy) Creates a newSettings
builder instance using the specified object as a basis. -
Uses of Settings in org.apache.maven.cling.invoker
Modifier and TypeMethodDescriptionprotected void
LookupInvoker.populateRequestFromSettings
(MavenExecutionRequest request, Settings settings) -
Uses of Settings in org.apache.maven.cling.invoker.mvn
-
Uses of Settings in org.apache.maven.internal.impl
Modifier and TypeMethodDescriptionDefaultSession.getSettings()
static Settings
DefaultSettingsXmlFactory.read
(XmlReaderRequest request) Modifier and TypeMethodDescriptionstatic Settings
void
DefaultSettingsValidator.validate
(Settings settings, boolean isProjectSettings, List<BuilderProblem> problems) Modifier and TypeMethodDescriptionvoid
DefaultSettingsXmlFactory.write
(XmlWriterRequest<Settings> request) -
Uses of Settings in org.apache.maven.settings
-
Uses of Settings in org.apache.maven.settings.v4
Modifier and TypeMethodDescriptionMerges the specified source object into the given target object.protected Settings
SettingsMerger.mergeSettings
(Settings target, Settings source, boolean sourceDominant, Map<Object, Object> context) SettingsStaxReader.read
(InputStream in) SettingsStaxReader.read
(InputStream in, boolean strict, InputSource source) Method read.SettingsStaxReader.read
(Reader reader, boolean strict, InputSource source) SettingsStaxReader.read
(XMLStreamReader parser, boolean strict, InputSource source) Method read.protected Settings
SettingsTransformer.transformSettings
(Settings target) Transforms the given modelModifier and TypeMethodDescriptionprotected SettingsMerger.KeyComputer
<Settings> SettingsMerger.getSettingsKey()
Modifier and TypeMethodDescriptionMerges the specified source object into the given target object.protected void
SettingsMerger.mergeSettings
(Settings.Builder builder, Settings target, Settings source, boolean sourceDominant, Map<Object, Object> context) protected Settings
SettingsMerger.mergeSettings
(Settings target, Settings source, boolean sourceDominant, Map<Object, Object> context) protected void
SettingsMerger.mergeSettings_ActiveProfiles
(Settings.Builder builder, Settings target, Settings source, boolean sourceDominant, Map<Object, Object> context) protected void
SettingsMerger.mergeSettings_InteractiveMode
(Settings.Builder builder, Settings target, Settings source, boolean sourceDominant, Map<Object, Object> context) protected void
SettingsMerger.mergeSettings_LocalRepository
(Settings.Builder builder, Settings target, Settings source, boolean sourceDominant, Map<Object, Object> context) protected void
SettingsMerger.mergeSettings_Mirrors
(Settings.Builder builder, Settings target, Settings source, boolean sourceDominant, Map<Object, Object> context) protected void
SettingsMerger.mergeSettings_Offline
(Settings.Builder builder, Settings target, Settings source, boolean sourceDominant, Map<Object, Object> context) protected void
SettingsMerger.mergeSettings_PluginGroups
(Settings.Builder builder, Settings target, Settings source, boolean sourceDominant, Map<Object, Object> context) protected void
SettingsMerger.mergeSettings_PluginRepositories
(Settings.Builder builder, Settings target, Settings source, boolean sourceDominant, Map<Object, Object> context) protected void
SettingsMerger.mergeSettings_Profiles
(Settings.Builder builder, Settings target, Settings source, boolean sourceDominant, Map<Object, Object> context) protected void
SettingsMerger.mergeSettings_Proxies
(Settings.Builder builder, Settings target, Settings source, boolean sourceDominant, Map<Object, Object> context) protected void
SettingsMerger.mergeSettings_Repositories
(Settings.Builder builder, Settings target, Settings source, boolean sourceDominant, Map<Object, Object> context) protected void
SettingsMerger.mergeSettings_Servers
(Settings.Builder builder, Settings target, Settings source, boolean sourceDominant, Map<Object, Object> context) protected void
SettingsMerger.mergeSettings_UsePluginRegistry
(Settings.Builder builder, Settings target, Settings source, boolean sourceDominant, Map<Object, Object> context) protected Settings
SettingsTransformer.transformSettings
(Settings target) protected Settings.Builder
SettingsTransformer.transformSettings_ActiveProfiles
(Supplier<? extends Settings.Builder> creator, Settings.Builder builder, Settings target) protected Settings.Builder
SettingsTransformer.transformSettings_InteractiveMode
(Supplier<? extends Settings.Builder> creator, Settings.Builder builder, Settings target) protected Settings.Builder
SettingsTransformer.transformSettings_LocalRepository
(Supplier<? extends Settings.Builder> creator, Settings.Builder builder, Settings target) protected Settings.Builder
SettingsTransformer.transformSettings_Mirrors
(Supplier<? extends Settings.Builder> creator, Settings.Builder builder, Settings target) protected Settings.Builder
SettingsTransformer.transformSettings_Offline
(Supplier<? extends Settings.Builder> creator, Settings.Builder builder, Settings target) protected Settings.Builder
SettingsTransformer.transformSettings_PluginGroups
(Supplier<? extends Settings.Builder> creator, Settings.Builder builder, Settings target) protected Settings.Builder
SettingsTransformer.transformSettings_PluginRepositories
(Supplier<? extends Settings.Builder> creator, Settings.Builder builder, Settings target) protected Settings.Builder
SettingsTransformer.transformSettings_Profiles
(Supplier<? extends Settings.Builder> creator, Settings.Builder builder, Settings target) protected Settings.Builder
SettingsTransformer.transformSettings_Proxies
(Supplier<? extends Settings.Builder> creator, Settings.Builder builder, Settings target) protected Settings.Builder
SettingsTransformer.transformSettings_Repositories
(Supplier<? extends Settings.Builder> creator, Settings.Builder builder, Settings target) protected Settings.Builder
SettingsTransformer.transformSettings_Servers
(Supplier<? extends Settings.Builder> creator, Settings.Builder builder, Settings target) protected Settings.Builder
SettingsTransformer.transformSettings_UsePluginRegistry
(Supplier<? extends Settings.Builder> creator, Settings.Builder builder, Settings target) Transforms the given modelvoid
SettingsStaxWriter.write
(OutputStream stream, Settings settings) Method write.void
Method write.