From 867733d7eef437b0ac64d6b23f98c965f7a024a9 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Fri, 8 May 2026 00:14:41 +0200 Subject: [PATCH] `hibernate-maven-plugin/1.0.3` mit sili neu generiert --- .../hibernate-maven-plugin/1.0.3/_index.html | 130 ++ .../1.0.3/configuration.html | 1045 +++++------------ .../1.0.3/debugging.html | 724 ++---------- .../hibernate-maven-plugin/1.0.3/force.html | 741 ++---------- .../1.0.3/pitfalls.html | 947 ++++----------- .../1.0.3/project-info/_index.html | 89 ++ .../1.0.3/project-info/ci-management.html | 53 + .../1.0.3/project-info/dependencies.html | 1035 ++++++++++++++++ .../1.0.3/project-info/dependency-info.html | 51 + .../project-info/distribution-management.html | 55 + .../1.0.3/project-info/licenses.html | 54 + .../1.0.3/project-info/plugin-management.html | 71 ++ .../1.0.3/project-info/plugins.html | 145 +++ .../1.0.3/project-info/scm.html | 53 + .../1.0.3/project-info/summary.html | 86 ++ .../1.0.3/project-info/team.html | 100 ++ .../1.0.3/project-reports/_index.html | 71 ++ .../1.0.3/project-reports/apidocs/_index.html | 11 + .../1.0.3/project-reports/cpd.html | 53 + .../project-reports/plugin-info/_index.html | 112 ++ .../plugin-info/export-mojo.html | 752 ++++++++++++ .../plugin-info/help-mojo.html | 195 +++ .../1.0.3/project-reports/pmd.html | 53 + .../1.0.3/project-reports/xref/_index.html | 11 + .../hibernate-maven-plugin/1.0.3/skip.html | 772 ++---------- .../apidocs/allclasses-frame.html | 21 + .../apidocs/allclasses-noframe.html | 21 + .../apidocs/constant-values.html | 209 ++++ .../juplo/plugins/hibernate4/Hbm2DdlMojo.html | 479 ++++++++ .../de/juplo/plugins/hibernate4/HelpMojo.html | 313 +++++ .../hibernate4/class-use/Hbm2DdlMojo.html | 124 ++ .../hibernate4/class-use/HelpMojo.html | 124 ++ .../plugins/hibernate4/package-frame.html | 22 + .../plugins/hibernate4/package-summary.html | 152 +++ .../plugins/hibernate4/package-tree.html | 138 +++ .../juplo/plugins/hibernate4/package-use.html | 124 ++ .../apidocs/deprecated-list.html | 124 ++ .../apidocs/help-doc.html | 225 ++++ .../apidocs/index-all.html | 200 ++++ .../apidocs/index.html | 73 ++ .../apidocs/overview-tree.html | 142 +++ .../apidocs/package-list | 1 + .../apidocs/script.js | 30 + .../apidocs/stylesheet.css | 574 +++++++++ .../css/site.css | 1 + .../images/close.gif | Bin 0 -> 279 bytes .../xref/allclasses-frame.html | 26 + .../juplo/plugins/hibernate4/Hbm2DdlMojo.html | 1033 ++++++++++++++++ .../de/juplo/plugins/hibernate4/HelpMojo.html | 452 +++++++ .../plugins/hibernate4/package-frame.html | 30 + .../plugins/hibernate4/package-summary.html | 77 ++ .../xref/index.html | 24 + .../xref/overview-frame.html | 25 + .../xref/overview-summary.html | 64 + .../xref/stylesheet.css | 116 ++ 55 files changed, 8935 insertions(+), 3418 deletions(-) create mode 100644 content/projects/hibernate-maven-plugin/1.0.3/_index.html create mode 100644 content/projects/hibernate-maven-plugin/1.0.3/project-info/_index.html create mode 100644 content/projects/hibernate-maven-plugin/1.0.3/project-info/ci-management.html create mode 100644 content/projects/hibernate-maven-plugin/1.0.3/project-info/dependencies.html create mode 100644 content/projects/hibernate-maven-plugin/1.0.3/project-info/dependency-info.html create mode 100644 content/projects/hibernate-maven-plugin/1.0.3/project-info/distribution-management.html create mode 100644 content/projects/hibernate-maven-plugin/1.0.3/project-info/licenses.html create mode 100644 content/projects/hibernate-maven-plugin/1.0.3/project-info/plugin-management.html create mode 100644 content/projects/hibernate-maven-plugin/1.0.3/project-info/plugins.html create mode 100644 content/projects/hibernate-maven-plugin/1.0.3/project-info/scm.html create mode 100644 content/projects/hibernate-maven-plugin/1.0.3/project-info/summary.html create mode 100644 content/projects/hibernate-maven-plugin/1.0.3/project-info/team.html create mode 100644 content/projects/hibernate-maven-plugin/1.0.3/project-reports/_index.html create mode 100644 content/projects/hibernate-maven-plugin/1.0.3/project-reports/apidocs/_index.html create mode 100644 content/projects/hibernate-maven-plugin/1.0.3/project-reports/cpd.html create mode 100644 content/projects/hibernate-maven-plugin/1.0.3/project-reports/plugin-info/_index.html create mode 100644 content/projects/hibernate-maven-plugin/1.0.3/project-reports/plugin-info/export-mojo.html create mode 100644 content/projects/hibernate-maven-plugin/1.0.3/project-reports/plugin-info/help-mojo.html create mode 100644 content/projects/hibernate-maven-plugin/1.0.3/project-reports/pmd.html create mode 100644 content/projects/hibernate-maven-plugin/1.0.3/project-reports/xref/_index.html create mode 100644 static/hibernate4-maven-plugin-1.0.3/apidocs/allclasses-frame.html create mode 100644 static/hibernate4-maven-plugin-1.0.3/apidocs/allclasses-noframe.html create mode 100644 static/hibernate4-maven-plugin-1.0.3/apidocs/constant-values.html create mode 100644 static/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/Hbm2DdlMojo.html create mode 100644 static/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/HelpMojo.html create mode 100644 static/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/class-use/Hbm2DdlMojo.html create mode 100644 static/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/class-use/HelpMojo.html create mode 100644 static/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/package-frame.html create mode 100644 static/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/package-summary.html create mode 100644 static/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/package-tree.html create mode 100644 static/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/package-use.html create mode 100644 static/hibernate4-maven-plugin-1.0.3/apidocs/deprecated-list.html create mode 100644 static/hibernate4-maven-plugin-1.0.3/apidocs/help-doc.html create mode 100644 static/hibernate4-maven-plugin-1.0.3/apidocs/index-all.html create mode 100644 static/hibernate4-maven-plugin-1.0.3/apidocs/index.html create mode 100644 static/hibernate4-maven-plugin-1.0.3/apidocs/overview-tree.html create mode 100644 static/hibernate4-maven-plugin-1.0.3/apidocs/package-list create mode 100644 static/hibernate4-maven-plugin-1.0.3/apidocs/script.js create mode 100644 static/hibernate4-maven-plugin-1.0.3/apidocs/stylesheet.css create mode 100644 static/hibernate4-maven-plugin-1.0.3/css/site.css create mode 100644 static/hibernate4-maven-plugin-1.0.3/images/close.gif create mode 100644 static/hibernate4-maven-plugin-1.0.3/xref/allclasses-frame.html create mode 100644 static/hibernate4-maven-plugin-1.0.3/xref/de/juplo/plugins/hibernate4/Hbm2DdlMojo.html create mode 100644 static/hibernate4-maven-plugin-1.0.3/xref/de/juplo/plugins/hibernate4/HelpMojo.html create mode 100644 static/hibernate4-maven-plugin-1.0.3/xref/de/juplo/plugins/hibernate4/package-frame.html create mode 100644 static/hibernate4-maven-plugin-1.0.3/xref/de/juplo/plugins/hibernate4/package-summary.html create mode 100644 static/hibernate4-maven-plugin-1.0.3/xref/index.html create mode 100644 static/hibernate4-maven-plugin-1.0.3/xref/overview-frame.html create mode 100644 static/hibernate4-maven-plugin-1.0.3/xref/overview-summary.html create mode 100644 static/hibernate4-maven-plugin-1.0.3/xref/stylesheet.css diff --git a/content/projects/hibernate-maven-plugin/1.0.3/_index.html b/content/projects/hibernate-maven-plugin/1.0.3/_index.html new file mode 100644 index 00000000..b9e4ed13 --- /dev/null +++ b/content/projects/hibernate-maven-plugin/1.0.3/_index.html @@ -0,0 +1,130 @@ +--- +title: Hibernate 4 Maven Plugin +weight: 0 +outputs: + - html +url: /hibernate4-maven-plugin-1.0.3/ +layout: article +params: + current: false + canonical: /hibernate-maven-plugin/ +--- +
+

Hibernate 4 Maven Plugin

+

Plugin for generating a database-schema from Hibernate-4-Mapping-Annotations

+ +

+ The hibernate4-maven-plugin is a plugin for generating a database-schema + from your Hibernate-4-Mappings and create or update your database + accordingly. + Its main usage is to automatically create and populate a test-database + for unit-tests in cooperation with the + dbunit-maven-plugin. +

+ +

+ The plugin was designed with three main goals in mind: +

+ +
    + +
  • It should be easy to use.
  • + +
  • It should be maximal unlikely, to erase a producation-database by accident.
  • + +
  • It should not slow down the development cycle.
  • +
+ +

+ 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 output with the mvn -X .... +

+ +

+ 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, + read our blog-article about the hibernate4-maven-plugin. +

+
+

Documentation

+ +
    + +
  • + See Configuration Examples for Usage-Explanations + and simple examples of how to use this plugin. +
  • + +
  • + See hibernate4:export and + 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

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/content/projects/hibernate-maven-plugin/1.0.3/configuration.html b/content/projects/hibernate-maven-plugin/1.0.3/configuration.html index fd7ea59d..7ff7b9e9 100644 --- a/content/projects/hibernate-maven-plugin/1.0.3/configuration.html +++ b/content/projects/hibernate-maven-plugin/1.0.3/configuration.html @@ -1,776 +1,321 @@ - - - +--- +title: Configuration Examples +weight: 18 +outputs: + - html +url: /hibernate4-maven-plugin-1.0.3/configuration.html +layout: article +params: + current: false + canonical: /hibernate-maven-plugin/configuration.html +--- +
+

Configuration Examples

+

Configuration through a hibernate.properties-File

+ +

+ The most simple way to configure the plugin is, to put all the + hibernate-configuration in a hibernate.properties-file on your + classpath. Put the file in the resources-folder. Maven will put + it in the class-folder of your webapp, where it will be picked up + by this plugin as well as by Hibernate 4. +

+ +

+ Doing so, the only additionally configuration needed, to activat the plugin + is the following entry in the plugins-section of your pom.xml: +

+
+
+{{< highlight guess >}} + + de.juplo + hibernate4-maven-plugin + 1.0.3 + + + + export + + + + +{{< /highlight >}}
+ +

+ 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 + the database is droped and recreated by the plugin. + + So, you should never fire up this configuration on your production + system, or your database might be erased! + +

+ +

+ Hence, you should specify a different url for testing like in the + following snippet: +

+
+
+{{< highlight guess >}} + + de.juplo + hibernate4-maven-plugin + 1.0.3 + + + + export + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Hibernate 4 Maven Plugin – Configuration Examples - - - - -

Configuration Examples

-

URI

-
    -
  • site: /projects/hibernate-maven-plugin/1.0.3/configuration.html
  • -
  • canonical: /hibernate-maven-plugin/configuration.html
  • -
  • relative: configuration.html
  • -
-

Path

-

-

    -
  1. Hibernate 4 Maven Plugin
  2. Configuration Examples
-

-
-
-
-

Configuration through a hibernate.properties-File

-

The most simple way to configure the plugin is, to put all the hibernate-configuration in a hibernate.properties-file on your classpath. Put the file in the resources-folder. Maven will put it in the class-folder of your webapp, where it will be picked up by this plugin as well as by Hibernate 4.

-

Doing so, the only additionally configuration needed, to activat the plugin is the following entry in the plugins-section of your pom.xml:

-
-
<plugin>
-  <groupId>de.juplo</groupId>
-  <artifactId>hibernate4-maven-plugin</artifactId>
-  <version>1.0.3</version>
-  <executions>
-    <execution>
-      <goals>
-        <goal>export</goal>
-      </goals>
-    </execution>
-  </executions>
-</plugin>
-

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 the database is droped and recreated by the plugin. So, you should never fire up this configuration on your production system, or your database might be erased!

-

Hence, you should specify a different url for testing like in the following snippet:

