Package org.eclipse.aether
Class ConfigurationProperties
- java.lang.Object
-
- org.eclipse.aether.ConfigurationProperties
-
public final class ConfigurationProperties extends java.lang.Object
The keys and defaults for common configuration properties.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCACHED_PRIORITIESA flag indicating whether the created ordered components should be cached in session.static java.lang.StringCLASS_PRIORITIESThe priority to use for a certain extension class.static java.lang.StringCONNECT_TIMEOUTThe maximum amount of time (in milliseconds) to wait for a successful connection to a remote server.static booleanDEFAULT_CACHED_PRIORITIESThe default caching of priority components ifCACHED_PRIORITIESisn't set.static intDEFAULT_CONNECT_TIMEOUTThe default connect timeout to use ifCONNECT_TIMEOUTisn't set.static intDEFAULT_HTTP_CONNECTION_MAX_TTLThe default value to use ifHTTP_CONNECTION_MAX_TTLisn't set (300 seconds).static java.lang.StringDEFAULT_HTTP_CREDENTIAL_ENCODINGThe default encoding/charset to use ifHTTP_CREDENTIAL_ENCODINGisn't set.static intDEFAULT_HTTP_MAX_CONNECTIONS_PER_ROUTEThe default value to use ifHTTP_MAX_CONNECTIONS_PER_ROUTEisn't set (50 connections).static booleanDEFAULT_HTTP_PREEMPTIVE_AUTHThe default value to use ifHTTP_PREEMPTIVE_AUTHisn't set (false).static booleanDEFAULT_HTTP_PREEMPTIVE_PUT_AUTHDefault value ifHTTP_PREEMPTIVE_PUT_AUTHis not set:true.static intDEFAULT_HTTP_RETRY_HANDLER_COUNTThe default number of retries to use ifHTTP_RETRY_HANDLER_COUNTisn't set.static longDEFAULT_HTTP_RETRY_HANDLER_INTERVALThe default initial retry interval to use ifHTTP_RETRY_HANDLER_INTERVALisn't set.static longDEFAULT_HTTP_RETRY_HANDLER_INTERVAL_MAXThe default retry interval maximum to use ifHTTP_RETRY_HANDLER_INTERVAL_MAXisn't set.static java.lang.StringDEFAULT_HTTP_RETRY_HANDLER_SERVICE_UNAVAILABLEThe default HTTP codes of remote server responses that should be handled as "too many requests".static booleanDEFAULT_HTTP_REUSE_CONNECTIONSThe default value to use ifHTTP_REUSE_CONNECTIONSisn't set (true).static booleanDEFAULT_HTTP_SEND_RFC9457_ACCEPTDefault value to use ifHTTP_SEND_RFC9457_ACCEPTis not set:true.static booleanDEFAULT_HTTP_SUPPORT_WEBDAVDefault value to use ifHTTP_SUPPORT_WEBDAVis not set:false.static booleanDEFAULT_IMPLICIT_PRIORITIESThe default extension priority mode ifIMPLICIT_PRIORITIESisn't set.static booleanDEFAULT_INTERACTIVEThe default interactive mode ifINTERACTIVEisn't set.static java.lang.StringDEFAULT_REPOSITORY_SYSTEM_DEPENDENCY_VISITORThe default visitor strategy.static java.lang.StringDEFAULT_REPOSITORY_SYSTEM_REPOSITORY_KEY_FUNCTIONstatic intDEFAULT_REQUEST_TIMEOUTThe default request timeout to use ifREQUEST_TIMEOUTisn't set.static java.lang.StringDEFAULT_USER_AGENTThe default user agent to use ifUSER_AGENTisn't set.static booleanDEFAULT_VERSION_SCHEME_CACHE_DEBUGThe default value for version scheme cache debug ifVERSION_SCHEME_CACHE_DEBUGisn't set.static java.lang.StringHTTP_CONNECTION_MAX_TTLTotal time to live in seconds for an HTTP connection, after that time, the connection will be dropped (no matter for how long it was idle).static java.lang.StringHTTP_CREDENTIAL_ENCODINGThe encoding/charset to use when exchanging credentials with HTTP servers.static java.lang.StringHTTP_EXPECT_CONTINUEBoolean flag should the HTTP transport use expect-continue handshake for PUT requests.static java.lang.StringHTTP_HEADERSThe request headers to use for HTTP-based repository connectors.static java.lang.StringHTTP_LOCAL_ADDRESSThe local address (interface) to use with HTTP transport.static java.lang.StringHTTP_MAX_CONNECTIONS_PER_ROUTEThe maximum concurrent connections per route HTTP client is allowed to use.static java.lang.StringHTTP_PREEMPTIVE_AUTHShould HTTP client use preemptive-authentication for all HTTP verbs (works only w/ BASIC).static java.lang.StringHTTP_PREEMPTIVE_PUT_AUTHBoolean flag should the HTTP transport use preemptive-auth for PUT requests.static java.lang.StringHTTP_RETRY_HANDLER_COUNTThe maximum number of times a request to a remote server should be retried in case of an error.static java.lang.StringHTTP_RETRY_HANDLER_INTERVALThe initial retry interval in millis of request to a remote server should be waited in case of "too many requests" (HTTP codes 429 and 503).static java.lang.StringHTTP_RETRY_HANDLER_INTERVAL_MAXThe maximum retry interval in millis of request to a remote server above which the request should be aborted instead.static java.lang.StringHTTP_RETRY_HANDLER_SERVICE_UNAVAILABLEThe HTTP codes of remote server responses that should be handled as "too many requests" (examples: HTTP codes 429 and 503).static java.lang.StringHTTP_REUSE_CONNECTIONSShould HTTP client reuse connections (in other words, pool connections) or not?static java.lang.StringHTTP_SEND_RFC9457_ACCEPTBoolean flag should the HTTP transport send HTTPstatic java.lang.StringHTTP_SUPPORT_WEBDAVBoolean flag should the HTTP transport support WebDAV remote.static java.lang.StringHTTPS_SECURITY_MODEThe mode that sets HTTPS transport "security mode": to ignore any SSL errors (certificate validity checks, hostname verification).static java.lang.StringHTTPS_SECURITY_MODE_DEFAULTThe default HTTPS security mode.static java.lang.StringHTTPS_SECURITY_MODE_INSECUREThe insecure HTTPS security mode (certificate validation, hostname verification are all ignored).static java.lang.StringIMPLICIT_PRIORITIESA flag indicating whether the priorities of pluggable extensions are implicitly given by their iteration order such that the first extension has the highest priority.static java.lang.StringINTERACTIVEA flag indicating whether interaction with the user is allowed.static java.lang.StringPREFIX_AETHERPrefix for all configurations.static java.lang.StringPREFIX_CHECKSUMSPrefix for checksum related configurations.static java.lang.StringPREFIX_CONNECTORPrefix for connector related configurations.static java.lang.StringPREFIX_GENERATORPrefix for generator related configurations.static java.lang.StringPREFIX_LAYOUTPrefix for layout related configurations.static java.lang.StringPREFIX_LRMPrefix for local repository manager related configurations.static java.lang.StringPREFIX_PRIORITYThe prefix for properties that control the priority of pluggable extensions like transporters.static java.lang.StringPREFIX_SYNC_CONTEXTPrefix for sync context related configurations.static java.lang.StringPREFIX_SYSTEMPrefix for repository system related configurations.static java.lang.StringPREFIX_TRANSPORTPrefix for transport related configurations.static java.lang.StringPREFIX_TRANSPORT_HTTPPrefix for HTTP protocol related configurations.static java.lang.StringPREFIX_TRANSPORT_HTTPSPrefix for HTTPS protocol related configurations.static java.lang.StringPREFIX_UTILPrefix for util related configurations.static java.lang.StringREPOSITORY_SYSTEM_DEPENDENCY_VISITORA flag indicating which visitor should be used to "flatten" the dependency graph into list.static java.lang.StringREPOSITORY_SYSTEM_DEPENDENCY_VISITOR_LEVELORDERThe visitor strategy "levelOrder".static java.lang.StringREPOSITORY_SYSTEM_DEPENDENCY_VISITOR_POSTORDERThe visitor strategy "postOrder".static java.lang.StringREPOSITORY_SYSTEM_DEPENDENCY_VISITOR_PREORDERThe visitor strategy "preOrder".static java.lang.StringREPOSITORY_SYSTEM_REPOSITORY_KEY_FUNCTIONExperimental: Configuration for system-wide "repository key" function.static java.lang.StringREQUEST_TIMEOUTThe maximum amount of time (in milliseconds) to wait for remaining data to arrive from a remote server.static java.lang.StringUSER_AGENTThe user agent that repository connectors should report to servers.static java.lang.StringVERSION_SCHEME_CACHE_DEBUGA flag indicating whether version scheme cache statistics should be printed on JVM shutdown.
-
-
-
Field Detail
-
PREFIX_AETHER
public static final java.lang.String PREFIX_AETHER
Prefix for all configurations. For internal use only.- Since:
- 2.0.0
- See Also:
- Constant Field Values
-
PREFIX_SYSTEM
public static final java.lang.String PREFIX_SYSTEM
Prefix for repository system related configurations. For internal use only.- Since:
- 2.0.0
- See Also:
- Constant Field Values
-
PREFIX_SYNC_CONTEXT
public static final java.lang.String PREFIX_SYNC_CONTEXT
Prefix for sync context related configurations. For internal use only.- Since:
- 2.0.0
- See Also:
- Constant Field Values
-
PREFIX_CONNECTOR
public static final java.lang.String PREFIX_CONNECTOR
Prefix for connector related configurations. For internal use only.- Since:
- 2.0.0
- See Also:
- Constant Field Values
-
PREFIX_LAYOUT
public static final java.lang.String PREFIX_LAYOUT
Prefix for layout related configurations. For internal use only.- Since:
- 2.0.0
- See Also:
- Constant Field Values
-
PREFIX_CHECKSUMS
public static final java.lang.String PREFIX_CHECKSUMS
Prefix for checksum related configurations. For internal use only.- Since:
- 2.0.0
- See Also:
- Constant Field Values
-
PREFIX_LRM
public static final java.lang.String PREFIX_LRM
Prefix for local repository manager related configurations. For internal use only.- Since:
- 2.0.0
- See Also:
- Constant Field Values
-
PREFIX_GENERATOR
public static final java.lang.String PREFIX_GENERATOR
Prefix for generator related configurations. For internal use only.- Since:
- 2.0.0
- See Also:
- Constant Field Values
-
PREFIX_UTIL
public static final java.lang.String PREFIX_UTIL
Prefix for util related configurations. For internal use only.- Since:
- 2.0.10
- See Also:
- Constant Field Values
-
PREFIX_TRANSPORT
public static final java.lang.String PREFIX_TRANSPORT
Prefix for transport related configurations. For internal use only.- Since:
- 2.0.0
- See Also:
- Constant Field Values
-
PREFIX_TRANSPORT_HTTP
public static final java.lang.String PREFIX_TRANSPORT_HTTP
Prefix for HTTP protocol related configurations. For internal use only.- Since:
- 2.0.0
- See Also:
- Constant Field Values
-
PREFIX_TRANSPORT_HTTPS
public static final java.lang.String PREFIX_TRANSPORT_HTTPS
Prefix for HTTPS protocol related configurations. For internal use only.- Since:
- 2.0.0
- See Also:
- Constant Field Values
-
PREFIX_PRIORITY
public static final java.lang.String PREFIX_PRIORITY
The prefix for properties that control the priority of pluggable extensions like transporters. For example, for an extension with the fully qualified class name "org.eclipse.MyExtensionFactory", the configuration properties "aether.priority.org.eclipse.MyExtensionFactory", "aether.priority.MyExtensionFactory" and "aether.priority.MyExtension" will be consulted for the priority, in that order (obviously, the last key is only tried if the class name ends with "Factory"). The corresponding value is a float and the special valueFloat.NaNor "NaN" (case-sensitive) can be used to disable the extension.- See Also:
- Constant Field Values
-
IMPLICIT_PRIORITIES
public static final java.lang.String IMPLICIT_PRIORITIES
A flag indicating whether the priorities of pluggable extensions are implicitly given by their iteration order such that the first extension has the highest priority. If set, an extension's built-in priority as well as any correspondingaether.priority.*configuration properties are ignored when searching for a suitable implementation among the available extensions. This priority mode is meant for cases where the application will present/inject extensions in the desired search order.- See Also:
- Constant Field Values
-
DEFAULT_IMPLICIT_PRIORITIES
public static final boolean DEFAULT_IMPLICIT_PRIORITIES
The default extension priority mode ifIMPLICIT_PRIORITIESisn't set.- See Also:
- Constant Field Values
-
CACHED_PRIORITIES
public static final java.lang.String CACHED_PRIORITIES
A flag indicating whether the created ordered components should be cached in session.- Since:
- 2.0.0
- See Also:
- Constant Field Values
-
DEFAULT_CACHED_PRIORITIES
public static final boolean DEFAULT_CACHED_PRIORITIES
The default caching of priority components ifCACHED_PRIORITIESisn't set. Default value istrue.- Since:
- 2.0.0
- See Also:
- Constant Field Values
-
CLASS_PRIORITIES
public static final java.lang.String CLASS_PRIORITIES
The priority to use for a certain extension class.<class>can either be the fully qualified name or the simple name of a class. If the class name ends with Factory that suffix could optionally be left out. This configuration is used byorg.eclipse.aether.internal.impl.PrioritizedComponentsinternal utility to sort classes by priority. This is reusable utility (so an extension can make use of it), but by default in "vanilla" Resolver following classes are sorted:org.eclipse.aether.spi.localrepo.LocalRepositoryManagerFactoryorg.eclipse.aether.spi.connector.RepositoryConnectorFactoryorg.eclipse.aether.spi.connector.layout.RepositoryLayoutFactoryorg.eclipse.aether.spi.connector.transport.TransporterFactoryorg.eclipse.aether.spi.artifact.decorator.ArtifactDecoratorFactoryorg.eclipse.aether.spi.artifact.generator.ArtifactGeneratorFactoryorg.eclipse.aether.impl.MetadataGeneratorFactory
- See Also:
- Constant Field Values
-
INTERACTIVE
public static final java.lang.String INTERACTIVE
A flag indicating whether interaction with the user is allowed.- See Also:
- Constant Field Values
-
DEFAULT_INTERACTIVE
public static final boolean DEFAULT_INTERACTIVE
The default interactive mode ifINTERACTIVEisn't set.- See Also:
- Constant Field Values
-
USER_AGENT
public static final java.lang.String USER_AGENT
The user agent that repository connectors should report to servers.- See Also:
- Constant Field Values
-
DEFAULT_USER_AGENT
public static final java.lang.String DEFAULT_USER_AGENT
The default user agent to use ifUSER_AGENTisn't set.- See Also:
- Constant Field Values
-
CONNECT_TIMEOUT
public static final java.lang.String CONNECT_TIMEOUT
The maximum amount of time (in milliseconds) to wait for a successful connection to a remote server. Non-positive values indicate no timeout.- See Also:
- Constant Field Values
-
DEFAULT_CONNECT_TIMEOUT
public static final int DEFAULT_CONNECT_TIMEOUT
The default connect timeout to use ifCONNECT_TIMEOUTisn't set.- See Also:
- Constant Field Values
-
REQUEST_TIMEOUT
public static final java.lang.String REQUEST_TIMEOUT
The maximum amount of time (in milliseconds) to wait for remaining data to arrive from a remote server. Note that this timeout does not restrict the overall duration of a request, it only restricts the duration of inactivity between consecutive data packets. Non-positive values indicate no timeout.- See Also:
- Constant Field Values
-
DEFAULT_REQUEST_TIMEOUT
public static final int DEFAULT_REQUEST_TIMEOUT
The default request timeout to use ifREQUEST_TIMEOUTisn't set.- See Also:
- Constant Field Values
-
HTTP_HEADERS
public static final java.lang.String HTTP_HEADERS
The request headers to use for HTTP-based repository connectors. The headers are specified using aMap<String, String>, mapping a header name to its value. Besides this general key, clients may also specify headers for a specific remote repository by appending the suffix.<repoId>to this key when storing the headers map. The repository-specific headers map is supposed to be complete, i.e. is not merged with the general headers map.- See Also:
- Constant Field Values
-
HTTP_CREDENTIAL_ENCODING
public static final java.lang.String HTTP_CREDENTIAL_ENCODING
The encoding/charset to use when exchanging credentials with HTTP servers. Besides this general key, clients may also specify the encoding for a specific remote repository by appending the suffix.<repoId>to this key when storing the charset name.- See Also:
- Constant Field Values
-
DEFAULT_HTTP_CREDENTIAL_ENCODING
public static final java.lang.String DEFAULT_HTTP_CREDENTIAL_ENCODING
The default encoding/charset to use ifHTTP_CREDENTIAL_ENCODINGisn't set.- See Also:
- Constant Field Values
-
HTTP_RETRY_HANDLER_COUNT
public static final java.lang.String HTTP_RETRY_HANDLER_COUNT
The maximum number of times a request to a remote server should be retried in case of an error.- Since:
- 1.9.6
- See Also:
- Constant Field Values
-
DEFAULT_HTTP_RETRY_HANDLER_COUNT
public static final int DEFAULT_HTTP_RETRY_HANDLER_COUNT
The default number of retries to use ifHTTP_RETRY_HANDLER_COUNTisn't set.- Since:
- 1.9.6
- See Also:
- Constant Field Values
-
HTTP_RETRY_HANDLER_INTERVAL
public static final java.lang.String HTTP_RETRY_HANDLER_INTERVAL
The initial retry interval in millis of request to a remote server should be waited in case of "too many requests" (HTTP codes 429 and 503). Accepts long as milliseconds. This value is used if remote server does not useRetry-Afterheader, in which case Server value is obeyed.- Since:
- 1.9.16
- See Also:
- Constant Field Values
-
DEFAULT_HTTP_RETRY_HANDLER_INTERVAL
public static final long DEFAULT_HTTP_RETRY_HANDLER_INTERVAL
The default initial retry interval to use ifHTTP_RETRY_HANDLER_INTERVALisn't set. Default value 5000ms.- Since:
- 1.9.16
- See Also:
- Constant Field Values
-
HTTP_RETRY_HANDLER_INTERVAL_MAX
public static final java.lang.String HTTP_RETRY_HANDLER_INTERVAL_MAX
The maximum retry interval in millis of request to a remote server above which the request should be aborted instead. In theory, a malicious server could tell Maven "come back after 100 years" that would stall the build for some. Using this parameter Maven will fail the request instead, if interval is above this value.- Since:
- 1.9.16
- See Also:
- Constant Field Values
-
DEFAULT_HTTP_RETRY_HANDLER_INTERVAL_MAX
public static final long DEFAULT_HTTP_RETRY_HANDLER_INTERVAL_MAX
The default retry interval maximum to use ifHTTP_RETRY_HANDLER_INTERVAL_MAXisn't set. Default value 5 minutes.- Since:
- 1.9.16
- See Also:
- Constant Field Values
-
HTTP_RETRY_HANDLER_SERVICE_UNAVAILABLE
public static final java.lang.String HTTP_RETRY_HANDLER_SERVICE_UNAVAILABLE
The HTTP codes of remote server responses that should be handled as "too many requests" (examples: HTTP codes 429 and 503). Accepts comma separated list of HTTP response codes.- Since:
- 1.9.16
- See Also:
- Constant Field Values
-
DEFAULT_HTTP_RETRY_HANDLER_SERVICE_UNAVAILABLE
public static final java.lang.String DEFAULT_HTTP_RETRY_HANDLER_SERVICE_UNAVAILABLE
The default HTTP codes of remote server responses that should be handled as "too many requests". Default value: "429,503".- Since:
- 1.9.16
- See Also:
- Constant Field Values
-
HTTP_PREEMPTIVE_AUTH
public static final java.lang.String HTTP_PREEMPTIVE_AUTH
Should HTTP client use preemptive-authentication for all HTTP verbs (works only w/ BASIC). By default, is disabled, as it is considered less secure.- Since:
- 1.9.6
- See Also:
- Constant Field Values
-
DEFAULT_HTTP_PREEMPTIVE_AUTH
public static final boolean DEFAULT_HTTP_PREEMPTIVE_AUTH
The default value to use ifHTTP_PREEMPTIVE_AUTHisn't set (false).- Since:
- 1.9.6
- See Also:
- Constant Field Values
-
HTTP_REUSE_CONNECTIONS
public static final java.lang.String HTTP_REUSE_CONNECTIONS
Should HTTP client reuse connections (in other words, pool connections) or not?- Since:
- 1.9.8
- See Also:
- Constant Field Values
-
DEFAULT_HTTP_REUSE_CONNECTIONS
public static final boolean DEFAULT_HTTP_REUSE_CONNECTIONS
The default value to use ifHTTP_REUSE_CONNECTIONSisn't set (true).- Since:
- 1.9.8
- See Also:
- Constant Field Values
-
HTTP_CONNECTION_MAX_TTL
public static final java.lang.String HTTP_CONNECTION_MAX_TTL
Total time to live in seconds for an HTTP connection, after that time, the connection will be dropped (no matter for how long it was idle).- Since:
- 1.9.8
- See Also:
- Constant Field Values
-
DEFAULT_HTTP_CONNECTION_MAX_TTL
public static final int DEFAULT_HTTP_CONNECTION_MAX_TTL
The default value to use ifHTTP_CONNECTION_MAX_TTLisn't set (300 seconds).- Since:
- 1.9.8
- See Also:
- Constant Field Values
-
HTTP_MAX_CONNECTIONS_PER_ROUTE
public static final java.lang.String HTTP_MAX_CONNECTIONS_PER_ROUTE
The maximum concurrent connections per route HTTP client is allowed to use.- Since:
- 1.9.8
- See Also:
- Constant Field Values
-
DEFAULT_HTTP_MAX_CONNECTIONS_PER_ROUTE
public static final int DEFAULT_HTTP_MAX_CONNECTIONS_PER_ROUTE
The default value to use ifHTTP_MAX_CONNECTIONS_PER_ROUTEisn't set (50 connections).- Since:
- 1.9.8
- See Also:
- Constant Field Values
-
HTTP_LOCAL_ADDRESS
public static final java.lang.String HTTP_LOCAL_ADDRESS
The local address (interface) to use with HTTP transport. Not all transport supports this option.- Since:
- 2.0.0
- See Also:
- Constant Field Values
-
HTTP_SUPPORT_WEBDAV
public static final java.lang.String HTTP_SUPPORT_WEBDAV
Boolean flag should the HTTP transport support WebDAV remote. Not all transport support this option.- Since:
- 2.0.0 (moved out from maven-resolver-transport-http).
- See Also:
- Constant Field Values
-
DEFAULT_HTTP_SUPPORT_WEBDAV
public static final boolean DEFAULT_HTTP_SUPPORT_WEBDAV
Default value to use ifHTTP_SUPPORT_WEBDAVis not set:false.- Since:
- 2.0.0
- See Also:
- Constant Field Values
-
HTTP_PREEMPTIVE_PUT_AUTH
public static final java.lang.String HTTP_PREEMPTIVE_PUT_AUTH
Boolean flag should the HTTP transport use preemptive-auth for PUT requests. Not all transport support this option.- Since:
- 2.0.0 (moved out from maven-resolver-transport-http).
- See Also:
- Constant Field Values
-
DEFAULT_HTTP_PREEMPTIVE_PUT_AUTH
public static final boolean DEFAULT_HTTP_PREEMPTIVE_PUT_AUTH
Default value ifHTTP_PREEMPTIVE_PUT_AUTHis not set:true.- Since:
- 2.0.0
- See Also:
- Constant Field Values
-
HTTP_EXPECT_CONTINUE
public static final java.lang.String HTTP_EXPECT_CONTINUE
Boolean flag should the HTTP transport use expect-continue handshake for PUT requests. Not all transport support this option. This option may be needed for some broken HTTP servers. Default value corresponds to given transport default one (resolver does not override those), but if configuration IS given, it will replace given transport own default value.- Since:
- 1.9.17
- See Also:
- Constant Field Values
-
HTTPS_SECURITY_MODE
public static final java.lang.String HTTPS_SECURITY_MODE
The mode that sets HTTPS transport "security mode": to ignore any SSL errors (certificate validity checks, hostname verification). The default value isHTTPS_SECURITY_MODE_DEFAULT.- Since:
- 1.9.6
- See Also:
HTTPS_SECURITY_MODE_DEFAULT,HTTPS_SECURITY_MODE_INSECURE, Constant Field Values
-
HTTPS_SECURITY_MODE_DEFAULT
public static final java.lang.String HTTPS_SECURITY_MODE_DEFAULT
The default HTTPS security mode.- Since:
- 1.9.6
- See Also:
- Constant Field Values
-
HTTPS_SECURITY_MODE_INSECURE
public static final java.lang.String HTTPS_SECURITY_MODE_INSECURE
The insecure HTTPS security mode (certificate validation, hostname verification are all ignored).- Since:
- 1.9.6
- See Also:
- Constant Field Values
-
REPOSITORY_SYSTEM_DEPENDENCY_VISITOR
public static final java.lang.String REPOSITORY_SYSTEM_DEPENDENCY_VISITOR
A flag indicating which visitor should be used to "flatten" the dependency graph into list. In Maven 4 the default is new "levelOrder", while Maven 3 used "preOrder". This property accepts values "preOrder", "postOrder" and "levelOrder".
-
REPOSITORY_SYSTEM_DEPENDENCY_VISITOR_PREORDER
public static final java.lang.String REPOSITORY_SYSTEM_DEPENDENCY_VISITOR_PREORDER
The visitor strategy "preOrder".- Since:
- 2.0.0
- See Also:
- Constant Field Values
-
REPOSITORY_SYSTEM_DEPENDENCY_VISITOR_POSTORDER
public static final java.lang.String REPOSITORY_SYSTEM_DEPENDENCY_VISITOR_POSTORDER
The visitor strategy "postOrder". This was the only one supported in Resolver 1.x and is hence the default as well.- Since:
- 2.0.0
- See Also:
- Constant Field Values
-
REPOSITORY_SYSTEM_DEPENDENCY_VISITOR_LEVELORDER
public static final java.lang.String REPOSITORY_SYSTEM_DEPENDENCY_VISITOR_LEVELORDER
The visitor strategy "levelOrder".- Since:
- 2.0.0
- See Also:
- Constant Field Values
-
DEFAULT_REPOSITORY_SYSTEM_DEPENDENCY_VISITOR
public static final java.lang.String DEFAULT_REPOSITORY_SYSTEM_DEPENDENCY_VISITOR
The default visitor strategy.- Since:
- 2.0.12
- See Also:
- Constant Field Values
-
REPOSITORY_SYSTEM_REPOSITORY_KEY_FUNCTION
public static final java.lang.String REPOSITORY_SYSTEM_REPOSITORY_KEY_FUNCTION
Experimental: Configuration for system-wide "repository key" function. Accepted and recommended values: "nid" (default), "nid_hurl" and "ngurk", while "simple" is Maven 3 legacy, technically equivalent to "nid". For complete description see enumorg.eclipse.aether.util.repository.RepositoryIdHelper.RepositoryKeyTypein utils. Warning: repository key function affects Resolver fundamentally and may have unexpected results! Only change this if you know what you are doing!- Since:
- 2.0.14
- See Also:
- Constant Field Values
-
DEFAULT_REPOSITORY_SYSTEM_REPOSITORY_KEY_FUNCTION
public static final java.lang.String DEFAULT_REPOSITORY_SYSTEM_REPOSITORY_KEY_FUNCTION
- See Also:
- Constant Field Values
-
VERSION_SCHEME_CACHE_DEBUG
public static final java.lang.String VERSION_SCHEME_CACHE_DEBUG
A flag indicating whether version scheme cache statistics should be printed on JVM shutdown. This is useful for analyzing cache performance and effectiveness in development and testing scenarios.- Since:
- 2.0.10
- See Also:
- Constant Field Values
-
DEFAULT_VERSION_SCHEME_CACHE_DEBUG
public static final boolean DEFAULT_VERSION_SCHEME_CACHE_DEBUG
The default value for version scheme cache debug ifVERSION_SCHEME_CACHE_DEBUGisn't set.- Since:
- 2.0.10
- See Also:
- Constant Field Values
-
HTTP_SEND_RFC9457_ACCEPT
public static final java.lang.String HTTP_SEND_RFC9457_ACCEPT
Boolean flag should the HTTP transport send HTTPAccept
header to signal that it supports RFC 9457 error messages. Some servers have issues with handling the HTTP Accept headers. Known servers not supporting it is for example Staging REST endpoint of Sonatype Nexus 2. This configuration is only about sending (or not sending) HTTP header with content ofAccept: application/problem+json
that may be required by some servers to trigger error reporting using RFC 9457.- Since:
- 2.0.19
- See Also:
- Constant Field Values
-
DEFAULT_HTTP_SEND_RFC9457_ACCEPT
public static final boolean DEFAULT_HTTP_SEND_RFC9457_ACCEPT
Default value to use ifHTTP_SEND_RFC9457_ACCEPTis not set:true.- Since:
- 2.0.19
- See Also:
- Constant Field Values
-
-