From 0a52dca3dd6729b8b6a43cc3ef3b69eb22755b0a Mon Sep 17 00:00:00 2001 From: Erik-Berndt Scheper Date: Tue, 10 Sep 2013 16:18:47 +0200 Subject: [PATCH] Rename envers property to hibernate.export.envers --- pom.xml | 4 ++++ src/main/java/de/juplo/plugins/hibernate4/Hbm2DdlMojo.java | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 1e568092..3e64fe72 100644 --- a/pom.xml +++ b/pom.xml @@ -65,6 +65,10 @@ Victor Tatai vtatai@gmail.com + + Erik-Berndt Scheper + erik.berndt.scheper@gmail.com + diff --git a/src/main/java/de/juplo/plugins/hibernate4/Hbm2DdlMojo.java b/src/main/java/de/juplo/plugins/hibernate4/Hbm2DdlMojo.java index 2174765f..e4a301e7 100644 --- a/src/main/java/de/juplo/plugins/hibernate4/Hbm2DdlMojo.java +++ b/src/main/java/de/juplo/plugins/hibernate4/Hbm2DdlMojo.java @@ -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; -- 2.20.1