|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface MavenConfiguration
Handler configuration.
| Method Summary | |
|---|---|
void |
enableProxy(java.net.URL url)
|
java.lang.Boolean |
getCertificateCheck()
Returns true if the certificate should be checked on SSL connection, false otherwise. |
java.util.List<MavenRepositoryURL> |
getDefaultRepositories()
Returns a list of default repositories to be searched before any other repositories. |
MavenRepositoryURL |
getLocalRepository()
Returns the url of local repository. |
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> |
getMirrors()
Returns the mirror settings from settings.xml. |
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> |
getProxySettings(java.lang.String... protocols)
Returns the active proxy settings from settings.xml The fields are user, pass, host, port, nonProxyHosts, protocol. |
java.util.List<MavenRepositoryURL> |
getRepositories()
Returns a list of repositories to be searched. |
java.net.URL |
getSettingsFileUrl()
Returns the URL of maven settings file. |
java.lang.Boolean |
useFallbackRepositories()
Returns true if the fallback repositories should be used instead of default ones. |
| Method Detail |
|---|
java.lang.Boolean getCertificateCheck()
java.net.URL getSettingsFileUrl()
java.util.List<MavenRepositoryURL> getDefaultRepositories()
throws java.net.MalformedURLException
java.net.MalformedURLException
java.util.List<MavenRepositoryURL> getRepositories()
throws java.net.MalformedURLException
java.net.MalformedURLExceptionMavenRepositoryURL getLocalRepository()
java.lang.Boolean useFallbackRepositories()
void enableProxy(java.net.URL url)
url - Enables the proxy server for a given URL.java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> getProxySettings(java.lang.String... protocols)
protocols - protocols to be recognized.
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> getMirrors()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||