public class MavenSettings extends Object
MavenSettingsReader
Constructor and Description |
---|
MavenSettings(org.apache.maven.settings.Settings settings,
org.apache.maven.settings.crypto.SettingsDecryptionResult decryptedSettings)
Create a new
MavenSettings instance. |
Modifier and Type | Method and Description |
---|---|
List<org.apache.maven.settings.Profile> |
getActiveProfiles() |
org.eclipse.aether.repository.AuthenticationSelector |
getAuthenticationSelector() |
String |
getLocalRepository() |
org.eclipse.aether.repository.MirrorSelector |
getMirrorSelector() |
boolean |
getOffline() |
org.eclipse.aether.repository.ProxySelector |
getProxySelector() |
public MavenSettings(org.apache.maven.settings.Settings settings, org.apache.maven.settings.crypto.SettingsDecryptionResult decryptedSettings)
MavenSettings
instance.settings
- the source settingsdecryptedSettings
- the decrypted settingspublic boolean getOffline()
public org.eclipse.aether.repository.MirrorSelector getMirrorSelector()
public org.eclipse.aether.repository.AuthenticationSelector getAuthenticationSelector()
public org.eclipse.aether.repository.ProxySelector getProxySelector()
public String getLocalRepository()
public List<org.apache.maven.settings.Profile> getActiveProfiles()