org.fusesource.fabric.maven.impl
Class MavenUtils

java.lang.Object
  extended by org.fusesource.fabric.maven.impl.MavenUtils

public class MavenUtils
extends java.lang.Object


Constructor Summary
MavenUtils()
           
 
Method Summary
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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MavenUtils

public MavenUtils()
Method Detail

getSettings

public static org.apache.maven.settings.Settings getSettings()

getRepositories

public static java.util.List<org.apache.maven.settings.Repository> getRepositories()

getRemoteRepositories

public static java.util.List<org.sonatype.aether.repository.RemoteRepository> getRemoteRepositories()
Returns a list of RemoteRepository as configured in the maven settings.xml

Returns:

getProxySelector

public static org.sonatype.aether.repository.ProxySelector getProxySelector()
Returns the default ProxySelector as configured in the maven settings.xml

Returns:

getProxySelector

public 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

Returns:

getMirrorSelector

public static org.sonatype.aether.repository.MirrorSelector getMirrorSelector()
Returns the default MirrorSelector as configured in the maven settings.xml

Returns:

getAuthSelector

public static org.sonatype.aether.repository.AuthenticationSelector getAuthSelector()
Returns the default Authentication as configured in the maven settings.xml

Returns:


Copyright © 2013 Red Hat. All Rights Reserved.