]> juplo.de Git - hibernate4-maven-plugin/commitdiff
Switched to `maven-hugo-skin` -- ALIGN
authorKai Moritz <kai@juplo.de>
Sun, 11 Jan 2026 11:29:52 +0000 (12:29 +0100)
committerKai Moritz <kai@juplo.de>
Wed, 29 Apr 2026 13:12:32 +0000 (15:12 +0200)
src/site/markdown/configuration.md
src/site/markdown/debugging.md
src/site/markdown/force.md
src/site/markdown/index.md
src/site/markdown/issue-tracking.md [deleted file]
src/site/markdown/mail-lists.md [deleted file]
src/site/markdown/pitfalls.md
src/site/markdown/skip.md
src/site/site.xml

index c2c9fb83bbe22af57b1e4fb5d4f8facfb99afce3..41faa259c7a24ff28a47accbaf47cb6e850ffd86 100644 (file)
@@ -1,11 +1,7 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- </head>
- <body>
-  <header><h1>Configuration Examples</h1></header>
-  <h2>Configuration through a hibernate.properties-File</h2>
+# Configuration Examples
+
+## Configuration through a hibernate.properties-File
+
   <p>
   The most simple way to configure the plugin is, to put all the
   hibernate-configuration in a <strong>hibernate.properties</strong>-file on your
@@ -29,7 +25,8 @@
       &lt;/goals&gt;
     &lt;/execution&gt;
   &lt;/executions&gt;
-&lt;/plugin&gt;</pre>
+&lt;/plugin&gt;
+</pre>
   <p>
   But be aware, that in this case the database-url, that is
   build in the application is the same that is used while testing, where
   &lt;configuration&gt;
     &lt;url&gt;&lt;![CDATA[jdbc:mysql://localhost/test-db]]&gt;&lt;/url&gt;
   &lt;/configuration&gt;
-&lt;/plugin&gt;</pre>
+&lt;/plugin&gt;
+</pre>
   <p>
   Configuration properties, that are set in the <code>configuration</code>-section
   of the plugin-configuration cannnot be overwritten elsewere (for details
-  see <a href="#precedence">Configuration-Method-Precedence</a>).
+  see <a href="#Configuration_Method_Precedence">Configuration-Method-Precedence</a>).
   You never can overwrite them by accident when specifying a property on
   the commandline or in your <code>settings.xml</code>.
   </p>
-  <h2>Configuration through maven-properties</h2>
+
+## Configuration through maven-properties
+
   <p>
   Alternatively, it is possible, to configure the plugin via maven-properties.
   Each relevant configuration-option has a corresponding maven-property
@@ -94,6 +94,7 @@
   testing):
   </p>
   <pre class="prettyprint linenums lang-html">
+
 &lt;properties&gt;
   &lt;hibernate.connection.driver_class&gt;org.hsqldb.jdbcDriver&lt;/hibernate.connection.driver_class&gt;
   &lt;hibernate.dialect&gt;org.hibernate.dialect.HSQLDialect&lt;/hibernate.dialect&gt;
     &lt;/configuration&gt;
   &lt;/plugin&gt;
 
-&lt;plugins&gt;</pre>
+&lt;plugins&gt;
+  </pre>
+  <p>
+  This way, you can reuse the same properties to provide a
+  default-configurationthe, that is build into your application, and
+  overwrite the database-url, that is used during testing to prevent
+  accidential drops of your production database.
+  </p>
   <h2>Configuration through the plugin-configuration</h2>
   <p>
   A third way for configuring the plugin is the plugin-configuration.
     &lt;username&gt;sa&lt;/username&gt;
     &lt;password&gt;&lt;/password&gt;
   &lt;/configuration&gt;
-&lt;/plugin&gt;</pre>
+&lt;/plugin&gt;
+</pre>
   <p>
   The parameter <strong>hibernateProperties</strong> (name of the hibernate-properties-file
   to use, defaults to <strong>hibernate.properties</strong>) can only be configured through
   For more explanations, see the
   <a href="./export-mojo.html">Documentation of the export-Mojo</a>.
   </p>
-  <h2 id="precedence">Configuration-Method-Precedence</h2>
+
+## Configuration-Method-Precedence
+
   <p>
   The configuration is gathered in a fix order:
   </p>
   &lt;configuration&gt;
     &lt;password&gt;${my-password-property}&lt;/password&gt;
   &lt;/configuration&gt;
-&lt;/plugin&gt;</pre>
- </body>
-</html>
+&lt;/plugin&gt;
+</pre>
index 9ea89247ee7db4b29b6fefbe7a491dea75bc6743..b2321e135bbc37298dd3db757604ba029605e448 100644 (file)
@@ -1,10 +1,5 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- </head>
- <body>
-  <header><h1>Enable Debugging-Output</h1></header>
+# Enable Debugging-Output
+
   <p>
   If you are new to <code>hibernate4-maven-plugin</code>, in many cases, the
   {Configuration-Method-Precedence} may be the source of configuration
