title: Hibernate Maven enhancement plugin configuration
body: <p>Hibernate's new dirty check policy was introduced in <a href="https://hibernate.atlassian.net/browse/HHH-8354" rel="nofollow">HHH-8354</a>. I'm interested in using that improvement in my project using the (also new) <a href="https://hibernate.atlassian.net/browse/HHH-8337" rel="nofollow">maven compile time enhancement</a>, but there is no documentation or explanations regarding these new features.  </p>
  
  <p>As far as I understand, the pom needs to look like this:</p>
  
  <pre><code>&lt;plugins&gt;  
      ....
      &lt;plugin&gt;
          &lt;groupId&gt;org.hibernate.orm.tooling&lt;/groupId&gt;
          &lt;artifactId&gt;hibernate-enhance-maven-plugin&lt;/artifactId&gt;
          &lt;version&gt;4.3.5.Final&lt;/version&gt;
          &lt;executions&gt;
              &lt;execution&gt;
                  &lt;phase&gt;compile&lt;/phase&gt;
                  &lt;goals&gt;
                      &lt;goal&gt;enhance&lt;/goal&gt;
                  &lt;/goals&gt;
              &lt;/execution&gt;
          &lt;/executions&gt;
      &lt;/plugin&gt;
  &lt;/plugins&gt;
  </code></pre>
  
  <p>But for some reason <code>enhance</code> 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)</p>