From: Kai Moritz Date: Tue, 28 Oct 2025 17:19:22 +0000 (+0100) Subject: Regenerated the docs for version `1.0.2` of the `hibernate4-maven-plugin` X-Git-Url: https://juplo.de/gitweb/?a=commitdiff_plain;h=5ee824767536fe4f1cb0076dbdc991f16cc99335;p=website Regenerated the docs for version `1.0.2` of the `hibernate4-maven-plugin` --- diff --git a/projects/hibernate-maven-plugin/1.0.2/ci-management.html b/projects/hibernate-maven-plugin/1.0.2/ci-management.html new file mode 100644 index 0000000..ebc5407 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.2/ci-management.html @@ -0,0 +1,621 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CI Management – Hibernate 4 Maven Plugin + + + + +

CI Management

+

URI

+ +

Path

+

+

    +
  1. Hibernate 4 Maven Plugin
  2. Project Information
  3. CI Management
+

+
+
+
+

Overview

+

This project uses Continuum.

+

Access

+

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

+
http://juplo.de/continuum/
+

Notifiers

+

Configuration for notifying developers/users when a build is unsuccessful, including user information and notification mode.

+ + + + + + + + +
TypeAddressConfiguration
mailkai@juplo.de-
+
+
+

Page Structure as JSON

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

All Pages

+

+

+

+ + diff --git a/projects/hibernate-maven-plugin/1.0.2/configuration.html b/projects/hibernate-maven-plugin/1.0.2/configuration.html index 8706702..5b09571 100644 --- a/projects/hibernate-maven-plugin/1.0.2/configuration.html +++ b/projects/hibernate-maven-plugin/1.0.2/configuration.html @@ -1,67 +1,391 @@ - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - juplo - Hibernate 4 Maven Plugin - Configuration Examples + Hibernate 4 Maven Plugin - - - - - - - - - - - + - -
- - -
-
-

Hibernate 4 Maven Plugin - Configuration Examples

-
-

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:

-
+ +

$shortTitle

+

URI

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

Path

+

+

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

+
+
+
+

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>${project.version}</version>
+  <version>1.0.2</version>
   <executions>
     <execution>
       <goals>
@@ -69,14 +393,13 @@
       </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!

+</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>${project.version}</version>
+  <version>1.0.2</version>
   <executions>
     <execution>
       <goals>
@@ -87,20 +410,18 @@
   <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.

-
-

Configuration through maven-properties

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

+

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:

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