-
-
<plugin>
-  <groupId>de.juplo</groupId>
-  <artifactId>hibernate4-maven-plugin</artifactId>
-  <version>1.0.3</version>
-  <executions>
-    <execution>
-      <goals>
-        <goal>export</goal>
-      </goals>
-    </execution>
-  </executions>
-  <configuration>
-    <url><![CDATA[jdbc:mysql://localhost/test-db]]></url>
-  </configuration>
-</plugin>
-

Configuration properties, that are set in the configuration-section of the plugin-configuration cannnot be overwritten elsewere (for details see Configuration-Method-Precedence). You never can overwrite them by accident when specifying a property on the commandline or in your settings.xml.

+{{< /highlight >}}
+ +

+ Configuration properties, that are set in the configuration-section + of the plugin-configuration cannnot be overwritten elsewere (for details + see Configuration-Method-Precedence). + You never can overwrite them by accident when specifying a property on + the commandline or in your settings.xml. +

+

Configuration through maven-properties

-

Alternatively, it is possible, to configure the plugin via maven-properties. Each relevant configuration-option has a corresponding maven-property (for a full list see the Documentation of the export-Mojo). These are named after the Hibernate JDBC Properties:

+ +

+ Alternatively, it is possible, to configure the plugin via maven-properties. + Each relevant configuration-option has a corresponding maven-property + (for a full list see the Documentation of the export-Mojo). + These are named after the + Hibernate JDBC Properties: +

+
    +
  • hibernate.connection.driver_class
  • +
  • hibernate.dialect
  • +
  • hibernate.connection.url
  • +
  • hibernate.connection.username
  • -
  • hibernate.connection.password
-

So, instead of writing the hibernate-configuration in the properties-file, like above, you could put it in the properties-section of your pom.xml.

-

Thogether with the plugin-definition from above, the following would be a complete configuration (again, the database-url was overwritten in the plugin-configuration, to be sure to have a separate database for testing):

-
-
<properties>
-  <hibernate.connection.driver_class>org.hsqldb.jdbcDriver</hibernate.connection.driver_class>
-  <hibernate.dialect>org.hibernate.dialect.HSQLDialect</hibernate.dialect>
-  <hibernate.connection.url><![CDATA[jdbc:hsqldb:res:org.my.path.production_db]]></hibernate.connection.url>
-  <hibernate.connection.username>sa</hibernate.connection.username>
-  <hibernate.connection.password></hibernate.connection.password>
-</properties>
+    
+
  • hibernate.connection.password
  • + + +

    + So, instead of writing the hibernate-configuration in the properties-file, + like above, you could put it in the properties-section of your + pom.xml. +

    + +

    + Thogether with the plugin-definition from above, the following would + be a complete configuration (again, the database-url was overwritten in + the plugin-configuration, to be sure to have a separate database for + testing): +

    + +
    +
    +{{< highlight guess >}} + + org.hsqldb.jdbcDriver + org.hibernate.dialect.HSQLDialect + + sa + + ... -<plugins> + ... - <plugin> - <groupId>de.juplo</groupId> - <artifactId>hibernate4-maven-plugin</artifactId> - <version>1.0.3</version> - <executions> - <execution> - <goals> - <goal>export</goal> - </goals> - </execution> - </executions> - <configuration> - <url><![CDATA[jdbc:hsqldb:target/db/testdb;shutdown=true]]></url> - </configuration> - </plugin> + + de.juplo + hibernate4-maven-plugin + 1.0.3 + + + + export + + + + + + + -<plugins>
    + + +{{< /highlight >}}
    + +

    + 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. +

    +

    Configuration through the plugin-configuration

    -

    A third way for configuring the plugin is the plugin-configuration. The relevant configuration-parameters are:

    + +

    + A third way for configuring the plugin is the plugin-configuration. + The relevant configuration-parameters are: +

    + -

    The equivalent of the configuration from the last section would look like this:

    -
    -
    <plugin>
    -  <groupId>de.juplo</groupId>
    -  <artifactId>hibernate4-maven-plugin</artifactId>
    -  <version>1.0.3</version>
    -  <executions>
    -    <execution>
    -      <goals>
    -        <goal>export</goal>
    -      </goals>
    -    </execution>
    -  </executions>
    -  <configuration>
    -    <driverClassName>org.hsqldb.jdbcDriver</driverClassName>
    -    <hibernateDialect>org.hibernate.dialect.HSQLDialect</hibernateDialect>
    -    <url><![CDATA[jdbc:hsqldb:target/db/fotos;shutdown=true]]></url>
    -    <username>sa</username>
    -    <password></password>
    -  </configuration>
    -</plugin>
    -

    The parameter hibernateProperties (name of the hibernate-properties-file to use, defaults to hibernate.properties) can only be configured through this approach.

    -

    For more explanations, see the Documentation of the export-Mojo.

    -

    Configuration-Method-Precedence

    -

    The configuration is gathered in a fix order:

    + +
  • password
  • + + +

    + The equivalent of the configuration from the last section would look + like this: +

    + +
    +
    +{{< highlight guess >}} + + de.juplo + hibernate4-maven-plugin + 1.0.3 + + + + export + + + + + org.hsqldb.jdbcDriver + org.hibernate.dialect.HSQLDialect + + sa + + + + +{{< /highlight >}}
    + +

    + The parameter hibernateProperties (name of the hibernate-properties-file + to use, defaults to hibernate.properties) can only be configured through + this approach. +

    + +

    + For more explanations, see the + Documentation of the export-Mojo. +

    +
    +

    Configuration-Method-Precedence

    + +

    + The configuration is gathered in a fix order: +

    +
      +
    1. hibernate.properties
    2. +
    3. maven-properties
    4. -
    5. plugin-configuration
    -

    If you are in doubt about where a configuration-value comes from, run maven with the debug-output enabled: mvn -X hibernate4:export and be aware, that maven-properties can be overwitten on the command-line, in your ~/.m2/settings.xml and in a profile.

    -

    The plugin-configuration comes last and overwrites everything else. That way, you can be sure, that a configuration-value, that is specified in the plugin-configuration will never be overwritten by any other configuration-method.

    -

    If you realy need to overwrite plugin-configuration-values with maven-properties, you can use maven-properties in the plugin-configuration:

    -
    -
    <plugin>
    -  <groupId>de.juplo</groupId>
    -  <artifactId>hibernate4-maven-plugin</artifactId>
    -  <version>1.0.3</version>
    -  <executions>
    -    <execution>
    -      <goals>
    -        <goal>export</goal>
    -      </goals>
    -    </execution>
    -  </executions>
    -  <configuration>
    -    <password>${my-password-property}</password>
    -  </configuration>
    -</plugin>
    - -
    -

    Page Structure as JSON

    -
    -{
    -  "_titles": {
    -    "/projects/hibernate-maven-plugin/1.0.3/index.html": "Hibernate 4 Maven Plugin",
    -    "/projects/hibernate-maven-plugin/1.0.3/ci-management.html": "CI Management",
    -    "/projects/hibernate-maven-plugin/1.0.3/dependencies.html": "Dependencies",
    -    "/projects/hibernate-maven-plugin/1.0.3/dependency-info.html": "Maven Coordinates",
    -    "/projects/hibernate-maven-plugin/1.0.3/distribution-management.html": "Distribution Management",
    -    "/projects/hibernate-maven-plugin/1.0.3/licenses.html": "Licenses",
    -    "/projects/hibernate-maven-plugin/1.0.3/plugin-management.html": "Plugin Management",
    -    "/projects/hibernate-maven-plugin/1.0.3/plugins.html": "Plugins",
    -    "/projects/hibernate-maven-plugin/1.0.3/scm.html": "Source Code Management",
    -    "/projects/hibernate-maven-plugin/1.0.3/summary.html": "Summary",
    -    "/projects/hibernate-maven-plugin/1.0.3/team.html": "Team",
    -    "/projects/hibernate-maven-plugin/1.0.3/project-info.html": "Project Information",
    -    "/projects/hibernate-maven-plugin/1.0.3/apidocs/index.html": "JavaDocs",
    -    "/projects/hibernate-maven-plugin/1.0.3/xref/index.html": "Source Xref",
    -    "/projects/hibernate-maven-plugin/1.0.3/pmd.html": "PMD Report",
    -    "/projects/hibernate-maven-plugin/1.0.3/cpd.html": "CPD Report",
    -    "/projects/hibernate-maven-plugin/1.0.3/plugin-info.html": "Plugin Documentation",
    -    "/projects/hibernate-maven-plugin/1.0.3/project-reports.html": "Project Reports",
    -    "/projects/hibernate-maven-plugin/1.0.3/index.html?about": "Overview",
    -    "/projects/hibernate-maven-plugin/1.0.3/configuration.html": "Configuration Examples",
    -    "/projects/hibernate-maven-plugin/1.0.3/export-mojo.html": "Parameter Documentation",
    -    "/projects/hibernate-maven-plugin/1.0.3/debugging.html": "Enable Debug-Output",
    -    "/projects/hibernate-maven-plugin/1.0.3/skip.html": "Skipping Execution",
    -    "/projects/hibernate-maven-plugin/1.0.3/force.html": "Force Exceution",
    -    "/projects/hibernate-maven-plugin/1.0.3/pitfalls.html": "Known Pitfalls (FAQ)"
    -  },
    -  "_childs": {
    -    "/projects/hibernate-maven-plugin/1.0.3/index.html": [
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html?about",
    -      "/projects/hibernate-maven-plugin/1.0.3/configuration.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/export-mojo.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/debugging.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/skip.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/force.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/pitfalls.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-reports.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/project-info.html": [
    -      "/projects/hibernate-maven-plugin/1.0.3/ci-management.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/dependencies.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/dependency-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/distribution-management.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/licenses.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/plugin-management.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/plugins.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/scm.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/summary.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/team.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/project-reports.html": [
    -      "/projects/hibernate-maven-plugin/1.0.3/apidocs/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/xref/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/pmd.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/cpd.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/plugin-info.html"
    -    ]
    -  },
    -  "_crumbs": {
    -    "/projects/hibernate-maven-plugin/1.0.3/index.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/ci-management.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/ci-management.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/dependencies.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/dependencies.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/dependency-info.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/dependency-info.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/distribution-management.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/distribution-management.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/licenses.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/licenses.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/plugin-management.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/plugin-management.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/plugins.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/plugins.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/scm.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/scm.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/summary.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/summary.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/team.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/team.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/project-info.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/apidocs/index.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-reports.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/apidocs/index.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/xref/index.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-reports.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/xref/index.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/pmd.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-reports.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/pmd.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/cpd.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-reports.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/cpd.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/plugin-info.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-reports.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/plugin-info.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/project-reports.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-reports.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/index.html?about": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html?about"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/configuration.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/configuration.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/export-mojo.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/export-mojo.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/debugging.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/debugging.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/skip.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/skip.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/force.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/force.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/pitfalls.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/pitfalls.html"
    -    ]
    -  },
    -  "_canonical": {
    -    "/projects/hibernate-maven-plugin/1.0.3/index.html": "/hibernate-maven-plugin/index.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/ci-management.html": "/hibernate-maven-plugin/ci-management.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/dependencies.html": "/hibernate-maven-plugin/dependencies.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/dependency-info.html": "/hibernate-maven-plugin/dependency-info.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/distribution-management.html": "/hibernate-maven-plugin/distribution-management.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/licenses.html": "/hibernate-maven-plugin/licenses.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/plugin-management.html": "/hibernate-maven-plugin/plugin-management.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/plugins.html": "/hibernate-maven-plugin/plugins.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/scm.html": "/hibernate-maven-plugin/scm.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/summary.html": "/hibernate-maven-plugin/summary.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/team.html": "/hibernate-maven-plugin/team.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/project-info.html": "/hibernate-maven-plugin/project-info.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/apidocs/index.html": "/hibernate-maven-plugin/apidocs/index.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/xref/index.html": "/hibernate-maven-plugin/xref/index.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/pmd.html": "/hibernate-maven-plugin/pmd.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/cpd.html": "/hibernate-maven-plugin/cpd.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/plugin-info.html": "/hibernate-maven-plugin/plugin-info.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/project-reports.html": "/hibernate-maven-plugin/project-reports.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/index.html?about": "/hibernate-maven-plugin/index.html?about",
    -    "/projects/hibernate-maven-plugin/1.0.3/configuration.html": "/hibernate-maven-plugin/configuration.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/export-mojo.html": "/hibernate-maven-plugin/export-mojo.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/debugging.html": "/hibernate-maven-plugin/debugging.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/skip.html": "/hibernate-maven-plugin/skip.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/force.html": "/hibernate-maven-plugin/force.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/pitfalls.html": "/hibernate-maven-plugin/pitfalls.html"
    -  }
    -}
    -    
    -

    All Pages

    -

    -

    -

    - - + +
  • plugin-configuration
  • + + +

    + If you are in doubt about where a configuration-value comes from, run + maven with the debug-output enabled: mvn -X hibernate4:export + and be aware, that maven-properties can be overwitten on the command-line, + in your ~/.m2/settings.xml and in a profile. +

    + +

    + The plugin-configuration comes last and overwrites everything else. + That way, you can be sure, that a configuration-value, that is + specified in the plugin-configuration will never be overwritten by any + other configuration-method. +

    + +

    + If you realy need to overwrite plugin-configuration-values with + maven-properties, you can use maven-properties in the plugin-configuration: +

    + +
    +
    +{{< highlight guess >}} + + de.juplo + hibernate4-maven-plugin + 1.0.3 + + + + export + + + + + ${my-password-property} + + + +{{< /highlight >}}
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/content/projects/hibernate-maven-plugin/1.0.3/debugging.html b/content/projects/hibernate-maven-plugin/1.0.3/debugging.html index 865b088b..0ba4cd4e 100644 --- a/content/projects/hibernate-maven-plugin/1.0.3/debugging.html +++ b/content/projects/hibernate-maven-plugin/1.0.3/debugging.html @@ -1,648 +1,80 @@ - - - +--- +title: Enable Debug-Output +weight: 21 +outputs: + - html +url: /hibernate4-maven-plugin-1.0.3/debugging.html +layout: article +params: + current: false + canonical: /hibernate-maven-plugin/debugging.html +--- +
    +

    Enable Debugging-Output

    + +

    + If you are new to hibernate4-maven-plugin, in many cases, the + {Configuration-Method-Precedence} may be the source of configuration + errors. + To solve this problem, you should run maven with the debugging output + enabled. + For example, by executing: +

    +
    +
    +{{< highlight guess >}} +mvn -X compile hibernate4:create - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Hibernate 4 Maven Plugin – Enabling Debug-Output - - - - -

    Enabling Debug-Output

    -

    URI

    -
      -
    • site: /projects/hibernate-maven-plugin/1.0.3/debugging.html
    • -
    • canonical: /hibernate-maven-plugin/debugging.html
    • -
    • relative: debugging.html
    • -
    -

    Path

    -

    -

      -
    1. Hibernate 4 Maven Plugin
    2. Enable Debug-Output
    -

    -
    -
    -

    If you are new to hibernate4-maven-plugin, in many cases, the Configuration-Method-Precedence may be the source of configuration errors. To solve this problem, you should run maven with the debugging output enabled. For example, by executing:

    -
    -
    mvn -X compile hibernate4:export 
    -

    (The compile might be necessary, because hibernate4-maven-plugin has to scan the compiled classes for annotations!)

    -

    Unlike the majority of the maven-plugins, hibernate4-maven-plugin was designed to give a good many hints, when debugging is enabled. Because, if you do not know, what went wrong, you can't fix it!

    -

    But be warned: hibernate4-maven-plugin tends to be very chatty ;)

    -
    -
    -

    Page Structure as JSON

    -
    -{
    -  "_titles": {
    -    "/projects/hibernate-maven-plugin/1.0.3/index.html": "Hibernate 4 Maven Plugin",
    -    "/projects/hibernate-maven-plugin/1.0.3/ci-management.html": "CI Management",
    -    "/projects/hibernate-maven-plugin/1.0.3/dependencies.html": "Dependencies",
    -    "/projects/hibernate-maven-plugin/1.0.3/dependency-info.html": "Maven Coordinates",
    -    "/projects/hibernate-maven-plugin/1.0.3/distribution-management.html": "Distribution Management",
    -    "/projects/hibernate-maven-plugin/1.0.3/licenses.html": "Licenses",
    -    "/projects/hibernate-maven-plugin/1.0.3/plugin-management.html": "Plugin Management",
    -    "/projects/hibernate-maven-plugin/1.0.3/plugins.html": "Plugins",
    -    "/projects/hibernate-maven-plugin/1.0.3/scm.html": "Source Code Management",
    -    "/projects/hibernate-maven-plugin/1.0.3/summary.html": "Summary",
    -    "/projects/hibernate-maven-plugin/1.0.3/team.html": "Team",
    -    "/projects/hibernate-maven-plugin/1.0.3/project-info.html": "Project Information",
    -    "/projects/hibernate-maven-plugin/1.0.3/apidocs/index.html": "JavaDocs",
    -    "/projects/hibernate-maven-plugin/1.0.3/xref/index.html": "Source Xref",
    -    "/projects/hibernate-maven-plugin/1.0.3/pmd.html": "PMD Report",
    -    "/projects/hibernate-maven-plugin/1.0.3/cpd.html": "CPD Report",
    -    "/projects/hibernate-maven-plugin/1.0.3/plugin-info.html": "Plugin Documentation",
    -    "/projects/hibernate-maven-plugin/1.0.3/project-reports.html": "Project Reports",
    -    "/projects/hibernate-maven-plugin/1.0.3/index.html?about": "Overview",
    -    "/projects/hibernate-maven-plugin/1.0.3/configuration.html": "Configuration Examples",
    -    "/projects/hibernate-maven-plugin/1.0.3/export-mojo.html": "Parameter Documentation",
    -    "/projects/hibernate-maven-plugin/1.0.3/debugging.html": "Enable Debug-Output",
    -    "/projects/hibernate-maven-plugin/1.0.3/skip.html": "Skipping Execution",
    -    "/projects/hibernate-maven-plugin/1.0.3/force.html": "Force Exceution",
    -    "/projects/hibernate-maven-plugin/1.0.3/pitfalls.html": "Known Pitfalls (FAQ)"
    -  },
    -  "_childs": {
    -    "/projects/hibernate-maven-plugin/1.0.3/index.html": [
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html?about",
    -      "/projects/hibernate-maven-plugin/1.0.3/configuration.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/export-mojo.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/debugging.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/skip.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/force.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/pitfalls.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-reports.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/project-info.html": [
    -      "/projects/hibernate-maven-plugin/1.0.3/ci-management.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/dependencies.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/dependency-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/distribution-management.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/licenses.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/plugin-management.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/plugins.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/scm.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/summary.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/team.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/project-reports.html": [
    -      "/projects/hibernate-maven-plugin/1.0.3/apidocs/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/xref/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/pmd.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/cpd.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/plugin-info.html"
    -    ]
    -  },
    -  "_crumbs": {
    -    "/projects/hibernate-maven-plugin/1.0.3/index.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/ci-management.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/ci-management.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/dependencies.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/dependencies.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/dependency-info.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/dependency-info.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/distribution-management.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/distribution-management.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/licenses.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/licenses.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/plugin-management.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/plugin-management.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/plugins.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/plugins.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/scm.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/scm.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/summary.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/summary.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/team.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/team.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/project-info.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/apidocs/index.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-reports.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/apidocs/index.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/xref/index.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-reports.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/xref/index.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/pmd.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-reports.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/pmd.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/cpd.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-reports.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/cpd.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/plugin-info.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-reports.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/plugin-info.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/project-reports.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-reports.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/index.html?about": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html?about"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/configuration.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/configuration.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/export-mojo.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/export-mojo.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/debugging.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/debugging.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/skip.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/skip.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/force.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/force.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/pitfalls.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/pitfalls.html"
    -    ]
    -  },
    -  "_canonical": {
    -    "/projects/hibernate-maven-plugin/1.0.3/index.html": "/hibernate-maven-plugin/index.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/ci-management.html": "/hibernate-maven-plugin/ci-management.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/dependencies.html": "/hibernate-maven-plugin/dependencies.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/dependency-info.html": "/hibernate-maven-plugin/dependency-info.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/distribution-management.html": "/hibernate-maven-plugin/distribution-management.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/licenses.html": "/hibernate-maven-plugin/licenses.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/plugin-management.html": "/hibernate-maven-plugin/plugin-management.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/plugins.html": "/hibernate-maven-plugin/plugins.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/scm.html": "/hibernate-maven-plugin/scm.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/summary.html": "/hibernate-maven-plugin/summary.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/team.html": "/hibernate-maven-plugin/team.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/project-info.html": "/hibernate-maven-plugin/project-info.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/apidocs/index.html": "/hibernate-maven-plugin/apidocs/index.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/xref/index.html": "/hibernate-maven-plugin/xref/index.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/pmd.html": "/hibernate-maven-plugin/pmd.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/cpd.html": "/hibernate-maven-plugin/cpd.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/plugin-info.html": "/hibernate-maven-plugin/plugin-info.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/project-reports.html": "/hibernate-maven-plugin/project-reports.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/index.html?about": "/hibernate-maven-plugin/index.html?about",
    -    "/projects/hibernate-maven-plugin/1.0.3/configuration.html": "/hibernate-maven-plugin/configuration.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/export-mojo.html": "/hibernate-maven-plugin/export-mojo.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/debugging.html": "/hibernate-maven-plugin/debugging.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/skip.html": "/hibernate-maven-plugin/skip.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/force.html": "/hibernate-maven-plugin/force.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/pitfalls.html": "/hibernate-maven-plugin/pitfalls.html"
    -  }
    -}
    -    
    -

    All Pages

    -

    -

    -

    - - +{{< /highlight >}}
    + +

    + (The compile might be necessary, because hibernate4-maven-plugin + has to scan the compiled classes for annotations!) +

    + +

    + Unlike the majority of the maven-plugins, hibernate4-maven-plugin was + designed to give a good many hints, when debugging is enabled. + Because, if you do not know, what went wrong, you can't fix it! +

    + +

    + But be warned: hibernate4-maven-plugin tends to be very chatty ;) +

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/content/projects/hibernate-maven-plugin/1.0.3/force.html b/content/projects/hibernate-maven-plugin/1.0.3/force.html index 9f45e707..ba98d49a 100644 --- a/content/projects/hibernate-maven-plugin/1.0.3/force.html +++ b/content/projects/hibernate-maven-plugin/1.0.3/force.html @@ -1,655 +1,90 @@ - - - +--- +title: Force Exceution +weight: 23 +outputs: + - html +url: /hibernate4-maven-plugin-1.0.3/force.html +layout: article +params: + current: false + canonical: /hibernate-maven-plugin/force.html +--- +
    +

    Force Execution

    + +

    + The hibernate4-maven-plugin computes MD5-sums for all found annotated + classes and stores them together with the generated schema. + If no classes were changed or added and the dialect wasn't changed too, it + automatically skips the configured schema-export, to speed up the development + cycle. +

    + +

    + The plugin signals, that the execution was skipped by setting the maven + property $\{hibernate.export.skipped\} to true. + This may be helpful, because other plugins like + dbunit-plugin + may fail, when the execution is skipped. +

    + +

    + If you need the hibernate4-maven-plugin to <never skip execution automatically>, + you can force it to do so, if you set the parameter force to + true: +

    +
    +
    +{{< highlight guess >}} + + de.juplo + hibernate4-maven-plugin + 1.0.3 + + true + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Hibernate 4 Maven Plugin – Force execution - - - - -

    Force execution

    -

    URI

    -
      -
    • site: /projects/hibernate-maven-plugin/1.0.3/force.html
    • -
    • canonical: /hibernate-maven-plugin/force.html
    • -
    • relative: force.html
    • -
    -

    Path

    -

    -

      -
    1. Hibernate 4 Maven Plugin
    2. Force Exceution
    -

    -
    -
    -

    The hibernate4-maven-plugin computes MD5-sums for all found annotated classes and stores them together with the generated schema. If no classes were changed or added and the dialect wasn't changed too, it automatically skips the configured schema-export, to speed up the development cycle.

    -

    The plugin signals, that the execution was skipped by setting the maven property $hibernate.export.skipped to true. This may be helpful, because other plugins like dbunit-plugin may fail, when the execution is skipped.

    -

    If you need the hibernate4-maven-plugin to never skip execution automatically, you can force it to do so, if you set the parameter force to true:

    -
    -
    <plugin>
    -  <groupId>de.juplo</groupId>
    -  <artifactId>hibernate4-maven-plugin</artifactId>
    -  <version>1.0.3</version>
    -  <configuration>
    -    <force>true</force>
    -  </configuration>
    -</plugin>
    -

    Or you may specify -Dhibernate.export.force=true at the command line, if you want to force hibernate4-maven-plugin only once.

    -
    -
    -

    Page Structure as JSON

    -
    -{
    -  "_titles": {
    -    "/projects/hibernate-maven-plugin/1.0.3/index.html": "Hibernate 4 Maven Plugin",
    -    "/projects/hibernate-maven-plugin/1.0.3/ci-management.html": "CI Management",
    -    "/projects/hibernate-maven-plugin/1.0.3/dependencies.html": "Dependencies",
    -    "/projects/hibernate-maven-plugin/1.0.3/dependency-info.html": "Maven Coordinates",
    -    "/projects/hibernate-maven-plugin/1.0.3/distribution-management.html": "Distribution Management",
    -    "/projects/hibernate-maven-plugin/1.0.3/licenses.html": "Licenses",
    -    "/projects/hibernate-maven-plugin/1.0.3/plugin-management.html": "Plugin Management",
    -    "/projects/hibernate-maven-plugin/1.0.3/plugins.html": "Plugins",
    -    "/projects/hibernate-maven-plugin/1.0.3/scm.html": "Source Code Management",
    -    "/projects/hibernate-maven-plugin/1.0.3/summary.html": "Summary",
    -    "/projects/hibernate-maven-plugin/1.0.3/team.html": "Team",
    -    "/projects/hibernate-maven-plugin/1.0.3/project-info.html": "Project Information",
    -    "/projects/hibernate-maven-plugin/1.0.3/apidocs/index.html": "JavaDocs",
    -    "/projects/hibernate-maven-plugin/1.0.3/xref/index.html": "Source Xref",
    -    "/projects/hibernate-maven-plugin/1.0.3/pmd.html": "PMD Report",
    -    "/projects/hibernate-maven-plugin/1.0.3/cpd.html": "CPD Report",
    -    "/projects/hibernate-maven-plugin/1.0.3/plugin-info.html": "Plugin Documentation",
    -    "/projects/hibernate-maven-plugin/1.0.3/project-reports.html": "Project Reports",
    -    "/projects/hibernate-maven-plugin/1.0.3/index.html?about": "Overview",
    -    "/projects/hibernate-maven-plugin/1.0.3/configuration.html": "Configuration Examples",
    -    "/projects/hibernate-maven-plugin/1.0.3/export-mojo.html": "Parameter Documentation",
    -    "/projects/hibernate-maven-plugin/1.0.3/debugging.html": "Enable Debug-Output",
    -    "/projects/hibernate-maven-plugin/1.0.3/skip.html": "Skipping Execution",
    -    "/projects/hibernate-maven-plugin/1.0.3/force.html": "Force Exceution",
    -    "/projects/hibernate-maven-plugin/1.0.3/pitfalls.html": "Known Pitfalls (FAQ)"
    -  },
    -  "_childs": {
    -    "/projects/hibernate-maven-plugin/1.0.3/index.html": [
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html?about",
    -      "/projects/hibernate-maven-plugin/1.0.3/configuration.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/export-mojo.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/debugging.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/skip.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/force.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/pitfalls.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-reports.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/project-info.html": [
    -      "/projects/hibernate-maven-plugin/1.0.3/ci-management.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/dependencies.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/dependency-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/distribution-management.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/licenses.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/plugin-management.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/plugins.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/scm.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/summary.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/team.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/project-reports.html": [
    -      "/projects/hibernate-maven-plugin/1.0.3/apidocs/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/xref/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/pmd.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/cpd.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/plugin-info.html"
    -    ]
    -  },
    -  "_crumbs": {
    -    "/projects/hibernate-maven-plugin/1.0.3/index.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/ci-management.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/ci-management.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/dependencies.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/dependencies.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/dependency-info.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/dependency-info.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/distribution-management.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/distribution-management.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/licenses.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/licenses.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/plugin-management.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/plugin-management.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/plugins.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/plugins.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/scm.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/scm.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/summary.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/summary.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/team.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/team.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/project-info.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/apidocs/index.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-reports.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/apidocs/index.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/xref/index.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-reports.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/xref/index.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/pmd.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-reports.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/pmd.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/cpd.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-reports.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/cpd.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/plugin-info.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-reports.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/plugin-info.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/project-reports.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-reports.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/index.html?about": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html?about"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/configuration.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/configuration.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/export-mojo.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/export-mojo.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/debugging.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/debugging.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/skip.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/skip.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/force.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/force.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/pitfalls.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/pitfalls.html"
    -    ]
    -  },
    -  "_canonical": {
    -    "/projects/hibernate-maven-plugin/1.0.3/index.html": "/hibernate-maven-plugin/index.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/ci-management.html": "/hibernate-maven-plugin/ci-management.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/dependencies.html": "/hibernate-maven-plugin/dependencies.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/dependency-info.html": "/hibernate-maven-plugin/dependency-info.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/distribution-management.html": "/hibernate-maven-plugin/distribution-management.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/licenses.html": "/hibernate-maven-plugin/licenses.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/plugin-management.html": "/hibernate-maven-plugin/plugin-management.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/plugins.html": "/hibernate-maven-plugin/plugins.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/scm.html": "/hibernate-maven-plugin/scm.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/summary.html": "/hibernate-maven-plugin/summary.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/team.html": "/hibernate-maven-plugin/team.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/project-info.html": "/hibernate-maven-plugin/project-info.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/apidocs/index.html": "/hibernate-maven-plugin/apidocs/index.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/xref/index.html": "/hibernate-maven-plugin/xref/index.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/pmd.html": "/hibernate-maven-plugin/pmd.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/cpd.html": "/hibernate-maven-plugin/cpd.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/plugin-info.html": "/hibernate-maven-plugin/plugin-info.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/project-reports.html": "/hibernate-maven-plugin/project-reports.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/index.html?about": "/hibernate-maven-plugin/index.html?about",
    -    "/projects/hibernate-maven-plugin/1.0.3/configuration.html": "/hibernate-maven-plugin/configuration.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/export-mojo.html": "/hibernate-maven-plugin/export-mojo.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/debugging.html": "/hibernate-maven-plugin/debugging.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/skip.html": "/hibernate-maven-plugin/skip.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/force.html": "/hibernate-maven-plugin/force.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/pitfalls.html": "/hibernate-maven-plugin/pitfalls.html"
    -  }
    -}
    -    
    -

    All Pages

    -

    -

    -

    - - +{{< /highlight >}}
    + +

    + Or you may specify -Dhibernate.export.force=true at the command line, + if you want to force hibernate4-maven-plugin only once. +

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/content/projects/hibernate-maven-plugin/1.0.3/pitfalls.html b/content/projects/hibernate-maven-plugin/1.0.3/pitfalls.html index 664593f6..32a7df4c 100644 --- a/content/projects/hibernate-maven-plugin/1.0.3/pitfalls.html +++ b/content/projects/hibernate-maven-plugin/1.0.3/pitfalls.html @@ -1,419 +1,66 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Hibernate 4 Maven Plugin – Known Pitfalls - - - - -

    Known Pitfalls

    -

    URI

    - -

    Path

    -

    -

      -
    1. Hibernate 4 Maven Plugin
    2. Known Pitfalls (FAQ)
    -

    -
    -
    -
    +--- +title: Known Pitfalls (FAQ) +weight: 24 +outputs: + - html +url: /hibernate4-maven-plugin-1.0.3/pitfalls.html +layout: article +params: + current: false + canonical: /hibernate-maven-plugin/pitfalls.html +--- +
    +

    Known Pitfalls (FAQ)

    Annotated classes in dependencies are not found.

    -

    hibernate4-maven-plugin does not scan transitive dependencies for annotated classes. If some of your annotated classes are hidden in a transitive dependency, you can simply add that dependency explicitly.

    + +

    + hibernate4-maven-plugin does not scan transitive dependencies for + annotated classes. If some of your annotated classes are hidden in a + transitive dependency, you can simply add that dependency explicitly. +

    +

    hibernate4-maven-plugin always needs a database-connection

    -

    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 use the NONE- or the SCRIPT-target. This can be achieved with the command-line parameter -Dhibernate.export.target=SCRIPT or with the following configuration:

    -
    -
    <configuration>
    -  <target>SCRIPT</target>
    -</configuration>
    -

    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!

    + +

    + 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 + use the NONE- or the SCRIPT-target. + This can be achieved with the command-line parameter + -Dhibernate.export.target=SCRIPT or with the following configuration: +

    + +
    +
    +{{< highlight guess >}} + + SCRIPT + + +{{< /highlight >}}
    + +

    + 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! +

    +

    Dependency for driver-class XYZ is missing

    -

    One regular problem is the scope of the jdbc-driver-dependency. It is very unlikely, that this dependency is needed at compile-time. So a tidy maven-developer would usually scope it for runtime.

    -

    But this will break the execution of the hibernate4-maven-plugin. Since it will not be able to see the needed dependency, it will fail with an error-message like:

    -
    -
    [INFO] Gathered hibernate-configuration (turn on debugging for details):
    +  
    +

    + One regular problem is the scope of the jdbc-driver-dependency. + It is very unlikely, that this dependency is needed at compile-time. + So a tidy maven-developer would usually scope it for runtime. +

    + +

    + But this will break the execution of the hibernate4-maven-plugin. + Since it will not be able to see the needed dependency, it will fail with + an error-message like: +

    + +
    +
    +{{< highlight guess >}} +[INFO] Gathered hibernate-configuration (turn on debugging for details): [INFO] hibernate.connection.username = sa [INFO] hibernate.connection.password = [INFO] hibernate.dialect = org.hibernate.dialect.HSQLDialect @@ -430,300 +77,184 @@ [INFO] Total time: 2 seconds [INFO] Finished at: Thu Nov 29 11:31:14 CET 2012 [INFO] Final Memory: 32M/342M -[INFO] ------------------------------------------------------------------------
    -

    A quick workaround for this error would be, to delete the runtime-constraint for the jdbc-driver-dependency.

    -

    A much cleaner way is, to (additionally) ad the dependency, to the plugin-definition:

    -
    -
    <plugin>
    -  <groupId>de.juplo</groupId>
    -  <artifactId>hibernate4-maven-plugin</artifactId>
    -  <version>1.0.3</version>
    -  <executions>
    -    <execution>
    -      <goals>
    -        <goal>export</goal>
    -      </goals>
    -    </execution>
    -  </executions>
    -  <dependencies>
    -  <dependency>
    -    <groupId>org.hsqldb</groupId>
    -    <artifactId>hsqldb</artifactId>
    -    <version>2.2.8</version>
    -  </dependency>
    -  </dependencies>
    -</plugin>
    -

    This is also the best way, if you use a different jdbc-driver for testing, than in production. Because otherwise, this dependency will unnecessarily bloat the runtime-dependencies of your project.

    -

    DBUnit fails after execution of hibernate4 was skipped because nothing has changed

    -

    If hibernate4-maven-plugin skips its excecution, this may lead to errors in other plugins. For example, when importing sample-data in the automatically created database with the help of the dbunit-plugin, the CLEAN_INSERT-operation may fail because of foreign-key-constraints, if the database was not recreated, because the hibernate4-maven-plugin has skipped its excecution.

    -

    A quick fix to this problem is, to force hibernate4-maven-plugin to export the schema every time it is running. But to recreate the database on every testrun may noticeable slow down your development cycle, if you have to wait for slow IO.

    -

    To circumvent this problem, hibernate4-maven-plugin signals a skipped excecution by setting the maven property $hibernate.export.skipped to true. You can configure other plugins to react on this signal. For example, the dbunit-plugin can be configured to skip its excecution, if hibernate4-maven-plugin was skipped like this:

    -
    -
    <plugin>
    -  <groupId>org.codehaus.mojo</groupId>
    -  <artifactId>dbunit-maven-plugin</artifactId>
    -  <configuration>
    -    <skip>${hibernate.export.skipped}</skip>
    -  </configuration>
    -</plugin>
    +[INFO] ------------------------------------------------------------------------ + +{{< /highlight >}}
    + +

    + A quick workaround for this error would be, to delete the runtime-constraint + for the jdbc-driver-dependency. +

    + +

    + A much cleaner way is, to (additionally) ad the dependency, to the + plugin-definition: +

    + +
    +
    +{{< highlight guess >}} + + de.juplo + hibernate4-maven-plugin + 1.0.3 + + + + export + + + + + + org.hsqldb + hsqldb + 2.2.8 + + + + +{{< /highlight >}}
    + +

    + This is also the best way, if you use a different jdbc-driver for + testing, than in production. + Because otherwise, this dependency will unnecessarily bloat the + runtime-dependencies of your project. +

    +
    +

    DBUnit fails after execution of hibernate was skipped because nothing has changed

    + +

    + If hibernate4-maven-plugin skips its excecution, this may lead to errors in + other plugins. + For example, when importing sample-data in the automatically created database + with the help of the dbunit-plugin, + the CLEAN_INSERT-operation may fail because of foreign-key-constraints, + if the database was not recreated, because the hibernate4-maven-plugin has + skipped its excecution. +

    + +

    + A quick fix to this problem is, to force + hibernate4-maven-plugin to export the schema every time it is running. + But to recreate the database on every testrun may noticeable slow down your + development cycle, if you have to wait for slow IO. +

    + +

    + To circumvent this problem, hibernate4-maven-plugin signals a skipped + excecution by setting the maven property $\{hibernate.export.skipped\} to + true. + You can configure other plugins to react on this signal. + For example, the dbunit-plugin can be configured to skip its excecution, if + hibernate4-maven-plugin was skipped like this: +

    + +
    +
    +{{< highlight guess >}} + + org.codehaus.mojo + dbunit-maven-plugin + + ${hibernate.export.skipped} + + + +{{< /highlight >}}
    +

    The database will not be recreated after a manual drop/clean

    -

    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 the database needs to be recreated. This happens, because the plugin will not recreate the database if neither the configuration nor the annotated classes have changed, because an unnecessary drop-create-cycle might take a long time. The plugin will report that like this:

    -
    -
    [INFO] No modified annotated classes found and dialect unchanged.
    -[INFO] Skipping schema generation!
    -

    If one always uses mvn clean for cleanup, this will not happen. Otherwise the recreation must be forced:

    -
    -
    mvn hibernate4:export -Dhibernate.export.force=true
    -

    The hibernate4:export goal is not executed, when tests are skipped

    -

    The hibernate4-maven-plugin automatically skips its execution, when maven.test.skip is set to true. If you need it to be always executed, you can configure that explicitly like this:

    -
    -
    <plugin>
    -  <groupId>de.juplo</groupId>
    -  <artifactId>hibernate4-maven-plugin</artifactId>
    +  
    +

    + 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 + the database needs to be recreated. + This happens, because the plugin will not recreate the database if neither + the configuration nor the annotated classes have changed, because an + unnecessary drop-create-cycle might take a long time. The plugin will + report that like this: +

    + +
    +
    +{{< highlight guess >}} +[INFO] No modified annotated classes found and dialect unchanged. +[INFO] Skipping schema generation! + +{{< /highlight >}}
    + +

    + If one always uses mvn clean for cleanup, this will not happen. + Otherwise the recreation must be forced: +

    + +
    +
    +{{< highlight guess >}} +mvn hibernate4:create -Dhibernate.schema.force=true + +{{< /highlight >}}
    +
    +

    The hibernate:create goal is not executed, when tests are skipped

    + +

    + The hibernate4-maven-plugin automatically skips its execution, when + maven.test.skip is set to true. If you need it to be always + executed, you can configure that explicitly like this: +

    + +
    +
    +{{< highlight guess >}} + + de.juplo + hibernate4-maven-plugin ... - <configuration> - <skip>false</skip> - </configuration> -</plugin>
    -

    Background-information for this design-decission can be found on the extra page To skip or not to skip: that is the question...

    -
    -
    -

    Page Structure as JSON

    -
    -{
    -  "_titles": {
    -    "/projects/hibernate-maven-plugin/1.0.3/index.html": "Hibernate 4 Maven Plugin",
    -    "/projects/hibernate-maven-plugin/1.0.3/ci-management.html": "CI Management",
    -    "/projects/hibernate-maven-plugin/1.0.3/dependencies.html": "Dependencies",
    -    "/projects/hibernate-maven-plugin/1.0.3/dependency-info.html": "Maven Coordinates",
    -    "/projects/hibernate-maven-plugin/1.0.3/distribution-management.html": "Distribution Management",
    -    "/projects/hibernate-maven-plugin/1.0.3/licenses.html": "Licenses",
    -    "/projects/hibernate-maven-plugin/1.0.3/plugin-management.html": "Plugin Management",
    -    "/projects/hibernate-maven-plugin/1.0.3/plugins.html": "Plugins",
    -    "/projects/hibernate-maven-plugin/1.0.3/scm.html": "Source Code Management",
    -    "/projects/hibernate-maven-plugin/1.0.3/summary.html": "Summary",
    -    "/projects/hibernate-maven-plugin/1.0.3/team.html": "Team",
    -    "/projects/hibernate-maven-plugin/1.0.3/project-info.html": "Project Information",
    -    "/projects/hibernate-maven-plugin/1.0.3/apidocs/index.html": "JavaDocs",
    -    "/projects/hibernate-maven-plugin/1.0.3/xref/index.html": "Source Xref",
    -    "/projects/hibernate-maven-plugin/1.0.3/pmd.html": "PMD Report",
    -    "/projects/hibernate-maven-plugin/1.0.3/cpd.html": "CPD Report",
    -    "/projects/hibernate-maven-plugin/1.0.3/plugin-info.html": "Plugin Documentation",
    -    "/projects/hibernate-maven-plugin/1.0.3/project-reports.html": "Project Reports",
    -    "/projects/hibernate-maven-plugin/1.0.3/index.html?about": "Overview",
    -    "/projects/hibernate-maven-plugin/1.0.3/configuration.html": "Configuration Examples",
    -    "/projects/hibernate-maven-plugin/1.0.3/export-mojo.html": "Parameter Documentation",
    -    "/projects/hibernate-maven-plugin/1.0.3/debugging.html": "Enable Debug-Output",
    -    "/projects/hibernate-maven-plugin/1.0.3/skip.html": "Skipping Execution",
    -    "/projects/hibernate-maven-plugin/1.0.3/force.html": "Force Exceution",
    -    "/projects/hibernate-maven-plugin/1.0.3/pitfalls.html": "Known Pitfalls (FAQ)"
    -  },
    -  "_childs": {
    -    "/projects/hibernate-maven-plugin/1.0.3/index.html": [
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html?about",
    -      "/projects/hibernate-maven-plugin/1.0.3/configuration.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/export-mojo.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/debugging.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/skip.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/force.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/pitfalls.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-reports.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/project-info.html": [
    -      "/projects/hibernate-maven-plugin/1.0.3/ci-management.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/dependencies.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/dependency-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/distribution-management.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/licenses.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/plugin-management.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/plugins.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/scm.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/summary.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/team.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/project-reports.html": [
    -      "/projects/hibernate-maven-plugin/1.0.3/apidocs/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/xref/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/pmd.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/cpd.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/plugin-info.html"
    -    ]
    -  },
    -  "_crumbs": {
    -    "/projects/hibernate-maven-plugin/1.0.3/index.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/ci-management.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/ci-management.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/dependencies.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/dependencies.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/dependency-info.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/dependency-info.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/distribution-management.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/distribution-management.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/licenses.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/licenses.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/plugin-management.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/plugin-management.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/plugins.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/plugins.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/scm.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/scm.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/summary.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/summary.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/team.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/team.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/project-info.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/apidocs/index.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-reports.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/apidocs/index.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/xref/index.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-reports.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/xref/index.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/pmd.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-reports.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/pmd.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/cpd.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-reports.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/cpd.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/plugin-info.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-reports.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/plugin-info.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/project-reports.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-reports.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/index.html?about": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html?about"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/configuration.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/configuration.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/export-mojo.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/export-mojo.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/debugging.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/debugging.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/skip.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/skip.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/force.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/force.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/pitfalls.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/pitfalls.html"
    -    ]
    -  },
    -  "_canonical": {
    -    "/projects/hibernate-maven-plugin/1.0.3/index.html": "/hibernate-maven-plugin/index.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/ci-management.html": "/hibernate-maven-plugin/ci-management.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/dependencies.html": "/hibernate-maven-plugin/dependencies.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/dependency-info.html": "/hibernate-maven-plugin/dependency-info.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/distribution-management.html": "/hibernate-maven-plugin/distribution-management.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/licenses.html": "/hibernate-maven-plugin/licenses.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/plugin-management.html": "/hibernate-maven-plugin/plugin-management.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/plugins.html": "/hibernate-maven-plugin/plugins.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/scm.html": "/hibernate-maven-plugin/scm.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/summary.html": "/hibernate-maven-plugin/summary.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/team.html": "/hibernate-maven-plugin/team.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/project-info.html": "/hibernate-maven-plugin/project-info.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/apidocs/index.html": "/hibernate-maven-plugin/apidocs/index.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/xref/index.html": "/hibernate-maven-plugin/xref/index.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/pmd.html": "/hibernate-maven-plugin/pmd.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/cpd.html": "/hibernate-maven-plugin/cpd.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/plugin-info.html": "/hibernate-maven-plugin/plugin-info.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/project-reports.html": "/hibernate-maven-plugin/project-reports.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/index.html?about": "/hibernate-maven-plugin/index.html?about",
    -    "/projects/hibernate-maven-plugin/1.0.3/configuration.html": "/hibernate-maven-plugin/configuration.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/export-mojo.html": "/hibernate-maven-plugin/export-mojo.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/debugging.html": "/hibernate-maven-plugin/debugging.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/skip.html": "/hibernate-maven-plugin/skip.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/force.html": "/hibernate-maven-plugin/force.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/pitfalls.html": "/hibernate-maven-plugin/pitfalls.html"
    -  }
    -}
    -    
    -

    All Pages

    -

    -

    -

    - - + + false + + + +{{< /highlight >}} + +

    + Background-information for this design-decission can be found on the extra + page To skip or not to skip: that is the question... +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/content/projects/hibernate-maven-plugin/1.0.3/project-info/_index.html b/content/projects/hibernate-maven-plugin/1.0.3/project-info/_index.html new file mode 100644 index 00000000..c3885155 --- /dev/null +++ b/content/projects/hibernate-maven-plugin/1.0.3/project-info/_index.html @@ -0,0 +1,89 @@ +--- +title: Project Information +weight: 1 +outputs: + - html +url: /hibernate4-maven-plugin-1.0.3/project-info.html +layout: article +params: + current: false + canonical: /hibernate-maven-plugin/project-info.html +--- +
    +
    +

    Project Information

    +

    This document provides an overview of the various documents and links that are part of this project's general information. All of this content is automatically generated by Maven on behalf of the project.

    +

    Overview

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    DocumentDescription
    CI ManagementThis document lists the continuous integration management system of this project for building and testing code on a frequent, regular basis.
    DependenciesThis document lists the project's dependencies and provides information on each dependency.
    Maven CoordinatesThis document describes how to include this project as a dependency using various dependency management tools.
    Distribution ManagementThis document provides informations on the distribution management of this project.
    AboutPlugin for generating a database-schema from Hibernate-4-Mapping-Annotations
    LicensesThis document lists the project license(s).
    Plugin ManagementThis document lists the plugins that are defined through pluginManagement.
    PluginsThis document lists the build plugins and the report plugins used by this project.
    Source Code ManagementThis document lists ways to access the online source repository.
    SummaryThis document lists other related information of this project
    TeamThis document provides information on the members of this project. These are the individuals who have contributed to the project in one form or another.
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/content/projects/hibernate-maven-plugin/1.0.3/project-info/ci-management.html b/content/projects/hibernate-maven-plugin/1.0.3/project-info/ci-management.html new file mode 100644 index 00000000..cfe35f02 --- /dev/null +++ b/content/projects/hibernate-maven-plugin/1.0.3/project-info/ci-management.html @@ -0,0 +1,53 @@ +--- +title: CI Management +weight: 2 +outputs: + - html +url: /hibernate4-maven-plugin-1.0.3/ci-management.html +layout: article +params: + current: false + canonical: /hibernate-maven-plugin/ci-management.html +--- +
    +
    +

    Overview

    +

    This project uses Continuum.

    +

    Access

    +

    The following is a link to the continuous integration system used by the project:

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/content/projects/hibernate-maven-plugin/1.0.3/project-info/dependencies.html b/content/projects/hibernate-maven-plugin/1.0.3/project-info/dependencies.html new file mode 100644 index 00000000..787840b0 --- /dev/null +++ b/content/projects/hibernate-maven-plugin/1.0.3/project-info/dependencies.html @@ -0,0 +1,1035 @@ +--- +title: Dependencies +weight: 3 +outputs: + - html +url: /hibernate4-maven-plugin-1.0.3/dependencies.html +layout: article +params: + current: false + canonical: /hibernate-maven-plugin/dependencies.html +--- +
    +
    +

    Project Dependencies

    +

    compile

    +

    The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    GroupIdArtifactIdVersionTypeLicenses
    com.pyx4jmaven-plugin-log4j1.0.1jarThe Apache Software License, Version 2.0
    org.apache.mavenmaven-core3.0.4jarThe Apache Software License, Version 2.0
    org.apache.mavenmaven-plugin-api3.0.4jarThe Apache Software License, Version 2.0
    org.hibernatehibernate-core4.2.5.FinaljarGNU Lesser General Public License
    org.hibernatehibernate-envers4.2.5.FinaljarGNU Lesser General Public License
    org.scannotationscannotation1.0.3jarApache License V2.0
    +

    Project Transitive Dependencies

    +

    The following is a list of transitive dependencies for this project. Transitive dependencies are the dependencies of the project dependencies.

    +

    compile

    +

    The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    GroupIdArtifactIdVersionClassifierTypeLicenses
    antlrantlr2.7.7-jarBSD License
    dom4jdom4j1.6.1-jar-
    javassistjavassist3.12.1.GA-jarMPL 1.1LGPL 2.1
    log4jlog4j1.2.14-jarThe Apache Software License, Version 2.0
    org.apache.mavenmaven-aether-provider3.0.4-jarThe Apache Software License, Version 2.0
    org.apache.mavenmaven-artifact3.0.4-jarThe Apache Software License, Version 2.0
    org.apache.mavenmaven-model3.0.4-jarThe Apache Software License, Version 2.0
    org.apache.mavenmaven-model-builder3.0.4-jarThe Apache Software License, Version 2.0
    org.apache.mavenmaven-repository-metadata3.0.4-jarThe Apache Software License, Version 2.0
    org.apache.mavenmaven-settings3.0.4-jarThe Apache Software License, Version 2.0
    org.apache.mavenmaven-settings-builder3.0.4-jarThe Apache Software License, Version 2.0
    org.codehaus.plexusplexus-classworlds2.4-jarThe Apache Software License, Version 2.0
    org.codehaus.plexusplexus-component-annotations1.5.5-jarThe Apache Software License, Version 2.0
    org.codehaus.plexusplexus-interpolation1.14-jarThe Apache Software License, Version 2.0
    org.hibernatehibernate-entitymanager4.2.5.Final-jarGNU Lesser General Public License
    org.hibernate.commonhibernate-commons-annotations4.0.2.Final-jarGNU LESSER GENERAL PUBLIC LICENSE
    org.hibernate.javax.persistencehibernate-jpa-2.0-api1.0.1.Final-jarnull
    org.javassistjavassist3.15.0-GA-jarMPL 1.1LGPL 2.1Apache License 2.0
    org.jboss.loggingjboss-logging3.1.0.GA-jarGNU Lesser General Public License, version 2.1
    org.jboss.spec.javax.transactionjboss-transaction-api_1.1_spec1.0.1.Final-jarCommon Development and Distribution LicenseGNU General Public License, Version 2 with the Classpath Exception
    org.sonatype.aetheraether-api1.13.1-jarEclipse Public License, Version 1.0
    org.sonatype.aetheraether-impl1.13.1-jarEclipse Public License, Version 1.0
    org.sonatype.aetheraether-spi1.13.1-jarEclipse Public License, Version 1.0
    org.sonatype.aetheraether-util1.13.1-jarEclipse Public License, Version 1.0
    org.sonatype.plexusplexus-cipher1.4-jarApache Public License 2.0
    org.sonatype.plexusplexus-sec-dispatcher1.3-jarApache Public License 2.0
    org.sonatype.sisusisu-guava0.9.9-jarThe Apache Software License, Version 2.0
    org.sonatype.sisusisu-guice3.1.0no_aopjarThe Apache Software License, Version 2.0
    org.sonatype.sisusisu-inject-bean2.3.0-jarThe Apache Software License, Version 2.0Eclipse Public License, Version 1.0
    org.sonatype.sisusisu-inject-plexus2.3.0-jarEclipse Public License, Version 1.0
    +

    Project Dependency Graph

    + +
    +

    Dependency Tree

    +
    +

    Licenses

    +

    Apache Public License 2.0: Plexus Cipher: encryption/decryption Component, Plexus Security Dispatcher Component

    +

    Unnamed: JPA 2.0 API

    +

    Common Development and Distribution License: Java Transaction API

    +

    GNU LESSER GENERAL PUBLIC LICENSE: Hibernate Commons Annotations

    +

    GNU Lesser General Public License: A Hibernate Core Module

    +

    Apache License V2.0: scannotation

    +

    GNU Lesser General Public License, version 2.1: JBoss Logging 3

    +

    Eclipse Public License, Version 1.0: Aether :: API, Aether :: Implementation, Aether :: SPI, Aether :: Utilities, Sisu-Inject-Bean : Aggregate OSGi bundle, Sisu-Inject-Plexus : Aggregate OSGi bundle

    +

    Unknown: dom4j

    +

    BSD License: AntLR Parser Generator

    +

    Apache License 2.0: Javassist

    +

    LGPL 2.1: Javassist

    +

    GNU General Public License, Version 2 with the Classpath Exception: Java Transaction API

    +

    MPL 1.1: Javassist

    +

    The Apache Software License, Version 2.0: Hibernate 4 Maven Plugin, Log4j, Maven Aether Provider, Maven Artifact, Maven Core, Maven Model, Maven Model Builder, Maven Plugin API, Maven Repository Metadata Model, Maven Settings, Maven Settings Builder, Plexus :: Component Annotations, Plexus Classworlds, Plexus Interpolation API, Sisu Guava - Core Library, Sisu Guice - Core Library, Sisu-Inject-Bean : Aggregate OSGi bundle, maven-plugin-log4j

    +

    Dependency File Details

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    FilenameSizeEntriesClassesPackagesJava VersionDebug Information
    antlr-2.7.7.jar445.3 kB239224121.2Yes
    maven-plugin-log4j-1.0.1.jar3.7 kB12111.4Yes
    dom4j-1.6.1.jar313.9 kB208190141.3Yes
    javassist-3.12.1.GA.jar644.1 kB390366171.4Yes
    log4j-1.2.14.jar367.4 kB288256191.1Yes
    maven-aether-provider-3.0.4.jar56.5 kB402311.5Yes
    maven-artifact-3.0.4.jar52.1 kB5732111.5Yes
    maven-core-3.0.4.jar559 kB428350431.5Yes
    maven-model-3.0.4.jar163.6 kB675031.5Yes
    maven-model-builder-3.0.4.jar150.6 kB142109161.5Yes
    maven-plugin-api-3.0.4.jar49.3 kB462561.5Yes
    maven-repository-metadata-3.0.4.jar30.1 kB25721.5Yes
    maven-settings-3.0.4.jar46.7 kB331721.5Yes
    maven-settings-builder-3.0.4.jar41.4 kB533251.5Yes
    plexus-classworlds-2.4.jar47.1 kB523751.4Yes
    plexus-component-annotations-1.5.5.jar4.2 kB15311.5No
    plexus-interpolation-1.14.jar61.1 kB604461.4Yes
    hibernate-core-4.2.5.Final.jar4.6 MB319129821701.6Yes
    hibernate-entitymanager-4.2.5.Final.jar484.8 kB334309151.6Yes
    hibernate-envers-4.2.5.Final.jar412.8 kB300253351.6Yes
    hibernate-commons-annotations-4.0.2.Final.jar81.8 kB826471.6Yes
    hibernate-jpa-2.0-api-1.0.1.Final.jar102.7 kB19017641.5Yes
    javassist-3.15.0-GA.jar648.3 kB391367171.4Yes
    jboss-logging-3.1.0.GA.jar60.8 kB554311.6Yes
    jboss-transaction-api_1.1_spec-1.0.1.Final.jar25.2 kB311821.6Yes
    scannotation-1.0.3.jar18.8 kB231321.5Yes
    aether-api-1.13.1.jar89.7 kB11696111.5Yes
    aether-impl-1.13.1.jar130.1 kB877321.5Yes
    aether-spi-1.13.1.jar15.4 kB331751.5Yes
    aether-util-1.13.1.jar130 kB11692141.5Yes
    plexus-cipher-1.4.jar13.5 kB20611.4Yes
    plexus-sec-dispatcher-1.3.jar28.6 kB311331.4Yes
    sisu-guava-0.9.9.jar1.5 MB11831163101.5Yes
    sisu-guice-3.1.0-no_aop.jar357.4 kB31029581.5Yes
    sisu-inject-bean-2.3.0.jar289.1 kB256224151.5Yes
    sisu-inject-plexus-2.3.0.jar204.4 kB207163271.5Yes
    TotalSizeEntriesClassesPackagesJava VersionDebug Information
    3612.3 MB911181335131.635
    compile: 36compile: 12.3 MBcompile: 9111compile: 8133compile: 5131.6compile: 35
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/content/projects/hibernate-maven-plugin/1.0.3/project-info/dependency-info.html b/content/projects/hibernate-maven-plugin/1.0.3/project-info/dependency-info.html new file mode 100644 index 00000000..f102ce78 --- /dev/null +++ b/content/projects/hibernate-maven-plugin/1.0.3/project-info/dependency-info.html @@ -0,0 +1,51 @@ +--- +title: Maven Coordinates +weight: 4 +outputs: + - html +url: /hibernate4-maven-plugin-1.0.3/dependency-info.html +layout: article +params: + current: false + canonical: /hibernate-maven-plugin/dependency-info.html +--- +
    +
    +

    Maven Coordinates

    +

    Apache Maven

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/content/projects/hibernate-maven-plugin/1.0.3/project-info/distribution-management.html b/content/projects/hibernate-maven-plugin/1.0.3/project-info/distribution-management.html new file mode 100644 index 00000000..59b6a53c --- /dev/null +++ b/content/projects/hibernate-maven-plugin/1.0.3/project-info/distribution-management.html @@ -0,0 +1,55 @@ +--- +title: Distribution Management +weight: 5 +outputs: + - html +url: /hibernate4-maven-plugin-1.0.3/distribution-management.html +layout: article +params: + current: false + canonical: /hibernate-maven-plugin/distribution-management.html +--- +
    +
    +

    Overview

    +

    The following is the distribution management information used by this project.

    +

    Repository - sonatype-nexus-staging

    https://oss.sonatype.org/service/local/staging/deploy/maven2/
    +

    Snapshot Repository - sonatype-nexus-snapshots

    https://oss.sonatype.org/content/repositories/snapshots/
    +

    Site - www.juplo.de

    +

    scp://juplo.de/var/www/juplo/hibernate4-maven-plugin-1.0.3

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/content/projects/hibernate-maven-plugin/1.0.3/project-info/licenses.html b/content/projects/hibernate-maven-plugin/1.0.3/project-info/licenses.html new file mode 100644 index 00000000..d7a9ecf8 --- /dev/null +++ b/content/projects/hibernate-maven-plugin/1.0.3/project-info/licenses.html @@ -0,0 +1,54 @@ +--- +title: Licenses +weight: 6 +outputs: + - html +url: /hibernate4-maven-plugin-1.0.3/licenses.html +layout: article +params: + current: false + canonical: /hibernate-maven-plugin/licenses.html +--- +
    +
    +

    Overview

    +

    Typically the licenses listed for the project are that of the project itself, and not of dependencies.

    +

    Project Licenses

    +

    The Apache Software License, Version 2.0

    +

    A business-friendly OSS license

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/content/projects/hibernate-maven-plugin/1.0.3/project-info/plugin-management.html b/content/projects/hibernate-maven-plugin/1.0.3/project-info/plugin-management.html new file mode 100644 index 00000000..bc36d379 --- /dev/null +++ b/content/projects/hibernate-maven-plugin/1.0.3/project-info/plugin-management.html @@ -0,0 +1,71 @@ +--- +title: Plugin Management +weight: 7 +outputs: + - html +url: /hibernate4-maven-plugin-1.0.3/plugin-management.html +layout: article +params: + current: false + canonical: /hibernate-maven-plugin/plugin-management.html +--- +
    +
    +

    Project Plugin Management

    + + + + + + + + + + + + + + + + + + + + +
    GroupIdArtifactIdVersion
    org.apache.maven.pluginsmaven-antrun-plugin1.3
    org.apache.maven.pluginsmaven-assembly-plugin2.2-beta-5
    org.apache.maven.pluginsmaven-dependency-plugin2.8
    org.apache.maven.pluginsmaven-release-plugin2.1
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/content/projects/hibernate-maven-plugin/1.0.3/project-info/plugins.html b/content/projects/hibernate-maven-plugin/1.0.3/project-info/plugins.html new file mode 100644 index 00000000..ab1945fa --- /dev/null +++ b/content/projects/hibernate-maven-plugin/1.0.3/project-info/plugins.html @@ -0,0 +1,145 @@ +--- +title: Plugins +weight: 8 +outputs: + - html +url: /hibernate4-maven-plugin-1.0.3/plugins.html +layout: article +params: + current: false + canonical: /hibernate-maven-plugin/plugins.html +--- +
    +
    +

    Project Build Plugins

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    GroupIdArtifactIdVersion
    org.apache.maven.pluginsmaven-clean-plugin2.5
    org.apache.maven.pluginsmaven-compiler-plugin2.0.2
    org.apache.maven.pluginsmaven-dependency-plugin2.1
    org.apache.maven.pluginsmaven-deploy-plugin2.7
    org.apache.maven.pluginsmaven-enforcer-plugin1.0
    org.apache.maven.pluginsmaven-install-plugin2.4
    org.apache.maven.pluginsmaven-invoker-plugin1.8
    org.apache.maven.pluginsmaven-jar-plugin2.4
    org.apache.maven.pluginsmaven-javadoc-plugin2.7
    org.apache.maven.pluginsmaven-plugin-plugin3.2
    org.apache.maven.pluginsmaven-resources-plugin2.3
    org.apache.maven.pluginsmaven-scm-plugin1.7
    org.apache.maven.pluginsmaven-site-plugin3.9.1
    org.apache.maven.pluginsmaven-source-plugin2.1.2
    org.apache.maven.pluginsmaven-surefire-plugin2.12.4
    +

    Project Report Plugins

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    GroupIdArtifactIdVersion
    org.apache.maven.pluginsmaven-changes-plugin2.7.1
    org.apache.maven.pluginsmaven-javadoc-plugin2.7
    org.apache.maven.pluginsmaven-jxr-plugin2.3
    org.apache.maven.pluginsmaven-plugin-plugin3.2
    org.apache.maven.pluginsmaven-pmd-plugin2.7.1
    org.apache.maven.pluginsmaven-project-info-reports-plugin3.9.0
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/content/projects/hibernate-maven-plugin/1.0.3/project-info/scm.html b/content/projects/hibernate-maven-plugin/1.0.3/project-info/scm.html new file mode 100644 index 00000000..1835dd00 --- /dev/null +++ b/content/projects/hibernate-maven-plugin/1.0.3/project-info/scm.html @@ -0,0 +1,53 @@ +--- +title: Source Code Management +weight: 9 +outputs: + - html +url: /hibernate4-maven-plugin-1.0.3/scm.html +layout: article +params: + current: false + canonical: /hibernate-maven-plugin/scm.html +--- +
    +
    +

    Overview

    +

    This project uses Git to manage its source code. Instructions on Git use can be found at https://git-scm.com/doc.

    +

    Web Browser Access

    +

    The following is a link to a browsable version of the source repository:

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/content/projects/hibernate-maven-plugin/1.0.3/project-info/summary.html b/content/projects/hibernate-maven-plugin/1.0.3/project-info/summary.html new file mode 100644 index 00000000..77a189b0 --- /dev/null +++ b/content/projects/hibernate-maven-plugin/1.0.3/project-info/summary.html @@ -0,0 +1,86 @@ +--- +title: Summary +weight: 10 +outputs: + - html +url: /hibernate4-maven-plugin-1.0.3/summary.html +layout: article +params: + current: false + canonical: /hibernate-maven-plugin/summary.html +--- +
    +
    +

    Project Summary

    +

    Project Information

    + + + + + + + + + + + + +
    FieldValue
    NameHibernate 4 Maven Plugin
    DescriptionPlugin for generating a database-schema from Hibernate-4-Mapping-Annotations
    Homepagehttps://juplo.de/hibernate-maven-plugin/index.html
    +

    Project Organization

    +

    This project does not belong to an organization.

    +

    Build Information

    + + + + + + + + + + + + + + + + + + +
    FieldValue
    GroupIdde.juplo
    ArtifactIdhibernate4-maven-plugin
    Version1.0.3
    Typemaven-plugin
    Java Version1.6
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/content/projects/hibernate-maven-plugin/1.0.3/project-info/team.html b/content/projects/hibernate-maven-plugin/1.0.3/project-info/team.html new file mode 100644 index 00000000..0618fd5f --- /dev/null +++ b/content/projects/hibernate-maven-plugin/1.0.3/project-info/team.html @@ -0,0 +1,100 @@ +--- +title: Team +weight: 11 +outputs: + - html +url: /hibernate4-maven-plugin-1.0.3/team.html +layout: article +params: + current: false + canonical: /hibernate-maven-plugin/team.html +--- +
    +
    +

    Project Team

    +

    A successful project requires many people to play many roles. Some members write code or documentation, while others are valuable as testers, submitting patches and suggestions.

    +

    The project team is comprised of Members and Contributors. Members have direct access to the source of a project and actively evolve the code-base. Contributors improve the project through submission of patches and suggestions to the Members. The number of Contributors to the project is unbounded. Get involved today. All contributions to the project are greatly appreciated.

    +

    Members

    +

    The following is a list of developers with commit privileges that have directly contributed to the project in one way or another.

    + + + + + + + + + + +
    ImageIdNameEmail
    kaiKai Moritzkai@juplo.de
    +

    Contributors

    +

    The following additional people have contributed to this project through the way of suggestions, patches or documentation.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    ImageNameEmail
    Adriano Machadoadriano.m.machado@hotmail.com
    Lorenzo Nicoralorenzo.nicora@nicus.it
    Eduard Szenteeduard.szente@gmail.com
    Stephen Johnsonstejohns@redhat.com
    Victor Tataivtatai@gmail.com
    Erik-Berndt Schepererik.berndt.scheper@gmail.com
    Guido WimmelWimmel.Guido@swm.de
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/content/projects/hibernate-maven-plugin/1.0.3/project-reports/_index.html b/content/projects/hibernate-maven-plugin/1.0.3/project-reports/_index.html new file mode 100644 index 00000000..fd8c3530 --- /dev/null +++ b/content/projects/hibernate-maven-plugin/1.0.3/project-reports/_index.html @@ -0,0 +1,71 @@ +--- +title: Project Reports +weight: 12 +outputs: + - html +url: /hibernate4-maven-plugin-1.0.3/project-reports.html +layout: article +params: + current: false + canonical: /hibernate-maven-plugin/project-reports.html +--- +
    +
    +

    Generated Reports

    +

    This document provides an overview of the various reports that are automatically generated by Maven . Each report is briefly described below.

    +

    Overview

    + + + + + + + + + + + + + + + + + + +
    DocumentDescription
    JavaDocsJavaDoc API documentation.
    Source XrefHTML based, cross-reference version of Java source code.
    PMD ReportVerification of coding rules.
    CPD ReportDuplicate code detection.
    Plugin DocumentationThis report provides goals and parameters documentation of a plugin.
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/content/projects/hibernate-maven-plugin/1.0.3/project-reports/apidocs/_index.html b/content/projects/hibernate-maven-plugin/1.0.3/project-reports/apidocs/_index.html new file mode 100644 index 00000000..0aab9674 --- /dev/null +++ b/content/projects/hibernate-maven-plugin/1.0.3/project-reports/apidocs/_index.html @@ -0,0 +1,11 @@ +--- +title: JavaDocs +url: /hibernate4-maven-plugin-1.0.3/summary.html +weight: 13 +params: + current: false + canonical: /hibernate-maven-plugin/summary.html +--- + + +

    View JavaDocs

    diff --git a/content/projects/hibernate-maven-plugin/1.0.3/project-reports/cpd.html b/content/projects/hibernate-maven-plugin/1.0.3/project-reports/cpd.html new file mode 100644 index 00000000..2c7acf7d --- /dev/null +++ b/content/projects/hibernate-maven-plugin/1.0.3/project-reports/cpd.html @@ -0,0 +1,53 @@ +--- +title: CPD Report +weight: 16 +outputs: + - html +url: /hibernate4-maven-plugin-1.0.3/cpd.html +layout: article +params: + current: false + canonical: /hibernate-maven-plugin/cpd.html +--- +
    +
    +

    CPD Results

    +

    The following document contains the results of PMD's CPD 4.3.

    +

    Duplications

    +

    CPD found no problems in your source code.

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/content/projects/hibernate-maven-plugin/1.0.3/project-reports/plugin-info/_index.html b/content/projects/hibernate-maven-plugin/1.0.3/project-reports/plugin-info/_index.html new file mode 100644 index 00000000..0a269039 --- /dev/null +++ b/content/projects/hibernate-maven-plugin/1.0.3/project-reports/plugin-info/_index.html @@ -0,0 +1,112 @@ +--- +title: Plugin Documentation +weight: 17 +outputs: + - html +url: /hibernate4-maven-plugin-1.0.3/plugin-info.html +layout: article +params: + current: false + canonical: /hibernate-maven-plugin/plugin-info.html +--- +
    +
    +

    Plugin Documentation

    +

    Goals available for this plugin:

    + + + + + + + + + +
    GoalDescription
    hibernate4:exportGoal which extracts the hibernate-mapping-configuration and exports +an according SQL-database-schema.
    hibernate4:helpDisplay help information on hibernate4-maven-plugin.
    +Call mvn hibernate4:help -Ddetail=true +-Dgoal=<goal-name> to display parameter details.
    +

    System Requirements

    +

    The following specifies the minimum requirements to run this Maven plugin:

    + + + + + + + + + + + + +
    Maven2.0.6
    JDK1.6
    MemoryNo minimum requirement.
    Disk SpaceNo minimum requirement.
    +

    Usage

    +

    You should specify the version in your project's plugin configuration:

    +
    +{{< highlight guess >}} + + ... + + + + + + de.juplo + hibernate4-maven-plugin + 1.0.3 + + ... + + + + + + de.juplo + hibernate4-maven-plugin + 1.0.3 + + ... + + + ... + + +{{< /highlight >}}
    +

    For more information, see "Guide to Configuring Plug-ins"

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/content/projects/hibernate-maven-plugin/1.0.3/project-reports/plugin-info/export-mojo.html b/content/projects/hibernate-maven-plugin/1.0.3/project-reports/plugin-info/export-mojo.html new file mode 100644 index 00000000..fcb36a46 --- /dev/null +++ b/content/projects/hibernate-maven-plugin/1.0.3/project-reports/plugin-info/export-mojo.html @@ -0,0 +1,752 @@ +--- +title: Goal — hibernate:export +weight: 19 +outputs: + - html +url: /hibernate4-maven-plugin-1.0.3/export-mojo.html +layout: article +params: + current: false + canonical: /hibernate-maven-plugin/export-mojo.html +--- +
    + + +
    +

    hibernate4:export

    + +

    Full name:

    + +

    de.juplo:hibernate4-maven-plugin:1.0.3:export

    + +

    Description:

    + +
    Goal which extracts the hibernate-mapping-configuration and exports +an according SQL-database-schema.
    + +

    Attributes:

    + +
      + +
    • Requires a Maven project to be executed.
    • + +
    • Requires dependency resolution of artifacts in scope: runtime.
    • + +
    • The goal is thread-safe and supports parallel builds.
    • + +
    • Binds by default to the lifecycle phase: process-classes.
    • +
    +
    +

    Optional Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeSinceDescription
    delimiterString1.0Delimiter in output-file.
    Default value is: ;.
    User property is: hibernate.export.schema.delimiter.
    driverClassNameString1.0SQL-Driver name.
    User property is: hibernate.connection.driver_class.
    enversboolean1.0.3Generate envers schema for auditing tables.
    Default value is: false.
    User property is: hibernate.export.envers.
    forceboolean1.0Force execution + +

    Force execution, even if no modified or newly added annotated +classes where found and the dialect was not changed.

    + +

    skip takes precedence over force.


    Default value is: false.
    User property is: hibernate.export.force.
    formatboolean1.0Format output-file.
    Default value is: true.
    User property is: hibernate.export.schema.format.
    hibernateDialectString1.0Hibernate dialect.
    User property is: hibernate.dialect.
    hibernateMappingString1.0.2List of Hibernate-Mapping-Files (XML). Multiple files can be +separated with white-spaces and/or commas.
    User property is: hibernate.mapping.
    hibernateNamingStrategyString1.0.2Hibernate Naming Strategy
    User property is: hibernate.ejb.naming_strategy.
    hibernatePropertiesString1.0Path to Hibernate configuration file.
    Default value is: ${project.build.outputDirectory}/hibernate.properties.
    outputDirectoryString1.0Classes-Directory to scan. + +

    This parameter defaults to the maven build-output-directory for +classes. Additonally, all dependencies are scanned for annotated +classes.


    User property is: project.build.outputDirectory.
    outputFileString1.0Output file.
    Default value is: ${project.build.directory}/schema.sql.
    User property is: hibernate.export.schema.filename.
    passwordString1.0Database password
    User property is: hibernate.connection.password.
    scanDependenciesString1.0.3Dependency-Scopes, that should be scanned for annotated classes. + +

    By default, only dependencies in the scope compile +are scanned for annotated classes. Multiple scopes can be seperated +by white space or commas.

    + +

    The plugin does not scan for annotated classes in transitive +dependencies. If some of your annotated classes are hidden in a +transitive dependency, you can simply add that dependency +explicitly.


    Default value is: compile.
    User property is: hibernate.export.scan_dependencies.
    scanTestClassesboolean1.0.1Wether to scan test-classes too, or not. + +

    If this parameter is set to true the test-classes +of the artifact will be scanned for hibernate-annotated classes +additionally.


    Default value is: false.
    User property is: hibernate.export.scan_testclasses.
    skipboolean1.0Skip execution + +

    If set to true, the execution is skipped.

    + +

    A skipped excecution is signaled via the maven-property +${hibernate.export.skipped}.

    + +

    The excecution is skipped automatically, if no modified or newly +added annotated classes are found and the dialect was not +changed.


    Default value is: false.
    User property is: maven.test.skip.
    targetString1.0Target of execution: + +
      + +
    • NONE only export schema to SQL-script (forces +excecution, signals skip)
    • + +
    • EXPORT create database +(DEFAULT!). forces excecution, signals skip)
    • + +
    • SCRIPT export schema to SQL-script and print +it to STDOUT
    • + +
    • BOTH
    • +
    +A databaseconnection is only needed for EXPORT and BOTH, but a +Hibernate-Dialect must always be choosen.
    Default value is: EXPORT.
    User property is: hibernate.export.target.
    testOutputDirectoryString1.0.2Test-Classes-Directory to scan. + +

    This parameter defaults to the maven build-output-directory for +test-classes.

    + +

    This parameter is only used, when scanTestClasses +is set to true!


    User property is: project.build.testOutputDirectory.
    typeString1.0Type of execution. + +
      + +
    • NONE do nothing - just validate the +configuration
    • + +
    • CREATE create database-schema
    • + +
    • DROP drop database-schema
    • + +
    • BOTH (DEFAULT!)
    • +
    +If NONE is choosen, no databaseconnection is needed.
    Default value is: BOTH.
    User property is: hibernate.export.type.
    urlString1.0Database URL.
    User property is: hibernate.connection.url.
    usernameString1.0Database username
    User property is: hibernate.connection.username.
    +
    +
    +

    Parameter Details

    + +

    delimiter:

    + +
    Delimiter in output-file.
    + +
      + +
    • Type: java.lang.String
    • + +
    • Since: 1.0
    • + +
    • Required: No
    • + +
    • User Property: hibernate.export.schema.delimiter
    • + +
    • Default: ;
    • +

    +

    driverClassName:

    + +
    SQL-Driver name.
    + +
      + +
    • Type: java.lang.String
    • + +
    • Since: 1.0
    • + +
    • Required: No
    • + +
    • User Property: hibernate.connection.driver_class
    • +

    +

    envers:

    + +
    Generate envers schema for auditing tables.
    + +
      + +
    • Type: boolean
    • + +
    • Since: 1.0.3
    • + +
    • Required: No
    • + +
    • User Property: hibernate.export.envers
    • + +
    • Default: false
    • +

    +

    force:

    + +
    Force execution + +

    Force execution, even if no modified or newly added annotated +classes where found and the dialect was not changed.

    + +

    skip takes precedence over force.

    + +
      + +
    • Type: boolean
    • + +
    • Since: 1.0
    • + +
    • Required: No
    • + +
    • User Property: hibernate.export.force
    • + +
    • Default: false
    • +

    +

    format:

    + +
    Format output-file.
    + +
      + +
    • Type: boolean
    • + +
    • Since: 1.0
    • + +
    • Required: No
    • + +
    • User Property: hibernate.export.schema.format
    • + +
    • Default: true
    • +

    +

    hibernateDialect:

    + +
    Hibernate dialect.
    + +
      + +
    • Type: java.lang.String
    • + +
    • Since: 1.0
    • + +
    • Required: No
    • + +
    • User Property: hibernate.dialect
    • +

    +

    hibernateMapping:

    + +
    List of Hibernate-Mapping-Files (XML). Multiple files can be +separated with white-spaces and/or commas.
    + +
      + +
    • Type: java.lang.String
    • + +
    • Since: 1.0.2
    • + +
    • Required: No
    • + +
    • User Property: hibernate.mapping
    • +

    +

    hibernateNamingStrategy:

    + +
    Hibernate Naming Strategy
    + +
      + +
    • Type: java.lang.String
    • + +
    • Since: 1.0.2
    • + +
    • Required: No
    • + +
    • User Property: hibernate.ejb.naming_strategy
    • +

    +

    hibernateProperties:

    + +
    Path to Hibernate configuration file.
    + +
      + +
    • Type: java.lang.String
    • + +
    • Since: 1.0
    • + +
    • Required: No
    • + +
    • Default: ${project.build.outputDirectory}/hibernate.properties
    • +

    +

    outputDirectory:

    + +
    Classes-Directory to scan. + +

    This parameter defaults to the maven build-output-directory for +classes. Additonally, all dependencies are scanned for annotated +classes.

    + +
      + +
    • Type: java.lang.String
    • + +
    • Since: 1.0
    • + +
    • Required: No
    • + +
    • User Property: project.build.outputDirectory
    • +

    +

    outputFile:

    + +
    Output file.
    + +
      + +
    • Type: java.lang.String
    • + +
    • Since: 1.0
    • + +
    • Required: No
    • + +
    • User Property: hibernate.export.schema.filename
    • + +
    • Default: ${project.build.directory}/schema.sql
    • +

    +

    password:

    + +
    Database password
    + +
      + +
    • Type: java.lang.String
    • + +
    • Since: 1.0
    • + +
    • Required: No
    • + +
    • User Property: hibernate.connection.password
    • +

    +

    scanDependencies:

    + +
    Dependency-Scopes, that should be scanned for annotated classes. + +

    By default, only dependencies in the scope compile +are scanned for annotated classes. Multiple scopes can be seperated +by white space or commas.

    + +

    The plugin does not scan for annotated classes in transitive +dependencies. If some of your annotated classes are hidden in a +transitive dependency, you can simply add that dependency +explicitly.

    + +
      + +
    • Type: java.lang.String
    • + +
    • Since: 1.0.3
    • + +
    • Required: No
    • + +
    • User Property: hibernate.export.scan_dependencies
    • + +
    • Default: compile
    • +

    +

    scanTestClasses:

    + +
    Wether to scan test-classes too, or not. + +

    If this parameter is set to true the test-classes +of the artifact will be scanned for hibernate-annotated classes +additionally.

    + +
      + +
    • Type: boolean
    • + +
    • Since: 1.0.1
    • + +
    • Required: No
    • + +
    • User Property: hibernate.export.scan_testclasses
    • + +
    • Default: false
    • +

    +

    skip:

    + +
    Skip execution + +

    If set to true, the execution is skipped.

    + +

    A skipped excecution is signaled via the maven-property +${hibernate.export.skipped}.

    + +

    The excecution is skipped automatically, if no modified or newly +added annotated classes are found and the dialect was not +changed.

    + +
      + +
    • Type: boolean
    • + +
    • Since: 1.0
    • + +
    • Required: No
    • + +
    • User Property: maven.test.skip
    • + +
    • Default: false
    • +

    +

    target:

    + +
    Target of execution: + +
      + +
    • NONE only export schema to SQL-script (forces +excecution, signals skip)
    • + +
    • EXPORT create database +(DEFAULT!). forces excecution, signals skip)
    • + +
    • SCRIPT export schema to SQL-script and print +it to STDOUT
    • + +
    • BOTH
    • +
    +A databaseconnection is only needed for EXPORT and BOTH, but a +Hibernate-Dialect must always be choosen.
    + +
      + +
    • Type: java.lang.String
    • + +
    • Since: 1.0
    • + +
    • Required: No
    • + +
    • User Property: hibernate.export.target
    • + +
    • Default: EXPORT
    • +

    +

    testOutputDirectory:

    + +
    Test-Classes-Directory to scan. + +

    This parameter defaults to the maven build-output-directory for +test-classes.

    + +

    This parameter is only used, when scanTestClasses +is set to true!

    + +
      + +
    • Type: java.lang.String
    • + +
    • Since: 1.0.2
    • + +
    • Required: No
    • + +
    • User Property: project.build.testOutputDirectory
    • +

    +

    type:

    + +
    Type of execution. + +
      + +
    • NONE do nothing - just validate the +configuration
    • + +
    • CREATE create database-schema
    • + +
    • DROP drop database-schema
    • + +
    • BOTH (DEFAULT!)
    • +
    +If NONE is choosen, no databaseconnection is needed.
    + +
      + +
    • Type: java.lang.String
    • + +
    • Since: 1.0
    • + +
    • Required: No
    • + +
    • User Property: hibernate.export.type
    • + +
    • Default: BOTH
    • +

    +

    url:

    + +
    Database URL.
    + +
      + +
    • Type: java.lang.String
    • + +
    • Since: 1.0
    • + +
    • Required: No
    • + +
    • User Property: hibernate.connection.url
    • +

    +

    username:

    + +
    Database username
    + +
      + +
    • Type: java.lang.String
    • + +
    • Since: 1.0
    • + +
    • Required: No
    • + +
    • User Property: hibernate.connection.username
    • +
    +
    +
    + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/content/projects/hibernate-maven-plugin/1.0.3/project-reports/plugin-info/help-mojo.html b/content/projects/hibernate-maven-plugin/1.0.3/project-reports/plugin-info/help-mojo.html new file mode 100644 index 00000000..8ec86b8a --- /dev/null +++ b/content/projects/hibernate-maven-plugin/1.0.3/project-reports/plugin-info/help-mojo.html @@ -0,0 +1,195 @@ +--- +title: Goal — hibernate:help +weight: 20 +outputs: + - html +url: /hibernate4-maven-plugin-1.0.3/help-mojo.html +layout: article +params: + current: false + canonical: /hibernate-maven-plugin/help-mojo.html +--- +
    + + +
    +

    hibernate4:help

    + +

    Full name:

    + +

    de.juplo:hibernate4-maven-plugin:1.0.3:help

    + +

    Description:

    + +
    Display help information on hibernate4-maven-plugin.
    +Call mvn hibernate4:help -Ddetail=true +-Dgoal=<goal-name> to display parameter details.
    + +

    Attributes:

    + +
      + +
    • The goal is thread-safe and supports parallel builds.
    • +
    +
    +

    Optional Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeSinceDescription
    detailboolean-If true, display all settable properties for each +goal.
    Default value is: false.
    User property is: detail.
    goalString-The name of the goal for which to show help. If unspecified, all +goals will be displayed.
    User property is: goal.
    indentSizeint-The number of spaces per indentation level, should be positive.
    Default value is: 2.
    User property is: indentSize.
    lineLengthint-The maximum length of a display line, should be positive.
    Default value is: 80.
    User property is: lineLength.
    +
    +
    +

    Parameter Details

    + +

    detail:

    + +
    If true, display all settable properties for each +goal.
    + +
      + +
    • Type: boolean
    • + +
    • Required: No
    • + +
    • User Property: detail
    • + +
    • Default: false
    • +

    +

    goal:

    + +
    The name of the goal for which to show help. If unspecified, all +goals will be displayed.
    + +
      + +
    • Type: java.lang.String
    • + +
    • Required: No
    • + +
    • User Property: goal
    • +

    +

    indentSize:

    + +
    The number of spaces per indentation level, should be positive.
    + +
      + +
    • Type: int
    • + +
    • Required: No
    • + +
    • User Property: indentSize
    • + +
    • Default: 2
    • +

    +

    lineLength:

    + +
    The maximum length of a display line, should be positive.
    + +
      + +
    • Type: int
    • + +
    • Required: No
    • + +
    • User Property: lineLength
    • + +
    • Default: 80
    • +
    +
    +
    + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/content/projects/hibernate-maven-plugin/1.0.3/project-reports/pmd.html b/content/projects/hibernate-maven-plugin/1.0.3/project-reports/pmd.html new file mode 100644 index 00000000..7c2ee481 --- /dev/null +++ b/content/projects/hibernate-maven-plugin/1.0.3/project-reports/pmd.html @@ -0,0 +1,53 @@ +--- +title: PMD Report +weight: 15 +outputs: + - html +url: /hibernate4-maven-plugin-1.0.3/pmd.html +layout: article +params: + current: false + canonical: /hibernate-maven-plugin/pmd.html +--- +
    +
    +

    PMD Results

    +

    The following document contains the results of PMD 4.3.

    +

    Files

    +

    PMD found no problems in your source code.

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/content/projects/hibernate-maven-plugin/1.0.3/project-reports/xref/_index.html b/content/projects/hibernate-maven-plugin/1.0.3/project-reports/xref/_index.html new file mode 100644 index 00000000..70a2da93 --- /dev/null +++ b/content/projects/hibernate-maven-plugin/1.0.3/project-reports/xref/_index.html @@ -0,0 +1,11 @@ +--- +title: Source Xref +url: /hibernate4-maven-plugin-1.0.3/summary.html +weight: 14 +params: + current: false + canonical: /hibernate-maven-plugin/summary.html +--- + + +

    View Source Xref

    diff --git a/content/projects/hibernate-maven-plugin/1.0.3/skip.html b/content/projects/hibernate-maven-plugin/1.0.3/skip.html index 4ad4004f..6790f102 100644 --- a/content/projects/hibernate-maven-plugin/1.0.3/skip.html +++ b/content/projects/hibernate-maven-plugin/1.0.3/skip.html @@ -1,665 +1,115 @@ - - - +--- +title: Skipping Execution +weight: 22 +outputs: + - html +url: /hibernate4-maven-plugin-1.0.3/skip.html +layout: article +params: + current: false + canonical: /hibernate-maven-plugin/skip.html +--- +
    +

    Skipping Execution

    + +

    + 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 + will result in mistakes/errors, if the goal is executed, when the tests + are skipped. + For example, one might manually overwrite the database-url with the url of + the production-database, in order to run other tests, like starting a + local webserver with the + jetty-maven-plugin. + If the export-goal would be executed in such a scenario, it might erase the + hole production-database, which is not very desireable. +

    + +

    + Because of this, the configuration-parameter skip defaults to the value + of the proptery maven.test.skip. This way, the execution of the + hibernate4-maven-plugin is skipped automatically, when the tests are + skipped. Think of it as a build-in security-belt. +

    + +

    + If you do not like that, because you need the plugin to always execute the + export-goal, even if the tests are skipped you can configure that explicitly, + by setting the configuration-parameter skip to false: +

    +
    +
    +{{< highlight guess >}} + + de.juplo + hibernate4-maven-plugin + ... + + false + + +{{< /highlight >}}
    + +

    + Or, if you want the export-goal to be executed by default and to be skipped + if you say so, you can bind the value of the configuration-parameter + skip to a custom property. For example: +

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Hibernate 4 Maven Plugin – To Skip or not to skip: that is the question - - - - -

    To Skip or not to skip: that is the question

    -

    URI

    - -

    Path

    -

    -

      -
    1. Hibernate 4 Maven Plugin
    2. Skipping Execution
    -

    -
    -
    -

    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 will result in mistakes/errors, if the goal is executed, when the tests are skipped. For example, one might manually overwrite the database-url with the url of the production-database, in order to run other tests, like starting a local webserver with the jetty-maven-plugin. If the export-goal would be executed in such a scenario, it might erase the hole production-database, which is not very desireable.

    -

    Because of this, the configuration-parameter skip defaults to the value of the proptery maven.test.skip. This way, the execution of the hibernate4-maven-plugin is skipped automatically, when the tests are skipped. Think of it as a build-in security-belt.

    -

    If you do not like that, because you need the plugin to always execute the export-goal, even if the tests are skipped you can configure that explicitly, by setting the configuration-parameter skip to false:

    -
    -
    <plugin>
    -  <groupId>de.juplo</groupId>
    -  <artifactId>hibernate4-maven-plugin</artifactId>
    -  ...
    -  <configuration>
    -    <skip>false</skip>
    -  </configuration>
    -</plugin>
    -

    Or, if you want the export-goal to be executed by default and to be skipped if you say so, you can bind the value of the configuration-parameter skip to a custom property. For example:

    -
    -
    <plugin>
    -  <groupId>de.juplo</groupId>
    -  <artifactId>hibernate4-maven-plugin</artifactId>
    +
    +
    +{{< highlight guess >}} + + de.juplo + hibernate4-maven-plugin ... - <configuration> - <skip>${foo.bar}</skip> - </configuration> -</plugin>
    -

    This way, the export-goal would be skipped, if you set the property foo.bar to true. For example, if you specify -Dfoo.bar=true on the command-line.

    -
    -
    -

    Page Structure as JSON

    -
    -{
    -  "_titles": {
    -    "/projects/hibernate-maven-plugin/1.0.3/index.html": "Hibernate 4 Maven Plugin",
    -    "/projects/hibernate-maven-plugin/1.0.3/ci-management.html": "CI Management",
    -    "/projects/hibernate-maven-plugin/1.0.3/dependencies.html": "Dependencies",
    -    "/projects/hibernate-maven-plugin/1.0.3/dependency-info.html": "Maven Coordinates",
    -    "/projects/hibernate-maven-plugin/1.0.3/distribution-management.html": "Distribution Management",
    -    "/projects/hibernate-maven-plugin/1.0.3/licenses.html": "Licenses",
    -    "/projects/hibernate-maven-plugin/1.0.3/plugin-management.html": "Plugin Management",
    -    "/projects/hibernate-maven-plugin/1.0.3/plugins.html": "Plugins",
    -    "/projects/hibernate-maven-plugin/1.0.3/scm.html": "Source Code Management",
    -    "/projects/hibernate-maven-plugin/1.0.3/summary.html": "Summary",
    -    "/projects/hibernate-maven-plugin/1.0.3/team.html": "Team",
    -    "/projects/hibernate-maven-plugin/1.0.3/project-info.html": "Project Information",
    -    "/projects/hibernate-maven-plugin/1.0.3/apidocs/index.html": "JavaDocs",
    -    "/projects/hibernate-maven-plugin/1.0.3/xref/index.html": "Source Xref",
    -    "/projects/hibernate-maven-plugin/1.0.3/pmd.html": "PMD Report",
    -    "/projects/hibernate-maven-plugin/1.0.3/cpd.html": "CPD Report",
    -    "/projects/hibernate-maven-plugin/1.0.3/plugin-info.html": "Plugin Documentation",
    -    "/projects/hibernate-maven-plugin/1.0.3/project-reports.html": "Project Reports",
    -    "/projects/hibernate-maven-plugin/1.0.3/index.html?about": "Overview",
    -    "/projects/hibernate-maven-plugin/1.0.3/configuration.html": "Configuration Examples",
    -    "/projects/hibernate-maven-plugin/1.0.3/export-mojo.html": "Parameter Documentation",
    -    "/projects/hibernate-maven-plugin/1.0.3/debugging.html": "Enable Debug-Output",
    -    "/projects/hibernate-maven-plugin/1.0.3/skip.html": "Skipping Execution",
    -    "/projects/hibernate-maven-plugin/1.0.3/force.html": "Force Exceution",
    -    "/projects/hibernate-maven-plugin/1.0.3/pitfalls.html": "Known Pitfalls (FAQ)"
    -  },
    -  "_childs": {
    -    "/projects/hibernate-maven-plugin/1.0.3/index.html": [
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html?about",
    -      "/projects/hibernate-maven-plugin/1.0.3/configuration.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/export-mojo.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/debugging.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/skip.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/force.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/pitfalls.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-reports.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/project-info.html": [
    -      "/projects/hibernate-maven-plugin/1.0.3/ci-management.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/dependencies.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/dependency-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/distribution-management.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/licenses.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/plugin-management.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/plugins.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/scm.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/summary.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/team.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/project-reports.html": [
    -      "/projects/hibernate-maven-plugin/1.0.3/apidocs/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/xref/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/pmd.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/cpd.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/plugin-info.html"
    -    ]
    -  },
    -  "_crumbs": {
    -    "/projects/hibernate-maven-plugin/1.0.3/index.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/ci-management.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/ci-management.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/dependencies.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/dependencies.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/dependency-info.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/dependency-info.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/distribution-management.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/distribution-management.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/licenses.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/licenses.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/plugin-management.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/plugin-management.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/plugins.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/plugins.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/scm.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/scm.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/summary.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/summary.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/team.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/team.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/project-info.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-info.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/apidocs/index.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-reports.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/apidocs/index.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/xref/index.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-reports.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/xref/index.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/pmd.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-reports.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/pmd.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/cpd.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-reports.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/cpd.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/plugin-info.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-reports.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/plugin-info.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/project-reports.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/project-reports.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/index.html?about": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html?about"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/configuration.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/configuration.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/export-mojo.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/export-mojo.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/debugging.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/debugging.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/skip.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/skip.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/force.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/force.html"
    -    ],
    -    "/projects/hibernate-maven-plugin/1.0.3/pitfalls.html": [
    -      "/index.html","/projects.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/index.html",
    -      "/projects/hibernate-maven-plugin/1.0.3/pitfalls.html"
    -    ]
    -  },
    -  "_canonical": {
    -    "/projects/hibernate-maven-plugin/1.0.3/index.html": "/hibernate-maven-plugin/index.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/ci-management.html": "/hibernate-maven-plugin/ci-management.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/dependencies.html": "/hibernate-maven-plugin/dependencies.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/dependency-info.html": "/hibernate-maven-plugin/dependency-info.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/distribution-management.html": "/hibernate-maven-plugin/distribution-management.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/licenses.html": "/hibernate-maven-plugin/licenses.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/plugin-management.html": "/hibernate-maven-plugin/plugin-management.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/plugins.html": "/hibernate-maven-plugin/plugins.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/scm.html": "/hibernate-maven-plugin/scm.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/summary.html": "/hibernate-maven-plugin/summary.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/team.html": "/hibernate-maven-plugin/team.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/project-info.html": "/hibernate-maven-plugin/project-info.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/apidocs/index.html": "/hibernate-maven-plugin/apidocs/index.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/xref/index.html": "/hibernate-maven-plugin/xref/index.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/pmd.html": "/hibernate-maven-plugin/pmd.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/cpd.html": "/hibernate-maven-plugin/cpd.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/plugin-info.html": "/hibernate-maven-plugin/plugin-info.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/project-reports.html": "/hibernate-maven-plugin/project-reports.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/index.html?about": "/hibernate-maven-plugin/index.html?about",
    -    "/projects/hibernate-maven-plugin/1.0.3/configuration.html": "/hibernate-maven-plugin/configuration.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/export-mojo.html": "/hibernate-maven-plugin/export-mojo.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/debugging.html": "/hibernate-maven-plugin/debugging.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/skip.html": "/hibernate-maven-plugin/skip.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/force.html": "/hibernate-maven-plugin/force.html",
    -    "/projects/hibernate-maven-plugin/1.0.3/pitfalls.html": "/hibernate-maven-plugin/pitfalls.html"
    -  }
    -}
    -    
    -

    All Pages

    -

    -

    -

    - - + + ${foo.bar} + + + +{{< /highlight >}}
    + +

    + This way, the export-goal would be skipped, if you set the property + foo.bar to true. For example, if you specify -Dfoo.bar=true + on the command-line. +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/static/hibernate4-maven-plugin-1.0.3/apidocs/allclasses-frame.html b/static/hibernate4-maven-plugin-1.0.3/apidocs/allclasses-frame.html new file mode 100644 index 00000000..0260eae6 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.0.3/apidocs/allclasses-frame.html @@ -0,0 +1,21 @@ + + + + + + +All Classes (Hibernate 4 Maven Plugin 1.0.3 API) + + + + + +

    All Classes

    +
    + +
    + + diff --git a/static/hibernate4-maven-plugin-1.0.3/apidocs/allclasses-noframe.html b/static/hibernate4-maven-plugin-1.0.3/apidocs/allclasses-noframe.html new file mode 100644 index 00000000..db09f9fa --- /dev/null +++ b/static/hibernate4-maven-plugin-1.0.3/apidocs/allclasses-noframe.html @@ -0,0 +1,21 @@ + + + + + + +All Classes (Hibernate 4 Maven Plugin 1.0.3 API) + + + + + +

    All Classes

    +
    + +
    + + diff --git a/static/hibernate4-maven-plugin-1.0.3/apidocs/constant-values.html b/static/hibernate4-maven-plugin-1.0.3/apidocs/constant-values.html new file mode 100644 index 00000000..8de511dc --- /dev/null +++ b/static/hibernate4-maven-plugin-1.0.3/apidocs/constant-values.html @@ -0,0 +1,209 @@ + + + + + + +Constant Field Values (Hibernate 4 Maven Plugin 1.0.3 API) + + + + + + + + +
    + + + + + + + +
    + + +
    +

    Constant Field Values

    +

    Contents

    + +
    +
    + + +

    de.juplo.*

    + +
    + +
    + + + + + + + +
    + + +

    Copyright © 2026. All Rights Reserved.

    + + diff --git a/static/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/Hbm2DdlMojo.html b/static/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/Hbm2DdlMojo.html new file mode 100644 index 00000000..55eed1a5 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/Hbm2DdlMojo.html @@ -0,0 +1,479 @@ + + + + + + +Hbm2DdlMojo (Hibernate 4 Maven Plugin 1.0.3 API) + + + + + + + + +
    + + + + + + + +
    + + + +
    +
    de.juplo.plugins.hibernate4
    +

    Class Hbm2DdlMojo

    +
    +
    + +
    +
      +
    • +
      +
      All Implemented Interfaces:
      +
      org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
      +
      +
      +
      +
      public class Hbm2DdlMojo
      +extends org.apache.maven.plugin.AbstractMojo
      +
      Goal which extracts the hibernate-mapping-configuration and + exports an according SQL-database-schema.
      +
    • +
    +
    +
    +
      +
    • + +
        +
      • + + +

        Field Summary

        + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
        Fields 
        Modifier and TypeField and Description
        static java.lang.StringDIALECT 
        static java.lang.StringDRIVER_CLASS 
        static java.lang.StringENVERS 
        static java.lang.StringEXPORT_SKIPPED_PROPERTY 
        static java.lang.StringMD5S 
        static java.lang.StringNAMING_STRATEGY 
        static java.lang.StringPASSWORD 
        static java.lang.StringURL 
        static java.lang.StringUSERNAME 
        +
          +
        • + + +

          Fields inherited from interface org.apache.maven.plugin.Mojo

          +ROLE
        • +
        +
      • +
      + +
        +
      • + + +

        Constructor Summary

        + + + + + + + + +
        Constructors 
        Constructor and Description
        Hbm2DdlMojo() 
        +
      • +
      + +
        +
      • + + +

        Method Summary

        + + + + + + + + + + +
        All Methods Instance Methods Concrete Methods 
        Modifier and TypeMethod and Description
        voidexecute() 
        +
          +
        • + + +

          Methods inherited from class org.apache.maven.plugin.AbstractMojo

          +getLog, getPluginContext, setLog, setPluginContext
        • +
        +
          +
        • + + +

          Methods inherited from class java.lang.Object

          +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
        • +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + + +
        +
      • + + +

        Constructor Detail

        + + + +
          +
        • +

          Hbm2DdlMojo

          +
          public Hbm2DdlMojo()
          +
        • +
        +
      • +
      + +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          execute

          +
          public void execute()
          +             throws org.apache.maven.plugin.MojoFailureException,
          +                    org.apache.maven.plugin.MojoExecutionException
          +
          +
          Throws:
          +
          org.apache.maven.plugin.MojoFailureException
          +
          org.apache.maven.plugin.MojoExecutionException
          +
          +
        • +
        +
      • +
      +
    • +
    +
    +
    + + +
    + + + + + + + +
    + + +

    Copyright © 2026. All Rights Reserved.

    + + diff --git a/static/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/HelpMojo.html b/static/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/HelpMojo.html new file mode 100644 index 00000000..9fdd677c --- /dev/null +++ b/static/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/HelpMojo.html @@ -0,0 +1,313 @@ + + + + + + +HelpMojo (Hibernate 4 Maven Plugin 1.0.3 API) + + + + + + + + +
    + + + + + + + +
    + + + +
    +
    de.juplo.plugins.hibernate4
    +

    Class HelpMojo

    +
    +
    + +
    +
      +
    • +
      +
      All Implemented Interfaces:
      +
      org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
      +
      +
      +
      +
      public class HelpMojo
      +extends org.apache.maven.plugin.AbstractMojo
      +
      Display help information on hibernate4-maven-plugin.
      + Call mvn hibernate4:help -Ddetail=true -Dgoal=<goal-name> to display parameter details.
      +
      +
      Version:
      +
      Author:
      +
      +
    • +
    +
    +
    +
      +
    • + +
        +
      • + + +

        Field Summary

        +
          +
        • + + +

          Fields inherited from interface org.apache.maven.plugin.Mojo

          +ROLE
        • +
        +
      • +
      + +
        +
      • + + +

        Constructor Summary

        + + + + + + + + +
        Constructors 
        Constructor and Description
        HelpMojo() 
        +
      • +
      + +
        +
      • + + +

        Method Summary

        + + + + + + + + + + +
        All Methods Instance Methods Concrete Methods 
        Modifier and TypeMethod and Description
        voidexecute()
        +
          +
        • + + +

          Methods inherited from class org.apache.maven.plugin.AbstractMojo

          +getLog, getPluginContext, setLog, setPluginContext
        • +
        +
          +
        • + + +

          Methods inherited from class java.lang.Object

          +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
        • +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + +
        +
      • + + +

        Constructor Detail

        + + + +
          +
        • +

          HelpMojo

          +
          public HelpMojo()
          +
        • +
        +
      • +
      + +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          execute

          +
          public void execute()
          +             throws org.apache.maven.plugin.MojoExecutionException
          +
          +
          Throws:
          +
          org.apache.maven.plugin.MojoExecutionException
          +
          +
        • +
        +
      • +
      +
    • +
    +
    +
    + + +
    + + + + + + + +
    + + +

    Copyright © 2026. All Rights Reserved.

    + + diff --git a/static/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/class-use/Hbm2DdlMojo.html b/static/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/class-use/Hbm2DdlMojo.html new file mode 100644 index 00000000..1c4d0211 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/class-use/Hbm2DdlMojo.html @@ -0,0 +1,124 @@ + + + + + + +Uses of Class de.juplo.plugins.hibernate4.Hbm2DdlMojo (Hibernate 4 Maven Plugin 1.0.3 API) + + + + + + + + +
    + + + + + + + +
    + + +
    +

    Uses of Class
    de.juplo.plugins.hibernate4.Hbm2DdlMojo

    +
    +
    No usage of de.juplo.plugins.hibernate4.Hbm2DdlMojo
    + +
    + + + + + + + +
    + + +

    Copyright © 2026. All Rights Reserved.

    + + diff --git a/static/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/class-use/HelpMojo.html b/static/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/class-use/HelpMojo.html new file mode 100644 index 00000000..bb7e8313 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/class-use/HelpMojo.html @@ -0,0 +1,124 @@ + + + + + + +Uses of Class de.juplo.plugins.hibernate4.HelpMojo (Hibernate 4 Maven Plugin 1.0.3 API) + + + + + + + + +
    + + + + + + + +
    + + +
    +

    Uses of Class
    de.juplo.plugins.hibernate4.HelpMojo

    +
    +
    No usage of de.juplo.plugins.hibernate4.HelpMojo
    + +
    + + + + + + + +
    + + +

    Copyright © 2026. All Rights Reserved.

    + + diff --git a/static/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/package-frame.html b/static/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/package-frame.html new file mode 100644 index 00000000..ab35d570 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/package-frame.html @@ -0,0 +1,22 @@ + + + + + + +de.juplo.plugins.hibernate4 (Hibernate 4 Maven Plugin 1.0.3 API) + + + + + +

    de.juplo.plugins.hibernate4

    +
    +

    Classes

    + +
    + + diff --git a/static/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/package-summary.html b/static/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/package-summary.html new file mode 100644 index 00000000..ac5e58ae --- /dev/null +++ b/static/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/package-summary.html @@ -0,0 +1,152 @@ + + + + + + +de.juplo.plugins.hibernate4 (Hibernate 4 Maven Plugin 1.0.3 API) + + + + + + + + +
    + + + + + + + +
    + + +
    +

    Package de.juplo.plugins.hibernate4

    +
    +
    + +
    + +
    + + + + + + + +
    + + +

    Copyright © 2026. All Rights Reserved.

    + + diff --git a/static/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/package-tree.html b/static/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/package-tree.html new file mode 100644 index 00000000..7b59d071 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/package-tree.html @@ -0,0 +1,138 @@ + + + + + + +de.juplo.plugins.hibernate4 Class Hierarchy (Hibernate 4 Maven Plugin 1.0.3 API) + + + + + + + + +
    + + + + + + + +
    + + +
    +

    Hierarchy For Package de.juplo.plugins.hibernate4

    +
    +
    +

    Class Hierarchy

    + +
    + +
    + + + + + + + +
    + + +

    Copyright © 2026. All Rights Reserved.

    + + diff --git a/static/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/package-use.html b/static/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/package-use.html new file mode 100644 index 00000000..b268e1d8 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/package-use.html @@ -0,0 +1,124 @@ + + + + + + +Uses of Package de.juplo.plugins.hibernate4 (Hibernate 4 Maven Plugin 1.0.3 API) + + + + + + + + +
    + + + + + + + +
    + + +
    +

    Uses of Package
    de.juplo.plugins.hibernate4

    +
    +
    No usage of de.juplo.plugins.hibernate4
    + +
    + + + + + + + +
    + + +

    Copyright © 2026. All Rights Reserved.

    + + diff --git a/static/hibernate4-maven-plugin-1.0.3/apidocs/deprecated-list.html b/static/hibernate4-maven-plugin-1.0.3/apidocs/deprecated-list.html new file mode 100644 index 00000000..7fa43fd2 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.0.3/apidocs/deprecated-list.html @@ -0,0 +1,124 @@ + + + + + + +Deprecated List (Hibernate 4 Maven Plugin 1.0.3 API) + + + + + + + + +
    + + + + + + + +
    + + +
    +

    Deprecated API

    +

    Contents

    +
    + +
    + + + + + + + +
    + + +

    Copyright © 2026. All Rights Reserved.

    + + diff --git a/static/hibernate4-maven-plugin-1.0.3/apidocs/help-doc.html b/static/hibernate4-maven-plugin-1.0.3/apidocs/help-doc.html new file mode 100644 index 00000000..1beefb24 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.0.3/apidocs/help-doc.html @@ -0,0 +1,225 @@ + + + + + + +API Help (Hibernate 4 Maven Plugin 1.0.3 API) + + + + + + + + +
    + + + + + + + +
    + + +
    +

    How This API Document Is Organized

    +
    This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
    +
    +
    + +This help file applies to API documentation generated using the standard doclet.
    + +
    + + + + + + + +
    + + +

    Copyright © 2026. All Rights Reserved.

    + + diff --git a/static/hibernate4-maven-plugin-1.0.3/apidocs/index-all.html b/static/hibernate4-maven-plugin-1.0.3/apidocs/index-all.html new file mode 100644 index 00000000..51ee004b --- /dev/null +++ b/static/hibernate4-maven-plugin-1.0.3/apidocs/index-all.html @@ -0,0 +1,200 @@ + + + + + + +Index (Hibernate 4 Maven Plugin 1.0.3 API) + + + + + + + + +
    + + + + + + + +
    + + +
    D E H M N P U  + + +

    D

    +
    +
    de.juplo.plugins.hibernate4 - package de.juplo.plugins.hibernate4
    +
     
    +
    DIALECT - Static variable in class de.juplo.plugins.hibernate4.Hbm2DdlMojo
    +
     
    +
    DRIVER_CLASS - Static variable in class de.juplo.plugins.hibernate4.Hbm2DdlMojo
    +
     
    +
    + + + +

    E

    +
    +
    ENVERS - Static variable in class de.juplo.plugins.hibernate4.Hbm2DdlMojo
    +
     
    +
    execute() - Method in class de.juplo.plugins.hibernate4.Hbm2DdlMojo
    +
     
    +
    execute() - Method in class de.juplo.plugins.hibernate4.HelpMojo
    +
    EXPORT_SKIPPED_PROPERTY - Static variable in class de.juplo.plugins.hibernate4.Hbm2DdlMojo
    +
     
    +
    + + + +

    H

    +
    +
    Hbm2DdlMojo - Class in de.juplo.plugins.hibernate4
    +
    +
    Goal which extracts the hibernate-mapping-configuration and + exports an according SQL-database-schema.
    +
    +
    Hbm2DdlMojo() - Constructor for class de.juplo.plugins.hibernate4.Hbm2DdlMojo
    +
     
    +
    HelpMojo - Class in de.juplo.plugins.hibernate4
    +
    +
    Display help information on hibernate4-maven-plugin.
    + Call mvn hibernate4:help -Ddetail=true -Dgoal=<goal-name> to display parameter details.
    +
    +
    HelpMojo() - Constructor for class de.juplo.plugins.hibernate4.HelpMojo
    +
     
    +
    + + + +

    M

    +
    +
    MD5S - Static variable in class de.juplo.plugins.hibernate4.Hbm2DdlMojo
    +
     
    +
    + + + +

    N

    +
    +
    NAMING_STRATEGY - Static variable in class de.juplo.plugins.hibernate4.Hbm2DdlMojo
    +
     
    +
    + + + +

    P

    +
    +
    PASSWORD - Static variable in class de.juplo.plugins.hibernate4.Hbm2DdlMojo
    +
     
    +
    + + + +

    U

    +
    +
    URL - Static variable in class de.juplo.plugins.hibernate4.Hbm2DdlMojo
    +
     
    +
    USERNAME - Static variable in class de.juplo.plugins.hibernate4.Hbm2DdlMojo
    +
     
    +
    +D E H M N P U 
    + +
    + + + + + + + +
    + + +

    Copyright © 2026. All Rights Reserved.

    + + diff --git a/static/hibernate4-maven-plugin-1.0.3/apidocs/index.html b/static/hibernate4-maven-plugin-1.0.3/apidocs/index.html new file mode 100644 index 00000000..e4b3c6e4 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.0.3/apidocs/index.html @@ -0,0 +1,73 @@ + + + + + + +Hibernate 4 Maven Plugin 1.0.3 API + + + + + + +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<h2>Frame Alert</h2> +<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="de/juplo/plugins/hibernate4/package-summary.html">Non-frame version</a>.</p> + + + diff --git a/static/hibernate4-maven-plugin-1.0.3/apidocs/overview-tree.html b/static/hibernate4-maven-plugin-1.0.3/apidocs/overview-tree.html new file mode 100644 index 00000000..120592f0 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.0.3/apidocs/overview-tree.html @@ -0,0 +1,142 @@ + + + + + + +Class Hierarchy (Hibernate 4 Maven Plugin 1.0.3 API) + + + + + + + + +
    + + + + + + + +
    + + +
    +

    Hierarchy For All Packages

    +Package Hierarchies: + +
    +
    +

    Class Hierarchy

    + +
    + +
    + + + + + + + +
    + + +

    Copyright © 2026. All Rights Reserved.

    + + diff --git a/static/hibernate4-maven-plugin-1.0.3/apidocs/package-list b/static/hibernate4-maven-plugin-1.0.3/apidocs/package-list new file mode 100644 index 00000000..05307714 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.0.3/apidocs/package-list @@ -0,0 +1 @@ +de.juplo.plugins.hibernate4 diff --git a/static/hibernate4-maven-plugin-1.0.3/apidocs/script.js b/static/hibernate4-maven-plugin-1.0.3/apidocs/script.js new file mode 100644 index 00000000..b3463569 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.0.3/apidocs/script.js @@ -0,0 +1,30 @@ +function show(type) +{ + count = 0; + for (var key in methods) { + var row = document.getElementById(key); + if ((methods[key] & type) != 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) +{ + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} diff --git a/static/hibernate4-maven-plugin-1.0.3/apidocs/stylesheet.css b/static/hibernate4-maven-plugin-1.0.3/apidocs/stylesheet.css new file mode 100644 index 00000000..98055b22 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.0.3/apidocs/stylesheet.css @@ -0,0 +1,574 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ + +@import url('resources/fonts/dejavu.css'); + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4A6782; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.subNavList li{ + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader span{ + margin-right:15px; +} +.indexHeader h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Sans Mono',monospace; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { + width:100%; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; + +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td { + text-align:left; + padding:0px 0px 12px 10px; +} +th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, +td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colLast, th.colOne, .constantsSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + white-space:nowrap; + font-size:13px; +} +td.colLast, th.colLast { + font-size:13px; +} +td.colOne, th.colOne { + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.useSummary td.colFirst, .useSummary th.colFirst, +.overviewSummary td.colOne, .overviewSummary th.colOne, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colOne, .memberSummary th.colOne, +.typeSummary td.colFirst{ + width:25%; + vertical-align:top; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor { + background-color:#FFFFFF; +} +.rowColor { + background-color:#EEEEEF; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} + +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} + +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} + +td.colLast div { + padding-top:0px; +} + + +td.colLast a { + padding-bottom:3px; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, +.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, +.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} + +div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} + +div.contentContainer ul.blockList li.blockList h2{ + padding-bottom:0px; +} diff --git a/static/hibernate4-maven-plugin-1.0.3/css/site.css b/static/hibernate4-maven-plugin-1.0.3/css/site.css new file mode 100644 index 00000000..055e7e28 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.0.3/css/site.css @@ -0,0 +1 @@ +/* You can override this file with your own styles */ \ No newline at end of file diff --git a/static/hibernate4-maven-plugin-1.0.3/images/close.gif b/static/hibernate4-maven-plugin-1.0.3/images/close.gif new file mode 100644 index 0000000000000000000000000000000000000000..1c26bbc5264fcc943ad7b5a0f1a84daece211f34 GIT binary patch literal 279 zcmZ?wbhEHb6kyFkwP}e}6+mLp=yE)H5&?6cps==O-j2#K*@61O)i|`#U%|*xTD17#Qg5 z>nkWI$ji$M2ng`=^D}^ygDj#2&;c6F0P+h1n~g(5frm~PL&uV$l`S$eFDwzBDbhJD v>}Bvw*Al_tWna1PC9OaGVdk23i}vRhZI{iR^*V|n<^22a#~T_O9T}_vbswrX literal 0 HcmV?d00001 diff --git a/static/hibernate4-maven-plugin-1.0.3/xref/allclasses-frame.html b/static/hibernate4-maven-plugin-1.0.3/xref/allclasses-frame.html new file mode 100644 index 00000000..10bd8c91 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.0.3/xref/allclasses-frame.html @@ -0,0 +1,26 @@ + + + + + + All Classes + + + + +

    All Classes

    + + + + + diff --git a/static/hibernate4-maven-plugin-1.0.3/xref/de/juplo/plugins/hibernate4/Hbm2DdlMojo.html b/static/hibernate4-maven-plugin-1.0.3/xref/de/juplo/plugins/hibernate4/Hbm2DdlMojo.html new file mode 100644 index 00000000..fe3ef3fb --- /dev/null +++ b/static/hibernate4-maven-plugin-1.0.3/xref/de/juplo/plugins/hibernate4/Hbm2DdlMojo.html @@ -0,0 +1,1033 @@ + + + + +Hbm2DdlMojo xref + + + +
    +
    +1   package de.juplo.plugins.hibernate4;
    +2   
    +3   /*
    +4    * Copyright 2001-2005 The Apache Software Foundation.
    +5    *
    +6    * Licensed under the Apache License, Version 2.0 (the "License");
    +7    * you may not use this file except in compliance with the License.
    +8    * You may obtain a copy of the License at
    +9    *
    +10   *      http://www.apache.org/licenses/LICENSE-2.0
    +11   *
    +12   * Unless required by applicable law or agreed to in writing, software
    +13   * distributed under the License is distributed on an "AS IS" BASIS,
    +14   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    +15   * See the License for the specific language governing permissions and
    +16   * limitations under the License.
    +17   */
    +18  
    +19  import com.pyx4j.log4j.MavenLogAppender;
    +20  import java.io.File;
    +21  import java.io.FileInputStream;
    +22  import java.io.FileNotFoundException;
    +23  import java.io.FileOutputStream;
    +24  import java.io.IOException;
    +25  import java.io.InputStream;
    +26  import java.io.ObjectInputStream;
    +27  import java.io.ObjectOutputStream;
    +28  import java.math.BigInteger;
    +29  import java.net.URL;
    +30  import java.net.URLClassLoader;
    +31  import java.security.MessageDigest;
    +32  import java.security.NoSuchAlgorithmException;
    +33  import java.sql.Connection;
    +34  import java.sql.Driver;
    +35  import java.sql.DriverManager;
    +36  import java.sql.DriverPropertyInfo;
    +37  import java.sql.SQLException;
    +38  import java.sql.SQLFeatureNotSupportedException;
    +39  import java.util.Comparator;
    +40  import java.util.Enumeration;
    +41  import java.util.HashMap;
    +42  import java.util.HashSet;
    +43  import java.util.List;
    +44  import java.util.Map;
    +45  import java.util.Map.Entry;
    +46  import java.util.Properties;
    +47  import java.util.Set;
    +48  import java.util.TreeSet;
    +49  import java.util.logging.Logger;
    +50  import java.util.regex.Matcher;
    +51  import java.util.regex.Pattern;
    +52  import javax.persistence.Embeddable;
    +53  import javax.persistence.Entity;
    +54  import javax.persistence.MappedSuperclass;
    +55  import org.apache.maven.artifact.Artifact;
    +56  import org.apache.maven.model.Resource;
    +57  import org.apache.maven.plugin.AbstractMojo;
    +58  import org.apache.maven.plugin.MojoExecutionException;
    +59  import org.apache.maven.plugin.MojoFailureException;
    +60  import org.apache.maven.project.MavenProject;
    +61  import org.hibernate.cfg.Configuration;
    +62  import org.hibernate.cfg.NamingStrategy;
    +63  import org.hibernate.envers.configuration.AuditConfiguration;
    +64  import org.hibernate.tool.hbm2ddl.SchemaExport;
    +65  import org.hibernate.tool.hbm2ddl.SchemaExport.Type;
    +66  import org.hibernate.tool.hbm2ddl.Target;
    +67  import org.scannotation.AnnotationDB;
    +68  
    +69  
    +70  /**
    +71   * Goal which extracts the hibernate-mapping-configuration and
    +72   * exports an according SQL-database-schema.
    +73   *
    +74   * @goal export
    +75   * @phase process-classes
    +76   * @threadSafe
    +77   * @requiresDependencyResolution runtime
    +78   */
    +79  public class Hbm2DdlMojo extends AbstractMojo
    +80  {
    +81    public final static String EXPORT_SKIPPED_PROPERTY = "hibernate.export.skipped";
    +82  
    +83    public final static String DRIVER_CLASS = "hibernate.connection.driver_class";
    +84    public final static String URL = "hibernate.connection.url";
    +85    public final static String USERNAME = "hibernate.connection.username";
    +86    public final static String PASSWORD = "hibernate.connection.password";
    +87    public final static String DIALECT = "hibernate.dialect";
    +88    public final static String NAMING_STRATEGY="hibernate.ejb.naming_strategy";
    +89    public final static String ENVERS = "hibernate.export.envers";
    +90  
    +91    public final static String MD5S = "schema.md5s";
    +92  
    +93    private final static Pattern split = Pattern.compile("[^,\\s]+");
    +94  
    +95  
    +96    /**
    +97     * The maven project.
    +98     * <p>
    +99     * Only needed internally.
    +100    *
    +101    * @parameter property="project"
    +102    * @required
    +103    * @readonly
    +104    */
    +105   private MavenProject project;
    +106 
    +107   /**
    +108    * Build-directory.
    +109    * <p>
    +110    * Only needed internally.
    +111    *
    +112    * @parameter property="project.build.directory"
    +113    * @required
    +114    * @readonly
    +115    */
    +116   private String buildDirectory;
    +117 
    +118   /**
    +119    * Classes-Directory to scan.
    +120    * <p>
    +121    * This parameter defaults to the maven build-output-directory for classes.
    +122    * Additonally, all dependencies are scanned for annotated classes.
    +123    *
    +124    * @parameter property="project.build.outputDirectory"
    +125    * @since 1.0
    +126    */
    +127   private String outputDirectory;
    +128 
    +129   /**
    +130    * Wether to scan test-classes too, or not.
    +131    * <p>
    +132    * If this parameter is set to <code>true</code> the test-classes of the
    +133    * artifact will be scanned for hibernate-annotated classes additionally.
    +134    *
    +135    * @parameter property="hibernate.export.scan_testclasses" default-value="false"
    +136    * @since 1.0.1
    +137    */
    +138   private boolean scanTestClasses;
    +139 
    +140   /**
    +141    * Dependency-Scopes, that should be scanned for annotated classes.
    +142    * <p>
    +143    * By default, only dependencies in the scope <code>compile</code> are
    +144    * scanned for annotated classes. Multiple scopes can be seperated by
    +145    * white space or commas.
    +146    * <p>
    +147    * The plugin does not scan for annotated classes in transitive
    +148    * dependencies. If some of your annotated classes are hidden in a
    +149    * transitive dependency, you can simply add that dependency explicitly.
    +150    *
    +151    * @parameter property="hibernate.export.scan_dependencies" default-value="compile"
    +152    * @since 1.0.3
    +153    */
    +154   private String scanDependencies;
    +155 
    +156   /**
    +157    * Test-Classes-Directory to scan.
    +158    * <p>
    +159    * This parameter defaults to the maven build-output-directory for
    +160    * test-classes.
    +161    * <p>
    +162    * This parameter is only used, when <code>scanTestClasses</code> is set
    +163    * to <code>true</code>!
    +164    *
    +165    * @parameter property="project.build.testOutputDirectory"
    +166    * @since 1.0.2
    +167    */
    +168   private String testOutputDirectory;
    +169 
    +170   /**
    +171    * Skip execution
    +172    * <p>
    +173    * If set to <code>true</code>, the execution is skipped.
    +174    * <p>
    +175    * A skipped excecution is signaled via the maven-property
    +176    * <code>${hibernate.export.skipped}</code>.
    +177    * <p>
    +178    * The excecution is skipped automatically, if no modified or newly added
    +179    * annotated classes are found and the dialect was not changed.
    +180    *
    +181    * @parameter property="maven.test.skip" default-value="false"
    +182    * @since 1.0
    +183    */
    +184   private boolean skip;
    +185 
    +186   /**
    +187    * Force execution
    +188    * <p>
    +189    * Force execution, even if no modified or newly added annotated classes
    +190    * where found and the dialect was not changed.
    +191    * <p>
    +192    * <code>skip</code> takes precedence over <code>force</code>.
    +193    *
    +194    * @parameter property="hibernate.export.force" default-value="false"
    +195    * @since 1.0
    +196    */
    +197   private boolean force;
    +198 
    +199   /**
    +200    * SQL-Driver name.
    +201    *
    +202    * @parameter property="hibernate.connection.driver_class"
    +203    * @since 1.0
    +204    */
    +205   private String driverClassName;
    +206 
    +207   /**
    +208    * Database URL.
    +209    *
    +210    * @parameter property="hibernate.connection.url"
    +211    * @since 1.0
    +212    */
    +213   private String url;
    +214 
    +215   /**
    +216    * Database username
    +217    *
    +218    * @parameter property="hibernate.connection.username"
    +219    * @since 1.0
    +220    */
    +221   private String username;
    +222 
    +223   /**
    +224    * Database password
    +225    *
    +226    * @parameter property="hibernate.connection.password"
    +227    * @since 1.0
    +228    */
    +229   private String password;
    +230 
    +231   /**
    +232    * Hibernate dialect.
    +233    *
    +234    * @parameter property="hibernate.dialect"
    +235    * @since 1.0
    +236    */
    +237   private String hibernateDialect;
    +238 
    +239   /**
    +240    * Hibernate Naming Strategy
    +241    *
    +242    * @parameter property="hibernate.ejb.naming_strategy"
    +243    * @since 1.0.2
    +244    */
    +245   private String hibernateNamingStrategy;
    +246 
    +247   /**
    +248    * Path to Hibernate configuration file.
    +249    *
    +250    * @parameter default-value="${project.build.outputDirectory}/hibernate.properties"
    +251    * @since 1.0
    +252    */
    +253   private String hibernateProperties;
    +254 
    +255   /**
    +256    * List of Hibernate-Mapping-Files (XML).
    +257    * Multiple files can be separated with white-spaces and/or commas.
    +258    *
    +259    * @parameter property="hibernate.mapping"
    +260    * @since 1.0.2
    +261    */
    +262   private String hibernateMapping;
    +263 
    +264   /**
    +265    * Target of execution:
    +266    * <ul>
    +267    *   <li><strong>NONE</strong> only export schema to SQL-script (forces excecution, signals skip)</li>
    +268    *   <li><strong>EXPORT</strong> create database (<strong>DEFAULT!</strong>). forces excecution, signals skip)</li>
    +269    *   <li><strong>SCRIPT</strong> export schema to SQL-script and print it to STDOUT</li>
    +270    *   <li><strong>BOTH</strong></li>
    +271    * </ul>
    +272    *
    +273    * A databaseconnection is only needed for EXPORT and BOTH, but a
    +274    * Hibernate-Dialect must always be choosen.
    +275    *
    +276    * @parameter property="hibernate.export.target" default-value="EXPORT"
    +277    * @since 1.0
    +278    */
    +279   private String target;
    +280 
    +281   /**
    +282    * Type of execution.
    +283    * <ul>
    +284    *   <li><strong>NONE</strong> do nothing - just validate the configuration</li>
    +285    *   <li><strong>CREATE</strong> create database-schema</li>
    +286    *   <li><strong>DROP</strong> drop database-schema</li>
    +287    *   <li><strong>BOTH</strong> (<strong>DEFAULT!</strong>)</li>
    +288    * </ul>
    +289    *
    +290    * If NONE is choosen, no databaseconnection is needed.
    +291    *
    +292    * @parameter property="hibernate.export.type" default-value="BOTH"
    +293    * @since 1.0
    +294    */
    +295   private String type;
    +296 
    +297   /**
    +298    * Output file.
    +299    *
    +300    * @parameter property="hibernate.export.schema.filename" default-value="${project.build.directory}/schema.sql"
    +301    * @since 1.0
    +302    */
    +303   private String outputFile;
    +304 
    +305   /**
    +306    * Delimiter in output-file.
    +307    *
    +308    * @parameter property="hibernate.export.schema.delimiter" default-value=";"
    +309    * @since 1.0
    +310    */
    +311   private String delimiter;
    +312 
    +313   /**
    +314    * Format output-file.
    +315    *
    +316    * @parameter property="hibernate.export.schema.format" default-value="true"
    +317    * @since 1.0
    +318    */
    +319   private boolean format;
    +320 
    +321   /**
    +322    * Generate envers schema for auditing tables.
    +323    *
    +324    * @parameter property="hibernate.export.envers" default-value="false"
    +325    * @since 1.0.3
    +326    */
    +327   private boolean envers;
    +328 
    +329 
    +330   @Override
    +331   public void execute()
    +332     throws
    +333       MojoFailureException,
    +334       MojoExecutionException
    +335   {
    +336     if (skip)
    +337     {
    +338       getLog().info("Exectuion of hibernate4-maven-plugin:export was skipped!");
    +339       project.getProperties().setProperty(EXPORT_SKIPPED_PROPERTY, "true");
    +340       return;
    +341     }
    +342 
    +343     Map<String,String> md5s;
    +344     boolean modified = false;
    +345     File saved = new File(buildDirectory + File.separator + MD5S);
    +346 
    +347     if (saved.exists())
    +348     {
    +349       try
    +350       {
    +351         FileInputStream fis = new FileInputStream(saved);
    +352         ObjectInputStream ois = new ObjectInputStream(fis);
    +353         md5s = (HashMap<String,String>)ois.readObject();
    +354         ois.close();
    +355       }
    +356       catch (Exception e)
    +357       {
    +358         md5s = new HashMap<String,String>();
    +359         getLog().warn("Cannot read timestamps from saved: " + e);
    +360       }
    +361     }
    +362     else
    +363     {
    +364       md5s = new HashMap<String,String>();
    +365       try
    +366       {
    +367         saved.createNewFile();
    +368       }
    +369       catch (IOException e)
    +370       {
    +371         getLog().debug("Cannot create file \"" + saved.getPath() + "\" for timestamps: " + e);
    +372       }
    +373     }
    +374 
    +375     ClassLoader classLoader = null;
    +376     try
    +377     {
    +378       getLog().debug("Creating ClassLoader for project-dependencies...");
    +379       List<String> classpathFiles = project.getCompileClasspathElements();
    +380       if (scanTestClasses)
    +381         classpathFiles.addAll(project.getTestClasspathElements());
    +382       URL[] urls = new URL[classpathFiles.size()];
    +383       for (int i = 0; i < classpathFiles.size(); ++i)
    +384       {
    +385         getLog().debug("Dependency: " + classpathFiles.get(i));
    +386         urls[i] = new File(classpathFiles.get(i)).toURI().toURL();
    +387       }
    +388       classLoader = new URLClassLoader(urls, getClass().getClassLoader());
    +389     }
    +390     catch (Exception e)
    +391     {
    +392       getLog().error("Error while creating ClassLoader!", e);
    +393       throw new MojoExecutionException(e.getMessage());
    +394     }
    +395 
    +396     Set<Class<?>> classes =
    +397         new TreeSet<Class<?>>(
    +398             new Comparator<Class<?>>() {
    +399               @Override
    +400               public int compare(Class<?> a, Class<?> b)
    +401               {
    +402                 return a.getName().compareTo(b.getName());
    +403               }
    +404             }
    +405           );
    +406 
    +407     try
    +408     {
    +409       AnnotationDB db = new AnnotationDB();
    +410       File dir = new File(outputDirectory);
    +411       if (dir.exists())
    +412       {
    +413         getLog().info("Scanning directory " + outputDirectory + " for annotated classes...");
    +414         URL dirUrl = dir.toURI().toURL();
    +415         db.scanArchives(dirUrl);
    +416       }
    +417       if (scanTestClasses)
    +418       {
    +419         dir = new File(testOutputDirectory);
    +420         if (dir.exists())
    +421         {
    +422           getLog().info("Scanning directory " + testOutputDirectory + " for annotated classes...");
    +423           URL dirUrl = dir.toURI().toURL();
    +424           db.scanArchives(dirUrl);
    +425         }
    +426       }
    +427       if (scanDependencies != null)
    +428       {
    +429         Matcher matcher = split.matcher(scanDependencies);
    +430         while (matcher.find())
    +431         {
    +432           getLog().info("Scanning dependencies for scope " + matcher.group());
    +433           for (Artifact artifact : project.getDependencyArtifacts())
    +434           {
    +435             if (!artifact.getScope().equalsIgnoreCase(matcher.group()))
    +436               continue;
    +437             if (artifact.getFile() == null)
    +438             {
    +439               getLog().warn(
    +440                   "Cannot scan dependency " +
    +441                   artifact.getId() +
    +442                   ": no JAR-file available!"
    +443                   );
    +444               continue;
    +445             }
    +446             getLog().info(
    +447                 "Scanning dependency " +
    +448                 artifact.getId() +
    +449                 " for annotated classes..."
    +450                 );
    +451             db.scanArchives(artifact.getFile().toURI().toURL());
    +452           }
    +453         }
    +454       }
    +455 
    +456       Set<String> classNames = new HashSet<String>();
    +457       if (db.getAnnotationIndex().containsKey(Entity.class.getName()))
    +458         classNames.addAll(db.getAnnotationIndex().get(Entity.class.getName()));
    +459       if (db.getAnnotationIndex().containsKey(MappedSuperclass.class.getName()))
    +460         classNames.addAll(db.getAnnotationIndex().get(MappedSuperclass.class.getName()));
    +461       if (db.getAnnotationIndex().containsKey(Embeddable.class.getName()))
    +462         classNames.addAll(db.getAnnotationIndex().get(Embeddable.class.getName()));
    +463 
    +464       MessageDigest digest = java.security.MessageDigest.getInstance("MD5");
    +465       for (String name : classNames)
    +466       {
    +467         Class<?> annotatedClass = classLoader.loadClass(name);
    +468         classes.add(annotatedClass);
    +469         String resourceName = annotatedClass.getName();
    +470         resourceName = resourceName.substring(resourceName.lastIndexOf(".") + 1, resourceName.length()) + ".class";
    +471         InputStream is =
    +472             annotatedClass
    +473                 .getResourceAsStream(resourceName);
    +474         byte[] buffer = new byte[1024*4]; // copy data in 4MB-chunks
    +475         int i;
    +476         while((i = is.read(buffer)) > -1)
    +477           digest.update(buffer, 0, i);
    +478         is.close();
    +479         byte[] bytes = digest.digest();
    +480         BigInteger bi = new BigInteger(1, bytes);
    +481         String newMd5 = String.format("%0" + (bytes.length << 1) + "x", bi);
    +482         String oldMd5 = !md5s.containsKey(name) ? "" : md5s.get(name);
    +483         if (!newMd5.equals(oldMd5))
    +484         {
    +485           getLog().debug("Found new or modified annotated class: " + name);
    +486           modified = true;
    +487           md5s.put(name, newMd5);
    +488         }
    +489         else
    +490         {
    +491           getLog().debug(oldMd5 + " -> class unchanged: " + name);
    +492         }
    +493       }
    +494     }
    +495     catch (ClassNotFoundException e)
    +496     {
    +497       getLog().error("Error while adding annotated classes!", e);
    +498       throw new MojoExecutionException(e.getMessage());
    +499     }
    +500     catch (Exception e)
    +501     {
    +502       getLog().error("Error while scanning!", e);
    +503       throw new MojoFailureException(e.getMessage());
    +504     }
    +505 
    +506     if (classes.isEmpty())
    +507     {
    +508       if (hibernateMapping == null || hibernateMapping.isEmpty())
    +509         throw new MojoFailureException("No annotated classes found in directory " + outputDirectory);
    +510     }
    +511     else
    +512     {
    +513       getLog().debug("Detected classes with mapping-annotations:");
    +514       for (Class<?> annotatedClass : classes)
    +515         getLog().debug("  " + annotatedClass.getName());
    +516     }
    +517 
    +518 
    +519     Properties properties = new Properties();
    +520 
    +521     /** Try to read configuration from properties-file */
    +522     try
    +523     {
    +524       File file = new File(hibernateProperties);
    +525       if (file.exists())
    +526       {
    +527         getLog().info("Reading properties from file " + hibernateProperties + "...");
    +528         properties.load(new FileInputStream(file));
    +529       }
    +530       else
    +531         getLog().info("No hibernate-properties-file found! (Checked path: " + hibernateProperties + ")");
    +532     }
    +533     catch (IOException e)
    +534     {
    +535       getLog().error("Error while reading properties!", e);
    +536       throw new MojoExecutionException(e.getMessage());
    +537     }
    +538 
    +539     /** Overwrite values from propertie-file or set, if given */
    +540     if (driverClassName != null)
    +541     {
    +542       if (properties.containsKey(DRIVER_CLASS))
    +543         getLog().debug(
    +544             "Overwriting property " +
    +545             DRIVER_CLASS + "=" + properties.getProperty(DRIVER_CLASS) +
    +546             " with the value " + driverClassName
    +547           );
    +548       else
    +549         getLog().debug("Using the value " + driverClassName);
    +550       properties.setProperty(DRIVER_CLASS, driverClassName);
    +551     }
    +552     if (url != null)
    +553     {
    +554       if (properties.containsKey(URL))
    +555         getLog().debug(
    +556             "Overwriting property " +
    +557             URL + "=" + properties.getProperty(URL) +
    +558             " with the value " + url
    +559           );
    +560       else
    +561         getLog().debug("Using the value " + url);
    +562       properties.setProperty(URL, url);
    +563     }
    +564     if (username != null)
    +565     {
    +566       if (properties.containsKey(USERNAME))
    +567         getLog().debug(
    +568             "Overwriting property " +
    +569             USERNAME + "=" + properties.getProperty(USERNAME) +
    +570             " with the value " + username
    +571           );
    +572       else
    +573         getLog().debug("Using the value " + username);
    +574       properties.setProperty(USERNAME, username);
    +575     }
    +576     if (password != null)
    +577     {
    +578       if (properties.containsKey(PASSWORD))
    +579         getLog().debug(
    +580             "Overwriting property " +
    +581             PASSWORD + "=" + properties.getProperty(PASSWORD) +
    +582             " with value " + password
    +583           );
    +584       else
    +585         getLog().debug("Using value " + password + " for property " + PASSWORD);
    +586       properties.setProperty(PASSWORD, password);
    +587     }
    +588     if (hibernateDialect != null)
    +589     {
    +590       if (properties.containsKey(DIALECT))
    +591         getLog().debug(
    +592             "Overwriting property " +
    +593             DIALECT + "=" + properties.getProperty(DIALECT) +
    +594             " with value " + hibernateDialect
    +595           );
    +596       else
    +597         getLog().debug(
    +598             "Using value " + hibernateDialect + " for property " + DIALECT
    +599             );
    +600       properties.setProperty(DIALECT, hibernateDialect);
    +601     }
    +602     if ( hibernateNamingStrategy != null )
    +603     {
    +604       if ( properties.contains(NAMING_STRATEGY))
    +605         getLog().debug(
    +606             "Overwriting property " +
    +607             NAMING_STRATEGY + "=" + properties.getProperty(NAMING_STRATEGY) +
    +608             " with value " + hibernateNamingStrategy
    +609            );
    +610       else
    +611         getLog().debug(
    +612             "Using value " + hibernateNamingStrategy + " for property " +
    +613             NAMING_STRATEGY
    +614             );
    +615       properties.setProperty(NAMING_STRATEGY, hibernateNamingStrategy);
    +616     }
    +617 
    +618     /** The generated SQL varies with the dialect! */
    +619     if (md5s.containsKey(DIALECT))
    +620     {
    +621       String dialect = properties.getProperty(DIALECT);
    +622       if (md5s.get(DIALECT).equals(dialect))
    +623         getLog().debug("SQL-dialect unchanged.");
    +624       else
    +625       {
    +626         modified = true;
    +627         if (dialect == null)
    +628         {
    +629           getLog().debug("SQL-dialect was unset.");
    +630           md5s.remove(DIALECT);
    +631         }
    +632         else
    +633         {
    +634           getLog().debug("SQL-dialect changed: " + dialect);
    +635           md5s.put(DIALECT, dialect);
    +636         }
    +637       }
    +638     }
    +639     else
    +640     {
    +641       String dialect = properties.getProperty(DIALECT);
    +642       if (dialect != null)
    +643       {
    +644         modified = true;
    +645         md5s.put(DIALECT, properties.getProperty(DIALECT));
    +646       }
    +647     }
    +648 
    +649     /** The generated SQL varies with the envers-configuration */
    +650     if (md5s.get(ENVERS) != null)
    +651     {
    +652       if (md5s.get(ENVERS).equals(Boolean.toString(envers)))
    +653         getLog().debug("Envers-Configuration unchanged. Enabled: " + envers);
    +654       else
    +655       {
    +656         getLog().debug("Envers-Configuration changed. Enabled: " + envers);
    +657         modified = true;
    +658         md5s.put(ENVERS, Boolean.toString(envers));
    +659       }
    +660     }
    +661     else
    +662     {
    +663       modified = true;
    +664       md5s.put(ENVERS, Boolean.toString(envers));
    +665     }
    +666 
    +667     if (properties.isEmpty())
    +668     {
    +669       getLog().error("No properties set!");
    +670       throw new MojoFailureException("Hibernate-Configuration is missing!");
    +671     }
    +672 
    +673     Configuration config = new Configuration();
    +674     config.setProperties(properties);
    +675 
    +676     if ( properties.containsKey(NAMING_STRATEGY))
    +677     {
    +678       String namingStrategy = properties.getProperty(NAMING_STRATEGY);
    +679       getLog().debug("Explicitly set NamingStrategy: " + namingStrategy);
    +680       try
    +681       {
    +682         @SuppressWarnings("unchecked")
    +683         Class<NamingStrategy> namingStrategyClass = (Class<NamingStrategy>) Class.forName(namingStrategy);
    +684         config.setNamingStrategy(namingStrategyClass.newInstance());
    +685       }
    +686       catch (Exception e)
    +687       {
    +688         getLog().error("Error setting NamingStrategy", e);
    +689         throw new MojoExecutionException(e.getMessage());
    +690       }
    +691     }
    +692 
    +693     getLog().debug("Adding annotated classes to hibernate-mapping-configuration...");
    +694     for (Class<?> annotatedClass : classes)
    +695     {
    +696       getLog().debug("Class " + annotatedClass);
    +697       config.addAnnotatedClass(annotatedClass);
    +698     }
    +699 
    +700     if (hibernateMapping != null)
    +701     {
    +702       try
    +703       {
    +704         MessageDigest digest = java.security.MessageDigest.getInstance("MD5");
    +705         for (String filename : hibernateMapping.split("[\\s,]+"))
    +706         {
    +707           // First try the filename as absolute/relative path
    +708           File file = new File(filename);
    +709           if (!file.exists())
    +710           {
    +711             // If the file was not found, search for it in the resource-directories
    +712             for (Resource resource : project.getResources())
    +713             {
    +714               file = new File(resource.getDirectory() + File.separator + filename);
    +715               if (file.exists())
    +716                 break;
    +717             }
    +718           }
    +719           if (file != null && file.exists())
    +720           {
    +721             InputStream is = new FileInputStream(file);
    +722             byte[] buffer = new byte[1024*4]; // copy data in 4MB-chunks
    +723             int i;
    +724             while((i = is.read(buffer)) > -1)
    +725               digest.update(buffer, 0, i);
    +726             is.close();
    +727             byte[] bytes = digest.digest();
    +728             BigInteger bi = new BigInteger(1, bytes);
    +729             String newMd5 = String.format("%0" + (bytes.length << 1) + "x", bi);
    +730             String oldMd5 = !md5s.containsKey(filename) ? "" : md5s.get(filename);
    +731             if (!newMd5.equals(oldMd5))
    +732             {
    +733               getLog().debug("Found new or modified mapping-file: " + filename);
    +734               modified = true;
    +735               md5s.put(filename, newMd5);
    +736             }
    +737             else
    +738             {
    +739               getLog().debug(oldMd5 + " -> mapping-file unchanged: " + filename);
    +740             }
    +741             getLog().debug("Adding mappings from XML-configurationfile: " + file);
    +742             config.addFile(file);
    +743           }
    +744           else
    +745             throw new MojoFailureException("File " + filename + " could not be found in any of the configured resource-directories!");
    +746         }
    +747       }
    +748       catch (NoSuchAlgorithmException e)
    +749       {
    +750         throw new MojoFailureException("Cannot calculate MD5-summs!", e);
    +751       }
    +752       catch (FileNotFoundException e)
    +753       {
    +754         throw new MojoFailureException("Cannot calculate MD5-summs!", e);
    +755       }
    +756       catch (IOException e)
    +757       {
    +758         throw new MojoFailureException("Cannot calculate MD5-summs!", e);
    +759       }
    +760     }
    +761 
    +762     Target target = null;
    +763     try
    +764     {
    +765       target = Target.valueOf(this.target.toUpperCase());
    +766     }
    +767     catch (IllegalArgumentException e)
    +768     {
    +769       getLog().error("Invalid value for configuration-option \"target\": " + this.target);
    +770       getLog().error("Valid values are: NONE, SCRIPT, EXPORT, BOTH");
    +771       throw new MojoExecutionException("Invalid value for configuration-option \"target\"");
    +772     }
    +773     Type type = null;
    +774     try
    +775     {
    +776       type = Type.valueOf(this.type.toUpperCase());
    +777     }
    +778     catch (IllegalArgumentException e)
    +779     {
    +780       getLog().error("Invalid value for configuration-option \"type\": " + this.type);
    +781       getLog().error("Valid values are: NONE, CREATE, DROP, BOTH");
    +782       throw new MojoExecutionException("Invalid value for configuration-option \"type\"");
    +783     }
    +784 
    +785     if (target.equals(Target.SCRIPT) || target.equals(Target.NONE))
    +786     {
    +787       project.getProperties().setProperty(EXPORT_SKIPPED_PROPERTY, "true");
    +788     }
    +789     if (
    +790         !modified
    +791         && !target.equals(Target.SCRIPT)
    +792         && !target.equals(Target.NONE)
    +793         && !force
    +794       )
    +795     {
    +796       getLog().info("No modified annotated classes or mapping-files found and dialect unchanged.");
    +797       getLog().info("Skipping schema generation!");
    +798       project.getProperties().setProperty(EXPORT_SKIPPED_PROPERTY, "true");
    +799       return;
    +800     }
    +801 
    +802     getLog().info("Gathered hibernate-configuration (turn on debugging for details):");
    +803     for (Entry<Object,Object> entry : properties.entrySet())
    +804       getLog().info("  " + entry.getKey() + " = " + entry.getValue());
    +805 
    +806     Connection connection = null;
    +807     try
    +808     {
    +809       /**
    +810        * The connection must be established outside of hibernate, because
    +811        * hibernate does not use the context-classloader of the current
    +812        * thread and, hence, would not be able to resolve the driver-class!
    +813        */
    +814       getLog().debug("Target: " + target + ", Type: " + type);
    +815       switch (target)
    +816       {
    +817         case EXPORT:
    +818         case BOTH:
    +819           switch (type)
    +820           {
    +821             case CREATE:
    +822             case DROP:
    +823             case BOTH:
    +824               Class driverClass = classLoader.loadClass(properties.getProperty(DRIVER_CLASS));
    +825               getLog().debug("Registering JDBC-driver " + driverClass.getName());
    +826               DriverManager.registerDriver(new DriverProxy((Driver)driverClass.newInstance()));
    +827               getLog().debug(
    +828                   "Opening JDBC-connection to "
    +829                   + properties.getProperty(URL)
    +830                   + " as "
    +831                   + properties.getProperty(USERNAME)
    +832                   + " with password "
    +833                   + properties.getProperty(PASSWORD)
    +834                   );
    +835               connection = DriverManager.getConnection(
    +836                   properties.getProperty(URL),
    +837                   properties.getProperty(USERNAME),
    +838                   properties.getProperty(PASSWORD)
    +839                   );
    +840           }
    +841       }
    +842     }
    +843     catch (ClassNotFoundException e)
    +844     {
    +845       getLog().error("Dependency for driver-class " + properties.getProperty(DRIVER_CLASS) + " is missing!");
    +846       throw new MojoExecutionException(e.getMessage());
    +847     }
    +848     catch (Exception e)
    +849     {
    +850       getLog().error("Cannot establish connection to database!");
    +851       Enumeration<Driver> drivers = DriverManager.getDrivers();
    +852       if (!drivers.hasMoreElements())
    +853         getLog().error("No drivers registered!");
    +854       while (drivers.hasMoreElements())
    +855         getLog().debug("Driver: " + drivers.nextElement());
    +856       throw new MojoExecutionException(e.getMessage());
    +857     }
    +858 
    +859     ClassLoader contextClassLoader = Thread.currentThread().getContextClassLoader();
    +860     MavenLogAppender.startPluginLog(this);
    +861     try
    +862     {
    +863       /**
    +864        * Change class-loader of current thread, so that hibernate can
    +865        * see all dependencies!
    +866        */
    +867       Thread.currentThread().setContextClassLoader(classLoader);
    +868 
    +869       config.buildMappings();
    +870 
    +871       if (envers)
    +872       {
    +873         getLog().info("Automatic auditing via hibernate-envers enabled!");
    +874         AuditConfiguration.getFor(config);
    +875       }
    +876 
    +877       SchemaExport export = new SchemaExport(config, connection);
    +878       export.setOutputFile(outputFile);
    +879       export.setDelimiter(delimiter);
    +880       export.setFormat(format);
    +881       export.execute(target, type);
    +882 
    +883       for (Object exception : export.getExceptions())
    +884         getLog().debug(exception.toString());
    +885     }
    +886     finally
    +887     {
    +888       /** Stop Log-Capturing */
    +889       MavenLogAppender.endPluginLog(this);
    +890 
    +891       /** Restore the old class-loader (TODO: is this really necessary?) */
    +892       Thread.currentThread().setContextClassLoader(contextClassLoader);
    +893 
    +894       /** Close the connection */
    +895       try
    +896       {
    +897         if (connection != null)
    +898           connection.close();
    +899       }
    +900       catch (SQLException e)
    +901       {
    +902         getLog().error("Error while closing connection: " + e.getMessage());
    +903       }
    +904     }
    +905 
    +906     /** Write md5-sums for annotated classes to file */
    +907     try
    +908     {
    +909       FileOutputStream fos = new FileOutputStream(saved);
    +910       ObjectOutputStream oos = new ObjectOutputStream(fos);
    +911       oos.writeObject(md5s);
    +912       oos.close();
    +913       fos.close();
    +914     }
    +915     catch (Exception e)
    +916     {
    +917       getLog().error("Cannot write md5-sums to file: " + e);
    +918     }
    +919   }
    +920 
    +921   /**
    +922    * Needed, because DriverManager won't pick up drivers, that were not
    +923    * loaded by the system-classloader!
    +924    * See:
    +925    * http://stackoverflow.com/questions/288828/how-to-use-a-jdbc-driver-fromodifiedm-an-arbitrary-location
    +926    */
    +927   static final class DriverProxy implements Driver
    +928   {
    +929     private final Driver target;
    +930 
    +931     DriverProxy(Driver target)
    +932     {
    +933       if (target == null)
    +934         throw new NullPointerException();
    +935       this.target = target;
    +936     }
    +937 
    +938     public java.sql.Driver getTarget()
    +939     {
    +940       return target;
    +941     }
    +942 
    +943     @Override
    +944     public boolean acceptsURL(String url) throws SQLException
    +945     {
    +946       return target.acceptsURL(url);
    +947     }
    +948 
    +949     @Override
    +950     public java.sql.Connection connect(
    +951         String url,
    +952         java.util.Properties info
    +953       )
    +954       throws
    +955         SQLException
    +956     {
    +957       return target.connect(url, info);
    +958     }
    +959 
    +960     @Override
    +961     public int getMajorVersion()
    +962     {
    +963       return target.getMajorVersion();
    +964     }
    +965 
    +966     @Override
    +967     public int getMinorVersion()
    +968     {
    +969       return target.getMinorVersion();
    +970     }
    +971 
    +972     @Override
    +973     public DriverPropertyInfo[] getPropertyInfo(
    +974         String url,
    +975         Properties info
    +976       )
    +977       throws
    +978         SQLException
    +979     {
    +980       return target.getPropertyInfo(url, info);
    +981     }
    +982 
    +983     @Override
    +984     public boolean jdbcCompliant()
    +985     {
    +986       return target.jdbcCompliant();
    +987     }
    +988 
    +989     /**
    +990      * This Method cannot be annotated with @Override, becaus the plugin
    +991      * will not compile then under Java 1.6!
    +992      */
    +993     public Logger getParentLogger() throws SQLFeatureNotSupportedException
    +994     {
    +995       throw new SQLFeatureNotSupportedException("Not supported, for backward-compatibility with Java 1.6");
    +996     }
    +997 
    +998     @Override
    +999     public String toString()
    +1000     {
    +1001       return "Proxy: " + target;
    +1002     }
    +1003 
    +1004     @Override
    +1005     public int hashCode()
    +1006     {
    +1007       return target.hashCode();
    +1008     }
    +1009 
    +1010     @Override
    +1011     public boolean equals(Object obj)
    +1012     {
    +1013       if (!(obj instanceof DriverProxy))
    +1014         return false;
    +1015       DriverProxy other = (DriverProxy) obj;
    +1016       return this.target.equals(other.target);
    +1017     }
    +1018   }
    +1019 }
    +
    +
    + + diff --git a/static/hibernate4-maven-plugin-1.0.3/xref/de/juplo/plugins/hibernate4/HelpMojo.html b/static/hibernate4-maven-plugin-1.0.3/xref/de/juplo/plugins/hibernate4/HelpMojo.html new file mode 100644 index 00000000..e28ac4f1 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.0.3/xref/de/juplo/plugins/hibernate4/HelpMojo.html @@ -0,0 +1,452 @@ + + + + +HelpMojo xref + + + +
    +
    +1   package de.juplo.plugins.hibernate4;
    +2   
    +3   import org.apache.maven.plugin.AbstractMojo;
    +4   import org.apache.maven.plugin.MojoExecutionException;
    +5   
    +6   import org.w3c.dom.Document;
    +7   import org.w3c.dom.Element;
    +8   import org.w3c.dom.Node;
    +9   import org.w3c.dom.NodeList;
    +10  import org.xml.sax.SAXException;
    +11  
    +12  import javax.xml.parsers.DocumentBuilder;
    +13  import javax.xml.parsers.DocumentBuilderFactory;
    +14  import javax.xml.parsers.ParserConfigurationException;
    +15  import java.io.IOException;
    +16  import java.io.InputStream;
    +17  import java.util.ArrayList;
    +18  import java.util.Iterator;
    +19  import java.util.List;
    +20  
    +21  /**
    +22   * Display help information on hibernate4-maven-plugin.<br/>
    +23   * Call <code>mvn hibernate4:help -Ddetail=true -Dgoal=&lt;goal-name&gt;</code> to display parameter details.
    +24   * @author
    +25   * @version
    +26   * @goal help
    +27   * @requiresProject false
    +28   * @threadSafe
    +29   */
    +30  public class HelpMojo
    +31      extends AbstractMojo
    +32  {
    +33      /**
    +34       * If <code>true</code>, display all settable properties for each goal.
    +35       *
    +36       * @parameter property="detail" default-value="false"
    +37       */
    +38      private boolean detail;
    +39  
    +40      /**
    +41       * The name of the goal for which to show help. If unspecified, all goals will be displayed.
    +42       *
    +43       * @parameter property="goal"
    +44       */
    +45      private java.lang.String goal;
    +46  
    +47      /**
    +48       * The maximum length of a display line, should be positive.
    +49       *
    +50       * @parameter property="lineLength" default-value="80"
    +51       */
    +52      private int lineLength;
    +53  
    +54      /**
    +55       * The number of spaces per indentation level, should be positive.
    +56       *
    +57       * @parameter property="indentSize" default-value="2"
    +58       */
    +59      private int indentSize;
    +60  
    +61      // groupId/artifactId/plugin-help.xml
    +62      private static final String PLUGIN_HELP_PATH = "/META-INF/maven/de.juplo/hibernate4-maven-plugin/plugin-help.xml";
    +63  
    +64      private Document build()
    +65          throws MojoExecutionException
    +66      {
    +67          getLog().debug( "load plugin-help.xml: " + PLUGIN_HELP_PATH );
    +68          InputStream is = getClass().getResourceAsStream( PLUGIN_HELP_PATH );
    +69          try
    +70          {
    +71              DocumentBuilderFactory dbFactory = DocumentBuilderFactory.newInstance();
    +72              DocumentBuilder dBuilder = dbFactory.newDocumentBuilder();
    +73              return dBuilder.parse( is );
    +74          }
    +75          catch ( IOException e )
    +76          {
    +77              throw new MojoExecutionException( e.getMessage(), e );
    +78          }
    +79          catch ( ParserConfigurationException e )
    +80          {
    +81              throw new MojoExecutionException( e.getMessage(), e );
    +82          }
    +83          catch ( SAXException e )
    +84          {
    +85              throw new MojoExecutionException( e.getMessage(), e );
    +86          }
    +87      }
    +88  
    +89      /**
    +90       * {@inheritDoc}
    +91       */
    +92      public void execute()
    +93          throws MojoExecutionException
    +94      {
    +95          if ( lineLength <= 0 )
    +96          {
    +97              getLog().warn( "The parameter 'lineLength' should be positive, using '80' as default." );
    +98              lineLength = 80;
    +99          }
    +100         if ( indentSize <= 0 )
    +101         {
    +102             getLog().warn( "The parameter 'indentSize' should be positive, using '2' as default." );
    +103             indentSize = 2;
    +104         }
    +105 
    +106         Document doc = build();
    +107 
    +108         StringBuilder sb = new StringBuilder();
    +109         Node plugin = getSingleChild( doc, "plugin" );
    +110 
    +111 
    +112         String name = getValue( plugin, "name" );
    +113         String version = getValue( plugin, "version" );
    +114         String id = getValue( plugin, "groupId" ) + ":" + getValue( plugin, "artifactId" ) + ":" + version;
    +115         if ( isNotEmpty( name ) && !name.contains( id ) )
    +116         {
    +117             append( sb, name + " " + version, 0 );
    +118         }
    +119         else
    +120         {
    +121             if ( isNotEmpty( name ) )
    +122             {
    +123                 append( sb, name, 0 );
    +124             }
    +125             else
    +126             {
    +127                 append( sb, id, 0 );
    +128             }
    +129         }
    +130         append( sb, getValue( plugin, "description" ), 1 );
    +131         append( sb, "", 0 );
    +132 
    +133         //<goalPrefix>plugin</goalPrefix>
    +134         String goalPrefix = getValue( plugin, "goalPrefix" );
    +135 
    +136         Node mojos1 = getSingleChild( plugin, "mojos" );
    +137 
    +138         List<Node> mojos = findNamedChild( mojos1, "mojo" );
    +139 
    +140         if ( goal == null || goal.length() <= 0 )
    +141         {
    +142             append( sb, "This plugin has " + mojos.size() + ( mojos.size() > 1 ? " goals:" : " goal:" ), 0 );
    +143             append( sb, "", 0 );
    +144         }
    +145 
    +146         for ( Node mojo : mojos )
    +147         {
    +148             writeGoal( sb, goalPrefix, (Element) mojo );
    +149         }
    +150 
    +151         if ( getLog().isInfoEnabled() )
    +152         {
    +153             getLog().info( sb.toString() );
    +154         }
    +155     }
    +156 
    +157 
    +158     private static boolean isNotEmpty( String string )
    +159     {
    +160         return string != null && string.length() > 0;
    +161     }
    +162 
    +163     private String getValue( Node node, String elementName )
    +164         throws MojoExecutionException
    +165     {
    +166         return getSingleChild( node, elementName ).getTextContent();
    +167     }
    +168 
    +169     private Node getSingleChild( Node node, String elementName )
    +170         throws MojoExecutionException
    +171     {
    +172         List<Node> namedChild = findNamedChild( node, elementName );
    +173         if ( namedChild.isEmpty() )
    +174         {
    +175             throw new MojoExecutionException( "Could not find " + elementName + " in plugin-help.xml" );
    +176         }
    +177         if ( namedChild.size() > 1 )
    +178         {
    +179             throw new MojoExecutionException( "Multiple " + elementName + " in plugin-help.xml" );
    +180         }
    +181         return namedChild.get( 0 );
    +182     }
    +183 
    +184     private List<Node> findNamedChild( Node node, String elementName )
    +185     {
    +186         List<Node> result = new ArrayList<Node>();
    +187         NodeList childNodes = node.getChildNodes();
    +188         for ( int i = 0; i < childNodes.getLength(); i++ )
    +189         {
    +190             Node item = childNodes.item( i );
    +191             if ( elementName.equals( item.getNodeName() ) )
    +192             {
    +193                 result.add( item );
    +194             }
    +195         }
    +196         return result;
    +197     }
    +198 
    +199     private Node findSingleChild( Node node, String elementName )
    +200         throws MojoExecutionException
    +201     {
    +202         List<Node> elementsByTagName = findNamedChild( node, elementName );
    +203         if ( elementsByTagName.isEmpty() )
    +204         {
    +205             return null;
    +206         }
    +207         if ( elementsByTagName.size() > 1 )
    +208         {
    +209             throw new MojoExecutionException( "Multiple " + elementName + "in plugin-help.xml" );
    +210         }
    +211         return elementsByTagName.get( 0 );
    +212     }
    +213 
    +214     private void writeGoal( StringBuilder sb, String goalPrefix, Element mojo )
    +215         throws MojoExecutionException
    +216     {
    +217         String mojoGoal = getValue( mojo, "goal" );
    +218         Node configurationElement = findSingleChild( mojo, "configuration" );
    +219 		Node description = findSingleChild( mojo, "description" );
    +220         if ( goal == null || goal.length() <= 0 || mojoGoal.equals( goal ) )
    +221         {
    +222             append( sb, goalPrefix + ":" + mojoGoal, 0 );
    +223             Node deprecated = findSingleChild( mojo, "deprecated" );
    +224             if ( ( deprecated != null ) && isNotEmpty( deprecated.getNodeValue() ) )
    +225             {
    +226                 append( sb, "Deprecated. " + deprecated, 1 );
    +227                 if ( detail && description != null )
    +228                 {
    +229                     append( sb, "", 0 );
    +230                     append( sb, description.getTextContent(), 1 );
    +231                 }
    +232             }
    +233             else if (description != null )
    +234             {
    +235                 append( sb, description.getTextContent(), 1 );
    +236             }
    +237             append( sb, "", 0 );
    +238 
    +239             if ( detail )
    +240             {
    +241                 Node parametersNode = getSingleChild( mojo, "parameters" );
    +242                 List<Node> parameters = findNamedChild( parametersNode, "parameter" );
    +243                 append( sb, "Available parameters:", 1 );
    +244                 append( sb, "", 0 );
    +245 
    +246                 for ( Node parameter : parameters )
    +247                 {
    +248                     writeParameter( sb, parameter, configurationElement );
    +249                 }
    +250             }
    +251         }
    +252     }
    +253 
    +254     private void writeParameter( StringBuilder sb, Node parameter, Node configurationElement )
    +255         throws MojoExecutionException
    +256     {
    +257         String parameterName = getValue( parameter, "name" );
    +258         String parameterDescription = getValue( parameter, "description" );
    +259 
    +260         Node fieldConfigurationElement = findSingleChild( configurationElement, parameterName );
    +261 
    +262         String parameterDefaultValue = "";
    +263         if ( fieldConfigurationElement != null && fieldConfigurationElement.getNodeValue() != null )
    +264         {
    +265             parameterDefaultValue = " (Default: " + ((Element)fieldConfigurationElement).getAttribute( "default-value" ) + ")";
    +266         }
    +267         append( sb, parameterName + parameterDefaultValue, 2 );
    +268         Node deprecated = findSingleChild( parameter, "deprecated" );
    +269         if ( ( deprecated != null ) && isNotEmpty( deprecated.getNodeValue() ) )
    +270         {
    +271             append( sb, "Deprecated. " + deprecated.getNodeValue(), 3 );
    +272             append( sb, "", 0 );
    +273         }
    +274         append( sb, parameterDescription, 3 );
    +275         if ( "true".equals( getValue( parameter, "required" ) ) )
    +276         {
    +277             append( sb, "Required: Yes", 3 );
    +278         }
    +279         Node expression = findSingleChild( parameter, "expression" );
    +280         if ( ( expression != null ) && isNotEmpty( expression.getNodeValue() ) )
    +281         {
    +282         	String property = getPropertyFromExpression( expression.getNodeValue() );
    +283             append( sb, "User property: " + property, 3 );
    +284         }
    +285 
    +286         append( sb, "", 0 );
    +287     }
    +288 
    +289     /**
    +290      * <p>Repeat a String <code>n</code> times to form a new string.</p>
    +291      *
    +292      * @param str    String to repeat
    +293      * @param repeat number of times to repeat str
    +294      * @return String with repeated String
    +295      * @throws NegativeArraySizeException if <code>repeat < 0</code>
    +296      * @throws NullPointerException       if str is <code>null</code>
    +297      */
    +298     private static String repeat( String str, int repeat )
    +299     {
    +300         StringBuilder buffer = new StringBuilder( repeat * str.length() );
    +301 
    +302         for ( int i = 0; i < repeat; i++ )
    +303         {
    +304             buffer.append( str );
    +305         }
    +306 
    +307         return buffer.toString();
    +308     }
    +309 
    +310     /**
    +311      * Append a description to the buffer by respecting the indentSize and lineLength parameters.
    +312      * <b>Note</b>: The last character is always a new line.
    +313      *
    +314      * @param sb          The buffer to append the description, not <code>null</code>.
    +315      * @param description The description, not <code>null</code>.
    +316      * @param indent      The base indentation level of each line, must not be negative.
    +317      */
    +318     private void append( StringBuilder sb, String description, int indent )
    +319     {
    +320         for ( String line : toLines( description, indent, indentSize, lineLength ) )
    +321         {
    +322             sb.append( line ).append( '\n' );
    +323         }
    +324     }
    +325 
    +326     /**
    +327      * Splits the specified text into lines of convenient display length.
    +328      *
    +329      * @param text       The text to split into lines, must not be <code>null</code>.
    +330      * @param indent     The base indentation level of each line, must not be negative.
    +331      * @param indentSize The size of each indentation, must not be negative.
    +332      * @param lineLength The length of the line, must not be negative.
    +333      * @return The sequence of display lines, never <code>null</code>.
    +334      * @throws NegativeArraySizeException if <code>indent < 0</code>
    +335      */
    +336     private static List<String> toLines( String text, int indent, int indentSize, int lineLength )
    +337     {
    +338         List<String> lines = new ArrayList<String>();
    +339 
    +340         String ind = repeat( "\t", indent );
    +341 
    +342         String[] plainLines = text.split( "(\r\n)|(\r)|(\n)" );
    +343 
    +344         for ( String plainLine : plainLines )
    +345         {
    +346             toLines( lines, ind + plainLine, indentSize, lineLength );
    +347         }
    +348 
    +349         return lines;
    +350     }
    +351 
    +352     /**
    +353      * Adds the specified line to the output sequence, performing line wrapping if necessary.
    +354      *
    +355      * @param lines      The sequence of display lines, must not be <code>null</code>.
    +356      * @param line       The line to add, must not be <code>null</code>.
    +357      * @param indentSize The size of each indentation, must not be negative.
    +358      * @param lineLength The length of the line, must not be negative.
    +359      */
    +360     private static void toLines( List<String> lines, String line, int indentSize, int lineLength )
    +361     {
    +362         int lineIndent = getIndentLevel( line );
    +363         StringBuilder buf = new StringBuilder( 256 );
    +364 
    +365         String[] tokens = line.split( " +" );
    +366 
    +367         for ( String token : tokens )
    +368         {
    +369             if ( buf.length() > 0 )
    +370             {
    +371                 if ( buf.length() + token.length() >= lineLength )
    +372                 {
    +373                     lines.add( buf.toString() );
    +374                     buf.setLength( 0 );
    +375                     buf.append( repeat( " ", lineIndent * indentSize ) );
    +376                 }
    +377                 else
    +378                 {
    +379                     buf.append( ' ' );
    +380                 }
    +381             }
    +382 
    +383             for ( int j = 0; j < token.length(); j++ )
    +384             {
    +385                 char c = token.charAt( j );
    +386                 if ( c == '\t' )
    +387                 {
    +388                     buf.append( repeat( " ", indentSize - buf.length() % indentSize ) );
    +389                 }
    +390                 else if ( c == '\u00A0' )
    +391                 {
    +392                     buf.append( ' ' );
    +393                 }
    +394                 else
    +395                 {
    +396                     buf.append( c );
    +397                 }
    +398             }
    +399         }
    +400         lines.add( buf.toString() );
    +401     }
    +402 
    +403     /**
    +404      * Gets the indentation level of the specified line.
    +405      *
    +406      * @param line The line whose indentation level should be retrieved, must not be <code>null</code>.
    +407      * @return The indentation level of the line.
    +408      */
    +409     private static int getIndentLevel( String line )
    +410     {
    +411         int level = 0;
    +412         for ( int i = 0; i < line.length() && line.charAt( i ) == '\t'; i++ )
    +413         {
    +414             level++;
    +415         }
    +416         for ( int i = level + 1; i <= level + 4 && i < line.length(); i++ )
    +417         {
    +418             if ( line.charAt( i ) == '\t' )
    +419             {
    +420                 level++;
    +421                 break;
    +422             }
    +423         }
    +424         return level;
    +425     }
    +426     
    +427     private String getPropertyFromExpression( String expression )
    +428     {
    +429         if ( expression != null && expression.startsWith( "${" ) && expression.endsWith( "}" )
    +430             && !expression.substring( 2 ).contains( "${" ) )
    +431         {
    +432             // expression="${xxx}" -> property="xxx"
    +433             return expression.substring( 2, expression.length() - 1 );
    +434         }
    +435         // no property can be extracted
    +436         return null;
    +437     }
    +438 }
    +
    +
    + + diff --git a/static/hibernate4-maven-plugin-1.0.3/xref/de/juplo/plugins/hibernate4/package-frame.html b/static/hibernate4-maven-plugin-1.0.3/xref/de/juplo/plugins/hibernate4/package-frame.html new file mode 100644 index 00000000..95e81d96 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.0.3/xref/de/juplo/plugins/hibernate4/package-frame.html @@ -0,0 +1,30 @@ + + + + + + Hibernate 4 Maven Plugin 1.0.3 Reference Package de.juplo.plugins.hibernate4 + + + + +

    + de.juplo.plugins.hibernate4 +

    + +

    Classes

    + + + + + \ No newline at end of file diff --git a/static/hibernate4-maven-plugin-1.0.3/xref/de/juplo/plugins/hibernate4/package-summary.html b/static/hibernate4-maven-plugin-1.0.3/xref/de/juplo/plugins/hibernate4/package-summary.html new file mode 100644 index 00000000..bdf0f609 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.0.3/xref/de/juplo/plugins/hibernate4/package-summary.html @@ -0,0 +1,77 @@ + + + + + + Hibernate 4 Maven Plugin 1.0.3 Reference Package de.juplo.plugins.hibernate4 + + + +
    + +
    +
    + +
    + +

    Package de.juplo.plugins.hibernate4

    + + + + + + + + + + + + + + + + + + +
    Class Summary
    + DriverProxy +
    + Hbm2DdlMojo +
    + HelpMojo +
    + +
    + +
    +
    + +
    +
    + Copyright © 2026. All Rights Reserved. + + \ No newline at end of file diff --git a/static/hibernate4-maven-plugin-1.0.3/xref/index.html b/static/hibernate4-maven-plugin-1.0.3/xref/index.html new file mode 100644 index 00000000..d1b48a19 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.0.3/xref/index.html @@ -0,0 +1,24 @@ + + + + + + Hibernate 4 Maven Plugin 1.0.3 Reference + + + + + + + + + <body> + <h1>Frame Alert</h1> + <p> + You don't have frames. Go <a href="overview-summary.html">here</a> + </p> + </body> + + + + diff --git a/static/hibernate4-maven-plugin-1.0.3/xref/overview-frame.html b/static/hibernate4-maven-plugin-1.0.3/xref/overview-frame.html new file mode 100644 index 00000000..44a6fdf7 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.0.3/xref/overview-frame.html @@ -0,0 +1,25 @@ + + + + + + Hibernate 4 Maven Plugin 1.0.3 Reference + + + + +

    + All Classes +

    + +

    Packages

    + + + + + + diff --git a/static/hibernate4-maven-plugin-1.0.3/xref/overview-summary.html b/static/hibernate4-maven-plugin-1.0.3/xref/overview-summary.html new file mode 100644 index 00000000..e77e6894 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.0.3/xref/overview-summary.html @@ -0,0 +1,64 @@ + + + + + + Hibernate 4 Maven Plugin 1.0.3 Reference + + + +
    +
      +
    • Overview
    • +
    • Package
    • +
    +
    +
    + +
    + +

    Hibernate 4 Maven Plugin 1.0.3 Reference

    + + + + + + + + + + + + +
    Packages
    + de.juplo.plugins.hibernate4 +
    + +
    +
      +
    • Overview
    • +
    • Package
    • +
    +
    +
    + +
    + +
    + Copyright © 2026. All Rights Reserved. + + \ No newline at end of file diff --git a/static/hibernate4-maven-plugin-1.0.3/xref/stylesheet.css b/static/hibernate4-maven-plugin-1.0.3/xref/stylesheet.css new file mode 100644 index 00000000..00e6114d --- /dev/null +++ b/static/hibernate4-maven-plugin-1.0.3/xref/stylesheet.css @@ -0,0 +1,116 @@ +/* Javadoc style sheet */ +/* Define colors, fonts and other style attributes here to override the defaults */ +body { + background-color: #fff; + font-family: Arial, Helvetica, sans-serif; +} + +a:link { + color: #00f; +} +a:visited { + color: #00a; +} + +a:active, a:hover { + color: #f30 !important; +} + +ul, li { + list-style-type:none; + margin:0; + padding:0; +} + +table td { + padding: 3px; + border: 1px solid #000; +} +table { + width:100%; + border: 1px solid #000; + border-collapse: collapse; +} + +div.overview { + background-color:#ddd; + padding: 4px 4px 4px 0; +} +div.overview li, div.framenoframe li { + display: inline; +} +div.framenoframe { + text-align: center; + font-size: x-small; +} +div.framenoframe li { + margin: 0 3px 0 3px; +} +div.overview li { + margin:3px 3px 0 3px; + padding: 4px; +} +li.selected { + background-color:#888; + color: #fff; + font-weight: bold; +} + +table.summary { + margin-bottom: 20px; +} +table.summary td, table.summary th { + font-weight: bold; + text-align: left; + padding: 3px; +} +table.summary th { + background-color:#036; + color: #fff; +} +table.summary td { + background-color:#eee; + border: 1px solid black; +} + +em { + color: #A00; +} +em.comment { + color: #390; +} +.string { + color: #009; +} +div#footer { + text-align:center; +} +#overview { + padding:2px; +} + +hr { + height: 1px; + color: #000; +} + +/* JXR style sheet */ +.jxr_comment +{ + color: #390; +} + +.jxr_javadoccomment +{ + color: #A00; +} + +.jxr_string +{ + color: #009; +} + +.jxr_keyword +{ + color: #000; +} -- 2.39.5