add hibernate-jpamodelgen to bom

To generate the static metamodel, e.g. for criteria queries, the
hibernate-jpamodelgen dependency must be added to the classpath.

Adding the dependency in the dependency management section of the
bom makes it easier to keep the versions of hibernate and the
metamodel generator in sync.
This commit is contained in:
Fabio Heer
2019-11-15 14:27:39 +01:00
parent 3d5bbbdada
commit 5466fcb9c8

View File

@@ -1810,6 +1810,11 @@
<artifactId>hibernate-envers</artifactId>
<version>${hibernate-orm.version}</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-jpamodelgen</artifactId>
<version>${hibernate-orm.version}</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>quarkus-local-cache</artifactId>