+
  • 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>
    @@ -118,7 +439,7 @@
       <plugin>
         <groupId>de.juplo</groupId>
         <artifactId>hibernate4-maven-plugin</artifactId>
    -    <version>${project.version}</version>
    +    <version>1.0.2</version>
         <executions>
           <execution>
             <goals>
    @@ -131,22 +452,20 @@
         </configuration>
       </plugin>
     
    -<plugins>
    -
    -

    Configuration through the plugin-configuration

    +<plugins>
    +

    Configuration through the plugin-configuration

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

      -
    • driverClassName
    • -
    • hibernateDialect
    • -
    • url
    • -
    • username
    • -
    • password
    +
  • driverClassName
  • +
  • hibernateDialect
  • +
  • url
  • +
  • username
  • +
  • password
  • The equivalent of the configuration from the last section would look like this:

    -
    <plugin>
       <groupId>de.juplo</groupId>
       <artifactId>hibernate4-maven-plugin</artifactId>
    -  <version>${project.version}</version>
    +  <version>1.0.2</version>
       <executions>
         <execution>
           <goals>
    @@ -161,7 +480,7 @@
         <username>sa</username>
         <password></password>
       </configuration>
    -</plugin>
    +</plugin>

    There are some seldom used parameters, that can only be configured throug this method:

    • delimiter the delimiter used in the generated sql-script
    • @@ -170,22 +489,20 @@
    • outputFile name of the generated sql-script
    • target create database or generate sql-script or both
    • type create or drop the database or do both or nothing (just validate the annotation-configuration)
    -

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

    -
    -

    Configuration-Method-Precedence

    +

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

    +

    Configuration-Method-Precedence

    The configuration is gathered in a fix order:

    -
      -
    1. hibernate.properties
    2. +
        +
      1. hibernate.properties
      2. maven-properties
      3. 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.

      +

      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>${project.version}</version>
      +  <version>1.0.2</version>
         <executions>
           <execution>
             <goals>
      @@ -196,76 +513,229 @@
         <configuration>
           <password>${my-password-property}</password>
         </configuration>
      -</plugin>
    - -
    - -

    - - Built by Maven - -

    -
    - - - - - - - - - - + - -
    - - -
    -
    -

    Hibernate 4 Maven Plugin - CPD Report

    -
    -

    CPD Results

    -

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

    -
    -

    Duplications

    -

    CPD found no problems in your source code.

    -
    -
    - -

    - - Built by Maven - -

    -
    -
    - -
    - - - - - - - + - -
    - - -
    -
    -

    Hibernate 4 Maven Plugin - Enable Debug-Output

    -
    -

    Enabling 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 ;)

    -
    -
    - -

    - - Built by Maven - -

    -
    -
    - -
    - - - - - - - + - -
    - - -
    -
    -

    Hibernate 4 Maven Plugin - Dependencies

    - -
    -

    Project Dependencies

    -
    -

    compile

    + +

    Project Dependencies

    +

    URI

    +
      +
    • site: /projects/hibernate-maven-plugin/1.0.2/dependencies.html
    • +
    • canonical: /hibernate-maven-plugin/dependencies.html
    • +
    • relative: dependencies.html
    • +
    +

    Path

    +

    +

      +
    1. Hibernate 4 Maven Plugin
    2. Project Information
    3. Dependencies
    +

    +
    +
    +
    +

    Project Dependencies

    +

    compile

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

    - +
    - + @@ -95,21 +417,19 @@ -
    GroupId ArtifactId Version TypeLicense
    Licenses
    com.pyx4j maven-plugin-log4jhibernate-core 4.2.3.Final jarGNU Lesser General Public License
    -
    -

    Project Transitive Dependencies

    -

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

    -
    +

    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:

    - +
    - + @@ -221,14 +541,14 @@ - + - + @@ -242,7 +562,7 @@ - + @@ -305,17 +625,17 @@ - + -
    GroupId ArtifactId Version Classifier TypeLicense
    Licenses
    antlr antlr1.0.1.Final - jarlicense.txt
    null
    org.javassist javassist 3.15.0-GA - jarMPL 1.1-LGPL 2.1-Apache License 2.0
    MPL 1.1LGPL 2.1Apache License 2.0
    org.jboss.logging jboss-logging1.0.1.Final - jarCommon Development and Distribution License-GNU General Public License, Version 2 with the Classpath Exception
    Common Development and Distribution LicenseGNU General Public License, Version 2 with the Classpath Exception
    org.sonatype.aether aether-api2.3.0 - jarThe Apache Software License, Version 2.0-Eclipse Public License, Version 1.0
    The Apache Software License, Version 2.0Eclipse Public License, Version 1.0
    org.sonatype.sisu sisu-inject-plexus 2.3.0 - jarEclipse Public License, Version 1.0
    -
    -

    Project Dependency Graph

    - -
    -

    Dependency Tree

    +
    +

    Dependency Tree

    +
  • org.sonatype.aether:aether-impl:jar:1.13.1 (compile) [Information]
  • -
  • org.sonatype.aether:aether-api:jar:1.13.1 (compile) Information
  • +
  • org.sonatype.aether:aether-api:jar:1.13.1 (compile) [Information]
  • -
  • org.sonatype.aether:aether-util:jar:1.13.1 (compile) Information
  • +
  • org.sonatype.aether:aether-util:jar:1.13.1 (compile) [Information]
  • -
  • org.sonatype.sisu:sisu-inject-plexus:jar:2.3.0 (compile) Information
  • +
  • org.sonatype.sisu:sisu-inject-plexus:jar:2.3.0 (compile) [Information] +

    Project Licenses: Eclipse Public License, Version 1.0

  • -
  • org.codehaus.plexus:plexus-interpolation:jar:1.14 (compile) Information
  • +
  • org.codehaus.plexus:plexus-interpolation:jar:1.14 (compile) [Information]
  • -
  • org.codehaus.plexus:plexus-classworlds:jar:2.4 (compile) Information
  • +
  • org.codehaus.plexus:plexus-classworlds:jar:2.4 (compile) [Information]
  • -
  • org.codehaus.plexus:plexus-component-annotations:jar:1.5.5 (compile) Information
  • +
  • org.codehaus.plexus:plexus-component-annotations:jar:1.5.5 (compile) [Information]
  • -
  • org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3 (compile) Information
  • +
  • org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3 (compile) [Information] +

    Project Licenses: Apache Public License 2.0

  • -
  • org.apache.maven:maven-plugin-api:jar:3.0.4 (compile) Information
  • +
  • org.apache.maven:maven-plugin-api:jar:3.0.4 (compile) [Information]
  • -
  • org.hibernate:hibernate-core:jar:4.2.3.Final (compile) Information
  • +
  • org.hibernate:hibernate-core:jar:4.2.3.Final (compile) [Information] +

    Project Licenses: GNU Lesser General Public License

  • -
  • net.sf.scannotation:scannotation:jar:1.0.2 (compile) Information
  • +
  • net.sf.scannotation:scannotation:jar:1.0.2 (compile) [Information] +

    Project Licenses: Apache License V2.0

  • -
  • com.pyx4j:maven-plugin-log4j:jar:1.0.1 (compile) Information
  • +
  • com.pyx4j:maven-plugin-log4j:jar:1.0.1 (compile) [Information] +

    Project Licenses: The Apache Software License, Version 2.0

  • -
    -

    Licenses

    -

    Unamed: JPA 2.0 API

    +

    Project Licenses: The Apache Software License, Version 2.0

    +

    Licenses

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

    -

    GNU LESSER GENERAL PUBLIC LICENSE: Hibernate Commons Annotations

    -

    Unknown: dom4j, javassist

    +

    Unnamed: JPA 2.0 API

    Common Development and Distribution License: Java Transaction API

    -

    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

    +

    GNU LESSER GENERAL PUBLIC LICENSE: Hibernate Commons Annotations

    GNU Lesser General Public License: A Hibernate Core Module

    -

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

    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, javassist

    BSD License: AntLR Parser Generator

    Apache License 2.0: Javassist

    -

    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

    -
    -

    Dependency File Details

    - +

    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

    +
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - -
    Filename Size Entries Classes PackagesJDK RevDebug
    antlr-2.7.7.jar434.85 kB239224121.2debug
    maven-plugin-log4j-1.0.1.jar3.64 kB12111.4debug
    dom4j-1.6.1.jar306.54 kB208190141.3debug
    javassist-3.6.0.GA.jar529.53 kB323305161.2debug
    log4j-1.2.14.jar358.83 kB288256191.1debug
    scannotation-1.0.2.jar18.04 kB231321.5debug
    maven-aether-provider-3.0.4.jar55.17 kB402311.5debug
    maven-artifact-3.0.4.jar50.87 kB5732111.5debug
    maven-core-3.0.4.jar545.94 kB428350431.5debug
    maven-model-3.0.4.jar159.72 kB675031.5debug
    maven-model-builder-3.0.4.jar147.06 kB142109161.5debug
    maven-plugin-api-3.0.4.jar48.16 kB462561.5debug
    maven-repository-metadata-3.0.4.jar29.37 kB25721.5debug
    maven-settings-3.0.4.jar45.57 kB331721.5debug
    maven-settings-builder-3.0.4.jar40.41 kB533251.5debug
    plexus-classworlds-2.4.jar45.96 kB523751.4debug
    plexus-component-annotations-1.5.5.jar4.11 kB15311.5release
    plexus-interpolation-1.14.jar59.64 kB604461.4debug
    hibernate-core-4.2.3.Final.jar4.41 MB3,1902,9811701.6debug
    hibernate-commons-annotations-4.0.2.Final.jar79.91 kB826471.6debug
    hibernate-jpa-2.0-api-1.0.1.Final.jar100.25 kB19017641.5debug
    javassist-3.15.0-GA.jar633.06 kB391367171.4debug
    jboss-logging-3.1.0.GA.jar59.34 kB554311.6debug
    jboss-transaction-api_1.1_spec-1.0.1.Final.jar24.62 kB311821.6debug
    aether-api-1.13.1.jar87.56 kB11696111.5debug
    aether-impl-1.13.1.jar127.10 kB877321.5debug
    aether-spi-1.13.1.jar15.07 kB331751.5debug
    aether-util-1.13.1.jar126.98 kB11692141.5debug
    plexus-cipher-1.4.jar13.18 kB20611.4debug
    plexus-sec-dispatcher-1.3.jar27.89 kB311331.4debug
    sisu-guava-0.9.9.jar1.44 MB1,1831,163101.5debug
    sisu-guice-3.1.0-no_aop.jar349.05 kB31029581.5debug
    sisu-inject-bean-2.3.0.jar282.29 kB256224151.5debug
    sisu-inject-plexus-2.3.0.jar199.64 kB207163271.5debug
    Java 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.6.0.GA.jar542.2 kB323305161.2Yes
    log4j-1.2.14.jar367.4 kB288256191.1Yes
    scannotation-1.0.2.jar18.5 kB231321.5Yes
    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.3.Final.jar4.6 MB319029811701.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
    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
    Total Size Entries Classes PackagesJDK RevDebug
    3410.74 MB8,4097,5094621.633
    compile: 34compile: 10.74 MBcompile: 8,409compile: 7,509compile: 462-compile: 33
    -
    -

    Dependency Repository Locations

    - - - - - - - - - - - - - - - - - - - - -
    Repo IDURLReleaseSnapshot
    apache.snapshotshttp://repository.apache.org/snapshots-Yes
    sonatype-nexus-snapshotshttps://oss.sonatype.org/content/repositories/snapshots-Yes
    centralhttp://repo.maven.apache.org/maven2Yes-
    -

    Repository locations for each of the Dependencies.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Artifactapache.snapshotssonatype-nexus-snapshotscentral
    antlr:antlr:jar:2.7.7--Found at http://repo.maven.apache.org/maven2
    com.pyx4j:maven-plugin-log4j:jar:1.0.1--Found at http://repo.maven.apache.org/maven2
    dom4j:dom4j:jar:1.6.1--Found at http://repo.maven.apache.org/maven2
    javassist:javassist:jar:3.6.0.GA--Found at http://repo.maven.apache.org/maven2
    log4j:log4j:jar:1.2.14--Found at http://repo.maven.apache.org/maven2
    net.sf.scannotation:scannotation:jar:1.0.2--Found at http://repo.maven.apache.org/maven2
    org.apache.maven:maven-aether-provider:jar:3.0.4--Found at http://repo.maven.apache.org/maven2
    org.apache.maven:maven-artifact:jar:3.0.4--Found at http://repo.maven.apache.org/maven2
    org.apache.maven:maven-core:jar:3.0.4--Found at http://repo.maven.apache.org/maven2
    org.apache.maven:maven-model:jar:3.0.4--Found at http://repo.maven.apache.org/maven2
    org.apache.maven:maven-model-builder:jar:3.0.4--Found at http://repo.maven.apache.org/maven2
    org.apache.maven:maven-plugin-api:jar:3.0.4--Found at http://repo.maven.apache.org/maven2
    org.apache.maven:maven-repository-metadata:jar:3.0.4--Found at http://repo.maven.apache.org/maven2
    org.apache.maven:maven-settings:jar:3.0.4--Found at http://repo.maven.apache.org/maven2
    org.apache.maven:maven-settings-builder:jar:3.0.4--Found at http://repo.maven.apache.org/maven2
    org.codehaus.plexus:plexus-classworlds:jar:2.4--Found at http://repo.maven.apache.org/maven2
    org.codehaus.plexus:plexus-component-annotations:jar:1.5.5--Found at http://repo.maven.apache.org/maven2
    org.codehaus.plexus:plexus-interpolation:jar:1.14--Found at http://repo.maven.apache.org/maven2
    org.hibernate:hibernate-core:jar:4.2.3.Final--Found at http://repo.maven.apache.org/maven2
    org.hibernate.common:hibernate-commons-annotations:jar:4.0.2.Final--Found at http://repo.maven.apache.org/maven2
    org.hibernate.javax.persistence:hibernate-jpa-2.0-api:jar:1.0.1.Final--Found at http://repo.maven.apache.org/maven2
    org.javassist:javassist:jar:3.15.0-GA--Found at http://repo.maven.apache.org/maven2
    org.jboss.logging:jboss-logging:jar:3.1.0.GA--Found at http://repo.maven.apache.org/maven2
    org.jboss.spec.javax.transaction:jboss-transaction-api_1.1_spec:jar:1.0.1.Final--Found at http://repo.maven.apache.org/maven2
    org.sonatype.aether:aether-api:jar:1.13.1--Found at http://repo.maven.apache.org/maven2
    org.sonatype.aether:aether-impl:jar:1.13.1--Found at http://repo.maven.apache.org/maven2
    org.sonatype.aether:aether-spi:jar:1.13.1--Found at http://repo.maven.apache.org/maven2
    org.sonatype.aether:aether-util:jar:1.13.1--Found at http://repo.maven.apache.org/maven2
    org.sonatype.plexus:plexus-cipher:jar:1.4--Found at http://repo.maven.apache.org/maven2
    org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3--Found at http://repo.maven.apache.org/maven2
    org.sonatype.sisu:sisu-guava:jar:0.9.9--Found at http://repo.maven.apache.org/maven2
    org.sonatype.sisu:sisu-guice:jar:no_aop:3.1.0--Found at http://repo.maven.apache.org/maven2
    org.sonatype.sisu:sisu-inject-bean:jar:2.3.0--Found at http://repo.maven.apache.org/maven2
    org.sonatype.sisu:sisu-inject-plexus:jar:2.3.0--Found at http://repo.maven.apache.org/maven2
    Totalapache.snapshotssonatype-nexus-snapshotscentral
    34 (compile: 34)0034
    -
    -
    - -

    - - Built by Maven - -

    -
    - - - - - - - - - - + - -
    - - -
    -
    -

    Hibernate 4 Maven Plugin - Dependency Information

    -
    -

    Dependency Information

    -
    -

    Apache Maven

    -
    -
    <dependency>
    +  
    +    

    Maven Coordinates

    +

    URI

    +
      +
    • site: /projects/hibernate-maven-plugin/1.0.2/dependency-info.html
    • +
    • canonical: /hibernate-maven-plugin/dependency-info.html
    • +
    • relative: dependency-info.html
    • +
    +

    Path

    +

    +

      +
    1. Hibernate 4 Maven Plugin
    2. Project Information
    3. Maven Coordinates
    +

    +
    +
    +
    +

    Maven Coordinates

    +

    Apache Maven

    +
    <plugin>
       <groupId>de.juplo</groupId>
       <artifactId>hibernate4-maven-plugin</artifactId>
       <version>1.0.2</version>
    -  <type>maven-plugin</type>
    -</dependency>
    -
    -

    Apache Buildr

    -
    -
    'de.juplo:hibernate4-maven-plugin:maven-plugin:1.0.2'
    -
    -

    Apache Ant

    -
    -
    <dependency org="de.juplo" name="hibernate4-maven-plugin" rev="1.0.2">
    -  <artifact name="hibernate4-maven-plugin" type="maven-plugin" />
    -</dependency>
    -
    -

    Groovy Grape

    -
    -
    @Grapes(
    -@Grab(group='de.juplo', module='hibernate4-maven-plugin', version='1.0.2')
    -)
    -
    -

    Grails

    -
    -
    compile 'de.juplo:hibernate4-maven-plugin:1.0.2'
    -
    -

    Leiningen

    -
    -
    [de.juplo/hibernate4-maven-plugin "1.0.2"]
    -
    -

    SBT

    -
    -
    libraryDependencies += "de.juplo" %% "hibernate4-maven-plugin" % "1.0.2"
    -
    - -
    - -
    - - - - - - - + - -
    - - -
    -
    -

    Hibernate 4 Maven Plugin - Distribution Management

    -
    -

    Overview

    -

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

    - -
    -

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

    -
    - -
    - -
    - - - - - - - + - -
    - - -
    -
    -

    Hibernate 4 Maven Plugin - Force Exceution

    -
    -

    Force execution

    + +

    $shortTitle

    +

    URI

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

    Path

    +

    +

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

    +
    +
    +
    +

    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 automatically execution, you can force it to do so, if you set the parameter force to true:

    -
    +

    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 automatically execution, 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>${project.version}</version>
    +  <version>1.0.2</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.

    -
    -
    - -

    - - Built by Maven - -

    -
    -
    - -
    - - - - - - - + - -
    - - -
    -
    -

    Hibernate 4 Maven Plugin -

    -
    -

    A simple Plugin for generating a Database-Schema from Hibernate 4 Mapping-Annotations.

    + +

    $shortTitle

    +

    URI

    +
      +
    • site: /projects/hibernate-maven-plugin/1.0.2/index.html
    • +
    • canonical: /hibernate-maven-plugin/index.html
    • +
    • relative: index.html
    • +
    +

    Path

    +

    +

      +
    1. Hibernate 4 Maven Plugin
    +

    +
    +
    +
    +

    A simple Plugin for generating a Database-Schema from Hibernate 4 Mapping-Annotations.

    hibernate4-maven-plugin is a plugin for generating a database-schema from your Hibernate-4-Mappings and create or update your database accordingly.

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

    +

    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

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

    - -
    - -

    - - Built by Maven - -

    -
    - - - - - - - - - - + - -
    - - -
    -
    -

    Hibernate 4 Maven Plugin - Issue Tracking

    -
    -

    Issue Tracking

    + +

    $shortTitle

    +

    URI

    +
      +
    • site: /projects/hibernate-maven-plugin/1.0.2/issue-tracking.html
    • +
    • canonical: /hibernate-maven-plugin/issue-tracking.html
    • +
    • relative: issue-tracking.html
    • +
    +

    Path

    +

    +

      +
    +

    +
    +
    +
    +

    Issue Tracking

    There is no bug-tracking system set up for this project!

    -

    Please send your bug-reports, questions or feature-requests directly to the developer.

    -
    - -
    - -
    - - - - - - - + - -
    - - -
    -
    -

    Hibernate 4 Maven Plugin - Mailing Lists

    -
    -

    Mailing Lists

    + +

    $shortTitle

    +

    URI

    +
      +
    • site: /projects/hibernate-maven-plugin/1.0.2/mail-lists.html
    • +
    • canonical: /hibernate-maven-plugin/mail-lists.html
    • +
    • relative: mail-lists.html
    • +
    +

    Path

    +

    +

      +
    +

    +
    +
    +
    +

    Mailing Lists

    There are no mailinglists defined for this project!

    -

    Please send your bug-reports, questions or feature-requests directly to the developer.

    -
    - -
    - -
    - - - - - - - + - -
    - - -
    -
    -

    Hibernate 4 Maven Plugin - Known Pitfalls (FAQ)

    -
    -

    Known Pitfalls

    -
    -

    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 commandline-parameter -Dhibernate.export.target=SCRIPT or with the following configuration:

    -
    + +

    $shortTitle

    +

    URI

    +
      +
    • site: /projects/hibernate-maven-plugin/1.0.2/pitfalls.html
    • +
    • canonical: /hibernate-maven-plugin/pitfalls.html
    • +
    • relative: pitfalls.html
    • +
    +

    Path

    +

    +

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

    +
    +
    +
    +

    Known Pitfalls

    +

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

    -
    -

    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:

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

    +

    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):
     [INFO]   hibernate.connection.username = sa
     [INFO]   hibernate.connection.password = 
    @@ -83,14 +405,13 @@
     [INFO] Total time: 2 seconds
     [INFO] Finished at: Thu Nov 29 11:31:14 CET 2012
     [INFO] Final Memory: 32M/342M
    -[INFO] ------------------------------------------------------------------------
    +[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>${project.version}</version>
    +  <version>1.0.2</version>
       <executions>
         <execution>
           <goals>
    @@ -105,96 +426,245 @@
         <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.

    +</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:

    -
    +

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

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

    +</plugin>
    +

    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 clen for cleanup, this will not happen. Otherwise the recreation must be forced:

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

    - - Built by Maven - -

    -
    - - - - - - - - - - + - -
    - - -
    -
    -

    Hibernate 4 Maven Plugin - Plugin Documentation

    -
    -

    Plugin Documentation

    + +

    Plugin Documentation

    +

    URI

    +
      +
    • site: /projects/hibernate-maven-plugin/1.0.2/plugin-info.html
    • +
    • canonical: /hibernate-maven-plugin/plugin-info.html
    • +
    • relative: plugin-info.html
    • +
    +

    Path

    +

    +

      +
    1. Hibernate 4 Maven Plugin
    2. Project Reports
    3. Plugin Documentation
    +

    +
    +
    +
    +

    Plugin Documentation

    Goals available for this plugin:

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

    System Requirements

    +-Dgoal=<goal-name> to display parameter details.
    +

    System Requirements

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

    - +
    - + - + - + - -
    MavenMaven 2.0.6
    JDKJDK 1.6
    MemoryMemory No minimum requirement.
    Disk SpaceNo minimum requirement.
    -
    -

    Usage

    +Disk Space +No minimum requirement.
    +

    Usage

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

    -
    -
    <project>
    -  ...
    -  <build>
    -    <!-- To define the plugin version in your parent POM -->
    -    <pluginManagement>
    -      <plugins>
    -        <plugin>
    -          <groupId>de.juplo</groupId>
    -          <artifactId>hibernate4-maven-plugin</artifactId>
    -          <version>1.0.2</version>
    -        </plugin>
    -        ...
    -      </plugins>
    -    </pluginManagement>
    -    <!-- To use the plugin goals in your POM or parent POM -->
    -    <plugins>
    -      <plugin>
    -        <groupId>de.juplo</groupId>
    -        <artifactId>hibernate4-maven-plugin</artifactId>
    -        <version>1.0.2</version>
    -      </plugin>
    -      ...
    -    </plugins>
    -  </build>
    -  ...
    -</project>
    -
    -

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

    - -
    - -

    - - Built by Maven - -

    -
    - - - - - - - - - - + - -
    - - -
    -
    -

    Hibernate 4 Maven Plugin - Plugin Management

    -
    -

    Project Plugin Management

    - + +

    Project Plugin Management

    +

    URI

    +
      +
    • site: /projects/hibernate-maven-plugin/1.0.2/plugin-management.html
    • +
    • canonical: /hibernate-maven-plugin/plugin-management.html
    • +
    • relative: plugin-management.html
    • +
    +

    Path

    +

    +

      +
    1. Hibernate 4 Maven Plugin
    2. Project Information
    3. Plugin Management
    +

    +
    +
    +
    +

    Project Plugin Management

    +
    @@ -71,122 +395,233 @@ - + - - - - -
    GroupId ArtifactId
    org.apache.maven.plugins maven-dependency-plugin2.1
    2.8
    org.apache.maven.plugins maven-release-plugin2.1
    org.apache.maven.pluginsmaven-site-plugin3.3
    -
    - -
    - -
    - - - - - - - + - -
    - - -
    -
    -

    Hibernate 4 Maven Plugin - Project Plugins

    -
    -

    Project Build Plugins

    - + +

    Project Plugins

    +

    URI

    +
      +
    • site: /projects/hibernate-maven-plugin/1.0.2/plugins.html
    • +
    • canonical: /hibernate-maven-plugin/plugins.html
    • +
    • relative: plugins.html
    • +
    +

    Path

    +

    +

      +
    1. Hibernate 4 Maven Plugin
    2. Project Information
    3. Plugins
    +

    +
    +
    +
    +

    Project Build Plugins

    +
    @@ -83,38 +407,41 @@ - + - - + + + + + + - + - - - - - - + + + + + + - + -
    GroupId ArtifactId
    org.apache.maven.plugins maven-install-plugin2.3
    2.4
    org.apache.maven.pluginsmaven-jar-plugin2.2
    maven-invoker-plugin1.8
    org.apache.maven.pluginsmaven-jar-plugin2.4
    org.apache.maven.plugins maven-plugin-plugin 3.2
    org.apache.maven.plugins maven-resources-plugin 2.3
    org.apache.maven.pluginsscp://people.apache.org/www/maven.apache.org/scm/maven-scm-plugin1.7
    org.apache.maven.pluginsmaven-site-plugin3.3
    maven-scm-plugin1.7
    org.apache.maven.pluginsmaven-site-plugin3.21.0
    org.apache.maven.plugins maven-source-plugin 2.1.2
    org.apache.maven.plugins maven-surefire-plugin2.10
    -
    -

    Project Report Plugins

    - +
    2.12.4
    +

    Project Report Plugins

    + @@ -141,115 +468,230 @@ - -
    GroupId ArtifactId2.7.1
    org.apache.maven.pluginsmaven-site-plugin3.3
    - -
    - -

    - - Built by Maven - -

    -
    - - - - - - - - - - + - -
    - - -
    -
    -

    Hibernate 4 Maven Plugin - PMD Report

    -
    -

    PMD Results

    -

    The following document contains the results of PMD 4.3.

    -
    -

    Files

    -

    PMD found no problems in your source code.

    -
    -
    - -

    - - Built by Maven - -

    -
    -
    - -
    - - - - - - - + - -
    - - -
    -
    -

    Hibernate 4 Maven Plugin - Project Information

    -
    -

    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

    - + +

    Project Information

    +

    URI

    +
      +
    • site: /projects/hibernate-maven-plugin/1.0.2/project-info.html
    • +
    • canonical: /hibernate-maven-plugin/project-info.html
    • +
    • relative: project-info.html
    • +
    +

    Path

    +

    +

      +
    1. Hibernate 4 Maven Plugin
    2. Project Information
    +

    +
    +
    +
    +

    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

    +
    - - + + - - + + + + + - - - - - + + - - + + - - + + - - - - + - - - - - + + - + - -
    Document Description
    AboutPlugin for generating a database-schema from Hibernate-4-Mapping-Annotations
    CI ManagementThis document lists the continuous integration management system of this project for building and testing code on a frequent, regular basis.
    Plugin ManagementThis document lists the plugins that are defined through pluginManagement.
    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 Management This document provides informations on the distribution management of this project.
    Dependency InformationThis document describes how to to include this project as a dependency using various dependency management tools.
    Source RepositoryThis is a link to the online source repository that can be viewed via a web browser.
    AboutPlugin for generating a database-schema from Hibernate-4-Mapping-Annotations
    Mailing ListsThis document provides subscription and archive information for this project's mailing lists.
    LicensesThis document lists the project license(s).
    Issue TrackingThis is a link to the issue management system for this project. Issues (bugs, features, change requests) can be created and queried using this link.
    Plugin ManagementThis document lists the plugins that are defined through pluginManagement.
    Continuous IntegrationThis is a link to the definitions of all continuous integration processes that builds and tests code on a frequent, regular basis.
    Project PluginsPlugins This document lists the build plugins and the report plugins used by this project.
    Project LicenseThis is a link to the definitions of project licenses.
    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.
    Source Code ManagementThis document lists ways to access the online source repository.
    Project SummarySummary This document lists other related information of this project
    DependenciesThis document lists the project's dependencies and provides information on each dependency.
    -
    - -
    - -
    - - - - - - - + - -
    - - -
    -
    -

    Hibernate 4 Maven Plugin - Project Reports

    -
    -

    Generated Reports

    -

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

    -
    -

    Overview

    - + +

    Generated Reports

    +

    URI

    +
      +
    • site: /projects/hibernate-maven-plugin/1.0.2/project-reports.html
    • +
    • canonical: /hibernate-maven-plugin/project-reports.html
    • +
    • relative: project-reports.html
    • +
    +

    Path

    +

    +

      +
    1. Hibernate 4 Maven Plugin
    2. Project Reports
    +

    +
    +
    +
    +

    Generated Reports

    +

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

    +

    Overview

    +
    @@ -74,93 +399,229 @@ -
    Document Description
    Duplicate code detection.
    Plugin DocumentationThis report provides goals and parameters documentation of a plugin.
    -
    -
    - -

    - - Built by Maven - -

    -
    -
    - -
    -