Skip to content

Commit 03e6245

Browse files
koentsjeyrodiere
authored andcommitted
HHH-19814: Document the Enhance Plugin changes in the Migration Guide
Signed-off-by: Koen Aers <koen.aers@gmail.com>
1 parent b3d410b commit 03e6245

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

migration-guide.adoc

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,3 +197,30 @@ This section describes changes to dependencies used by Hibernate ORM.
197197
=== Inclusion of Agroal Pool
198198

199199
`agroal-pool` is now a transitive implementation (runtime) dependency of the `hibernate-agroal` module. Applications using `hibernate-agroal` no longer need to manually depend on it.
200+
201+
[[maven-plugin-changes]]
202+
== Changes to the Maven Plugin
203+
204+
Because of a regression the `enableLazyInitialization` and `enableDirtyTracking` parameters of
205+
the Maven plugin had since version 7.0.0.Final a default value of `false` while it used to be `true`.
206+
To fix the regression and bring the defaults in line with the corresponding Ant task and Gradle
207+
plugin, the default versions for both these parameters are set to `true` starting with version
208+
7.1.5.Final. The configuration of the enhancement plugin is now simplified in comparison to
209+
previous versions.
210+
211+
```
212+
<plugin>
213+
<groupId>org.hibernate.orm</groupId>
214+
<artifactId>hibernate-maven-plugin</artifactId>
215+
<version>$currentHibernateVersion</version>
216+
<executions>
217+
<execution>
218+
<goals>
219+
<goal>enhance</goal>
220+
</goals>
221+
</execution>
222+
</executions>
223+
</plugin>
224+
```
225+
226+
The documentation in the userguide has been rewritten accordingly.

0 commit comments

Comments
 (0)