This Maven extension is designed to configure the Develocity build cache for Maven-based Hibernate projects.
The reference documentation for the API can be found here.
When working on caching new goals, you can obtain a debug output with the following command:
./mvnw -DskipTests -DskipITs -Dorg.slf4j.simpleLogger.log.gradle.goal.cache=debug -Dorg.slf4j.simpleLogger.log.io.hibernate.infra.develocity=debug -e clean install
This command should be run on a single module on a Maven-based Hibernate project (Hibernate Validator, Hibernate Search) for easier debugging.
Note: the clean
goal is important.
The cache won't be populated otherwise.
You can also get some information about the generation of the cache key with -Dorg.slf4j.simpleLogger.log.gradle.goal.fingerprint=trace
.