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
 java.lang.String getLocalRepository()
          Returns the local repository directory from settings.xml.
 java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> getProxySettings()
          Returns the active proxy settings from settings.xml
 java.lang.String getRepositories()
          Gets the list of repositories from settings.xml.
 

Method Detail

getRepositories

java.lang.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

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

Returns:
the local repository directory

getProxySettings

java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> getProxySettings()
Returns the active proxy settings from settings.xml

Returns:
the active proxy settings


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