Package org.apache.maven.settings
Class DefaultMavenSettingsBuilder
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.apache.maven.settings.DefaultMavenSettingsBuilder
- All Implemented Interfaces:
- MavenSettingsBuilder,- org.codehaus.plexus.logging.LogEnabled
@Deprecated
@Named
@Singleton
public class DefaultMavenSettingsBuilder
extends org.codehaus.plexus.logging.AbstractLogEnabled
implements MavenSettingsBuilder
Deprecated.
- 
Field SummaryFields inherited from interface org.apache.maven.settings.MavenSettingsBuilderALT_GLOBAL_SETTINGS_XML_LOCATION, ALT_LOCAL_REPOSITORY_LOCATION, ALT_USER_SETTINGS_XML_LOCATION, ROLE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionDeprecated.buildSettings(boolean useCachedSettings) Deprecated.buildSettings(File userSettingsFile) Deprecated.buildSettings(File userSettingsFile, boolean useCachedSettings) Deprecated.buildSettings(MavenExecutionRequest request) Deprecated.Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabledenableLogging, getLogger, setupLogger, setupLogger, setupLogger
- 
Constructor Details- 
DefaultMavenSettingsBuilderDeprecated.
 
- 
- 
Method Details- 
buildSettingspublic Settings buildSettings() throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserExceptionDeprecated.- Specified by:
- buildSettingsin interface- MavenSettingsBuilder
- Returns:
- a Settingsobject from the user settings file.
- Throws:
- IOException- if any
- org.codehaus.plexus.util.xml.pull.XmlPullParserException- if any
 
- 
buildSettingspublic Settings buildSettings(boolean useCachedSettings) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Deprecated.- Specified by:
- buildSettingsin interface- MavenSettingsBuilder
- Parameters:
- useCachedSettings- if true, doesn't reload the user settings
- Returns:
- a Settingsobject from the user settings file.
- Throws:
- IOException- if any
- org.codehaus.plexus.util.xml.pull.XmlPullParserException- if any
 
- 
buildSettingspublic Settings buildSettings(File userSettingsFile) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Deprecated.- Specified by:
- buildSettingsin interface- MavenSettingsBuilder
- Parameters:
- userSettingsFile- a given user settings file
- Returns:
- a Settingsobject from the user settings file.
- Throws:
- IOException- if any
- org.codehaus.plexus.util.xml.pull.XmlPullParserException- if any
 
- 
buildSettingspublic Settings buildSettings(File userSettingsFile, boolean useCachedSettings) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Deprecated.- Specified by:
- buildSettingsin interface- MavenSettingsBuilder
- Parameters:
- userSettingsFile- a given user settings file
- useCachedSettings- if true, doesn't reload the user settings
- Returns:
- a Settingsobject from the user settings file.
- Throws:
- IOException- if any
- org.codehaus.plexus.util.xml.pull.XmlPullParserException- if any
 
- 
buildSettingspublic Settings buildSettings(MavenExecutionRequest request) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Deprecated.- Specified by:
- buildSettingsin interface- MavenSettingsBuilder
- Throws:
- IOException
- org.codehaus.plexus.util.xml.pull.XmlPullParserException
- Since:
- 2.1
 
 
-