org.ops4j.pax.url.maven.commons
Interface MavenSettings

All Known Implementing Classes:
MavenSettingsImpl

public interface MavenSettings

Abstracts access to maven settings.xml.

Since:
August 10, 2007
Author:
Alin Dreghiciu

Method Summary
 String getLocalRepository()
          Returns the local repository directory from settings.xml.
 Map<String,Map<String,String>> getMirrorSettings()
          Returns the mirror settings from settings.xml.
 Map<String,Map<String,String>> getProxySettings()
          Returns the active proxy settings from settings.xml The fields are user, pass, host, port, nonProxyHosts, protocol.
 String getRepositories()
          Gets the list of repositories from settings.xml.
 

Method Detail

getRepositories

String getRepositories()
Gets the list of repositories from settings.xml. If there is no settings.xml file or there are no repositories in settings.xml the list returned will be null.

Returns:
a comma separated list of repositories from settings.xml

getLocalRepository

String getLocalRepository()
Returns the local repository directory from settings.xml.

Returns:
the local repository directory

getProxySettings

Map<String,Map<String,String>> getProxySettings()
Returns the active proxy settings from settings.xml The fields are user, pass, host, port, nonProxyHosts, protocol.

Returns:
the active proxy settings

getMirrorSettings

Map<String,Map<String,String>> getMirrorSettings()
Returns the mirror settings from settings.xml. The fields are id, url, mirrorOf, layout, mirrorOfLayouts.

Returns:
the mirror settings


Copyright © 2006-2012 OPS4J - Open Participation Software for Java. All Rights Reserved.