public class MavenUtils extends 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(String protocol,
String host,
int port,
String nonProxyHosts,
String username,
String password)
Returns the default
ProxySelector as configured in the maven settings.xml |
static List<org.sonatype.aether.repository.RemoteRepository> |
getRemoteRepositories()
Returns a list of
RemoteRepository as configured in the maven settings.xml |
static List<org.apache.maven.settings.Repository> |
getRepositories() |
static org.apache.maven.settings.Settings |
getSettings() |
public static org.apache.maven.settings.Settings getSettings()
public static List<org.apache.maven.settings.Repository> getRepositories()
public static 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(String protocol, String host, int port, String nonProxyHosts, String username, 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 © 2011–2014 Red Hat. All rights reserved.