Reworked documentation: splited and reorderd pages and menu
[hibernate4-maven-plugin] / src / site / apt / index.apt
index f33e325..ffe27dd 100644 (file)
@@ -4,26 +4,45 @@ A simple Plugin for generating a Database-Schema from Hibernate 4 Mapping-Annota
   from your Hibernate-4-Mappings and create or update your database
   accordingly.
 
-  The plugin was designed to be easy and safe to use, because it must not 
-  never, never happen, that you blow away your production database when
-  firering a maven-build of your webapp on your production-machine!
-  For more information about the inspiration to write this tiny plugin,
-  {{{/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}}.
+  The plugin was designed with three main goals in mind:
 
-Releases
+    * It should be easy to use.
 
- * {{{http://juplo.de/hibernate4-maven-plugin} current version}}
+    * It should be maximal unlikely, to erase a producation-database by
+      accident.
 
- * ${project.version} (this version)
+    * It should not slow down the development cycle.
 
- * {{{http://juplo.de/hibernate4-maven-plugin-1.0} 1.0}}
+  To achieve the first goal, the convention-over-configuration paradigma
+  was applied and the plugin was stuffed with usefull logging-messages.
+  So, if in doubt, just turn on the {{{./debugging.html} debugging output}} with the <<<mvn -X ...>>>. 
 
-Documentation and Examples
+  To achieve the second goal, the precedence in which the configuration
+  locations are consulted was layouted in a way that makes it possible, to
+  prevent overwrites of the wrong database by accident.
+
+  Last but not least, in order to not slow down the development cycle, the
+  hibernate4-maven-plugin only executes the schema-export, if the mapping
+  or the dialect changes (or if you force it to do so).
+
+  For more information about the inspiration to write this tiny plugin,
+  {{{/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}}.
 
- * See {{{./examples.html} Examples}} for Usage-Explanations and simple
-   examples of how to use this plugin.
+* Documentation
 
- * See {{{./plugin-info.html} Plugin Documentation}} for the full
+ * See {{{./configuration.html} Configuration Examples}} for Usage-Explanations
+   and simple examples of how to use this plugin.
+
+ * See {{{./export-mojo.html}hibernate4:export}} and
+    {{{./plugin-info.html} Plugin Documentation}} for the full
    autogenerated documentation. These are mostly configuration-options
    of the Hibernate-Tools <<<SchemaExport>>> and <<<SchemaUpdate>>>, that do
    the work in the background.
+
+* Releases
+
+ * {{{http://juplo.de/hibernate4-maven-plugin} current version}}
+
+ * ${project.version} (this version)
+
+ * {{{http://juplo.de/hibernate4-maven-plugin-1.0} 1.0}}