[ 
https://issues.apache.org/jira/browse/MBUILDCACHE-22?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17605416#comment-17605416
 ] 

ASF GitHub Bot commented on MBUILDCACHE-22:
-------------------------------------------

eltsovalex commented on code in PR #24:
URL: 
https://github.com/apache/maven-build-cache-extension/pull/24#discussion_r972138664


##########
src/site/markdown/parameters.md:
##########
@@ -32,6 +32,7 @@ This documents contains various configuration parameters 
supported by cache engi
 | `-Dmaven.build.cache.lazyRestore=(true/false)`             | Restore 
artifacts from remote cache lazily                                              
                                                 | Performance optimization |
 | `-Dmaven.build.cache.restoreGeneratedSources=(true/false)` | Do not restore 
generated sources and directly attached files                                   
                                          | Performance optimization |
 | `-Dmaven.build.cache.alwaysRunPlugins=<list of plugins>`   | Comma seprated 
list of plugins to always run regardless of cache state. An example: 
`maven-deploy-plugin:*,maven-install-plugin:install` | Remote cache 
setup/tuning/troubleshooting |
+| `-Dmaven.build.cache.skipLookup=(true/false)`              | Skip looking up 
artifacts in caches. Does not affect writing artifacts to caches, disables only 
reading when set to `true`               | May be used to trigger a forced 
rebuild when maching artifatcs do exist in caches|

Review Comment:
   @AlexanderAshitkin renamed to -Dorg.maven.build.cache.skipCache





> Add possibility to skip cache lookup
> ------------------------------------
>
>                 Key: MBUILDCACHE-22
>                 URL: https://issues.apache.org/jira/browse/MBUILDCACHE-22
>             Project: Maven Build Cache Extension
>          Issue Type: New Feature
>          Components: remote build cache
>    Affects Versions: 1.0.0-alpha
>            Reporter: Alexander Eltsov
>            Priority: Major
>              Labels: pull-request-available
>
> Add ability to skip cache lookup for a particular module or whole project 
> (required to get some modules always built e.g. via a profile - e.g. I have 
> some additional artifacts published by CI).
> Alternatively it allows an easy "force" rebuild of a whole project
> The difference with not using cache is that results are put into cache, just 
> current matching versions are not taken from caches



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to