Interface ServiceConstants


  • public interface ServiceConstants
    An enumeration of constants related to maven handler.
    Since:
    September 10, 2010
    Author:
    Toni Menzel, Guillaume Nodet
    • Field Detail

      • 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. use external:*
        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
      • 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
      • 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
      • 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
      • PROPERTY_SOCKET_CONNECTION_TIMEOUT

        static final String PROPERTY_SOCKET_CONNECTION_TIMEOUT
        Configure connection timeout value for java.net.Socket#connect(SocketAddress, int) operation. If not specified, generic PROPERTY_TIMEOUT is 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
        Defaults to 8192.
        See Also:
        Constant Field Values
      • PROPERTY_CONNECTION_RETRY_COUNT

        static final String PROPERTY_CONNECTION_RETRY_COUNT
        Configure httpclient's org.apache.http.impl.client.DefaultHttpRequestRetryHandler. Default value is 3
        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, MavenResolver will use Aether policies to determine whether already available non-SNAPSHOT artifact should be redownloaded.

        Default value is false.

        See Also:
        Constant Field Values