@@ -27,5 +22,3 @@ mvn -X compile hibernate4:export</pre>
   <p>
   <strong>But be warned:</strong> <code>hibernate4-maven-plugin</code> tends to be very chatty ;)
   </p>
- </body>
-</html>
index 0e42fd0c1d88d442eb84dfac19f3c3cab78baf58..b6064132c941ddf388a998c445264af9358f3e3d 100644 (file)
@@ -1,10 +1,5 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- </head>
- <body>
-  <header><h1>Force Execution</h1></header>
+# Force Execution
+
   <p>
   The hibernate4-maven-plugin computes MD5-sums for all found annotated
   classes and stores them together with the generated schema.
@@ -37,5 +32,3 @@
   Or you may specify <code>-Dhibernate.export.force=true</code> at the command line,
   if you want to force hibernate4-maven-plugin only once.
   </p>
- </body>
-</html>
index d718b811437c8f3a688ac685fd8ea667d8202524..f0502e5976e224ce54cd0242eb64943e58c94136 100644 (file)
@@ -1,11 +1,7 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- </head>
- <body>
-  <header><h1>${project.name}</h1></header>
-  <h2>${project.description}</h2>
+# ${project.name}
+
+## ${project.description}
+
   <p>
   The <strong>hibernate4-maven-plugin</strong> is a plugin for generating a database-schema
   from your Hibernate-4-Mappings and create or update your database
@@ -41,7 +37,9 @@
   For more information about the inspiration to write this tiny plugin,
   <a href="/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</a>.
   </p>
-  <h2>Documentation</h2>
+
+## Documentation
+
   <ul>
    <li>
    See <a href="./configuration.html">Configuration Examples</a> for Usage-Explanations
@@ -55,7 +53,9 @@
    the work in the background.
    </li>
   </ul>
-  <h2>Releases</h2>
+
+## Releases
+
   <ul>
     <li><a href="https://juplo.de/hibernate-maven-plugin/index.html">current version</a></li>
     <li>${project.version} (this version)</li>
@@ -67,5 +67,3 @@
     <li><a href="/projects/hibernate-maven-plugin/1.0.1/index.html">1.0.1</a></li>
     <li><a href="/projects/hibernate-maven-plugin/1.0/index.html">1.0</a></li>
   </ul>
- </body>
-</html>
diff --git a/src/site/markdown/issue-tracking.md b/src/site/markdown/issue-tracking.md
deleted file mode 100644 (file)
index 40e609d..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- </head>
- <body>
-  <header><h1>Issue Tracking</h1></header>
-  <strong>There is no bug-tracking system set up for this project!</strong>
-  <p>
-  Please send your bug-reports, questions or feature-requests directly
-  to the developer.
-  </p>
- </body>
-</html>
diff --git a/src/site/markdown/mail-lists.md b/src/site/markdown/mail-lists.md
deleted file mode 100644 (file)
index 3dbb733..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- </head>
- <body>
-  <header><h1>Mailing Lists</h1></header>
-  <strong>There are no mailinglists defined for this project!</strong>
-  <p>
-  Please send your bug-reports, questions or feature-requests directly
-  to the developer.
-  </p>
- </body>
-</html>
index a29abba090e06d334316a8213145b17516bfdda1..9cfba8a1358694247e9120efb029e0e30dc02590 100644 (file)
@@ -1,11 +1,7 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- </head>
- <body>
-  <header><h1>Known Pitfalls (FAQ)</h1></header>
-  <h2>Annotated classes in dependencies are not found.</h2>
+# Known Pitfalls (FAQ)
+
+## Annotated classes in dependencies are not found.
+
   <p>
   hibernate4-maven-plugin by default scans dependencies in the scope
   <code>compile</code>. You can configure it to scan dependencies in other
@@ -14,7 +10,9 @@
   annotated classes are hidden in a transitive dependency, you can simply
   add that dependency explicitly.
   </p>
-  <h2>hibernate4-maven-plugin always needs a database-connection</h2>
+
+## hibernate4-maven-plugin always needs a database-connection
+
   <p>
   The default-configuration uses the EXPORT-target of the SchemaExport-Tool.
   If you do not need to create a database with the evaluated schema, you can
@@ -30,7 +28,9 @@
   But even when no database is to be created, hibernate always needs to know
   the dialect. Hence, the plugin will fail if this parameter is missing!
   </p>
-  <h2>Dependency for driver-class XYZ is missing</h2>
+
+## Dependency for driver-class XYZ is missing
+
   <p>
   One regular problem is the scope of the jdbc-driver-dependency.
   It is very unlikely, that this dependency is needed at compile-time.
