public class MavenSettingsBuilder extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ALT_GLOBAL_SETTINGS_XML_LOCATION
Sets an alternate location of Maven global settings.xml configuration
|
static String |
ALT_LOCAL_REPOSITORY_LOCATION
Sets an alternate location of Maven local repository
|
static String |
ALT_MAVEN_OFFLINE
Sets Maven resolution either online or offline
|
static String |
ALT_SECURITY_SETTINGS_XML_LOCATION
Sets an alternate location of Maven settings-security.xml configuration
|
static String |
ALT_SECURITY_SETTINGS_XML_LOCATION_DEPRECATED
Sets an alternate location of Maven settings-security.xml configuration, old key, see SHRINKRES-197
|
static String |
ALT_USER_SETTINGS_XML_LOCATION
Sets an alternate location to Maven user settings.xml configuration
|
Constructor and Description |
---|
MavenSettingsBuilder() |
Modifier and Type | Method and Description |
---|---|
org.apache.maven.settings.Settings |
buildDefaultSettings()
Loads default Maven settings from standard location or from a location specified by a property
|
org.apache.maven.settings.Settings |
buildSettings(org.apache.maven.settings.building.SettingsBuildingRequest request)
Builds Maven settings from request.
|
public static final String ALT_USER_SETTINGS_XML_LOCATION
public static final String ALT_GLOBAL_SETTINGS_XML_LOCATION
public static final String ALT_SECURITY_SETTINGS_XML_LOCATION
public static final String ALT_SECURITY_SETTINGS_XML_LOCATION_DEPRECATED
public static final String ALT_MAVEN_OFFLINE
public static final String ALT_LOCAL_REPOSITORY_LOCATION
public org.apache.maven.settings.Settings buildDefaultSettings()
Settings
public org.apache.maven.settings.Settings buildSettings(org.apache.maven.settings.building.SettingsBuildingRequest request)
request
- The request for new settingsSettings
Copyright © 2022 JBoss by Red Hat. All rights reserved.