Skip to content

Commit 1c28419

Browse files
committed
HHH-19814: Document the Enhance Plugin changes in the Migration Guide
Signed-off-by: Koen Aers <[email protected]>
1 parent d0b0c6a commit 1c28419

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

migration-guide.adoc

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,3 +76,26 @@ Such changes typically do not impact programs using a relational schema managed
7676

7777
This section describes changes to dependencies used by Hibernate ORM.
7878

79+
[[maven-plugin-changes]]
80+
== Changes to the Maven Plugin
81+
82+
The Maven bytecode enhancement plugin has been completely rewritten since version 7.0. The change that has the
83+
biggest consequence is that the artefactId and groupId of the Maven artefact has changed. As of now, you will
84+
need to include the plugin in the build section in your Maven pom file as illustrated below.
85+
86+
```
87+
<plugin>
88+
<groupId>org.hibernate.orm</groupId>
89+
<artifactId>hibernate-maven-plugin</artifactId>
90+
<version>$currentHibernateVersion</version>
91+
<executions>
92+
<execution>
93+
<goals>
94+
<goal>enhance</goal>
95+
</goals>
96+
</execution>
97+
</executions>
98+
</plugin>
99+
```
100+
101+
The documentation in the userguide has been rewritten accordingly and completed with more examples.

0 commit comments

Comments
 (0)