@@ -94,7 +94,9 @@
   Because otherwise, this dependency will unnecessarily bloat the
   runtime-dependencies of your project.
   </p>
-  <h2 id="fails">DBUnit fails after execution of hibernate4 was skipped because nothing has changed</h2>
+
+## DBUnit fails after execution of hibernate was skipped because nothing has changed
+
   <p>
   If hibernate4-maven-plugin skips its excecution, this may lead to errors in
   other plugins.
     &lt;skip&gt;${hibernate.export.skipped}&lt;/skip&gt;
   &lt;/configuration&gt;
 &lt;/plugin&gt;</pre>
-  <h2>The database will not be recreated after a manual drop/clean</h2>
+
+## The database will not be recreated after a manual drop/clean
+
   <p>
   If one manually drops the database or removes the hsqldb-files, it will not
   be recreated by the hibernate4-maven-plugin, because it cannot detect, that
   Otherwise the recreation must be <a href="./force.html">forced</a>:
   </p>
   <pre class="prettyprint">
-mvn hibernate4:export -Dhibernate.export.force=true</pre>
-  <h2>The hibernate4:export goal is not executed, when tests are skipped</h2>
+mvn hibernate4:create -Dhibernate.schema.force=true</pre>
+
+## The hibernate:create goal is not executed, when tests are skipped
+
   <p>
   The hibernate4-maven-plugin automatically skips its execution, when
   <code>maven.test.skip</code> is set to <code>true</code>. If you need it to be always
@@ -164,7 +170,9 @@ mvn hibernate4:export -Dhibernate.export.force=true</pre>
   Background-information for this design-decission can be found on the extra
   page <a href="./skip.html">To skip or not to skip: that is the question</a>...
   </p>
-  <h2>I do not want my dependencies to be scanned for hibernate annotations</h2>
+
+## I do not want my dependencies to be scanned for hibernate annotations
+
   <p>
     If you do not want your dependencies to be scanned for hibernate annotations,
     you can pass <code>-Dhibernate.export.scan_dependencies=none</code> to maven
@@ -180,7 +188,9 @@ mvn hibernate4:export -Dhibernate.export.force=true</pre>
     &lt;scanDependencies&gt;none&lt;/scanDependencies&gt;
   &lt;/configuration&gt;
 &lt;/plugin&gt;</pre>
-  <h2>No annotated classes found</h2>
+
+## No annotated classes found
+
   <p>
     If you are working under Windows and get the error-message
     <code>No annotated classes found in directory C:\projects\X Y Z\path-to-project\target\classes</code>,
@@ -193,5 +203,3 @@ mvn hibernate4:export -Dhibernate.export.force=true</pre>
       You should consider to upgrade to that version of the plugin.
     </strong>
   </p>
- </body>
-</html>
index 685d4eec1a146befc581308b972cf702f28b3fd9..989449c482221496aeb97af3ef33dbad5f508970 100644 (file)
@@ -1,10 +1,5 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- </head>
- <body>
-  <header><h1>Skipping Execution</h1></header>
+# Skipping Execution
+
   <p>
   In most use-cases, the hibernate4-maven-plugin is used to create a
   test-database automatically. In this use-cases, it is very likely, that it
@@ -56,5 +51,3 @@
   <code>foo.bar</code> to <code>true</code>. For example, if you specify <code>-Dfoo.bar=true</code>
   on the command-line.
   </p>
- </body>
-</html>
index e84a4940c73d4a939d27a528d1f77cafaa30b833..f591ede28a57973fe3d158c39d9870d43d16ab6a 100644 (file)
@@ -1,7 +1,7 @@
 <project>
   <body>
     <menu>
-      <item name="Overview" href="index.html?about"/>
+      <item name="Overview" href="index.html"/>
       <item name="Configuration Examples" href="configuration.html"/>
       <item name="Parameter Documentation" href="export-mojo.html"/>
       <item name="Enable Debug-Output" href="debugging.html"/>
   </body>
   <skin>
     <groupId>de.juplo.maven</groupId>
-    <artifactId>maven-thymeleaf-skin</artifactId>
-    <version>1.1.2</version>
+    <artifactId>maven-siteliberator-skin</artifactId>
+    <version>1.0.0-SNAPSHOT</version>
   </skin>
-  <custom>
-    <thymeproxy>
-      <prefix>/projects</prefix>
-      <path>/hibernate-maven-plugin/</path>
-      <crumbs>"/index.html","/projects.html"</crumbs>
-      <command>th:replace="~{/templates/layout.html :: layout(uri='' + ~{:: code[class='site_uri']/text()}, title=~{:: title}, maincontent=~{:: .maincontent}, json='MERGE:' + ~{:: pre[class='json']/text()})}"</command>
-    </thymeproxy>
-  </custom>
 </project>