Created project-website
authorKai Moritz <kai@coolibri.de>
Sun, 9 Sep 2012 11:52:19 +0000 (13:52 +0200)
committerKai Moritz <kai@coolibri.de>
Tue, 11 Dec 2012 20:56:01 +0000 (21:56 +0100)
pom.xml
src/site/apt/index.apt [new file with mode: 0644]
src/site/apt/issue-tracking.apt [new file with mode: 0644]
src/site/apt/mail-lists.apt [new file with mode: 0644]
src/site/site.xml [new file with mode: 0644]

diff --git a/pom.xml b/pom.xml
index 90045d4..dafcf99 100644 (file)
--- a/pom.xml
+++ b/pom.xml
     </developer>
   </developers>
 
+  <distributionManagement>
+    <site>
+      <id>www.juplo.de</id>
+      <url>scp://juplo.de/var/www/juplo/hibernate4-maven-plugin</url>
+    </site>
+  </distributionManagement>
+
+  <ciManagement>
+    <system>Continuum</system>
+    <url>http://juplo.de/continuum/</url>
+    <notifiers>
+      <notifier>
+        <type>mail</type>
+        <address>kai@juplo.de</address>
+      </notifier>
+    </notifiers>
+  </ciManagement>
+
   <properties>
     <!-- Zeichensatz -->
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     </plugins>
   </build>
 
+  <reporting>
+    <plugins>
+      <plugin>
+        <artifactId>maven-changes-plugin</artifactId>
+      </plugin>
+      <plugin>
+        <artifactId>maven-javadoc-plugin</artifactId>
+      </plugin>
+      <plugin>
+        <artifactId>maven-jxr-plugin</artifactId>
+      </plugin>
+      <plugin>
+        <artifactId>maven-pmd-plugin</artifactId>
+        <configuration>
+          <linkXref>true</linkXref>
+          <targetJdk>1.5</targetJdk>
+        </configuration>
+      </plugin>
+      <plugin>
+        <artifactId>maven-plugin-plugin</artifactId>
+      </plugin>
+    </plugins>
+  </reporting>
+
 </project>
diff --git a/src/site/apt/index.apt b/src/site/apt/index.apt
new file mode 100644 (file)
index 0000000..3b237a2
--- /dev/null
@@ -0,0 +1,26 @@
+A simple plugin for generating a database-schema from Hibernate 4 mapping-annotations.
+
+  Hibernate comes with the buildin functionality, to automatically create or
+  update the database schema.
+  This functionality is configured in the session-configuraton via the
+  parameter <hbm2ddl.auto>
+  (see {{{http://docs.jboss.org/hibernate/orm/4.1/manual/en-US/html_single/#configuration-optional} Hibernate Reference Documentation - Chapter 3.4. Optional configuration properties}}).
+  But doing so
+  {{{http://stackoverflow.com/questions/221379/hibernate-hbm2ddl-auto-update-in-production} is not very wise}}, because you can easily corrupt or erase your
+  production database, if this configuration parameter slips through to your
+  production environment.
+  Alternatively, you can
+  {{{http://stackoverflow.com/questions/835961/how-to-creata-database-schema-using-hibernate} run the tools SchemaExport or SchemaUpdate by hand}}.
+  But that is not very comfortable and being used to maven you will quickly
+  long for a plugin, that does that job automatically for you, when you fire
+  up your test cases.
+
+  In the good old times, there was the
+  {{{http://mojo.codehaus.org/maven-hibernate3/hibernate3-maven-plugin/} Maven Hibernate3 Plugin}}, that does this for you.
+  But unfortunatly, this plugin is not compatible with Hibernate 4.x.
+
+  Since there does not seem to be any successor for the Maven Hibernate3 Plugin
+  and {{{http://www.google.de/search?q=hibernate4+maven+plugin} googeling}}
+  does not help, I decided to write up this simple plugin (inspired by these
+  two articles I found: {{{http://www.tikalk.com/alm/blog/schema-export-hibernate-4-and-maven} Schema Export with Hibernate 4 and Maven}} and
+  {{{http://doingenterprise.blogspot.de/2012/05/schema-generation-with-hibernate-4-jpa.html} Schema generation with Hibernate 4, JPA and Maven}}).
diff --git a/src/site/apt/issue-tracking.apt b/src/site/apt/issue-tracking.apt
new file mode 100644 (file)
index 0000000..8edcb43
--- /dev/null
@@ -0,0 +1,7 @@
+Issue Tracking
+
+  <<There is no bug-tracking system set up for this project!>>
+
+  Please send your bug-reports, questions or feature-requests directly
+  to the developer.
+
diff --git a/src/site/apt/mail-lists.apt b/src/site/apt/mail-lists.apt
new file mode 100644 (file)
index 0000000..f55b620
--- /dev/null
@@ -0,0 +1,6 @@
+Mailing Lists
+
+  <<There are no mailinglists defined for this project!>>
+
+  Please send your bug-reports, questions or feature-requests directly
+  to the developer.
diff --git a/src/site/site.xml b/src/site/site.xml
new file mode 100644 (file)
index 0000000..a50f2c4
--- /dev/null
@@ -0,0 +1,10 @@
+<project>
+  <body>
+    <menu name="Overview">
+      <item name="Introduction" href="index.html"/>
+      <item name="Goals" href="plugin-info.html"/>
+    </menu>
+    <menu ref="reports"/>
+  </body>
+</project>
+