From: Kai Moritz Date: Mon, 27 Oct 2025 06:27:31 +0000 (+0100) Subject: Moved version `1.0.3` of the `hibernate-maven-plugin` to the refined path X-Git-Url: https://juplo.de/gitweb/?a=commitdiff_plain;h=045aea187efedd77cd651eeb4950b121036fe17f;p=website Moved version `1.0.3` of the `hibernate-maven-plugin` to the refined path --- diff --git a/nginx.conf b/nginx.conf index ce6cfd3..133b728 100644 --- a/nginx.conf +++ b/nginx.conf @@ -38,5 +38,9 @@ server { alias /usr/share/nginx/html/projects/hibernate-maven-plugin/1.0.4/; expires 0; } + location /hibernate4-maven-plugin-1.0.3/ { + alias /usr/share/nginx/html/projects/hibernate-maven-plugin/1.0.3/; + expires 0; + } } diff --git a/projects/hibernate-maven-plugin/1.0.3/apidocs/allclasses-frame.html b/projects/hibernate-maven-plugin/1.0.3/apidocs/allclasses-frame.html new file mode 100644 index 0000000..5ee095e --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.3/apidocs/allclasses-frame.html @@ -0,0 +1,20 @@ + + + + + + +All Classes (Hibernate 4 Maven Plugin 1.0.3 API) + + + + +

All Classes

+
+ +
+ + diff --git a/projects/hibernate-maven-plugin/1.0.3/apidocs/allclasses-noframe.html b/projects/hibernate-maven-plugin/1.0.3/apidocs/allclasses-noframe.html new file mode 100644 index 0000000..4abd537 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.3/apidocs/allclasses-noframe.html @@ -0,0 +1,20 @@ + + + + + + +All Classes (Hibernate 4 Maven Plugin 1.0.3 API) + + + + +

All Classes

