@Component(role=MavenSettingsBuilder.class) public class DefaultMavenSettingsBuilder extends org.codehaus.plexus.logging.AbstractLogEnabled implements MavenSettingsBuilder
ALT_GLOBAL_SETTINGS_XML_LOCATION, ALT_LOCAL_REPOSITORY_LOCATION, ALT_USER_SETTINGS_XML_LOCATION, ROLE| Constructor and Description |
|---|
DefaultMavenSettingsBuilder() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.maven.settings.Settings |
buildSettings() |
org.apache.maven.settings.Settings |
buildSettings(boolean useCachedSettings) |
org.apache.maven.settings.Settings |
buildSettings(java.io.File userSettingsFile) |
org.apache.maven.settings.Settings |
buildSettings(java.io.File userSettingsFile,
boolean useCachedSettings) |
org.apache.maven.settings.Settings |
buildSettings(MavenExecutionRequest request) |
public org.apache.maven.settings.Settings buildSettings()
throws java.io.IOException,
org.codehaus.plexus.util.xml.pull.XmlPullParserException
buildSettings in interface MavenSettingsBuilderSettings object from the user settings file.java.io.IOException - if anyorg.codehaus.plexus.util.xml.pull.XmlPullParserException - if anypublic org.apache.maven.settings.Settings buildSettings(boolean useCachedSettings)
throws java.io.IOException,
org.codehaus.plexus.util.xml.pull.XmlPullParserException
buildSettings in interface MavenSettingsBuilderuseCachedSettings - if true, doesn't reload the user settingsSettings object from the user settings file.java.io.IOException - if anyorg.codehaus.plexus.util.xml.pull.XmlPullParserException - if anypublic org.apache.maven.settings.Settings buildSettings(java.io.File userSettingsFile)
throws java.io.IOException,
org.codehaus.plexus.util.xml.pull.XmlPullParserException
buildSettings in interface MavenSettingsBuilderuserSettingsFile - a given user settings fileSettings object from the user settings file.java.io.IOException - if anyorg.codehaus.plexus.util.xml.pull.XmlPullParserException - if anypublic org.apache.maven.settings.Settings buildSettings(java.io.File userSettingsFile,
boolean useCachedSettings)
throws java.io.IOException,
org.codehaus.plexus.util.xml.pull.XmlPullParserException
buildSettings in interface MavenSettingsBuilderuserSettingsFile - a given user settings fileuseCachedSettings - if true, doesn't reload the user settingsSettings object from the user settings file.java.io.IOException - if anyorg.codehaus.plexus.util.xml.pull.XmlPullParserException - if anypublic org.apache.maven.settings.Settings buildSettings(MavenExecutionRequest request) throws java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
buildSettings in interface MavenSettingsBuilderjava.io.IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserException