|
|||||||||
| 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(URL url)
|
Boolean |
getCertificateCheck()
Returns true if the certificate should be checked on SSL connection, false otherwise. |
List<MavenRepositoryURL> |
getDefaultRepositories()
Returns a list of default repositories to be searched before any other repositories. |
MavenRepositoryURL |
getLocalRepository()
Returns the url of local repository. |
Map<String,Map<String,String>> |
getMirrors()
Returns the mirror settings from settings.xml. |
Map<String,Map<String,String>> |
getProxySettings(String... protocols)
Returns the active proxy settings from settings.xml The fields are user, pass, host, port, nonProxyHosts, protocol. |
List<MavenRepositoryURL> |
getRepositories()
Returns a list of repositories to be searched. |
URL |
getSettingsFileUrl()
Returns the URL of maven settings file. |
Integer |
getTimeout()
Returns the timeout configured in case the maven artifact is retrieved from a remote location. |
Boolean |
useFallbackRepositories()
Returns true if the fallback repositories should be used instead of default ones. |
| Method Detail |
|---|
Boolean getCertificateCheck()
URL getSettingsFileUrl()
List<MavenRepositoryURL> getDefaultRepositories()
throws MalformedURLException
MalformedURLException
List<MavenRepositoryURL> getRepositories()
throws MalformedURLException
MalformedURLExceptionMavenRepositoryURL getLocalRepository()
Boolean useFallbackRepositories()
Integer getTimeout()
void enableProxy(URL url)
url - Enables the proxy server for a given URL.Map<String,Map<String,String>> getProxySettings(String... protocols)
protocols - protocols to be recognized.
Map<String,Map<String,String>> getMirrors()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||