org.apache.maven.settings
Class DefaultMavenSettingsBuilder
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.apache.maven.settings.DefaultMavenSettingsBuilder
- All Implemented Interfaces:
- MavenSettingsBuilder, LogEnabled
@Component(role=MavenSettingsBuilder.class)
public class DefaultMavenSettingsBuilder
- extends AbstractLogEnabled
- implements MavenSettingsBuilder
- Author:
- jdcasey
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultMavenSettingsBuilder
public DefaultMavenSettingsBuilder()
buildSettings
public Settings buildSettings()
throws IOException,
XmlPullParserException
- Specified by:
buildSettings
in interface MavenSettingsBuilder
- Returns:
- a
Settings
object from the user settings file.
- Throws:
IOException
- if any
XmlPullParserException
- if any
buildSettings
public Settings buildSettings(boolean useCachedSettings)
throws IOException,
XmlPullParserException
- Specified by:
buildSettings
in interface MavenSettingsBuilder
- Parameters:
useCachedSettings
- if true, doesn't reload the user settings
- Returns:
- a
Settings
object from the user settings file.
- Throws:
IOException
- if any
XmlPullParserException
- if any
buildSettings
public Settings buildSettings(File userSettingsFile)
throws IOException,
XmlPullParserException
- Specified by:
buildSettings
in interface MavenSettingsBuilder
- Parameters:
userSettingsFile
- a given user settings file
- Returns:
- a
Settings
object from the user settings file.
- Throws:
IOException
- if any
XmlPullParserException
- if any
buildSettings
public Settings buildSettings(File userSettingsFile,
boolean useCachedSettings)
throws IOException,
XmlPullParserException
- Specified by:
buildSettings
in interface MavenSettingsBuilder
- Parameters:
userSettingsFile
- a given user settings fileuseCachedSettings
- if true, doesn't reload the user settings
- Returns:
- a
Settings
object from the user settings file.
- Throws:
IOException
- if any
XmlPullParserException
- if any
buildSettings
public Settings buildSettings(MavenExecutionRequest request)
throws IOException,
XmlPullParserException
- Specified by:
buildSettings
in interface MavenSettingsBuilder
- Throws:
IOException
XmlPullParserException
- Since:
- 2.1
Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.