+
+ +
+ + diff --git a/projects/hibernate-maven-plugin/1.0.3/apidocs/constant-values.html b/projects/hibernate-maven-plugin/1.0.3/apidocs/constant-values.html new file mode 100644 index 0000000..44b433b --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.3/apidocs/constant-values.html @@ -0,0 +1,200 @@ + + + + + + +Constant Field Values (Hibernate 4 Maven Plugin 1.0.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Constant Field Values

+

Contents

+ +
+
+ + +

de.juplo.*

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

Copyright © 2013. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/1.0.3/apidocs/de/juplo/plugins/hibernate4/Hbm2DdlMojo.html b/projects/hibernate-maven-plugin/1.0.3/apidocs/de/juplo/plugins/hibernate4/Hbm2DdlMojo.html new file mode 100644 index 0000000..df0600e --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.3/apidocs/de/juplo/plugins/hibernate4/Hbm2DdlMojo.html @@ -0,0 +1,435 @@ + + + + + + +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.
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + +
+ + +

Copyright © 2013. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/1.0.3/apidocs/de/juplo/plugins/hibernate4/HelpMojo.html b/projects/hibernate-maven-plugin/1.0.3/apidocs/de/juplo/plugins/hibernate4/HelpMojo.html new file mode 100644 index 0000000..514d3d7 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.3/apidocs/de/juplo/plugins/hibernate4/HelpMojo.html @@ -0,0 +1,296 @@ + + + + + + +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() 
      +
    • +
    + + +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        HelpMojo

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

      Method Detail

      + + + +
        +
      • +

        execute

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

Copyright © 2013. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/1.0.3/apidocs/de/juplo/plugins/hibernate4/class-use/Hbm2DdlMojo.html b/projects/hibernate-maven-plugin/1.0.3/apidocs/de/juplo/plugins/hibernate4/class-use/Hbm2DdlMojo.html new file mode 100644 index 0000000..4f7a11b --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.3/apidocs/de/juplo/plugins/hibernate4/class-use/Hbm2DdlMojo.html @@ -0,0 +1,115 @@ + + + + + + +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 © 2013. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/1.0.3/apidocs/de/juplo/plugins/hibernate4/class-use/HelpMojo.html b/projects/hibernate-maven-plugin/1.0.3/apidocs/de/juplo/plugins/hibernate4/class-use/HelpMojo.html new file mode 100644 index 0000000..f3dd2c7 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.3/apidocs/de/juplo/plugins/hibernate4/class-use/HelpMojo.html @@ -0,0 +1,115 @@ + + + + + + +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 © 2013. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/1.0.3/apidocs/de/juplo/plugins/hibernate4/package-frame.html b/projects/hibernate-maven-plugin/1.0.3/apidocs/de/juplo/plugins/hibernate4/package-frame.html new file mode 100644 index 0000000..2fe816c --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.3/apidocs/de/juplo/plugins/hibernate4/package-frame.html @@ -0,0 +1,21 @@ + + + + + + +de.juplo.plugins.hibernate4 (Hibernate 4 Maven Plugin 1.0.3 API) + + + + +

de.juplo.plugins.hibernate4

+
+

Classes

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

Package de.juplo.plugins.hibernate4

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

Copyright © 2013. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/1.0.3/apidocs/de/juplo/plugins/hibernate4/package-tree.html b/projects/hibernate-maven-plugin/1.0.3/apidocs/de/juplo/plugins/hibernate4/package-tree.html new file mode 100644 index 0000000..6073ff1 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.3/apidocs/de/juplo/plugins/hibernate4/package-tree.html @@ -0,0 +1,129 @@ + + + + + + +de.juplo.plugins.hibernate4 Class Hierarchy (Hibernate 4 Maven Plugin 1.0.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Hierarchy For Package de.juplo.plugins.hibernate4

+
+
+

Class Hierarchy

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

Copyright © 2013. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/1.0.3/apidocs/de/juplo/plugins/hibernate4/package-use.html b/projects/hibernate-maven-plugin/1.0.3/apidocs/de/juplo/plugins/hibernate4/package-use.html new file mode 100644 index 0000000..5f1ce7a --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.3/apidocs/de/juplo/plugins/hibernate4/package-use.html @@ -0,0 +1,115 @@ + + + + + + +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 © 2013. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/1.0.3/apidocs/deprecated-list.html b/projects/hibernate-maven-plugin/1.0.3/apidocs/deprecated-list.html new file mode 100644 index 0000000..ec71390 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.3/apidocs/deprecated-list.html @@ -0,0 +1,115 @@ + + + + + + +Deprecated List (Hibernate 4 Maven Plugin 1.0.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Deprecated API

+

Contents

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

Copyright © 2013. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/1.0.3/apidocs/help-doc.html b/projects/hibernate-maven-plugin/1.0.3/apidocs/help-doc.html new file mode 100644 index 0000000..c9c3fd4 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.3/apidocs/help-doc.html @@ -0,0 +1,216 @@ + + + + + + +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 © 2013. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/1.0.3/apidocs/index-all.html b/projects/hibernate-maven-plugin/1.0.3/apidocs/index-all.html new file mode 100644 index 0000000..9ef079b --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.3/apidocs/index-all.html @@ -0,0 +1,190 @@ + + + + + + +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.
+
+
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 © 2013. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/1.0.3/apidocs/index.html b/projects/hibernate-maven-plugin/1.0.3/apidocs/index.html new file mode 100644 index 0000000..e9e1d69 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.3/apidocs/index.html @@ -0,0 +1,65 @@ + + + + + + +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/projects/hibernate-maven-plugin/1.0.3/apidocs/options b/projects/hibernate-maven-plugin/1.0.3/apidocs/options new file mode 100644 index 0000000..b74ed8d --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.3/apidocs/options @@ -0,0 +1,24 @@ +-classpath +'/home/kai/juplo/hibernate4-maven-plugin/target/classes:/home/kai/.m2/repository/log4j/log4j/1.2.14/log4j-1.2.14.jar:/home/kai/.m2/repository/org/apache/maven/maven-core/3.0.4/maven-core-3.0.4.jar:/home/kai/.m2/repository/org/hibernate/hibernate-entitymanager/4.2.5.Final/hibernate-entitymanager-4.2.5.Final.jar:/home/kai/.m2/repository/org/codehaus/plexus/plexus-classworlds/2.4/plexus-classworlds-2.4.jar:/home/kai/.m2/repository/org/apache/maven/maven-model-builder/3.0.4/maven-model-builder-3.0.4.jar:/home/kai/.m2/repository/org/sonatype/aether/aether-spi/1.13.1/aether-spi-1.13.1.jar:/home/kai/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar:/home/kai/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar:/home/kai/.m2/repository/org/hibernate/hibernate-envers/4.2.5.Final/hibernate-envers-4.2.5.Final.jar:/home/kai/.m2/repository/org/apache/maven/maven-settings/3.0.4/maven-settings-3.0.4.jar:/home/kai/.m2/repository/org/sonatype/sisu/sisu-inject-bean/2.3.0/sisu-inject-bean-2.3.0.jar:/home/kai/.m2/repository/javassist/javassist/3.12.1.GA/javassist-3.12.1.GA.jar:/home/kai/.m2/repository/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.1.Final/hibernate-jpa-2.0-api-1.0.1.Final.jar:/home/kai/.m2/repository/org/apache/maven/maven-artifact/3.0.4/maven-artifact-3.0.4.jar:/home/kai/.m2/repository/org/scannotation/scannotation/1.0.3/scannotation-1.0.3.jar:/home/kai/.m2/repository/com/pyx4j/maven-plugin-log4j/1.0.1/maven-plugin-log4j-1.0.1.jar:/home/kai/.m2/repository/org/jboss/spec/javax/transaction/jboss-transaction-api_1.1_spec/1.0.1.Final/jboss-transaction-api_1.1_spec-1.0.1.Final.jar:/home/kai/.m2/repository/antlr/antlr/2.7.7/antlr-2.7.7.jar:/home/kai/.m2/repository/org/apache/maven/maven-model/3.0.4/maven-model-3.0.4.jar:/home/kai/.m2/repository/org/jboss/logging/jboss-logging/3.1.0.GA/jboss-logging-3.1.0.GA.jar:/home/kai/.m2/repository/org/sonatype/aether/aether-impl/1.13.1/aether-impl-1.13.1.jar:/home/kai/.m2/repository/org/sonatype/sisu/sisu-guice/3.1.0/sisu-guice-3.1.0-no_aop.jar:/home/kai/.m2/repository/org/apache/maven/maven-aether-provider/3.0.4/maven-aether-provider-3.0.4.jar:/home/kai/.m2/repository/org/apache/maven/maven-settings-builder/3.0.4/maven-settings-builder-3.0.4.jar:/home/kai/.m2/repository/org/apache/maven/maven-repository-metadata/3.0.4/maven-repository-metadata-3.0.4.jar:/home/kai/.m2/repository/org/javassist/javassist/3.15.0-GA/javassist-3.15.0-GA.jar:/home/kai/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar:/home/kai/.m2/repository/org/sonatype/aether/aether-api/1.13.1/aether-api-1.13.1.jar:/home/kai/.m2/repository/org/sonatype/aether/aether-util/1.13.1/aether-util-1.13.1.jar:/home/kai/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.14/plexus-interpolation-1.14.jar:/home/kai/.m2/repository/org/hibernate/hibernate-core/4.2.5.Final/hibernate-core-4.2.5.Final.jar:/home/kai/.m2/repository/org/sonatype/sisu/sisu-inject-plexus/2.3.0/sisu-inject-plexus-2.3.0.jar:/home/kai/.m2/repository/org/apache/maven/maven-plugin-api/3.0.4/maven-plugin-api-3.0.4.jar:/home/kai/.m2/repository/org/hibernate/common/hibernate-commons-annotations/4.0.2.Final/hibernate-commons-annotations-4.0.2.Final.jar:/home/kai/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar:/home/kai/.m2/repository/org/sonatype/sisu/sisu-guava/0.9.9/sisu-guava-0.9.9.jar' +-encoding +'UTF-8' +-protected +-sourcepath +'/home/kai/juplo/hibernate4-maven-plugin/src/main/java:/home/kai/juplo/hibernate4-maven-plugin/target/generated-sources/plugin' +-author +-bottom +'Copyright © 2013. All Rights Reserved.' +-charset +'UTF-8' +-d +'/home/kai/juplo/hibernate4-maven-plugin/target/site/apidocs' +-docencoding +'UTF-8' +-doctitle +'Hibernate 4 Maven Plugin 1.0.3 API' +-link +'http://java.sun.com/javase/6/docs/api' +-use +-version +-windowtitle +'Hibernate 4 Maven Plugin 1.0.3 API' \ No newline at end of file diff --git a/projects/hibernate-maven-plugin/1.0.3/apidocs/overview-tree.html b/projects/hibernate-maven-plugin/1.0.3/apidocs/overview-tree.html new file mode 100644 index 0000000..71de4dd --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.3/apidocs/overview-tree.html @@ -0,0 +1,133 @@ + + + + + + +Class Hierarchy (Hibernate 4 Maven Plugin 1.0.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Hierarchy For All Packages

+Package Hierarchies: + +
+
+

Class Hierarchy

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

Copyright © 2013. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/1.0.3/apidocs/package-list b/projects/hibernate-maven-plugin/1.0.3/apidocs/package-list new file mode 100644 index 0000000..0530771 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.3/apidocs/package-list @@ -0,0 +1 @@ +de.juplo.plugins.hibernate4 diff --git a/projects/hibernate-maven-plugin/1.0.3/apidocs/packages b/projects/hibernate-maven-plugin/1.0.3/apidocs/packages new file mode 100644 index 0000000..c4b5140 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.3/apidocs/packages @@ -0,0 +1 @@ +de.juplo.plugins.hibernate4 \ No newline at end of file diff --git a/projects/hibernate-maven-plugin/1.0.3/apidocs/resources/background.gif b/projects/hibernate-maven-plugin/1.0.3/apidocs/resources/background.gif new file mode 100644 index 0000000..f471940 Binary files /dev/null and b/projects/hibernate-maven-plugin/1.0.3/apidocs/resources/background.gif differ diff --git a/projects/hibernate-maven-plugin/1.0.3/apidocs/resources/tab.gif b/projects/hibernate-maven-plugin/1.0.3/apidocs/resources/tab.gif new file mode 100644 index 0000000..1a73a83 Binary files /dev/null and b/projects/hibernate-maven-plugin/1.0.3/apidocs/resources/tab.gif differ diff --git a/projects/hibernate-maven-plugin/1.0.3/apidocs/resources/titlebar.gif b/projects/hibernate-maven-plugin/1.0.3/apidocs/resources/titlebar.gif new file mode 100644 index 0000000..17443b3 Binary files /dev/null and b/projects/hibernate-maven-plugin/1.0.3/apidocs/resources/titlebar.gif differ diff --git a/projects/hibernate-maven-plugin/1.0.3/apidocs/resources/titlebar_end.gif b/projects/hibernate-maven-plugin/1.0.3/apidocs/resources/titlebar_end.gif new file mode 100644 index 0000000..3ad78d4 Binary files /dev/null and b/projects/hibernate-maven-plugin/1.0.3/apidocs/resources/titlebar_end.gif differ diff --git a/projects/hibernate-maven-plugin/1.0.3/apidocs/stylesheet.css b/projects/hibernate-maven-plugin/1.0.3/apidocs/stylesheet.css new file mode 100644 index 0000000..0aeaa97 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.3/apidocs/stylesheet.css @@ -0,0 +1,474 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ +body { + background-color:#ffffff; + color:#353833; + font-family:Arial, Helvetica, sans-serif; + font-size:76%; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4c6b87; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4c6b87; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-size:1.3em; +} +h1 { + font-size:1.8em; +} +h2 { + font-size:1.5em; +} +h3 { + font-size:1.4em; +} +h4 { + font-size:1.3em; +} +h5 { + font-size:1.2em; +} +h6 { + font-size:1.1em; +} +ul { + list-style-type:disc; +} +code, tt { + font-size:1.2em; +} +dt code { + font-size:1.2em; +} +table tr td dt code { + font-size:1.2em; + vertical-align:top; +} +sup { + font-size:.6em; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:.8em; + z-index:200; + margin-top:-7px; +} +.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; + background-image:url(resources/titlebar.gif); + background-position:left top; + background-repeat:no-repeat; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-image:url(resources/background.gif); + background-repeat:repeat-x; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:1em; + margin:0; +} +.topNav { + background-image:url(resources/background.gif); + background-repeat:repeat-x; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; +} +.bottomNav { + margin-top:10px; + background-image:url(resources/background.gif); + background-repeat:repeat-x; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; +} +.subNav { + background-color:#dee3e9; + border-bottom:1px solid #9eadc0; + float:left; + width:100%; + overflow:hidden; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding:3px 6px; +} +ul.subNavList li{ + list-style:none; + float:left; + font-size:90%; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; +} +.navBarCell1Rev { + background-image:url(resources/tab.gif); + background-color:#a88834; + color:#FFFFFF; + margin: auto 5px; + border:1px solid #c9aa44; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader h1 { + font-size:1.3em; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 25px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:1.2em; +} +/* +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-top:1px solid #9eadc0; + border-bottom:1px solid #9eadc0; + margin:0 0 6px -8px; + padding:2px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border-top:1px solid #9eadc0; + border-bottom:1px solid #9eadc0; + margin:0 0 6px -8px; + padding:2px 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:1.0em; +} +.indexContainer h2 { + font-size:1.1em; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:1.1em; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:10px 0 10px 20px; +} +.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:25px; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #9eadc0; + background-color:#f9f9f9; +} +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:1px solid #9eadc0; + border-top:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; + border-bottom:1px solid #9eadc0; +} +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 +*/ +.contentContainer table, .classUseContainer table, .constantValuesContainer table { + border-bottom:1px solid #9eadc0; + width:100%; +} +.contentContainer ul li table, .classUseContainer ul li table, .constantValuesContainer ul li table { + width:100%; +} +.contentContainer .description table, .contentContainer .details table { + border-bottom:none; +} +.contentContainer ul li table th.colOne, .contentContainer ul li table th.colFirst, .contentContainer ul li table th.colLast, .classUseContainer ul li table th, .constantValuesContainer ul li table th, .contentContainer ul li table td.colOne, .contentContainer ul li table td.colFirst, .contentContainer ul li table td.colLast, .classUseContainer ul li table td, .constantValuesContainer ul li table td{ + vertical-align:top; + padding-right:20px; +} +.contentContainer ul li table th.colLast, .classUseContainer ul li table th.colLast,.constantValuesContainer ul li table th.colLast, +.contentContainer ul li table td.colLast, .classUseContainer ul li table td.colLast,.constantValuesContainer ul li table td.colLast, +.contentContainer ul li table th.colOne, .classUseContainer ul li table th.colOne, +.contentContainer ul li table td.colOne, .classUseContainer ul li table td.colOne { + padding-right:3px; +} +.overviewSummary caption, .packageSummary caption, .contentContainer ul.blockList li.blockList caption, .summary caption, .classUseContainer caption, .constantValuesContainer caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#FFFFFF; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + margin:0px; +} +caption a:link, caption a:hover, caption a:active, caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .packageSummary caption span, .contentContainer ul.blockList li.blockList caption span, .summary caption span, .classUseContainer caption span, .constantValuesContainer caption span { + white-space:nowrap; + padding-top:8px; + padding-left:8px; + display:block; + float:left; + background-image:url(resources/titlebar.gif); + height:18px; +} +.overviewSummary .tabEnd, .packageSummary .tabEnd, .contentContainer ul.blockList li.blockList .tabEnd, .summary .tabEnd, .classUseContainer .tabEnd, .constantValuesContainer .tabEnd { + width:10px; + background-image:url(resources/titlebar_end.gif); + background-repeat:no-repeat; + background-position:top right; + position:relative; + float:left; +} +ul.blockList ul.blockList li.blockList table { + margin:0 0 12px 0px; + width:100%; +} +.tableSubHeadingColor { + background-color: #EEEEFF; +} +.altColor { + background-color:#eeeeef; +} +.rowColor { + background-color:#ffffff; +} +.overviewSummary td, .packageSummary td, .contentContainer ul.blockList li.blockList td, .summary td, .classUseContainer td, .constantValuesContainer td { + text-align:left; + padding:3px 3px 3px 7px; +} +th.colFirst, th.colLast, th.colOne, .constantValuesContainer th { + background:#dee3e9; + border-top:1px solid #9eadc0; + border-bottom:1px solid #9eadc0; + text-align:left; + padding:3px 3px 3px 7px; +} +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; +} +td.colFirst, th.colFirst { + border-left:1px solid #9eadc0; + white-space:nowrap; +} +td.colLast, th.colLast { + border-right:1px solid #9eadc0; +} +td.colOne, th.colOne { + border-right:1px solid #9eadc0; + border-left:1px solid #9eadc0; +} +table.overviewSummary { + padding:0px; + margin-left:0px; +} +table.overviewSummary td.colFirst, table.overviewSummary th.colFirst, +table.overviewSummary td.colOne, table.overviewSummary th.colOne { + width:25%; + vertical-align:middle; +} +table.packageSummary td.colFirst, table.overviewSummary th.colFirst { + width:25%; + vertical-align:middle; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:.9em; +} +.block { + display:block; + margin:3px 0 0 0; +} +.strong { + font-weight:bold; +} diff --git a/projects/hibernate-maven-plugin/1.0.3/configuration.html b/projects/hibernate-maven-plugin/1.0.3/configuration.html new file mode 100644 index 0000000..c9d2866 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.3/configuration.html @@ -0,0 +1,266 @@ + + + + + + + + + juplo - Hibernate 4 Maven Plugin - Configuration Examples + + + + + + + + + + + + + + +
+ + +
+
+
+

Hibernate 4 Maven Plugin - 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>
+  <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>${project.version}</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.

+
+

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.

+

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>
+
+...
+
+<plugins>
+
+  ...
+
+  <plugin>
+    <groupId>de.juplo</groupId>
+    <artifactId>hibernate4-maven-plugin</artifactId>
+    <version>${project.version}</version>
+    <executions>
+      <execution>
+        <goals>
+          <goal>export</goal>
+        </goals>
+      </execution>
+    </executions>
+    <configuration>
+      <url><![CDATA[jdbc:hsqldb:target/db/testdb;shutdown=true]]></url>
+    </configuration>
+  </plugin>
+
+<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
+

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

+
    +
  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>${project.version}</version>
+  <executions>
+    <execution>
+      <goals>
+        <goal>export</goal>
+      </goals>
+    </execution>
+  </executions>
+  <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

+

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

+

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

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GroupIdArtifactIdVersionTypeLicense
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.3jar-
+
+

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:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GroupIdArtifactIdVersionClassifierTypeLicense
antlrantlr2.7.7-jarBSD License
dom4jdom4j1.6.1-jar-
javassistjavassist3.12.1.GA-jarMPL 1.1-LGPL 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-jarlicense.txt
org.javassistjavassist3.15.0-GA-jarMPL 1.1-LGPL 2.1-Apache 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 License-GNU 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.0-Eclipse Public License, Version 1.0
org.sonatype.sisusisu-inject-plexus2.3.0-jarEclipse Public License, Version 1.0
+
+

Project Dependency Graph

+ +
+

Dependency Tree

+
+
+

Licenses

+

Unamed: JPA 2.0 API

+

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

+

GNU LESSER GENERAL PUBLIC LICENSE: Hibernate Commons Annotations

+

Unknown: dom4j, scannotation

+

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: A Hibernate Core Module

+

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

+

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

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FilenameSizeEntriesClassesPackagesJDK 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.12.1.GA.jar629.05 kB390366171.4debug
log4j-1.2.14.jar358.83 kB288256191.1debug
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.5.Final.jar4.41 MB3,1912,9821701.6debug
hibernate-entitymanager-4.2.5.Final.jar473.46 kB334309151.6debug
hibernate-envers-4.2.5.Final.jar403.09 kB300253351.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
scannotation-1.0.3.jar18.33 kB231321.5debug
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
TotalSizeEntriesClassesPackagesJDK RevDebug
3611.69 MB9,1118,1335131.635
compile: 36compile: 11.69 MBcompile: 9,111compile: 8,133compile: 513-compile: 35
+
+

Dependency Repository Locations

+ + + + + + + + + + + + + + + + + + + + + + + + + +
Repo IDURLReleaseSnapshot
apache.snapshotshttp://repository.apache.org/snapshots-Yes
sonatype-nexus-snapshotshttps://oss.sonatype.org/content/repositories/snapshots-Yes
jbosshttp://repository.jboss.org/nexus/content/groups/public/YesYes
centralhttp://repo.maven.apache.org/maven2Yes-
+

Repository locations for each of the Dependencies.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Artifactapache.snapshotssonatype-nexus-snapshotsjbosscentral
antlr:antlr:jar:2.7.7--Found at http://repository.jboss.org/nexus/content/groups/public/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://repository.jboss.org/nexus/content/groups/public/Found at http://repo.maven.apache.org/maven2
javassist:javassist:jar:3.12.1.GA--Found at http://repository.jboss.org/nexus/content/groups/public/Found at http://repo.maven.apache.org/maven2
log4j:log4j:jar:1.2.14---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://repository.jboss.org/nexus/content/groups/public/Found at http://repo.maven.apache.org/maven2
org.codehaus.plexus:plexus-component-annotations:jar:1.5.5--Found at http://repository.jboss.org/nexus/content/groups/public/Found at http://repo.maven.apache.org/maven2
org.codehaus.plexus:plexus-interpolation:jar:1.14--Found at http://repository.jboss.org/nexus/content/groups/public/Found at http://repo.maven.apache.org/maven2
org.hibernate:hibernate-core:jar:4.2.5.Final--Found at http://repository.jboss.org/nexus/content/groups/public/Found at http://repo.maven.apache.org/maven2
org.hibernate:hibernate-entitymanager:jar:4.2.5.Final--Found at http://repository.jboss.org/nexus/content/groups/public/Found at http://repo.maven.apache.org/maven2
org.hibernate:hibernate-envers:jar:4.2.5.Final--Found at http://repository.jboss.org/nexus/content/groups/public/Found at http://repo.maven.apache.org/maven2
org.hibernate.common:hibernate-commons-annotations:jar:4.0.2.Final--Found at http://repository.jboss.org/nexus/content/groups/public/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://repository.jboss.org/nexus/content/groups/public/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://repository.jboss.org/nexus/content/groups/public/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://repository.jboss.org/nexus/content/groups/public/Found at http://repo.maven.apache.org/maven2
org.scannotation:scannotation:jar:1.0.3--Found at http://repository.jboss.org/nexus/content/groups/public/Found at http://repo.maven.apache.org/maven2
org.sonatype.aether:aether-api:jar:1.13.1--Found at http://repository.jboss.org/nexus/content/groups/public/Found at http://repo.maven.apache.org/maven2
org.sonatype.aether:aether-impl:jar:1.13.1--Found at http://repository.jboss.org/nexus/content/groups/public/Found at http://repo.maven.apache.org/maven2
org.sonatype.aether:aether-spi:jar:1.13.1--Found at http://repository.jboss.org/nexus/content/groups/public/Found at http://repo.maven.apache.org/maven2
org.sonatype.aether:aether-util:jar:1.13.1--Found at http://repository.jboss.org/nexus/content/groups/public/Found at http://repo.maven.apache.org/maven2
org.sonatype.plexus:plexus-cipher:jar:1.4--Found at http://repository.jboss.org/nexus/content/groups/public/Found at http://repo.maven.apache.org/maven2
org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3--Found at http://repository.jboss.org/nexus/content/groups/public/Found at http://repo.maven.apache.org/maven2
org.sonatype.sisu:sisu-guava:jar:0.9.9--Found at http://repository.jboss.org/nexus/content/groups/public/Found at http://repo.maven.apache.org/maven2
org.sonatype.sisu:sisu-guice:jar:no_aop:3.1.0--Found at http://repository.jboss.org/nexus/content/groups/public/Found at http://repo.maven.apache.org/maven2
org.sonatype.sisu:sisu-inject-bean:jar:2.3.0--Found at http://repository.jboss.org/nexus/content/groups/public/Found at http://repo.maven.apache.org/maven2
org.sonatype.sisu:sisu-inject-plexus:jar:2.3.0--Found at http://repository.jboss.org/nexus/content/groups/public/Found at http://repo.maven.apache.org/maven2
Totalapache.snapshotssonatype-nexus-snapshotsjbosscentral
36 (compile: 36)002436
+
+ +
+
+
+
+ +
+
+ + + + + + + + + +
+ + +
+
+
+

Hibernate 4 Maven Plugin - Dependency Information

+
+

Dependency Information

+
+

Apache Maven

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

Apache Buildr

+
+
'de.juplo:hibernate4-maven-plugin:maven-plugin:1.0.3'
+
+

Apache Ant

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

Groovy Grape

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

Grails

+
+
compile 'de.juplo:hibernate4-maven-plugin:1.0.3'
+
+

Leiningen

+
+
[de.juplo/hibernate4-maven-plugin "1.0.3"]
+
+

SBT

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

+ + Built by Maven + +

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

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

+
+
+ +

+ + Built by Maven + +

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

Hibernate 4 Maven Plugin - Parameter Documentation

+ + +
+

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

+ + Built by Maven + +

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

Hibernate 4 Maven Plugin - 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>${project.version}</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 - + hibernate4:help

+ + +
+

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

+ + Built by Maven + +

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

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

+
+
+
+ +

+ + Built by Maven + +

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

Hibernate 4 Maven Plugin - Continuous Integration

+
+

Overview

+

This project uses Continuum.

+
+

Access

+

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

+
+
+

Notifiers

+

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

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

+ + Built by Maven + +

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

Hibernate 4 Maven Plugin - 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 - Project License

+
+

Overview

+

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

+
+

Project License

+
+

The Apache Software License, Version 2.0

+

A business-friendly OSS license

+
+
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+
+
+ +
+
+
+
+ +
+
+ + + + + + + + + + +
+ + +
+
+
+

Hibernate 4 Maven Plugin - 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)

+
+

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

+
+

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 = 
+[INFO]   hibernate.dialect = org.hibernate.dialect.HSQLDialect
+[INFO]   hibernate.connection.url = jdbc:hsqldb:/home/kai/mmf/target/mmf;shutdown=true
+[INFO]   hibernate.connection.driver_class = org.hsqldb.jdbcDriver
+[ERROR] Dependency for driver-class org.hsqldb.jdbcDriver is missing!
+[INFO] ------------------------------------------------------------------------
+[ERROR] BUILD ERROR
+[INFO] ------------------------------------------------------------------------
+[INFO] org.hsqldb.jdbcDriver
+[INFO] ------------------------------------------------------------------------
+[INFO] For more information, run Maven with the -e switch
+[INFO] ------------------------------------------------------------------------
+[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>${project.version}</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>
+
+

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

+
+
+ +

+ + Built by Maven + +

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

Hibernate 4 Maven Plugin - Plugin Documentation

+
+

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:

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

+ + + + + + + + + + + + + + + + + + + + + + + + +
GroupIdArtifactIdVersion
org.apache.maven.pluginsmaven-antrun-plugin1.3
org.apache.maven.pluginsmaven-assembly-plugin2.2-beta-5
org.apache.maven.pluginsmaven-dependency-plugin2.1
org.apache.maven.pluginsmaven-release-plugin2.1
org.apache.maven.pluginsmaven-site-plugin3.3
+
+ +
+
+
+
+ +
+
+ + + + + + + + + +
+ + +
+
+
+

Hibernate 4 Maven Plugin - Project Plugins

+
+

Project Build Plugins

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GroupIdArtifactIdVersion
org.apache.maven.pluginsmaven-clean-plugin2.3
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.3
org.apache.maven.pluginsmaven-jar-plugin2.2
org.apache.maven.pluginsmaven-plugin-plugin3.2
org.apache.maven.pluginsmaven-resources-plugin2.3
org.apache.maven.pluginsscp://people.apache.org/www/maven.apache.org/scm/maven-scm-plugin1.7
org.apache.maven.pluginsmaven-site-plugin3.3
org.apache.maven.pluginsmaven-source-plugin2.1.2
org.apache.maven.pluginsmaven-surefire-plugin2.10
+
+

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-site-plugin3.3
+
+ +
+
+
+
+ +
+
+ + + + + + + + + +
+ + +
+
+
+

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

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
DocumentDescription
AboutPlugin for generating a database-schema from Hibernate-4-Mapping-Annotations
Plugin ManagementThis document lists the plugins that are defined through pluginManagement.
Distribution ManagementThis 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.
Mailing ListsThis document provides subscription and archive information for this project's mailing lists.
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.
Continuous IntegrationThis is a link to the definitions of all continuous integration processes that builds and tests code on a frequent, regular basis.
Project PluginsThis 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.
Project SummaryThis 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

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

+ + Built by Maven + +

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

Hibernate 4 Maven Plugin - Project Summary

+
+

Project Summary

+
+

Project Information

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

Project Organization

+

This project does not belong to an organization.

+
+

Build Information

+ + + + + + + + + + + + + + + + + + +
FieldValue
GroupIdde.juplo
ArtifactIdhibernate4-maven-plugin
Version1.0.3
Typemaven-plugin
JDK Rev1.6
+
+ +
+
+
+
+ +
+
+ + + + + + + + + + +
+ + +
+
+
+

Hibernate 4 Maven Plugin - 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>
+  ...
+  <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.

+
+
+ +

+ + Built by Maven + +

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

Hibernate 4 Maven Plugin - Source Repository

+
+

Overview

+

This project uses GIT to manage its source code. Instructions on GIT use can be found at http://git-scm.com/documentation.

+
+

Web Access

+

The following is a link to the online source repository.

+
+
+

Anonymous access

+

The source can be checked out anonymously from GIT with this command (See http://git-scm.com/docs/git-clone):

+
+
$ git clone http://juplo.de/git/hibernate4-maven-plugin
+
+

Developer access

+

Only project developers can access the GIT tree via this method (See http://git-scm.com/docs/git-clone).

+
+
$ git clone ssh://juplo.de/var/lib/git/juplo/hibernate4-maven-plugin
+
+

Access from behind a firewall

+

Refer to the documentation of the SCM used for more information about access behind a firewall.

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

Hibernate 4 Maven Plugin - Project Team

+
+

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

Constant Field Values

-

Contents

- -
-
- - -

de.juplo.*

- -
- -
- - - - - -
- - -

Copyright © 2013. All Rights Reserved.

- - diff --git a/projects/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/Hbm2DdlMojo.html b/projects/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/Hbm2DdlMojo.html deleted file mode 100644 index df0600e..0000000 --- a/projects/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/Hbm2DdlMojo.html +++ /dev/null @@ -1,435 +0,0 @@ - - - - - - -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.
    -
  • -
-
-
- -
-
- -
-
- - -
- - - - - -
- - -

Copyright © 2013. All Rights Reserved.

- - diff --git a/projects/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/HelpMojo.html b/projects/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/HelpMojo.html deleted file mode 100644 index 514d3d7..0000000 --- a/projects/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/HelpMojo.html +++ /dev/null @@ -1,296 +0,0 @@ - - - - - - -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() 
      -
    • -
    - - -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        HelpMojo

        -
        public HelpMojo()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        execute

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

Copyright © 2013. All Rights Reserved.

- - diff --git a/projects/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/class-use/Hbm2DdlMojo.html b/projects/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/class-use/Hbm2DdlMojo.html deleted file mode 100644 index 4f7a11b..0000000 --- a/projects/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/class-use/Hbm2DdlMojo.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - -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 © 2013. All Rights Reserved.

- - diff --git a/projects/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/class-use/HelpMojo.html b/projects/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/class-use/HelpMojo.html deleted file mode 100644 index f3dd2c7..0000000 --- a/projects/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/class-use/HelpMojo.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - -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 © 2013. All Rights Reserved.

- - diff --git a/projects/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/package-frame.html b/projects/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/package-frame.html deleted file mode 100644 index 2fe816c..0000000 --- a/projects/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/package-frame.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - -de.juplo.plugins.hibernate4 (Hibernate 4 Maven Plugin 1.0.3 API) - - - - -

de.juplo.plugins.hibernate4

-
-

Classes

- -
- - diff --git a/projects/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/package-summary.html b/projects/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/package-summary.html deleted file mode 100644 index b7eb9c6..0000000 --- a/projects/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/package-summary.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - -de.juplo.plugins.hibernate4 (Hibernate 4 Maven Plugin 1.0.3 API) - - - - - - - -
- - - - - -
- - -
-

Package de.juplo.plugins.hibernate4

-
-
- -
- -
- - - - - -
- - -

Copyright © 2013. All Rights Reserved.

- - diff --git a/projects/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/package-tree.html b/projects/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/package-tree.html deleted file mode 100644 index 6073ff1..0000000 --- a/projects/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/package-tree.html +++ /dev/null @@ -1,129 +0,0 @@ - - - - - - -de.juplo.plugins.hibernate4 Class Hierarchy (Hibernate 4 Maven Plugin 1.0.3 API) - - - - - - - -
- - - - - -
- - -
-

Hierarchy For Package de.juplo.plugins.hibernate4

-
-
-

Class Hierarchy

- -
- -
- - - - - -
- - -

Copyright © 2013. All Rights Reserved.

- - diff --git a/projects/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/package-use.html b/projects/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/package-use.html deleted file mode 100644 index 5f1ce7a..0000000 --- a/projects/hibernate4-maven-plugin-1.0.3/apidocs/de/juplo/plugins/hibernate4/package-use.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - -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 © 2013. All Rights Reserved.

- - diff --git a/projects/hibernate4-maven-plugin-1.0.3/apidocs/deprecated-list.html b/projects/hibernate4-maven-plugin-1.0.3/apidocs/deprecated-list.html deleted file mode 100644 index ec71390..0000000 --- a/projects/hibernate4-maven-plugin-1.0.3/apidocs/deprecated-list.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - -Deprecated List (Hibernate 4 Maven Plugin 1.0.3 API) - - - - - - - -
- - - - - -
- - -
-

Deprecated API

-

Contents

-
- -
- - - - - -
- - -

Copyright © 2013. All Rights Reserved.

- - diff --git a/projects/hibernate4-maven-plugin-1.0.3/apidocs/help-doc.html b/projects/hibernate4-maven-plugin-1.0.3/apidocs/help-doc.html deleted file mode 100644 index c9c3fd4..0000000 --- a/projects/hibernate4-maven-plugin-1.0.3/apidocs/help-doc.html +++ /dev/null @@ -1,216 +0,0 @@ - - - - - - -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 © 2013. All Rights Reserved.

- - diff --git a/projects/hibernate4-maven-plugin-1.0.3/apidocs/index-all.html b/projects/hibernate4-maven-plugin-1.0.3/apidocs/index-all.html deleted file mode 100644 index 9ef079b..0000000 --- a/projects/hibernate4-maven-plugin-1.0.3/apidocs/index-all.html +++ /dev/null @@ -1,190 +0,0 @@ - - - - - - -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.
-
-
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 © 2013. All Rights Reserved.

- - diff --git a/projects/hibernate4-maven-plugin-1.0.3/apidocs/index.html b/projects/hibernate4-maven-plugin-1.0.3/apidocs/index.html deleted file mode 100644 index e9e1d69..0000000 --- a/projects/hibernate4-maven-plugin-1.0.3/apidocs/index.html +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - -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/projects/hibernate4-maven-plugin-1.0.3/apidocs/options b/projects/hibernate4-maven-plugin-1.0.3/apidocs/options deleted file mode 100644 index b74ed8d..0000000 --- a/projects/hibernate4-maven-plugin-1.0.3/apidocs/options +++ /dev/null @@ -1,24 +0,0 @@ --classpath -'/home/kai/juplo/hibernate4-maven-plugin/target/classes:/home/kai/.m2/repository/log4j/log4j/1.2.14/log4j-1.2.14.jar:/home/kai/.m2/repository/org/apache/maven/maven-core/3.0.4/maven-core-3.0.4.jar:/home/kai/.m2/repository/org/hibernate/hibernate-entitymanager/4.2.5.Final/hibernate-entitymanager-4.2.5.Final.jar:/home/kai/.m2/repository/org/codehaus/plexus/plexus-classworlds/2.4/plexus-classworlds-2.4.jar:/home/kai/.m2/repository/org/apache/maven/maven-model-builder/3.0.4/maven-model-builder-3.0.4.jar:/home/kai/.m2/repository/org/sonatype/aether/aether-spi/1.13.1/aether-spi-1.13.1.jar:/home/kai/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar:/home/kai/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar:/home/kai/.m2/repository/org/hibernate/hibernate-envers/4.2.5.Final/hibernate-envers-4.2.5.Final.jar:/home/kai/.m2/repository/org/apache/maven/maven-settings/3.0.4/maven-settings-3.0.4.jar:/home/kai/.m2/repository/org/sonatype/sisu/sisu-inject-bean/2.3.0/sisu-inject-bean-2.3.0.jar:/home/kai/.m2/repository/javassist/javassist/3.12.1.GA/javassist-3.12.1.GA.jar:/home/kai/.m2/repository/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.1.Final/hibernate-jpa-2.0-api-1.0.1.Final.jar:/home/kai/.m2/repository/org/apache/maven/maven-artifact/3.0.4/maven-artifact-3.0.4.jar:/home/kai/.m2/repository/org/scannotation/scannotation/1.0.3/scannotation-1.0.3.jar:/home/kai/.m2/repository/com/pyx4j/maven-plugin-log4j/1.0.1/maven-plugin-log4j-1.0.1.jar:/home/kai/.m2/repository/org/jboss/spec/javax/transaction/jboss-transaction-api_1.1_spec/1.0.1.Final/jboss-transaction-api_1.1_spec-1.0.1.Final.jar:/home/kai/.m2/repository/antlr/antlr/2.7.7/antlr-2.7.7.jar:/home/kai/.m2/repository/org/apache/maven/maven-model/3.0.4/maven-model-3.0.4.jar:/home/kai/.m2/repository/org/jboss/logging/jboss-logging/3.1.0.GA/jboss-logging-3.1.0.GA.jar:/home/kai/.m2/repository/org/sonatype/aether/aether-impl/1.13.1/aether-impl-1.13.1.jar:/home/kai/.m2/repository/org/sonatype/sisu/sisu-guice/3.1.0/sisu-guice-3.1.0-no_aop.jar:/home/kai/.m2/repository/org/apache/maven/maven-aether-provider/3.0.4/maven-aether-provider-3.0.4.jar:/home/kai/.m2/repository/org/apache/maven/maven-settings-builder/3.0.4/maven-settings-builder-3.0.4.jar:/home/kai/.m2/repository/org/apache/maven/maven-repository-metadata/3.0.4/maven-repository-metadata-3.0.4.jar:/home/kai/.m2/repository/org/javassist/javassist/3.15.0-GA/javassist-3.15.0-GA.jar:/home/kai/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar:/home/kai/.m2/repository/org/sonatype/aether/aether-api/1.13.1/aether-api-1.13.1.jar:/home/kai/.m2/repository/org/sonatype/aether/aether-util/1.13.1/aether-util-1.13.1.jar:/home/kai/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.14/plexus-interpolation-1.14.jar:/home/kai/.m2/repository/org/hibernate/hibernate-core/4.2.5.Final/hibernate-core-4.2.5.Final.jar:/home/kai/.m2/repository/org/sonatype/sisu/sisu-inject-plexus/2.3.0/sisu-inject-plexus-2.3.0.jar:/home/kai/.m2/repository/org/apache/maven/maven-plugin-api/3.0.4/maven-plugin-api-3.0.4.jar:/home/kai/.m2/repository/org/hibernate/common/hibernate-commons-annotations/4.0.2.Final/hibernate-commons-annotations-4.0.2.Final.jar:/home/kai/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar:/home/kai/.m2/repository/org/sonatype/sisu/sisu-guava/0.9.9/sisu-guava-0.9.9.jar' --encoding -'UTF-8' --protected --sourcepath -'/home/kai/juplo/hibernate4-maven-plugin/src/main/java:/home/kai/juplo/hibernate4-maven-plugin/target/generated-sources/plugin' --author --bottom -'Copyright © 2013. All Rights Reserved.' --charset -'UTF-8' --d -'/home/kai/juplo/hibernate4-maven-plugin/target/site/apidocs' --docencoding -'UTF-8' --doctitle -'Hibernate 4 Maven Plugin 1.0.3 API' --link -'http://java.sun.com/javase/6/docs/api' --use --version --windowtitle -'Hibernate 4 Maven Plugin 1.0.3 API' \ No newline at end of file diff --git a/projects/hibernate4-maven-plugin-1.0.3/apidocs/overview-tree.html b/projects/hibernate4-maven-plugin-1.0.3/apidocs/overview-tree.html deleted file mode 100644 index 71de4dd..0000000 --- a/projects/hibernate4-maven-plugin-1.0.3/apidocs/overview-tree.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - -Class Hierarchy (Hibernate 4 Maven Plugin 1.0.3 API) - - - - - - - -
- - - - - -
- - -
-

Hierarchy For All Packages

-Package Hierarchies: - -
-
-

Class Hierarchy

- -
- -
- - - - - -
- - -

Copyright © 2013. All Rights Reserved.

- - diff --git a/projects/hibernate4-maven-plugin-1.0.3/apidocs/package-list b/projects/hibernate4-maven-plugin-1.0.3/apidocs/package-list deleted file mode 100644 index 0530771..0000000 --- a/projects/hibernate4-maven-plugin-1.0.3/apidocs/package-list +++ /dev/null @@ -1 +0,0 @@ -de.juplo.plugins.hibernate4 diff --git a/projects/hibernate4-maven-plugin-1.0.3/apidocs/packages b/projects/hibernate4-maven-plugin-1.0.3/apidocs/packages deleted file mode 100644 index c4b5140..0000000 --- a/projects/hibernate4-maven-plugin-1.0.3/apidocs/packages +++ /dev/null @@ -1 +0,0 @@ -de.juplo.plugins.hibernate4 \ No newline at end of file diff --git a/projects/hibernate4-maven-plugin-1.0.3/apidocs/resources/background.gif b/projects/hibernate4-maven-plugin-1.0.3/apidocs/resources/background.gif deleted file mode 100644 index f471940..0000000 Binary files a/projects/hibernate4-maven-plugin-1.0.3/apidocs/resources/background.gif and /dev/null differ diff --git a/projects/hibernate4-maven-plugin-1.0.3/apidocs/resources/tab.gif b/projects/hibernate4-maven-plugin-1.0.3/apidocs/resources/tab.gif deleted file mode 100644 index 1a73a83..0000000 Binary files a/projects/hibernate4-maven-plugin-1.0.3/apidocs/resources/tab.gif and /dev/null differ diff --git a/projects/hibernate4-maven-plugin-1.0.3/apidocs/resources/titlebar.gif b/projects/hibernate4-maven-plugin-1.0.3/apidocs/resources/titlebar.gif deleted file mode 100644 index 17443b3..0000000 Binary files a/projects/hibernate4-maven-plugin-1.0.3/apidocs/resources/titlebar.gif and /dev/null differ diff --git a/projects/hibernate4-maven-plugin-1.0.3/apidocs/resources/titlebar_end.gif b/projects/hibernate4-maven-plugin-1.0.3/apidocs/resources/titlebar_end.gif deleted file mode 100644 index 3ad78d4..0000000 Binary files a/projects/hibernate4-maven-plugin-1.0.3/apidocs/resources/titlebar_end.gif and /dev/null differ diff --git a/projects/hibernate4-maven-plugin-1.0.3/apidocs/stylesheet.css b/projects/hibernate4-maven-plugin-1.0.3/apidocs/stylesheet.css deleted file mode 100644 index 0aeaa97..0000000 --- a/projects/hibernate4-maven-plugin-1.0.3/apidocs/stylesheet.css +++ /dev/null @@ -1,474 +0,0 @@ -/* Javadoc style sheet */ -/* -Overall document style -*/ -body { - background-color:#ffffff; - color:#353833; - font-family:Arial, Helvetica, sans-serif; - font-size:76%; - margin:0; -} -a:link, a:visited { - text-decoration:none; - color:#4c6b87; -} -a:hover, a:focus { - text-decoration:none; - color:#bb7a2a; -} -a:active { - text-decoration:none; - color:#4c6b87; -} -a[name] { - color:#353833; -} -a[name]:hover { - text-decoration:none; - color:#353833; -} -pre { - font-size:1.3em; -} -h1 { - font-size:1.8em; -} -h2 { - font-size:1.5em; -} -h3 { - font-size:1.4em; -} -h4 { - font-size:1.3em; -} -h5 { - font-size:1.2em; -} -h6 { - font-size:1.1em; -} -ul { - list-style-type:disc; -} -code, tt { - font-size:1.2em; -} -dt code { - font-size:1.2em; -} -table tr td dt code { - font-size:1.2em; - vertical-align:top; -} -sup { - font-size:.6em; -} -/* -Document title and Copyright styles -*/ -.clear { - clear:both; - height:0px; - overflow:hidden; -} -.aboutLanguage { - float:right; - padding:0px 21px; - font-size:.8em; - z-index:200; - margin-top:-7px; -} -.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; - background-image:url(resources/titlebar.gif); - background-position:left top; - background-repeat:no-repeat; - color:#ffffff; - padding:8px; - width:5em; - font-weight:bold; -} -/* -Navigation bar styles -*/ -.bar { - background-image:url(resources/background.gif); - background-repeat:repeat-x; - color:#FFFFFF; - padding:.8em .5em .4em .8em; - height:auto;/*height:1.8em;*/ - font-size:1em; - margin:0; -} -.topNav { - background-image:url(resources/background.gif); - background-repeat:repeat-x; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; -} -.bottomNav { - margin-top:10px; - background-image:url(resources/background.gif); - background-repeat:repeat-x; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; -} -.subNav { - background-color:#dee3e9; - border-bottom:1px solid #9eadc0; - float:left; - width:100%; - overflow:hidden; -} -.subNav div { - clear:left; - float:left; - padding:0 0 5px 6px; -} -ul.navList, ul.subNavList { - float:left; - margin:0 25px 0 0; - padding:0; -} -ul.navList li{ - list-style:none; - float:left; - padding:3px 6px; -} -ul.subNavList li{ - list-style:none; - float:left; - font-size:90%; -} -.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { - color:#FFFFFF; - text-decoration:none; -} -.topNav a:hover, .bottomNav a:hover { - text-decoration:none; - color:#bb7a2a; -} -.navBarCell1Rev { - background-image:url(resources/tab.gif); - background-color:#a88834; - color:#FFFFFF; - margin: auto 5px; - border:1px solid #c9aa44; -} -/* -Page header and footer styles -*/ -.header, .footer { - clear:both; - margin:0 20px; - padding:5px 0 0 0; -} -.indexHeader { - margin:10px; - position:relative; -} -.indexHeader h1 { - font-size:1.3em; -} -.title { - color:#2c4557; - margin:10px 0; -} -.subTitle { - margin:5px 0 0 0; -} -.header ul { - margin:0 0 25px 0; - padding:0; -} -.footer ul { - margin:20px 0 5px 0; -} -.header ul li, .footer ul li { - list-style:none; - font-size:1.2em; -} -/* -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-top:1px solid #9eadc0; - border-bottom:1px solid #9eadc0; - margin:0 0 6px -8px; - padding:2px 5px; -} -ul.blockList ul.blockList ul.blockList li.blockList h3 { - background-color:#dee3e9; - border-top:1px solid #9eadc0; - border-bottom:1px solid #9eadc0; - margin:0 0 6px -8px; - padding:2px 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:1.0em; -} -.indexContainer h2 { - font-size:1.1em; - padding:0 0 3px 0; -} -.indexContainer ul { - margin:0; - padding:0; -} -.indexContainer ul li { - list-style:none; -} -.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { - font-size:1.1em; - font-weight:bold; - margin:10px 0 0 0; - color:#4E4E4E; -} -.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { - margin:10px 0 10px 20px; -} -.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:25px; -} -ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { - padding:0px 20px 5px 10px; - border:1px solid #9eadc0; - background-color:#f9f9f9; -} -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:1px solid #9eadc0; - border-top:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { - margin-left:0; - padding-left:0; - padding-bottom:15px; - border:none; - border-bottom:1px solid #9eadc0; -} -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 -*/ -.contentContainer table, .classUseContainer table, .constantValuesContainer table { - border-bottom:1px solid #9eadc0; - width:100%; -} -.contentContainer ul li table, .classUseContainer ul li table, .constantValuesContainer ul li table { - width:100%; -} -.contentContainer .description table, .contentContainer .details table { - border-bottom:none; -} -.contentContainer ul li table th.colOne, .contentContainer ul li table th.colFirst, .contentContainer ul li table th.colLast, .classUseContainer ul li table th, .constantValuesContainer ul li table th, .contentContainer ul li table td.colOne, .contentContainer ul li table td.colFirst, .contentContainer ul li table td.colLast, .classUseContainer ul li table td, .constantValuesContainer ul li table td{ - vertical-align:top; - padding-right:20px; -} -.contentContainer ul li table th.colLast, .classUseContainer ul li table th.colLast,.constantValuesContainer ul li table th.colLast, -.contentContainer ul li table td.colLast, .classUseContainer ul li table td.colLast,.constantValuesContainer ul li table td.colLast, -.contentContainer ul li table th.colOne, .classUseContainer ul li table th.colOne, -.contentContainer ul li table td.colOne, .classUseContainer ul li table td.colOne { - padding-right:3px; -} -.overviewSummary caption, .packageSummary caption, .contentContainer ul.blockList li.blockList caption, .summary caption, .classUseContainer caption, .constantValuesContainer caption { - position:relative; - text-align:left; - background-repeat:no-repeat; - color:#FFFFFF; - font-weight:bold; - clear:none; - overflow:hidden; - padding:0px; - margin:0px; -} -caption a:link, caption a:hover, caption a:active, caption a:visited { - color:#FFFFFF; -} -.overviewSummary caption span, .packageSummary caption span, .contentContainer ul.blockList li.blockList caption span, .summary caption span, .classUseContainer caption span, .constantValuesContainer caption span { - white-space:nowrap; - padding-top:8px; - padding-left:8px; - display:block; - float:left; - background-image:url(resources/titlebar.gif); - height:18px; -} -.overviewSummary .tabEnd, .packageSummary .tabEnd, .contentContainer ul.blockList li.blockList .tabEnd, .summary .tabEnd, .classUseContainer .tabEnd, .constantValuesContainer .tabEnd { - width:10px; - background-image:url(resources/titlebar_end.gif); - background-repeat:no-repeat; - background-position:top right; - position:relative; - float:left; -} -ul.blockList ul.blockList li.blockList table { - margin:0 0 12px 0px; - width:100%; -} -.tableSubHeadingColor { - background-color: #EEEEFF; -} -.altColor { - background-color:#eeeeef; -} -.rowColor { - background-color:#ffffff; -} -.overviewSummary td, .packageSummary td, .contentContainer ul.blockList li.blockList td, .summary td, .classUseContainer td, .constantValuesContainer td { - text-align:left; - padding:3px 3px 3px 7px; -} -th.colFirst, th.colLast, th.colOne, .constantValuesContainer th { - background:#dee3e9; - border-top:1px solid #9eadc0; - border-bottom:1px solid #9eadc0; - text-align:left; - padding:3px 3px 3px 7px; -} -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; -} -td.colFirst, th.colFirst { - border-left:1px solid #9eadc0; - white-space:nowrap; -} -td.colLast, th.colLast { - border-right:1px solid #9eadc0; -} -td.colOne, th.colOne { - border-right:1px solid #9eadc0; - border-left:1px solid #9eadc0; -} -table.overviewSummary { - padding:0px; - margin-left:0px; -} -table.overviewSummary td.colFirst, table.overviewSummary th.colFirst, -table.overviewSummary td.colOne, table.overviewSummary th.colOne { - width:25%; - vertical-align:middle; -} -table.packageSummary td.colFirst, table.overviewSummary th.colFirst { - width:25%; - vertical-align:middle; -} -/* -Content styles -*/ -.description pre { - margin-top:0; -} -.deprecatedContent { - margin:0; - padding:10px 0; -} -.docSummary { - padding:0; -} -/* -Formatting effect styles -*/ -.sourceLineNo { - color:green; - padding:0 30px 0 0; -} -h1.hidden { - visibility:hidden; - overflow:hidden; - font-size:.9em; -} -.block { - display:block; - margin:3px 0 0 0; -} -.strong { - font-weight:bold; -} diff --git a/projects/hibernate4-maven-plugin-1.0.3/configuration.html b/projects/hibernate4-maven-plugin-1.0.3/configuration.html deleted file mode 100644 index c9d2866..0000000 --- a/projects/hibernate4-maven-plugin-1.0.3/configuration.html +++ /dev/null @@ -1,266 +0,0 @@ - - - - - - - - - juplo - Hibernate 4 Maven Plugin - Configuration Examples - - - - - - - - - - - - - - -
- - -
-
-
-

Hibernate 4 Maven Plugin - 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>
-  <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>${project.version}</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.

-
-

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.

-

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>
-
-...
-
-<plugins>
-
-  ...
-
-  <plugin>
-    <groupId>de.juplo</groupId>
-    <artifactId>hibernate4-maven-plugin</artifactId>
-    <version>${project.version}</version>
-    <executions>
-      <execution>
-        <goals>
-          <goal>export</goal>
-        </goals>
-      </execution>
-    </executions>
-    <configuration>
-      <url><![CDATA[jdbc:hsqldb:target/db/testdb;shutdown=true]]></url>
-    </configuration>
-  </plugin>
-
-<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
-

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

-
    -
  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>${project.version}</version>
-  <executions>
-    <execution>
-      <goals>
-        <goal>export</goal>
-      </goals>
-    </execution>
-  </executions>
-  <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

-

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

-

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

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
GroupIdArtifactIdVersionTypeLicense
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.3jar-
-
-

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:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
GroupIdArtifactIdVersionClassifierTypeLicense
antlrantlr2.7.7-jarBSD License
dom4jdom4j1.6.1-jar-
javassistjavassist3.12.1.GA-jarMPL 1.1-LGPL 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-jarlicense.txt
org.javassistjavassist3.15.0-GA-jarMPL 1.1-LGPL 2.1-Apache 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 License-GNU 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.0-Eclipse Public License, Version 1.0
org.sonatype.sisusisu-inject-plexus2.3.0-jarEclipse Public License, Version 1.0
-
-

Project Dependency Graph

- -
-

Dependency Tree

-
-
-

Licenses

-

Unamed: JPA 2.0 API

-

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

-

GNU LESSER GENERAL PUBLIC LICENSE: Hibernate Commons Annotations

-

Unknown: dom4j, scannotation

-

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: A Hibernate Core Module

-

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

-

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

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FilenameSizeEntriesClassesPackagesJDK 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.12.1.GA.jar629.05 kB390366171.4debug
log4j-1.2.14.jar358.83 kB288256191.1debug
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.5.Final.jar4.41 MB3,1912,9821701.6debug
hibernate-entitymanager-4.2.5.Final.jar473.46 kB334309151.6debug
hibernate-envers-4.2.5.Final.jar403.09 kB300253351.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
scannotation-1.0.3.jar18.33 kB231321.5debug
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
TotalSizeEntriesClassesPackagesJDK RevDebug
3611.69 MB9,1118,1335131.635
compile: 36compile: 11.69 MBcompile: 9,111compile: 8,133compile: 513-compile: 35
-
-

Dependency Repository Locations

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

Repository locations for each of the Dependencies.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Artifactapache.snapshotssonatype-nexus-snapshotsjbosscentral
antlr:antlr:jar:2.7.7--Found at http://repository.jboss.org/nexus/content/groups/public/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://repository.jboss.org/nexus/content/groups/public/Found at http://repo.maven.apache.org/maven2
javassist:javassist:jar:3.12.1.GA--Found at http://repository.jboss.org/nexus/content/groups/public/Found at http://repo.maven.apache.org/maven2
log4j:log4j:jar:1.2.14---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://repository.jboss.org/nexus/content/groups/public/Found at http://repo.maven.apache.org/maven2
org.codehaus.plexus:plexus-component-annotations:jar:1.5.5--Found at http://repository.jboss.org/nexus/content/groups/public/Found at http://repo.maven.apache.org/maven2
org.codehaus.plexus:plexus-interpolation:jar:1.14--Found at http://repository.jboss.org/nexus/content/groups/public/Found at http://repo.maven.apache.org/maven2
org.hibernate:hibernate-core:jar:4.2.5.Final--Found at http://repository.jboss.org/nexus/content/groups/public/Found at http://repo.maven.apache.org/maven2
org.hibernate:hibernate-entitymanager:jar:4.2.5.Final--Found at http://repository.jboss.org/nexus/content/groups/public/Found at http://repo.maven.apache.org/maven2
org.hibernate:hibernate-envers:jar:4.2.5.Final--Found at http://repository.jboss.org/nexus/content/groups/public/Found at http://repo.maven.apache.org/maven2
org.hibernate.common:hibernate-commons-annotations:jar:4.0.2.Final--Found at http://repository.jboss.org/nexus/content/groups/public/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://repository.jboss.org/nexus/content/groups/public/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://repository.jboss.org/nexus/content/groups/public/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://repository.jboss.org/nexus/content/groups/public/Found at http://repo.maven.apache.org/maven2
org.scannotation:scannotation:jar:1.0.3--Found at http://repository.jboss.org/nexus/content/groups/public/Found at http://repo.maven.apache.org/maven2
org.sonatype.aether:aether-api:jar:1.13.1--Found at http://repository.jboss.org/nexus/content/groups/public/Found at http://repo.maven.apache.org/maven2
org.sonatype.aether:aether-impl:jar:1.13.1--Found at http://repository.jboss.org/nexus/content/groups/public/Found at http://repo.maven.apache.org/maven2
org.sonatype.aether:aether-spi:jar:1.13.1--Found at http://repository.jboss.org/nexus/content/groups/public/Found at http://repo.maven.apache.org/maven2
org.sonatype.aether:aether-util:jar:1.13.1--Found at http://repository.jboss.org/nexus/content/groups/public/Found at http://repo.maven.apache.org/maven2
org.sonatype.plexus:plexus-cipher:jar:1.4--Found at http://repository.jboss.org/nexus/content/groups/public/Found at http://repo.maven.apache.org/maven2
org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3--Found at http://repository.jboss.org/nexus/content/groups/public/Found at http://repo.maven.apache.org/maven2
org.sonatype.sisu:sisu-guava:jar:0.9.9--Found at http://repository.jboss.org/nexus/content/groups/public/Found at http://repo.maven.apache.org/maven2
org.sonatype.sisu:sisu-guice:jar:no_aop:3.1.0--Found at http://repository.jboss.org/nexus/content/groups/public/Found at http://repo.maven.apache.org/maven2
org.sonatype.sisu:sisu-inject-bean:jar:2.3.0--Found at http://repository.jboss.org/nexus/content/groups/public/Found at http://repo.maven.apache.org/maven2
org.sonatype.sisu:sisu-inject-plexus:jar:2.3.0--Found at http://repository.jboss.org/nexus/content/groups/public/Found at http://repo.maven.apache.org/maven2
Totalapache.snapshotssonatype-nexus-snapshotsjbosscentral
36 (compile: 36)002436
-
- -
-
-
-
- -
-
- - - - - - - - - -
- - -
-
-
-

Hibernate 4 Maven Plugin - Dependency Information

-
-

Dependency Information

-
-

Apache Maven

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

Apache Buildr

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

Apache Ant

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

Groovy Grape

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

Grails

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

Leiningen

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

SBT

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

- - Built by Maven - -

-
-
-
-
-
- -
-
- - - - - - - - - -
- - -
-
-
-

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

-
-
- -

- - Built by Maven - -

-
-
-
-
-
- -
-
- - - - - - - - - -
- - -
-
-
-

Hibernate 4 Maven Plugin - Parameter Documentation

- - -
-

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

- - Built by Maven - -

-
-
-
-
-
- -
-
- - - - - - - - - - -
- - -
-
-
-

Hibernate 4 Maven Plugin - 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>${project.version}</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 - - hibernate4:help

- - -
-

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

- - Built by Maven - -

-
-
-
-
-
- -
-
- - - - - - - - - - -
- - -
-
-
-

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

-
-
-
- -

- - Built by Maven - -

-
-
-
-
-
- -
-
- - - - - - - - - -
- - -
-
-
-

Hibernate 4 Maven Plugin - Continuous Integration

-
-

Overview

-

This project uses Continuum.

-
-

Access

-

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

-
-
-

Notifiers

-

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

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

- - Built by Maven - -

-
-
-
-
-
- -
-
- - - - - - - - - - -
- - -
-
-
-

Hibernate 4 Maven Plugin - 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 - Project License

-
-

Overview

-

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

-
-

Project License

-
-

The Apache Software License, Version 2.0

-

A business-friendly OSS license

-
-
-                                 Apache License
-                           Version 2.0, January 2004
-                        http://www.apache.org/licenses/
-
-   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
-   1. Definitions.
-
-      "License" shall mean the terms and conditions for use, reproduction,
-      and distribution as defined by Sections 1 through 9 of this document.
-
-      "Licensor" shall mean the copyright owner or entity authorized by
-      the copyright owner that is granting the License.
-
-      "Legal Entity" shall mean the union of the acting entity and all
-      other entities that control, are controlled by, or are under common
-      control with that entity. For the purposes of this definition,
-      "control" means (i) the power, direct or indirect, to cause the
-      direction or management of such entity, whether by contract or
-      otherwise, or (ii) ownership of fifty percent (50%) or more of the
-      outstanding shares, or (iii) beneficial ownership of such entity.
-
-      "You" (or "Your") shall mean an individual or Legal Entity
-      exercising permissions granted by this License.
-
-      "Source" form shall mean the preferred form for making modifications,
-      including but not limited to software source code, documentation
-      source, and configuration files.
-
-      "Object" form shall mean any form resulting from mechanical
-      transformation or translation of a Source form, including but
-      not limited to compiled object code, generated documentation,
-      and conversions to other media types.
-
-      "Work" shall mean the work of authorship, whether in Source or
-      Object form, made available under the License, as indicated by a
-      copyright notice that is included in or attached to the work
-      (an example is provided in the Appendix below).
-
-      "Derivative Works" shall mean any work, whether in Source or Object
-      form, that is based on (or derived from) the Work and for which the
-      editorial revisions, annotations, elaborations, or other modifications
-      represent, as a whole, an original work of authorship. For the purposes
-      of this License, Derivative Works shall not include works that remain
-      separable from, or merely link (or bind by name) to the interfaces of,
-      the Work and Derivative Works thereof.
-
-      "Contribution" shall mean any work of authorship, including
-      the original version of the Work and any modifications or additions
-      to that Work or Derivative Works thereof, that is intentionally
-      submitted to Licensor for inclusion in the Work by the copyright owner
-      or by an individual or Legal Entity authorized to submit on behalf of
-      the copyright owner. For the purposes of this definition, "submitted"
-      means any form of electronic, verbal, or written communication sent
-      to the Licensor or its representatives, including but not limited to
-      communication on electronic mailing lists, source code control systems,
-      and issue tracking systems that are managed by, or on behalf of, the
-      Licensor for the purpose of discussing and improving the Work, but
-      excluding communication that is conspicuously marked or otherwise
-      designated in writing by the copyright owner as "Not a Contribution."
-
-      "Contributor" shall mean Licensor and any individual or Legal Entity
-      on behalf of whom a Contribution has been received by Licensor and
-      subsequently incorporated within the Work.
-
-   2. Grant of Copyright License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      copyright license to reproduce, prepare Derivative Works of,
-      publicly display, publicly perform, sublicense, and distribute the
-      Work and such Derivative Works in Source or Object form.
-
-   3. Grant of Patent License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      (except as stated in this section) patent license to make, have made,
-      use, offer to sell, sell, import, and otherwise transfer the Work,
-      where such license applies only to those patent claims licensable
-      by such Contributor that are necessarily infringed by their
-      Contribution(s) alone or by combination of their Contribution(s)
-      with the Work to which such Contribution(s) was submitted. If You
-      institute patent litigation against any entity (including a
-      cross-claim or counterclaim in a lawsuit) alleging that the Work
-      or a Contribution incorporated within the Work constitutes direct
-      or contributory patent infringement, then any patent licenses
-      granted to You under this License for that Work shall terminate
-      as of the date such litigation is filed.
-
-   4. Redistribution. You may reproduce and distribute copies of the
-      Work or Derivative Works thereof in any medium, with or without
-      modifications, and in Source or Object form, provided that You
-      meet the following conditions:
-
-      (a) You must give any other recipients of the Work or
-          Derivative Works a copy of this License; and
-
-      (b) You must cause any modified files to carry prominent notices
-          stating that You changed the files; and
-
-      (c) You must retain, in the Source form of any Derivative Works
-          that You distribute, all copyright, patent, trademark, and
-          attribution notices from the Source form of the Work,
-          excluding those notices that do not pertain to any part of
-          the Derivative Works; and
-
-      (d) If the Work includes a "NOTICE" text file as part of its
-          distribution, then any Derivative Works that You distribute must
-          include a readable copy of the attribution notices contained
-          within such NOTICE file, excluding those notices that do not
-          pertain to any part of the Derivative Works, in at least one
-          of the following places: within a NOTICE text file distributed
-          as part of the Derivative Works; within the Source form or
-          documentation, if provided along with the Derivative Works; or,
-          within a display generated by the Derivative Works, if and
-          wherever such third-party notices normally appear. The contents
-          of the NOTICE file are for informational purposes only and
-          do not modify the License. You may add Your own attribution
-          notices within Derivative Works that You distribute, alongside
-          or as an addendum to the NOTICE text from the Work, provided
-          that such additional attribution notices cannot be construed
-          as modifying the License.
-
-      You may add Your own copyright statement to Your modifications and
-      may provide additional or different license terms and conditions
-      for use, reproduction, or distribution of Your modifications, or
-      for any such Derivative Works as a whole, provided Your use,
-      reproduction, and distribution of the Work otherwise complies with
-      the conditions stated in this License.
-
-   5. Submission of Contributions. Unless You explicitly state otherwise,
-      any Contribution intentionally submitted for inclusion in the Work
-      by You to the Licensor shall be under the terms and conditions of
-      this License, without any additional terms or conditions.
-      Notwithstanding the above, nothing herein shall supersede or modify
-      the terms of any separate license agreement you may have executed
-      with Licensor regarding such Contributions.
-
-   6. Trademarks. This License does not grant permission to use the trade
-      names, trademarks, service marks, or product names of the Licensor,
-      except as required for reasonable and customary use in describing the
-      origin of the Work and reproducing the content of the NOTICE file.
-
-   7. Disclaimer of Warranty. Unless required by applicable law or
-      agreed to in writing, Licensor provides the Work (and each
-      Contributor provides its Contributions) on an "AS IS" BASIS,
-      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-      implied, including, without limitation, any warranties or conditions
-      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
-      PARTICULAR PURPOSE. You are solely responsible for determining the
-      appropriateness of using or redistributing the Work and assume any
-      risks associated with Your exercise of permissions under this License.
-
-   8. Limitation of Liability. In no event and under no legal theory,
-      whether in tort (including negligence), contract, or otherwise,
-      unless required by applicable law (such as deliberate and grossly
-      negligent acts) or agreed to in writing, shall any Contributor be
-      liable to You for damages, including any direct, indirect, special,
-      incidental, or consequential damages of any character arising as a
-      result of this License or out of the use or inability to use the
-      Work (including but not limited to damages for loss of goodwill,
-      work stoppage, computer failure or malfunction, or any and all
-      other commercial damages or losses), even if such Contributor
-      has been advised of the possibility of such damages.
-
-   9. Accepting Warranty or Additional Liability. While redistributing
-      the Work or Derivative Works thereof, You may choose to offer,
-      and charge a fee for, acceptance of support, warranty, indemnity,
-      or other liability obligations and/or rights consistent with this
-      License. However, in accepting such obligations, You may act only
-      on Your own behalf and on Your sole responsibility, not on behalf
-      of any other Contributor, and only if You agree to indemnify,
-      defend, and hold each Contributor harmless for any liability
-      incurred by, or claims asserted against, such Contributor by reason
-      of your accepting any such warranty or additional liability.
-
-   END OF TERMS AND CONDITIONS
-
-   APPENDIX: How to apply the Apache License to your work.
-
-      To apply the Apache License to your work, attach the following
-      boilerplate notice, with the fields enclosed by brackets "[]"
-      replaced with your own identifying information. (Don't include
-      the brackets!)  The text should be enclosed in the appropriate
-      comment syntax for the file format. We also recommend that a
-      file or class name and description of purpose be included on the
-      same "printed page" as the copyright notice for easier
-      identification within third-party archives.
-
-   Copyright [yyyy] [name of copyright owner]
-
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
-
-
- -
-
-
-
- -
-
- - - - - - - - - - -
- - -
-
-
-

Hibernate 4 Maven Plugin - 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)

-
-

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

-
-

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 = 
-[INFO]   hibernate.dialect = org.hibernate.dialect.HSQLDialect
-[INFO]   hibernate.connection.url = jdbc:hsqldb:/home/kai/mmf/target/mmf;shutdown=true
-[INFO]   hibernate.connection.driver_class = org.hsqldb.jdbcDriver
-[ERROR] Dependency for driver-class org.hsqldb.jdbcDriver is missing!
-[INFO] ------------------------------------------------------------------------
-[ERROR] BUILD ERROR
-[INFO] ------------------------------------------------------------------------
-[INFO] org.hsqldb.jdbcDriver
-[INFO] ------------------------------------------------------------------------
-[INFO] For more information, run Maven with the -e switch
-[INFO] ------------------------------------------------------------------------
-[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>${project.version}</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>
-
-

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

-
-
- -

- - Built by Maven - -

-
-
-
-
-
- -
-
- - - - - - - - - -
- - -
-
-
-

Hibernate 4 Maven Plugin - Plugin Documentation

-
-

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:

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

- - - - - - - - - - - - - - - - - - - - - - - - -
GroupIdArtifactIdVersion
org.apache.maven.pluginsmaven-antrun-plugin1.3
org.apache.maven.pluginsmaven-assembly-plugin2.2-beta-5
org.apache.maven.pluginsmaven-dependency-plugin2.1
org.apache.maven.pluginsmaven-release-plugin2.1
org.apache.maven.pluginsmaven-site-plugin3.3
-
- -
-
-
-
- -
-
- - - - - - - - - -
- - -
-
-
-

Hibernate 4 Maven Plugin - Project Plugins

-
-

Project Build Plugins

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
GroupIdArtifactIdVersion
org.apache.maven.pluginsmaven-clean-plugin2.3
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.3
org.apache.maven.pluginsmaven-jar-plugin2.2
org.apache.maven.pluginsmaven-plugin-plugin3.2
org.apache.maven.pluginsmaven-resources-plugin2.3
org.apache.maven.pluginsscp://people.apache.org/www/maven.apache.org/scm/maven-scm-plugin1.7
org.apache.maven.pluginsmaven-site-plugin3.3
org.apache.maven.pluginsmaven-source-plugin2.1.2
org.apache.maven.pluginsmaven-surefire-plugin2.10
-
-

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-site-plugin3.3
-
- -
-
-
-
- -
-
- - - - - - - - - -
- - -
-
-
-

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

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
DocumentDescription
AboutPlugin for generating a database-schema from Hibernate-4-Mapping-Annotations
Plugin ManagementThis document lists the plugins that are defined through pluginManagement.
Distribution ManagementThis 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.
Mailing ListsThis document provides subscription and archive information for this project's mailing lists.
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.
Continuous IntegrationThis is a link to the definitions of all continuous integration processes that builds and tests code on a frequent, regular basis.
Project PluginsThis 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.
Project SummaryThis 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

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

- - Built by Maven - -

-
-
-
-
-
- -
-
- - - - - - - - - -
- - -
-
-
-

Hibernate 4 Maven Plugin - Project Summary

-
-

Project Summary

-
-

Project Information

- - - - - - - - - - - - -
FieldValue
NameHibernate 4 Maven Plugin
DescriptionPlugin for generating a database-schema from Hibernate-4-Mapping-Annotations
Homepagehttp://juplo.de/hibernate4-maven-plugin
-
-

Project Organization

-

This project does not belong to an organization.

-
-

Build Information

- - - - - - - - - - - - - - - - - - -
FieldValue
GroupIdde.juplo
ArtifactIdhibernate4-maven-plugin
Version1.0.3
Typemaven-plugin
JDK Rev1.6
-
- -
-
-
-
- -
-
- - - - - - - - - - -
- - -
-
-
-

Hibernate 4 Maven Plugin - 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>
-  ...
-  <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.

-
-
- -

- - Built by Maven - -

-
-
-
-
-
- -
-
- - - - - - - - - -
- - -
-
-
-

Hibernate 4 Maven Plugin - Source Repository

-
-

Overview

-

This project uses GIT to manage its source code. Instructions on GIT use can be found at http://git-scm.com/documentation.

-
-

Web Access

-

The following is a link to the online source repository.

-
-
-

Anonymous access

-

The source can be checked out anonymously from GIT with this command (See http://git-scm.com/docs/git-clone):

-
-
$ git clone http://juplo.de/git/hibernate4-maven-plugin
-
-

Developer access

-

Only project developers can access the GIT tree via this method (See http://git-scm.com/docs/git-clone).

-
-
$ git clone ssh://juplo.de/var/lib/git/juplo/hibernate4-maven-plugin
-
-

Access from behind a firewall

-

Refer to the documentation of the SCM used for more information about access behind a firewall.

-
- -
-
-
-
- -
-
- - - - - - - - - -
- - -
-
-
-

Hibernate 4 Maven Plugin - Project Team

-
-

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