1 A simple Plugin for generating a Database-Schema from Hibernate 4 Mapping-Annotations.
3 <<hibernate4-maven-plugin>> is a plugin for generating a database-schema
4 from your Hibernate-4-Mappings and create or update your database
7 The plugin was designed with three main goals in mind:
9 * It should be easy to use.
11 * It should be maximal unlikely, to erase a producation-database by
14 * It should not slow down the development cycle.
16 To achieve the first goal, the convention-over-configuration paradigma
17 was applied and the plugin was stuffed with usefull logging-messages.
18 So, if in doubt, just turn on the {{{./debugging.html} debugging output}} with the <<<mvn -X ...>>>.
20 To achieve the second goal, the precedence in which the configuration
21 locations are consulted was layouted in a way that makes it possible, to
22 prevent overwrites of the wrong database by accident.
24 Last but not least, in order to not slow down the development cycle, the
25 hibernate4-maven-plugin only executes the schema-export, if the mapping
26 or the dialect changes (or if you force it to do so).
28 For more information about the inspiration to write this tiny plugin,
29 {{{/hibernate4-maven-plugin-a-simple-plugin-for-generating-a-database-schema-from-hibernate-4-mapping-annotations/} read our blog-article about the hibernate4-maven-plugin}}.
33 * See {{{./configuration.html} Configuration Examples}} for Usage-Explanations
34 and simple examples of how to use this plugin.
36 * See {{{./export-mojo.html}hibernate4:export}} and
37 {{{./plugin-info.html} Plugin Documentation}} for the full
38 autogenerated documentation. These are mostly configuration-options
39 of the Hibernate-Tools <<<SchemaExport>>> and <<<SchemaUpdate>>>, that do
40 the work in the background.
44 * {{{http://juplo.de/hibernate4-maven-plugin} current version}}
46 * ${project.version} (this version)
48 * {{{http://juplo.de/hibernate4-maven-plugin-1.0.1} 1.0.1}}
50 * {{{http://juplo.de/hibernate4-maven-plugin-1.0} 1.0}}