Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 1.16 KB

File metadata and controls

24 lines (14 loc) · 1.16 KB

hibernate-develocity-maven-extension

Version

About

This Maven extension is designed to configure the Develocity build cache for Maven-based Hibernate projects.

Developing

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.