Package org.apache.maven.settings
Interface MavenSettingsBuilder
-
- All Known Implementing Classes:
DefaultMavenSettingsBuilder
@Deprecated public interface MavenSettingsBuilderDeprecated.- Author:
- jdcasey, Jason van Zyl
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringALT_GLOBAL_SETTINGS_XML_LOCATIONDeprecated.static java.lang.StringALT_LOCAL_REPOSITORY_LOCATIONDeprecated.static java.lang.StringALT_USER_SETTINGS_XML_LOCATIONDeprecated.static java.lang.StringROLEDeprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description org.apache.maven.settings.SettingsbuildSettings()Deprecated.org.apache.maven.settings.SettingsbuildSettings(boolean useCachedSettings)Deprecated.org.apache.maven.settings.SettingsbuildSettings(java.io.File userSettingsFile)Deprecated.org.apache.maven.settings.SettingsbuildSettings(java.io.File userSettingsFile, boolean useCachedSettings)Deprecated.org.apache.maven.settings.SettingsbuildSettings(MavenExecutionRequest request)Deprecated.
-
-
-
Field Detail
-
ROLE
static final java.lang.String ROLE
Deprecated.
-
ALT_USER_SETTINGS_XML_LOCATION
static final java.lang.String ALT_USER_SETTINGS_XML_LOCATION
Deprecated.- See Also:
- Constant Field Values
-
ALT_GLOBAL_SETTINGS_XML_LOCATION
static final java.lang.String ALT_GLOBAL_SETTINGS_XML_LOCATION
Deprecated.- See Also:
- Constant Field Values
-
ALT_LOCAL_REPOSITORY_LOCATION
static final java.lang.String ALT_LOCAL_REPOSITORY_LOCATION
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
buildSettings
org.apache.maven.settings.Settings buildSettings(MavenExecutionRequest request) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Deprecated.- Throws:
java.io.IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserException
-
buildSettings
org.apache.maven.settings.Settings buildSettings() throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserExceptionDeprecated.- Returns:
- a
Settingsobject from the user settings file. - Throws:
java.io.IOException- if anyorg.codehaus.plexus.util.xml.pull.XmlPullParserException- if any
-
buildSettings
org.apache.maven.settings.Settings buildSettings(boolean useCachedSettings) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserExceptionDeprecated.- Parameters:
useCachedSettings- if true, doesn't reload the user settings- Returns:
- a
Settingsobject from the user settings file. - Throws:
java.io.IOException- if anyorg.codehaus.plexus.util.xml.pull.XmlPullParserException- if any
-
buildSettings
org.apache.maven.settings.Settings buildSettings(java.io.File userSettingsFile) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserExceptionDeprecated.- Parameters:
userSettingsFile- a given user settings file- Returns:
- a
Settingsobject from the user settings file. - Throws:
java.io.IOException- if anyorg.codehaus.plexus.util.xml.pull.XmlPullParserException- if any
-
buildSettings
org.apache.maven.settings.Settings buildSettings(java.io.File userSettingsFile, boolean useCachedSettings) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserExceptionDeprecated.- Parameters:
userSettingsFile- a given user settings fileuseCachedSettings- if true, doesn't reload the user settings- Returns:
- a
Settingsobject from the user settings file. - Throws:
java.io.IOException- if anyorg.codehaus.plexus.util.xml.pull.XmlPullParserException- if any
-
-