olamy commented on code in PR #489:
URL:
https://github.com/apache/maven-build-cache-extension/pull/489#discussion_r3246269470
##########
src/site/markdown/parameters.md:
##########
@@ -41,6 +41,7 @@ This document contains various configuration parameters
supported by the cache e
| `-Dmaven.build.cache.skipSave=(true/false)` | Skip writing
build result in caches. Does not affect reading from the cache.
|
Configuring MR builds to benefits from the cache, but restricting writes to the
`master` branch |
| `-Dmaven.build.cache.mandatoryClean=(true/false)` | Enable or
disable the necessity to execute the `clean` phase in order to store the build
result in cache. Default: `false`
|
Reducing the risk to save "wrong" files in cache in a local dev environment
|
| `-Dmaven.build.cache.cacheCompile=(true/false)` | Cache compile
phase outputs (classes, test-classes, generated sources). When enabled
(default), compile-only builds create cache entries that can be restored by
subsequent builds. When disabled, caching only occurs during package phase or
later. | Performance optimization for incremental builds
|
+| `-Dmaven.build.cache.maxLocalBuildsCached=<n>` | Maximum number
of cached build records retained per project in the local cache. Overrides
`<local><maxBuildsCached>` from the XML config. (default: `3`)
|
Limit local cache disk usage or retain more builds for bisecting failures
|
Review Comment:
yup agree local mean from the xml file. I will change this
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]