Package org.ops4j.pax.url.mvn
Interface ServiceConstants
-
public interface ServiceConstantsAn enumeration of constants related to maven handler.- Since:
- September 10, 2010
- Author:
- Toni Menzel, Guillaume Nodet
-
-
Field Summary
Fields Modifier and Type Field Description static StringOPTION_ALLOW_SNAPSHOTSOption to mark repository as allowing snapshots.static StringOPTION_CHECKSUMstatic StringOPTION_DISALLOW_RELEASESOption to mark repository as not allowing releases.static StringOPTION_IDsegment in repository spec that gives the name of the repo.static StringOPTION_MULTIOption to mark path as a parent directory of repo directories.static StringOPTION_RELEASES_CHECKSUMstatic StringOPTION_RELEASES_UPDATEstatic StringOPTION_SNAPSHOTS_CHECKSUMstatic StringOPTION_SNAPSHOTS_UPDATEstatic StringOPTION_UPDATEstatic StringPIDService PID used for configuration.static StringPROPERTY_CERTIFICATE_CHECKCertificate check configuration property name.static StringPROPERTY_CONNECTION_BUFFER_SIZEConfigure buffer size for HTTP connections in: org.apache.http.impl.io.SessionInputBufferImpl#buffer org.apache.http.impl.io.SessionOutputBufferImpl#buffer Defaults to8192.static StringPROPERTY_CONNECTION_RETRY_COUNTConfigure httpclient'sorg.apache.http.impl.client.DefaultHttpRequestRetryHandler.static StringPROPERTY_DEFAULT_REPOSITORIESDefaultRepositories configuration property namestatic StringPROPERTY_GLOBAL_CHECKSUM_POLICYGlobal checksum policy property name.static StringPROPERTY_GLOBAL_UPDATE_POLICYGlobal update policy property name.static StringPROPERTY_LOCAL_REPO_AS_REMOTEAdd the default local repo (e.g.static StringPROPERTY_LOCAL_REPOSITORYLocalRepository configuration property name.static StringPROPERTY_MAVEN_MIRROR_URL_ENVIf this environmental variable is specified, the value will be used as global Maven mirror (for all repositories)static StringPROPERTY_MAVEN_MIRROR_URL_SYSIf this system property is specified, the value will be used as global Maven mirror (for all repositories)static StringPROPERTY_OFFLINEOption to set maven offline.static StringPROPERTY_PROXIESProxies given via property.static StringPROPERTY_PROXY_SUPPORTProxy support configuration property name.static booleanPROPERTY_PROXY_SUPPORT_DEFAULTDefault enable proxies or not if property PROPERTY_PROXY_SUPPORT is not set at all.static StringPROPERTY_REPOSITORIESRepositories configuration property name.static StringPROPERTY_SECURITYstatic StringPROPERTY_SETTINGS_FILEMaven settings file configuration property name.static StringPROPERTY_SOCKET_CONNECTION_TIMEOUTConfigure connection timeout value forjava.net.Socket#connect(SocketAddress, int)operation.static StringPROPERTY_SOCKET_SO_KEEPALIVEConfigureSocketOptions.SO_KEEPALIVE.static StringPROPERTY_SOCKET_SO_LINGERConfigureSocketOptions.SO_LINGER.static StringPROPERTY_SOCKET_SO_REUSEADDRESSConfigureSocketOptions.SO_REUSEADDR.static StringPROPERTY_SOCKET_SO_TIMEOUTConfigureSocketOptions.SO_TIMEOUT.static StringPROPERTY_SOCKET_TCP_NODELAYConfigureSocketOptions.TCP_NODELAY.static StringPROPERTY_TIMEOUTOption to configure the default timeout; use a default timeout of 5 secs by default.static StringPROPERTY_UPDATE_RELEASESProperty for configuration of non-canonical Maven behavior.static StringPROPERTY_USE_FALLBACK_REPOSITORIESUse fallback repositories switch configuration property name.static StringPROTOCOLThe protocol name.static StringREQUIRE_CONFIG_ADMIN_CONFIGWarning: use only in framework properties.static StringSEPARATOR_OPTIONSOptions separator in repository url.
-
-
-
Field Detail
-
PID
static final String PID
Service PID used for configuration.- See Also:
- Constant Field Values
-
PROTOCOL
static final String PROTOCOL
The protocol name.- See Also:
- Constant Field Values
-
PROPERTY_MAVEN_MIRROR_URL_ENV
static final String PROPERTY_MAVEN_MIRROR_URL_ENV
If this environmental variable is specified, the value will be used as global Maven mirror (for all repositories)- See Also:
- Constant Field Values
-
PROPERTY_MAVEN_MIRROR_URL_SYS
static final String PROPERTY_MAVEN_MIRROR_URL_SYS
If this system property is specified, the value will be used as global Maven mirror (for all repositories)- See Also:
- Constant Field Values
-
REQUIRE_CONFIG_ADMIN_CONFIG
static final String REQUIRE_CONFIG_ADMIN_CONFIG
Warning: use only in framework properties. If present, do not accept configuration, wait for one without this flag.- See Also:
- Constant Field Values
-
PROPERTY_LOCAL_REPO_AS_REMOTE
static final String PROPERTY_LOCAL_REPO_AS_REMOTE
Add the default local repo (e.g. ~/.m2/repository) as a remote repo. Useful when setting the local repo to be e.g. karaf system repo. BE CAREFUL! if you are using mirrors, do not mirror local repos! e.g. useexternal:* - See Also:
- Constant Field Values
-
PROPERTY_GLOBAL_UPDATE_POLICY
static final String PROPERTY_GLOBAL_UPDATE_POLICY
Global update policy property name.Provides repository update policy which will be applied to all configured repositories.
- See Also:
- Constant Field Values
-
PROPERTY_GLOBAL_CHECKSUM_POLICY
static final String PROPERTY_GLOBAL_CHECKSUM_POLICY
Global checksum policy property name.Provides repository checksum policy which will be applied to all configured repositories.
- See Also:
- Constant Field Values
-
PROPERTY_CERTIFICATE_CHECK
static final String PROPERTY_CERTIFICATE_CHECK
Certificate check configuration property name.- See Also:
- Constant Field Values
-
PROPERTY_SETTINGS_FILE
static final String PROPERTY_SETTINGS_FILE
Maven settings file configuration property name.- See Also:
- Constant Field Values
-
PROPERTY_LOCAL_REPOSITORY
static final String PROPERTY_LOCAL_REPOSITORY
LocalRepository configuration property name.- See Also:
- Constant Field Values
-
PROPERTY_DEFAULT_REPOSITORIES
static final String PROPERTY_DEFAULT_REPOSITORIES
DefaultRepositories configuration property name- See Also:
- Constant Field Values
-
PROPERTY_REPOSITORIES
static final String PROPERTY_REPOSITORIES
Repositories configuration property name.- See Also:
- Constant Field Values
-
PROPERTY_USE_FALLBACK_REPOSITORIES
static final String PROPERTY_USE_FALLBACK_REPOSITORIES
Use fallback repositories switch configuration property name.- See Also:
- Constant Field Values
-
PROPERTY_PROXY_SUPPORT
static final String PROPERTY_PROXY_SUPPORT
Proxy support configuration property name.- See Also:
- Constant Field Values
-
PROPERTY_SECURITY
static final String PROPERTY_SECURITY
- See Also:
- Constant Field Values
-
OPTION_ALLOW_SNAPSHOTS
static final String OPTION_ALLOW_SNAPSHOTS
Option to mark repository as allowing snapshots.- See Also:
- Constant Field Values
-
PROPERTY_TIMEOUT
static final String PROPERTY_TIMEOUT
Option to configure the default timeout; use a default timeout of 5 secs by default.- See Also:
- Constant Field Values
-
PROPERTY_OFFLINE
static final String PROPERTY_OFFLINE
Option to set maven offline.- See Also:
- Constant Field Values
-
OPTION_DISALLOW_RELEASES
static final String OPTION_DISALLOW_RELEASES
Option to mark repository as not allowing releases.- See Also:
- Constant Field Values
-
OPTION_MULTI
static final String OPTION_MULTI
Option to mark path as a parent directory of repo directories. So at runtime the parent directory is scanned for subdirectories and each subdirectory is used as a remote repo- See Also:
- Constant Field Values
-
SEPARATOR_OPTIONS
static final String SEPARATOR_OPTIONS
Options separator in repository url.- See Also:
- Constant Field Values
-
PROPERTY_PROXIES
static final String PROPERTY_PROXIES
Proxies given via property. Expected layout: http:host=foo,port=8080;https:host=bar,port=9090- See Also:
- Constant Field Values
-
PROPERTY_PROXY_SUPPORT_DEFAULT
static final boolean PROPERTY_PROXY_SUPPORT_DEFAULT
Default enable proxies or not if property PROPERTY_PROXY_SUPPORT is not set at all.- See Also:
- Constant Field Values
-
OPTION_ID
static final String OPTION_ID
segment in repository spec that gives the name of the repo. Crucial for Aether handler.- See Also:
- Constant Field Values
-
OPTION_UPDATE
static final String OPTION_UPDATE
- See Also:
- Constant Field Values
-
OPTION_RELEASES_UPDATE
static final String OPTION_RELEASES_UPDATE
- See Also:
- Constant Field Values
-
OPTION_SNAPSHOTS_UPDATE
static final String OPTION_SNAPSHOTS_UPDATE
- See Also:
- Constant Field Values
-
OPTION_CHECKSUM
static final String OPTION_CHECKSUM
- See Also:
- Constant Field Values
-
OPTION_RELEASES_CHECKSUM
static final String OPTION_RELEASES_CHECKSUM
- See Also:
- Constant Field Values
-
OPTION_SNAPSHOTS_CHECKSUM
static final String OPTION_SNAPSHOTS_CHECKSUM
- See Also:
- Constant Field Values
-
PROPERTY_SOCKET_SO_TIMEOUT
static final String PROPERTY_SOCKET_SO_TIMEOUT
ConfigureSocketOptions.SO_TIMEOUT. If not specified, genericPROPERTY_TIMEOUTis used.- See Also:
- Constant Field Values
-
PROPERTY_SOCKET_SO_KEEPALIVE
static final String PROPERTY_SOCKET_SO_KEEPALIVE
ConfigureSocketOptions.SO_KEEPALIVE. Defaults tofalse- See Also:
- Constant Field Values
-
PROPERTY_SOCKET_SO_LINGER
static final String PROPERTY_SOCKET_SO_LINGER
ConfigureSocketOptions.SO_LINGER. Defaults to-1.- See Also:
- Constant Field Values
-
PROPERTY_SOCKET_SO_REUSEADDRESS
static final String PROPERTY_SOCKET_SO_REUSEADDRESS
ConfigureSocketOptions.SO_REUSEADDR. Defaults tofalse- See Also:
- Constant Field Values
-
PROPERTY_SOCKET_TCP_NODELAY
static final String PROPERTY_SOCKET_TCP_NODELAY
ConfigureSocketOptions.TCP_NODELAY. Defaults totrue- See Also:
- Constant Field Values
-
PROPERTY_SOCKET_CONNECTION_TIMEOUT
static final String PROPERTY_SOCKET_CONNECTION_TIMEOUT
Configure connection timeout value forjava.net.Socket#connect(SocketAddress, int)operation. If not specified, genericPROPERTY_TIMEOUTis used.- See Also:
- Constant Field Values
-
PROPERTY_CONNECTION_BUFFER_SIZE
static final String PROPERTY_CONNECTION_BUFFER_SIZE
Configure buffer size for HTTP connections in:- org.apache.http.impl.io.SessionInputBufferImpl#buffer
- org.apache.http.impl.io.SessionOutputBufferImpl#buffer
8192.- See Also:
- Constant Field Values
-
PROPERTY_CONNECTION_RETRY_COUNT
static final String PROPERTY_CONNECTION_RETRY_COUNT
Configure httpclient'sorg.apache.http.impl.client.DefaultHttpRequestRetryHandler. Default value is3- See Also:
- Constant Field Values
-
PROPERTY_UPDATE_RELEASES
static final String PROPERTY_UPDATE_RELEASES
Property for configuration of non-canonical Maven behavior. If set to
true,MavenResolverwill use Aether policies to determine whether already available non-SNAPSHOT artifact should be redownloaded.Default value is
false.- See Also:
- Constant Field Values
-
-