-
-
-
-
Serialized Fields
-
artifactId
String artifactId
Field artifactId.
-
classifier
String classifier
Field classifier.
-
fileHash
String fileHash
Field fileHash.
-
fileName
String fileName
Field fileName.
-
filePath
String filePath
Field filePath.
-
fileSize
long fileSize
Field fileSize.
-
groupId
String groupId
Field groupId.
-
scope
String scope
Field scope.
-
type
String type
Field type.
-
version
String version
Field version.
-
-
Serialized Fields
-
_final
Boolean _final
Field _final.
-
artifact
Artifact artifact
Field artifact.
-
attachedArtifacts
List<Artifact> attachedArtifacts
Field attachedArtifacts.
-
buildServer
String buildServer
Field buildServer.
-
buildTime
Date buildTime
Field buildTime.
-
cacheImplementationVersion
String cacheImplementationVersion
Field cacheImplementationVersion.
-
executions
List<CompletedExecution> executions
Field executions.
-
goals
List<String> goals
Field goals.
-
hashFunction
String hashFunction
Field hashFunction.
-
modelEncoding
String modelEncoding
Field modelEncoding.
-
projectsInputInfo
ProjectsInputInfo projectsInputInfo
Field projectsInputInfo.
-
scm
Scm scm
Field scm.
-
-
-
Serialized Fields
-
charset
String charset
Field charset.
-
content
String content
Field content.
-
eol
String eol
Field eol.
-
fileChecksum
String fileChecksum
Field fileChecksum.
-
hash
String hash
Field hash.
-
isText
String isText
Field isText.
-
type
String type
Field type.
-
value
String value
Field value.
-
-
-
Serialized Fields
-
name
String name
Field name.
-
tracked
Boolean tracked
Field tracked.
-
value
String value
Field value.
-
-
Serialized Fields
-
revision
String revision
Field revision.
-
sourceBranch
String sourceBranch
Field sourceBranch.
-
-
-
Serialized Fields
-
dirNames
List<DirName> dirNames
Field dirNames.
-
preservePermissions
boolean preservePermissions
Preserve Unix file permissions when saving/restoring
attached outputs. When enabled, permissions are stored in
ZIP entry headers and become part of the cache key, ensuring
cache invalidation when permissions change. This is similar
to how Git includes file mode in tree hashes. Disabling this
may improve portability across different systems but will
not preserve executable bits.
-
-
Serialized Fields
-
configuration
Configuration configuration
Configuration of main cache properties.
-
executionControl
ExecutionControl executionControl
Execution rules for plugins in cached mode. Defines which
plugins should run always.
-
input
Input input
Configuration for source code input files participating in
checksum calculation.
-
modelEncoding
String modelEncoding
Field modelEncoding.
-
output
Output output
Configuration for output artifacts, it's needed if you want
to explicitly include/exclude something from caching.
-
-
Serialized Fields
-
attachedOutputs
AttachedOutputs attachedOutputs
Field attachedOutputs.
-
debugs
List<String> debugs
Field debugs.
-
enabled
boolean enabled
Field enabled.
-
hashAlgorithm
String hashAlgorithm
One of XX, XXMM, METRO, METRO+MM, SHA-1, SHA-256, SHA-384,
SHA-512.
-
local
Local local
Field local.
-
mandatoryClean
boolean mandatoryClean
Enable the cache storing ability only if a build went
through the clean lifecycle.
-
multiModule
MultiModule multiModule
Specifies related to multi module projects configuration.
-
projectVersioning
ProjectVersioning projectVersioning
Specifies parameters to handle project version changes.
-
remote
Remote remote
Field remote.
-
validateXml
boolean validateXml
Validate cache config and builds metadata against xsd.
TODO: not implemented
.
-
-
Serialized Fields
-
artifactId
String artifactId
Field artifactId.
-
groupId
String groupId
Field groupId.
-
-
-
Serialized Fields
-
excludes
List<TagExclude> excludes
Field excludes.
-
ignoreParent
boolean ignoreParent
Ignore parent settings or inherit and merge.
-
includes
List<TagScanConfig> includes
Field includes.
-
mode
String mode
Either 'auto' (scan directory
accordingly to cache implementation) or 'skip' (skip
directory).
-
tagScanConfigs
List<TagScanConfig> tagScanConfigs
Field tagScanConfigs.
-
-
-
-
Serialized Fields
-
entryType
String entryType
Type of entries filtered. One of FILE, DIRECTORY, ALL.
Excluding a directory excludes its subfiles and
subdirectories.
-
glob
String glob
Entries are filtered by matching this glob (see matcherType
property).
-
matcherType
String matcherType
The entry property matched for exclusion. One of FILENAME,
PATH. For a path, if the exclusion value is empty or a
relative path, matching is done relatively to the project
folder.
-
value
String value
An absolute or relative path to a filename or a directory.
In the later case, the exclusion is applied starting from
this directory (can be beneficial in term of performances).
If empty, the glob is applied on every file listed as a
potential part of the checksum.
-
-
-
Serialized Fields
-
dirScan
DirScanConfig dirScan
Specifies rules of configuration processing in search of
referenced source files.
-
execIds
List<String> execIds
Field execIds.
-
ignoreParentConfig
boolean ignoreParentConfig
ignore parent config or inherit/merge.
-
-
Serialized Fields
-
ignoreMissing
Executables ignoreMissing
Specify which
executions/plugins/goals do not affect generated artifacts
and do not affect build correctness.
If cached build lacks of ignorable
executions only, it still could be reused.
Typically case is then cached build
is produced with 'verify' and you locally you run 'install'.
Strictly speaking these are
different builds but in most of cases you want this
difference to be ignored
.
-
reconcile
Reconcile reconcile
Specify which plugin should run always if present in build
regardless of cached status.
-
runAlways
Executables runAlways
Specify which plugin should run always if present in build
regardless of cached status.
-
-
-
-
Serialized Fields
-
logAll
boolean logAll
Controls if all plugin properties to be logged (true is
default). All the properties logged
with respect to log/nolog children:
* true: logged all if no blacklists
(<nolog/>) and whitelists (<log/>) specified on
plugin
level
* false: logged only tracked and
included by whitelists (<log/>) on plugin level
.
-
logs
List<PropertyName> logs
Field logs.
-
nologs
List<PropertyName> nologs
Field nologs.
-
reconciles
List<TrackedProperty> reconciles
Field reconciles.
-
-
-
Serialized Fields
-
glob
String glob
Files in a directory are filtered by matching their names
against this glob.
-
recursive
boolean recursive
Will search in sub-folders if set to true.
-
value
String value
Path to add to the checksum computation.
-
-
-
Serialized Fields
-
location
String location
The base directory where the local cache is located.
Defaults to
~/.m2/build-cache/.
-
maxBuildsCached
int maxBuildsCached
Maximum number of cached build per artifact in local cache.
First created cache (the
oldest) is evicted if breached.
-
-
-
-
-
-
Serialized Fields
-
dirScan
DirScanConfig dirScan
Specifies plugin level rules of configuration processing in
search of referenced source files.
-
effectivePom
EffectivePom effectivePom
Effective pom calculation rules.
-
excludeDependencies
boolean excludeDependencies
True to exclude plugin dependencies from the calculation
rules.
-
executions
List<ExecutionConfigurationScan> executions
Field executions.
-
-
-
Serialized Fields
-
adjustMetaInf
boolean adjustMetaInf
Determines whether version in metadata must be changed
according to building project version.
-
calculateProjectVersionChecksum
boolean calculateProjectVersionChecksum
Determines whether project version should be included to
calculate checksum input.
-
-
Serialized Fields
-
propertyName
String propertyName
Field propertyName.
-
value
String value
Field value.
-
-
Serialized Fields
-
logAllProperties
boolean logAllProperties
Controls if all plugin properties to
be logged (true is default). All the properties
logged with respect to children:
* logAll on plugin level overrides
global value
* true: logged all if no blacklists
(<nolog/>) and whitelists (<log/>) specified on
plugin level
* false: logged only tracked and
included by whitelists (<log/>) on plugin level
<log/>
.
-
plugins
List<GoalReconciliation> plugins
Field plugins.
-
-
Serialized Fields
-
enabled
boolean enabled
Field enabled.
-
id
String id
The repository id used to find authentication / mirror
information in maven settings, default to 'cache'.
-
saveToRemote
boolean saveToRemote
Save output to remote cache. Recommended to enable on CI
agents only.
-
transport
String transport
The transport to use, currently, only 'resolver' is supported
-
url
String url
Address of remote cache.
-
-
Serialized Fields
-
tagName
String tagName
Field tagName.
-
-
-
Serialized Fields
-
defaultValue
String defaultValue
Field defaultValue.
-
propertyName
String propertyName
Field propertyName.
-
skipValue
String skipValue
Field skipValue.
-
value
String value
Field value.
-
-
-
-
-
Serialized Fields
-
artifactId
String artifactId
Field artifactId.
-
checksum
String checksum
Field checksum.
-
checksumMatched
Boolean checksumMatched
Field checksumMatched.
-
groupId
String groupId
Field groupId.
-
lifecycleMatched
Boolean lifecycleMatched
Field lifecycleMatched.
-
pluginsMatched
Boolean pluginsMatched
Field pluginsMatched.
-
sharedToRemote
Boolean sharedToRemote
Field sharedToRemote.
-
source
String source
Field source.
-
url
String url
Field url.