vertx / io.vertx.maven / ResolverOptions

# ResolverOptions

`open class ResolverOptions`

Options to configure the resolver.

Author
Clement Escoffier

### Constructors

<init> | `ResolverOptions()` Options to configure the resolver.

### Properties

HTTPS_PROXY_SYS_PROP | `static val HTTPS_PROXY_SYS_PROP: String`
HTTP_PROXY_SYS_PROP | `static val HTTP_PROXY_SYS_PROP: String`
LOCAL_REPO_SYS_PROP | `static val LOCAL_REPO_SYS_PROP: String`
REMOTE_REPOS_SYS_PROP | `static val REMOTE_REPOS_SYS_PROP: String`
REMOTE_SNAPSHOT_POLICY_SYS_PROP | `static val REMOTE_SNAPSHOT_POLICY_SYS_PROP: String`

### Functions

getHttpProxy | `open fun getHttpProxy(): String`
getHttpsProxy | `open fun getHttpsProxy(): String`
getLocalRepository | `open fun getLocalRepository(): String`
getRemoteRepositories | `open fun getRemoteRepositories(): MutableList<String>`
getRemoteSnapshotPolicy | `open fun getRemoteSnapshotPolicy(): String` Gets the remote snapshot policy.
setHttpProxy | `open fun setHttpProxy(httpProxy: String): ResolverOptions` Sets the address of the proxy used for HTTP requests.
setHttpsProxy | `open fun setHttpsProxy(httpsProxy: String): ResolverOptions` Sets the address of the proxy used for HTTPS requests.
setLocalRepository | `open fun setLocalRepository(localRepository: String): ResolverOptions` Sets the path to the local Maven repository. By default it's ~/.m2/repository.
setRemoteRepositories | `open fun setRemoteRepositories(remoteRepositories: MutableList<String>): ResolverOptions` Sets the list of remote repositories used by the resolver. The repository must use the Maven 2 repository layout. If you don't want to resolved from remote locations, set it to an empty list. By default it resolves from Maven central and Sonatype OSS Snapshots.
setRemoteSnapshotPolicy | `open fun setRemoteSnapshotPolicy(remoteSnapshotPolicy: String): ResolverOptions` Sets the remote snapshot policy (`daily` by default). Accepted values are `daily`, `never`, `always` and `interval:X` where `X` is the number of minutes between two resolutions.