Branch: refs/heads/main
Home:
https://github.com/hibernate/hibernate-orm
Commit: 9c4907a302522bc2edc07a31856b8ce8482e025f
https://github.com/hibernate/hibernate-orm/commit/9c4907a302522bc2edc07a3...
Author: Bahaa Zaid <bahaa.zaid(a)pixelogicmedia.com>
Date: 2025-12-31 (Wed, 31 Dec 2025)
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.
To unsubscribe from these emails, change your notification settings at
https://github.com/hibernate/hibernate-orm/settings/notifications