Package org.apache.maven.internal.impl
Class DefaultSettingsBuilder
java.lang.Object
org.apache.maven.internal.impl.DefaultSettingsBuilder
- All Implemented Interfaces:
Service
,SettingsBuilder
Builds the effective settings from a user settings file and/or a global settings file.
-
Constructor Summary
ConstructorDescriptionThis ctor is used in legacy components, and when in legacy,SecDispatcher
isnull
and Maven3 exposes decryption with other means.DefaultSettingsBuilder
(SettingsXmlFactory settingsXmlFactory, Interpolator interpolator, org.codehaus.plexus.components.secdispatcher.SecDispatcher secDispatcher) In Maven4 theSecDispatcher
is injected and build settings are fully decrypted as well. -
Method Summary
-
Constructor Details
-
DefaultSettingsBuilder
public DefaultSettingsBuilder()This ctor is used in legacy components, and when in legacy,SecDispatcher
isnull
and Maven3 exposes decryption with other means. -
DefaultSettingsBuilder
@Inject public DefaultSettingsBuilder(SettingsXmlFactory settingsXmlFactory, Interpolator interpolator, org.codehaus.plexus.components.secdispatcher.SecDispatcher secDispatcher) In Maven4 theSecDispatcher
is injected and build settings are fully decrypted as well.
-
-
Method Details
-
build
- Specified by:
build
in interfaceSettingsBuilder
- Throws:
SettingsBuilderException
-
validate
- Specified by:
validate
in interfaceSettingsBuilder
-
convert
- Specified by:
convert
in interfaceSettingsBuilder
-
convert
- Specified by:
convert
in interfaceSettingsBuilder
-