jeantil commented on code in PR #2786:
URL: https://github.com/apache/james-project/pull/2786#discussion_r2280729624


##########
pom.xml:
##########
@@ -3196,6 +3196,10 @@
                                                             
<ignoreEmptyDirectories>true</ignoreEmptyDirectories>
                                                         </normalization>
                                                     </fileSet>
+                                                    <fileSet>

Review Comment:
   using the classpathElements as items in the cache key solves the invalid 
cache items so compilation works
   locally for executions in rapid succession the local cache works but on the 
ci with 5h between jobs we get cache misses with [out of order 
items](https://develocity.apache.org/c/unuozmm6ecqpc/nusnauq3l6a6u/goal-inputs?expanded=WyJuemRibm96bGFrZ2FnLWNsYXNzcGF0aGVsZW1lbnRzIiwibnpkYm5vemxha2dhZy1jbGFzc3BhdGhFbGVtZW50cy0wLWZpbGUtb3JkZXIiXQ)
 
   classpathElements is a set in the scala compiler plugin and caching it was 
inspired by [the kotlin 
example](https://github.com/gradle/develocity-build-config-samples/blob/f5a73e517ca888c0283d363e3927a2e6b00226ae/build-caching-maven-samples/kotlin-project/pom.xml#L123)
  and the [clojure 
example](https://github.com/gradle/develocity-build-config-samples/blob/f5a73e517ca888c0283d363e3927a2e6b00226ae/build-caching-maven-samples/clojure-project/pom.xml#L143)
 



-- 
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: notifications-unsubscr...@james.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org
For additional commands, e-mail: notifications-h...@james.apache.org

Reply via email to