Class LocalMavenSettingsLoader
- java.lang.Object
-
- net.linguica.gradle.maven.settings.LocalMavenSettingsLoader
-
public class LocalMavenSettingsLoader extends java.lang.ObjectClass used to load Maven settings.
-
-
Field Summary
Fields Modifier and Type Field Description static java.io.FileGLOBAL_SETTINGS_FILEstatic java.lang.StringSETTINGS_SECURITY_FILE_LOCATION
-
Constructor Summary
Constructors Constructor Description LocalMavenSettingsLoader(net.linguica.gradle.maven.settings.MavenSettingsPluginExtension extension)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.maven.settings.SettingsloadSettings()Loads and merges Maven settings from global and local user configuration files.
-
-
-
Method Detail
-
loadSettings
public org.apache.maven.settings.Settings loadSettings() throws org.apache.maven.settings.building.SettingsBuildingExceptionLoads and merges Maven settings from global and local user configuration files. ReturnedSettingsobject includes decrypted credentials.- Returns:
- Effective settings
- Throws:
org.apache.maven.settings.building.SettingsBuildingException- If the effective settings cannot be built
-
-