Rename envers property to hibernate.export.envers envers
authorErik-Berndt Scheper <erik.berndt.scheper@gmail.com>
Tue, 10 Sep 2013 14:18:47 +0000 (16:18 +0200)
committerKai Moritz <kai@juplo.de>
Mon, 16 Sep 2013 20:07:49 +0000 (22:07 +0200)
pom.xml
src/main/java/de/juplo/plugins/hibernate4/Hbm2DdlMojo.java

diff --git a/pom.xml b/pom.xml
index 1e56809..3e64fe7 100644 (file)
--- a/pom.xml
+++ b/pom.xml
       <name>Victor Tatai</name>
       <email>vtatai@gmail.com</email>
     </contributor>
+    <contributor>
+      <name>Erik-Berndt Scheper</name>
+      <email>erik.berndt.scheper@gmail.com</email>
+    </contributor>
   </contributors>
 
   <distributionManagement>
index 2174765..e4a301e 100644 (file)
@@ -83,7 +83,7 @@ public class Hbm2DdlMojo extends AbstractMojo
   public final static String PASSWORD = "hibernate.connection.password";
   public final static String DIALECT = "hibernate.dialect";
   public final static String NAMING_STRATEGY="hibernate.ejb.naming_strategy";
-  public final static String ENVERS = "hibernate.envers";
+  public final static String ENVERS = "hibernate.export.envers";
 
   private final static String MD5S = "schema.md5s";
 
@@ -280,7 +280,7 @@ public class Hbm2DdlMojo extends AbstractMojo
   /**
    * Generate envers schema for auditing tables.
    *
-   * @parameter expression="${hibernate.envers}" default-value="false"
+   * @parameter property="hibernate.export.envers" default-value="false"
    */
   private boolean envers;