Hibernate's new dirty check policy was introduced in HHH-8354. I'm interested in using that improvement in my project using the (also new) maven compile time enhancement, but there is no documentation or explanations regarding these new features.
As far as I understand, the pom needs to look like this:
<plugins>
....
<plugin>
<groupId>org.hibernate.orm.tooling</groupId>
<artifactId>hibernate-enhance-maven-plugin</artifactId>
<version>4.3.5.Final</version>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>enhance</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
But for some reason enhance
goal is not recognized by Eclipse. In addition I would like to further configure it in order to exclude folders and files (other configuration voodoo help would be appreciated too)
I used this as an answer. The comments also helps with related issues and explanations