Branch: refs/heads/7.2
Home:
https://github.com/hibernate/hibernate-orm
Commit: 525f14ac0df3d19bb0eb76fbb4a62e3ffc6b5ae2
https://github.com/hibernate/hibernate-orm/commit/525f14ac0df3d19bb0eb76f...
Author: Bahaa Zaid <bahaa.zaid(a)pixelogicmedia.com>
Date: 2026-01-07 (Wed, 07 Jan 2026)
Changed paths:
M tooling/hibernate-maven-plugin/hibernate-maven-plugin.gradle
M
tooling/hibernate-maven-plugin/src/intTest/java/org/hibernate/orm/tooling/maven/EnhancerMojoTestIT.java
M tooling/hibernate-maven-plugin/src/intTest/resources/Baz.jav_
M tooling/hibernate-maven-plugin/src/intTest/resources/pom.xm_
M
tooling/hibernate-maven-plugin/src/main/java/org/hibernate/orm/tooling/maven/HibernateEnhancerMojo.java
M
tooling/hibernate-maven-plugin/src/test/java/org/hibernate/orm/tooling/maven/HibernateEnhancerMojoTest.java
Log Message:
-----------
HHH-20015: Add a test and a fix for including maven project dependencies in enhancement
classpath
The new Hibernate Maven Plugin for Hibernate 7.x caused a regression for
[
HHH-10145](https://hibernate.atlassian.net/browse/HHH-10145).
If the enhanced class reference any other class not included in `hibernate-core` (e.g.
Spring classes, or types from other Maven submodule), the enhancement will fail with a
warning that but the build process will succeed.
If the user misses the warning, the resulting classes will not be enhanced and that might
cause serious issues for applications on production (e.g. loading heavy objects eagerly).
The included fix is copied from 6.x line.
(cherry picked from commit 9c4907a302522bc2edc07a31856b8ce8482e025f)
To unsubscribe from these emails, change your notification settings at
https://github.com/hibernate/hibernate-orm/settings/notifications