clayburn commented on PR #39708:
URL: https://github.com/apache/arrow/pull/39708#issuecomment-1908655754

   @pitrou - Looking through the workflow, you are already [caching the right 
directory](https://github.com/apache/arrow/blob/main/.github/workflows/java.yml#L71).
 It's all of `$HOME/.m2`, but it will include the default build cache 
directory. The cache key there being constructed by all files under `java/**` 
may be overly specific for the build cache, but the `restore-keys` 
configuration should handle it. We can see as you publish build scans and 
generate that data.
   
   I've pushed two changes to further optimize this:
   - One that enables the local cache. It also adds the clean lifecycle to the 
CI invocations of Maven, as the build cache is in read-only mode when clean 
isn't used.
   - One that defines some normalizations so that, for example, a change to a 
properties file that exists in a runtime classpath won't cause a cache miss.


-- 
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]

Reply via email to