Class DefaultSettingsBuilder
java.lang.Object
org.apache.maven.settings.building.DefaultSettingsBuilder
- All Implemented Interfaces:
SettingsBuilder
Builds the effective settings from a user settings file and/or a global settings file.
-
Constructor Summary
ConstructorDescriptionDefaultSettingsBuilder
(DefaultSettingsBuilder builder, DefaultSettingsXmlFactory settingsXmlFactory) -
Method Summary
Modifier and TypeMethodDescriptionbuild
(SettingsBuildingRequest request) Builds the effective settings of the specified settings files.
-
Constructor Details
-
DefaultSettingsBuilder
@Inject public DefaultSettingsBuilder(DefaultSettingsBuilder builder, DefaultSettingsXmlFactory settingsXmlFactory)
-
-
Method Details
-
build
public SettingsBuildingResult build(SettingsBuildingRequest request) throws SettingsBuildingException Description copied from interface:SettingsBuilder
Builds the effective settings of the specified settings files.- Specified by:
build
in interfaceSettingsBuilder
- Parameters:
request
- The settings building request that holds the parameters, must not benull
.- Returns:
- The result of the settings building, never
null
. - Throws:
SettingsBuildingException
- If the effective settings could not be built.
-