public class MavenUtils
extends java.lang.Object
| Constructor and Description |
|---|
MavenUtils() |
| Modifier and Type | Method and Description |
|---|---|
static org.sonatype.aether.repository.AuthenticationSelector |
getAuthSelector()
Returns the default
Authentication as configured in the maven settings.xml |
static org.sonatype.aether.repository.MirrorSelector |
getMirrorSelector()
Returns the default
MirrorSelector as configured in the maven settings.xml |
static org.sonatype.aether.repository.ProxySelector |
getProxySelector()
Returns the default
ProxySelector as configured in the maven settings.xml |
static org.sonatype.aether.repository.ProxySelector |
getProxySelector(java.lang.String protocol,
java.lang.String host,
int port,
java.lang.String nonProxyHosts,
java.lang.String username,
java.lang.String password)
Returns the default
ProxySelector as configured in the maven settings.xml |
static java.util.List<org.sonatype.aether.repository.RemoteRepository> |
getRemoteRepositories()
Returns a list of
RemoteRepository as configured in the maven settings.xml |
static java.util.List<org.apache.maven.settings.Repository> |
getRepositories() |
static org.apache.maven.settings.Settings |
getSettings() |
public static org.apache.maven.settings.Settings getSettings()
public static java.util.List<org.apache.maven.settings.Repository> getRepositories()
public static java.util.List<org.sonatype.aether.repository.RemoteRepository> getRemoteRepositories()
RemoteRepository as configured in the maven settings.xmlpublic static org.sonatype.aether.repository.ProxySelector getProxySelector()
ProxySelector as configured in the maven settings.xmlpublic static org.sonatype.aether.repository.ProxySelector getProxySelector(java.lang.String protocol,
java.lang.String host,
int port,
java.lang.String nonProxyHosts,
java.lang.String username,
java.lang.String password)
ProxySelector as configured in the maven settings.xmlpublic static org.sonatype.aether.repository.MirrorSelector getMirrorSelector()
MirrorSelector as configured in the maven settings.xmlpublic static org.sonatype.aether.repository.AuthenticationSelector getAuthSelector()
Authentication as configured in the maven settings.xmlCopyright © 2014 Red Hat. All Rights Reserved.