I would like to use Envers with Quarkus. However, when I add a dependency to {{ hibernate-envers }} and run the build I eventually get an error like this one:
{code:java}Caused by: io.quarkus.deployment.configuration.ConfigurationError: Unable to properly register the hierarchy of the following JPA classes as they are not in the Jandex index: - org.hibernate.envers.DefaultRevisionEntity Consider adding them to the index either by creating a Jandex index for your dependency via the Maven plugin, an empty META-INF/beans.xml or quarkus.index-dependency properties.{code}
I think it would be nice if {{ hibernate-envers }} could contain an empty {{ META-INF/beans.xml }} file, so that this would work out-of-the-box. |
|