From: Kai Moritz Date: Tue, 28 Oct 2025 18:28:03 +0000 (+0100) Subject: Moved version `1.0.1` of the `hibernate-maven-plugin` to the refined path X-Git-Url: https://juplo.de/gitweb/?a=commitdiff_plain;h=1328392278d9c2f52f7bd2bf6ec3f4e19f9606ec;p=website Moved version `1.0.1` of the `hibernate-maven-plugin` to the refined path --- diff --git a/nginx.conf b/nginx.conf index 0b026e7..f54adff 100644 --- a/nginx.conf +++ b/nginx.conf @@ -46,5 +46,9 @@ server { alias /usr/share/nginx/html/projects/hibernate-maven-plugin/1.0.2/; expires 0; } + location /hibernate4-maven-plugin-1.0.1/ { + alias /usr/share/nginx/html/projects/hibernate-maven-plugin/1.0.1/; + expires 0; + } } diff --git a/projects/hibernate-maven-plugin/1.0.1/apidocs/allclasses-frame.html b/projects/hibernate-maven-plugin/1.0.1/apidocs/allclasses-frame.html new file mode 100644 index 0000000..b080e57 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.1/apidocs/allclasses-frame.html @@ -0,0 +1,32 @@ + + + + + + + +All Classes (Hibernate 4 Maven Plugin 1.0.1 API) + + + + + + + + + + + +All Classes +
+ + + + + +
Hbm2DdlMojo +
+
+ + + diff --git a/projects/hibernate-maven-plugin/1.0.1/apidocs/allclasses-noframe.html b/projects/hibernate-maven-plugin/1.0.1/apidocs/allclasses-noframe.html new file mode 100644 index 0000000..c58eaec --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.1/apidocs/allclasses-noframe.html @@ -0,0 +1,32 @@ + + + + + + + +All Classes (Hibernate 4 Maven Plugin 1.0.1 API) + + + + + + + + + + + +All Classes +
+ + + + + +
Hbm2DdlMojo +
+
+ + + diff --git a/projects/hibernate-maven-plugin/1.0.1/apidocs/constant-values.html b/projects/hibernate-maven-plugin/1.0.1/apidocs/constant-values.html new file mode 100644 index 0000000..14f3a22 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.1/apidocs/constant-values.html @@ -0,0 +1,203 @@ + + + + + + + +Constant Field Values (Hibernate 4 Maven Plugin 1.0.1 API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Constant Field Values

+
+
+Contents + + + + + + +
+de.juplo.*
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
de.juplo.plugins.hibernate4.Hbm2DdlMojo
+public static final StringDIALECT"hibernate.dialect"
+public static final StringDRIVER_CLASS"hibernate.connection.driver_class"
+public static final StringEXPORT_SKIPPED_PROPERTY"hibernate.export.skipped"
+public static final StringPASSWORD"hibernate.connection.password"
+public static final StringURL"hibernate.connection.url"
+public static final StringUSERNAME"hibernate.connection.username"
+ +

+ +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2013. All Rights Reserved. + + diff --git a/projects/hibernate-maven-plugin/1.0.1/apidocs/de/juplo/plugins/hibernate4/Hbm2DdlMojo.html b/projects/hibernate-maven-plugin/1.0.1/apidocs/de/juplo/plugins/hibernate4/Hbm2DdlMojo.html new file mode 100644 index 0000000..5281bfa --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.1/apidocs/de/juplo/plugins/hibernate4/Hbm2DdlMojo.html @@ -0,0 +1,409 @@ + + + + + + + +Hbm2DdlMojo (Hibernate 4 Maven Plugin 1.0.1 API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +de.juplo.plugins.hibernate4 +
+Class Hbm2DdlMojo

+
+java.lang.Object
+  extended by org.apache.maven.plugin.AbstractMojo
+      extended by de.juplo.plugins.hibernate4.Hbm2DdlMojo
+
+
+
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
+
+
+
+
public class Hbm2DdlMojo
extends org.apache.maven.plugin.AbstractMojo
+ + +

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

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static StringDIALECT + +
+           
+static StringDRIVER_CLASS + +
+           
+static StringEXPORT_SKIPPED_PROPERTY + +
+           
+static StringPASSWORD + +
+           
+static StringURL + +
+           
+static StringUSERNAME + +
+           
+ + + + + + + +
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
+  + + + + + + + + + + +
+Constructor Summary
Hbm2DdlMojo() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ voidexecute() + +
+           
+ + + + + + + +
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+EXPORT_SKIPPED_PROPERTY

+
+public static final String EXPORT_SKIPPED_PROPERTY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DRIVER_CLASS

+
+public static final String DRIVER_CLASS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+URL

+
+public static final String URL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+USERNAME

+
+public static final String USERNAME
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PASSWORD

+
+public static final String PASSWORD
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DIALECT

+
+public static final String DIALECT
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+Hbm2DdlMojo

+
+public Hbm2DdlMojo()
+
+
+ + + + + + + + +
+Method Detail
+ +

+execute

+
+public void execute()
+             throws org.apache.maven.plugin.MojoFailureException,
+                    org.apache.maven.plugin.MojoExecutionException
+
+
+ +
Throws: +
org.apache.maven.plugin.MojoFailureException +
org.apache.maven.plugin.MojoExecutionException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2013. All Rights Reserved. + + diff --git a/projects/hibernate-maven-plugin/1.0.1/apidocs/de/juplo/plugins/hibernate4/class-use/Hbm2DdlMojo.html b/projects/hibernate-maven-plugin/1.0.1/apidocs/de/juplo/plugins/hibernate4/class-use/Hbm2DdlMojo.html new file mode 100644 index 0000000..8f0621c --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.1/apidocs/de/juplo/plugins/hibernate4/class-use/Hbm2DdlMojo.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class de.juplo.plugins.hibernate4.Hbm2DdlMojo (Hibernate 4 Maven Plugin 1.0.1 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.1/apidocs/de/juplo/plugins/hibernate4/package-frame.html b/projects/hibernate-maven-plugin/1.0.1/apidocs/de/juplo/plugins/hibernate4/package-frame.html new file mode 100644 index 0000000..93c92c3 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.1/apidocs/de/juplo/plugins/hibernate4/package-frame.html @@ -0,0 +1,33 @@ + + + + + + + +de.juplo.plugins.hibernate4 (Hibernate 4 Maven Plugin 1.0.1 API) + + + + + + + + + + + +de.juplo.plugins.hibernate4 + + + + +
+Classes  + +
+Hbm2DdlMojo
+ + + + diff --git a/projects/hibernate-maven-plugin/1.0.1/apidocs/de/juplo/plugins/hibernate4/package-summary.html b/projects/hibernate-maven-plugin/1.0.1/apidocs/de/juplo/plugins/hibernate4/package-summary.html new file mode 100644 index 0000000..b31a7d4 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.1/apidocs/de/juplo/plugins/hibernate4/package-summary.html @@ -0,0 +1,157 @@ + + + + + + + +de.juplo.plugins.hibernate4 (Hibernate 4 Maven Plugin 1.0.1 API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package de.juplo.plugins.hibernate4 +

+ + + + + + + + + +
+Class Summary
Hbm2DdlMojoGoal 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.1/apidocs/de/juplo/plugins/hibernate4/package-tree.html b/projects/hibernate-maven-plugin/1.0.1/apidocs/de/juplo/plugins/hibernate4/package-tree.html new file mode 100644 index 0000000..d15f26b --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.1/apidocs/de/juplo/plugins/hibernate4/package-tree.html @@ -0,0 +1,152 @@ + + + + + + + +de.juplo.plugins.hibernate4 Class Hierarchy (Hibernate 4 Maven Plugin 1.0.1 API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package de.juplo.plugins.hibernate4 +

+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2013. All Rights Reserved. + + diff --git a/projects/hibernate-maven-plugin/1.0.1/apidocs/de/juplo/plugins/hibernate4/package-use.html b/projects/hibernate-maven-plugin/1.0.1/apidocs/de/juplo/plugins/hibernate4/package-use.html new file mode 100644 index 0000000..f4d07d4 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.1/apidocs/de/juplo/plugins/hibernate4/package-use.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Package de.juplo.plugins.hibernate4 (Hibernate 4 Maven Plugin 1.0.1 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.1/apidocs/deprecated-list.html b/projects/hibernate-maven-plugin/1.0.1/apidocs/deprecated-list.html new file mode 100644 index 0000000..d6509e9 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.1/apidocs/deprecated-list.html @@ -0,0 +1,145 @@ + + + + + + + +Deprecated List (Hibernate 4 Maven Plugin 1.0.1 API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Deprecated API

+
+
+Contents + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2013. All Rights Reserved. + + diff --git a/projects/hibernate-maven-plugin/1.0.1/apidocs/help-doc.html b/projects/hibernate-maven-plugin/1.0.1/apidocs/help-doc.html new file mode 100644 index 0000000..9c80c5c --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.1/apidocs/help-doc.html @@ -0,0 +1,216 @@ + + + + + + + +API Help (Hibernate 4 Maven Plugin 1.0.1 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.

+Package

+
+ +

+Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain four categories:

+
+

+Class/Interface

+
+ +

+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+ +

+Annotation Type

+
+ +

+Each annotation type has its own separate page with the following sections:

+
+ +

+Enum

+
+ +

+Each enum has its own separate page with the following sections:

+
+

+Use

+
+Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
+

+Tree (Class Hierarchy)

+
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object. +
+

+Deprecated API

+
+The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
+

+Index

+
+The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
+

+Prev/Next

+These links take you to the next or previous class, interface, package, or related page.

+Frames/No Frames

+These links show and hide the HTML frames. All pages are available with or without frames. +

+

+Serialized Form

+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description. +

+

+Constant Field Values

+The Constant Field Values page lists the static final fields and their values. +

+ + +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.1/apidocs/index-all.html b/projects/hibernate-maven-plugin/1.0.1/apidocs/index-all.html new file mode 100644 index 0000000..26f5707 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.1/apidocs/index-all.html @@ -0,0 +1,186 @@ + + + + + + + +Index (Hibernate 4 Maven Plugin 1.0.1 API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +D E H 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

+
+
execute() - +Method in class de.juplo.plugins.hibernate4.Hbm2DdlMojo +
  +
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 +
  +
+
+

+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 P U + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2013. All Rights Reserved. + + diff --git a/projects/hibernate-maven-plugin/1.0.1/apidocs/index.html b/projects/hibernate-maven-plugin/1.0.1/apidocs/index.html new file mode 100644 index 0000000..d7a419c --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.1/apidocs/index.html @@ -0,0 +1,37 @@ + + + + + + + +Hibernate 4 Maven Plugin 1.0.1 API + + + + + + + + +<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. +<BR> +Link to<A HREF="de/juplo/plugins/hibernate4/package-summary.html">Non-frame version.</A> + + + diff --git a/projects/hibernate-maven-plugin/1.0.1/apidocs/options b/projects/hibernate-maven-plugin/1.0.1/apidocs/options new file mode 100644 index 0000000..84bb3d6 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.1/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/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/net/sf/scannotation/scannotation/1.0.2/scannotation-1.0.2.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.6.0.GA/javassist-3.6.0.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/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.0.Final/jboss-transaction-api_1.1_spec-1.0.0.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/sonatype/aether/aether-impl/1.13.1/aether-impl-1.13.1.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/sisu/sisu-guice/3.1.0/sisu-guice-3.1.0-no_aop.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-aether-provider/3.0.4/maven-aether-provider-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/codehaus/plexus/plexus-interpolation/1.14/plexus-interpolation-1.14.jar:/home/kai/.m2/repository/org/sonatype/aether/aether-util/1.13.1/aether-util-1.13.1.jar:/home/kai/.m2/repository/org/hibernate/hibernate-core/4.1.8.Final/hibernate-core-4.1.8.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.1.Final/hibernate-commons-annotations-4.0.1.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' +-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.1 API' +-link +'http://java.sun.com/javase/6/docs/api' +-use +-version +-windowtitle +'Hibernate 4 Maven Plugin 1.0.1 API' \ No newline at end of file diff --git a/projects/hibernate-maven-plugin/1.0.1/apidocs/overview-tree.html b/projects/hibernate-maven-plugin/1.0.1/apidocs/overview-tree.html new file mode 100644 index 0000000..a17cf21 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.1/apidocs/overview-tree.html @@ -0,0 +1,154 @@ + + + + + + + +Class Hierarchy (Hibernate 4 Maven Plugin 1.0.1 API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For All Packages

+
+
+
Package Hierarchies:
de.juplo.plugins.hibernate4
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2013. All Rights Reserved. + + diff --git a/projects/hibernate-maven-plugin/1.0.1/apidocs/package-list b/projects/hibernate-maven-plugin/1.0.1/apidocs/package-list new file mode 100644 index 0000000..0530771 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.1/apidocs/package-list @@ -0,0 +1 @@ +de.juplo.plugins.hibernate4 diff --git a/projects/hibernate-maven-plugin/1.0.1/apidocs/packages b/projects/hibernate-maven-plugin/1.0.1/apidocs/packages new file mode 100644 index 0000000..c4b5140 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.1/apidocs/packages @@ -0,0 +1 @@ +de.juplo.plugins.hibernate4 \ No newline at end of file diff --git a/projects/hibernate-maven-plugin/1.0.1/apidocs/resources/inherit.gif b/projects/hibernate-maven-plugin/1.0.1/apidocs/resources/inherit.gif new file mode 100644 index 0000000..c814867 Binary files /dev/null and b/projects/hibernate-maven-plugin/1.0.1/apidocs/resources/inherit.gif differ diff --git a/projects/hibernate-maven-plugin/1.0.1/apidocs/stylesheet.css b/projects/hibernate-maven-plugin/1.0.1/apidocs/stylesheet.css new file mode 100644 index 0000000..6ea9e51 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.1/apidocs/stylesheet.css @@ -0,0 +1,29 @@ +/* Javadoc style sheet */ + +/* Define colors, fonts and other style attributes here to override the defaults */ + +/* Page background color */ +body { background-color: #FFFFFF; color:#000000 } + +/* Headings */ +h1 { font-size: 145% } + +/* Table colors */ +.TableHeadingColor { background: #CCCCFF; color:#000000 } /* Dark mauve */ +.TableSubHeadingColor { background: #EEEEFF; color:#000000 } /* Light mauve */ +.TableRowColor { background: #FFFFFF; color:#000000 } /* White */ + +/* Font used in left-hand frame lists */ +.FrameTitleFont { font-size: 100%; font-family: Helvetica, Arial, sans-serif; color:#000000 } +.FrameHeadingFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 } +.FrameItemFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 } + +/* Navigation bar fonts and colors */ +.NavBarCell1 { background-color:#EEEEFF; color:#000000} /* Light mauve */ +.NavBarCell1Rev { background-color:#00008B; color:#FFFFFF} /* Dark Blue */ +.NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;color:#000000;} +.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;color:#FFFFFF;} + +.NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000} +.NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000} + diff --git a/projects/hibernate-maven-plugin/1.0.1/configuration.html b/projects/hibernate-maven-plugin/1.0.1/configuration.html new file mode 100644 index 0000000..40567ee --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.1/configuration.html @@ -0,0 +1,201 @@ + + + + + + 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>1.0.1</version>
+  <executions>
+    <execution>
+      <goals>
+        <goal>export</goal>
+      </goals>
+    </execution>
+  </executions>
+</plugin>

But be aware, that in this case the database-url, that is build in the application is the same that is used while testing, where the database is droped and recreated by the plugin. So, you should never fire up this configuration on your production system, or your database might be erased!

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

<plugin>
+  <groupId>de.juplo</groupId>
+  <artifactId>hibernate4-maven-plugin</artifactId>
+  <version>1.0.1</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>1.0.1</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>1.0.1</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>

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

  • delimiter the delimiter used in the generated sql-script
  • format wether the generated sql-script is formatted, or not
  • hibernateProperties name of the hibernate-properties-file
  • outputFile name of the generated sql-script
  • target create database or generate sql-script or both
  • type create or drop the database or do both or nothing (just validate the annotation-configuration)

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

Configuration-Method-Precedence

The configuration is gathered in a fix order:

  1. hibernate.properties
  2. maven-properties
  3. plugin-configuration

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

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

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

<plugin>
+  <groupId>de.juplo</groupId>
+  <artifactId>hibernate4-maven-plugin</artifactId>
+  <version>1.0.1</version>
+  <executions>
+    <execution>
+      <goals>
+        <goal>export</goal>
+      </goals>
+    </execution>
+  </executions>
+  <configuration>
+    <password>${my-password-property}</password>
+  </configuration>
+</plugin>
+
+
+
+
+
+ + + diff --git a/projects/hibernate-maven-plugin/1.0.1/cpd.html b/projects/hibernate-maven-plugin/1.0.1/cpd.html new file mode 100644 index 0000000..593805c --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.1/cpd.html @@ -0,0 +1,131 @@ + + + + + + Hibernate 4 Maven Plugin - CPD Results + + + + + + + + + + + +
+ +
+
+
+

CPD Results

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

Duplications

CPD found no problems in your source code.

+
+
+
+
+
+ + + diff --git a/projects/hibernate-maven-plugin/1.0.1/cpd.xml b/projects/hibernate-maven-plugin/1.0.1/cpd.xml new file mode 100644 index 0000000..4a4568b --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.1/cpd.xml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/projects/hibernate-maven-plugin/1.0.1/css/maven-base.css b/projects/hibernate-maven-plugin/1.0.1/css/maven-base.css new file mode 100644 index 0000000..584ba23 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.1/css/maven-base.css @@ -0,0 +1,151 @@ +body { + margin: 0px; + padding: 0px; +} +img { + border:none; +} +table { + padding:0px; + width: 100%; + margin-left: -2px; + margin-right: -2px; +} +acronym { + cursor: help; + border-bottom: 1px dotted #feb; +} +table.bodyTable th, table.bodyTable td { + padding: 2px 4px 2px 4px; + vertical-align: top; +} +div.clear{ + clear:both; + visibility: hidden; +} +div.clear hr{ + display: none; +} +#bannerLeft, #bannerRight { + font-size: xx-large; + font-weight: bold; +} +#bannerLeft img, #bannerRight img { + margin: 0px; +} +.xleft, #bannerLeft img { + float:left; +} +.xright, #bannerRight { + float:right; +} +#banner { + padding: 0px; +} +#banner img { + border: none; +} +#breadcrumbs { + padding: 3px 10px 3px 10px; +} +#leftColumn { + width: 170px; + float:left; + overflow: auto; +} +#bodyColumn { + margin-right: 1.5em; + margin-left: 197px; +} +#legend { + padding: 8px 0 8px 0; +} +#navcolumn { + padding: 8px 4px 0 8px; +} +#navcolumn h5 { + margin: 0; + padding: 0; + font-size: small; +} +#navcolumn ul { + margin: 0; + padding: 0; + font-size: small; +} +#navcolumn li { + list-style-type: none; + background-image: none; + background-repeat: no-repeat; + background-position: 0 0.4em; + padding-left: 16px; + list-style-position: outside; + line-height: 1.2em; + font-size: smaller; +} +#navcolumn li.expanded { + background-image: url(../images/expanded.gif); +} +#navcolumn li.collapsed { + background-image: url(../images/collapsed.gif); +} +#poweredBy { + text-align: center; +} +#navcolumn img { + margin-top: 10px; + margin-bottom: 3px; +} +#poweredBy img { + display:block; + margin: 20px 0 20px 17px; +} +#search img { + margin: 0px; + display: block; +} +#search #q, #search #btnG { + border: 1px solid #999; + margin-bottom:10px; +} +#search form { + margin: 0px; +} +#lastPublished { + font-size: x-small; +} +.navSection { + margin-bottom: 2px; + padding: 8px; +} +.navSectionHead { + font-weight: bold; + font-size: x-small; +} +.section { + padding: 4px; +} +#footer { + padding: 3px 10px 3px 10px; + font-size: x-small; +} +#breadcrumbs { + font-size: x-small; + margin: 0pt; +} +.source { + padding: 12px; + margin: 1em 7px 1em 7px; +} +.source pre { + margin: 0px; + padding: 0px; +} +#navcolumn img.imageLink, .imageLink { + padding-left: 0px; + padding-bottom: 0px; + padding-top: 0px; + padding-right: 2px; + border: 0px; + margin: 0px; +} diff --git a/projects/hibernate-maven-plugin/1.0.1/css/maven-theme.css b/projects/hibernate-maven-plugin/1.0.1/css/maven-theme.css new file mode 100644 index 0000000..d3407e8 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.1/css/maven-theme.css @@ -0,0 +1,161 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ + +body { + padding: 0px 0px 10px 0px; +} +body, td, select, input, li{ + font-family: Verdana, Helvetica, Arial, sans-serif; + font-size: 13px; +} +code{ + font-family: Courier, monospace; + font-size: 13px; +} +a { + text-decoration: none; +} +a:link { + color:#36a; +} +a:visited { + color:#47a; +} +a:active, a:hover { + color:#69c; +} +#legend li.externalLink { + background: url(../images/external.png) left top no-repeat; + padding-left: 18px; +} +a.externalLink, a.externalLink:link, a.externalLink:visited, a.externalLink:active, a.externalLink:hover { + background: url(../images/external.png) right center no-repeat; + padding-right: 18px; +} +#legend li.newWindow { + background: url(../images/newwindow.png) left top no-repeat; + padding-left: 18px; +} +a.newWindow, a.newWindow:link, a.newWindow:visited, a.newWindow:active, a.newWindow:hover { + background: url(../images/newwindow.png) right center no-repeat; + padding-right: 18px; +} +h2 { + padding: 4px 4px 4px 6px; + border: 1px solid #999; + color: #900; + background-color: #ddd; + font-weight:900; + font-size: x-large; +} +h3 { + padding: 4px 4px 4px 6px; + border: 1px solid #aaa; + color: #900; + background-color: #eee; + font-weight: normal; + font-size: large; +} +h4 { + padding: 4px 4px 4px 6px; + border: 1px solid #bbb; + color: #900; + background-color: #fff; + font-weight: normal; + font-size: large; +} +h5 { + padding: 4px 4px 4px 6px; + color: #900; + font-size: medium; +} +p { + line-height: 1.3em; + font-size: small; +} +#breadcrumbs { + border-top: 1px solid #aaa; + border-bottom: 1px solid #aaa; + background-color: #ccc; +} +#leftColumn { + margin: 10px 0 0 5px; + border: 1px solid #999; + background-color: #eee; + padding-bottom: 3px; /* IE-9 scrollbar-fix */ +} +#navcolumn h5 { + font-size: smaller; + border-bottom: 1px solid #aaaaaa; + padding-top: 2px; + color: #000; +} + +table.bodyTable th { + color: white; + background-color: #bbb; + text-align: left; + font-weight: bold; +} + +table.bodyTable th, table.bodyTable td { + font-size: 1em; +} + +table.bodyTable tr.a { + background-color: #ddd; +} + +table.bodyTable tr.b { + background-color: #eee; +} + +.source { + border: 1px solid #999; +} +dl { + padding: 4px 4px 4px 6px; + border: 1px solid #aaa; + background-color: #ffc; +} +dt { + color: #900; +} +#organizationLogo img, #projectLogo img, #projectLogo span{ + margin: 8px; +} +#banner { + border-bottom: 1px solid #fff; +} +.errormark, .warningmark, .donemark, .infomark { + background: url(../images/icon_error_sml.gif) no-repeat; +} + +.warningmark { + background-image: url(../images/icon_warning_sml.gif); +} + +.donemark { + background-image: url(../images/icon_success_sml.gif); +} + +.infomark { + background-image: url(../images/icon_info_sml.gif); +} + diff --git a/projects/hibernate-maven-plugin/1.0.1/css/print.css b/projects/hibernate-maven-plugin/1.0.1/css/print.css new file mode 100644 index 0000000..26ad7f0 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.1/css/print.css @@ -0,0 +1,7 @@ +#banner, #footer, #leftcol, #breadcrumbs, .docs #toc, .docs .courtesylinks, #leftColumn, #navColumn { + display: none !important; +} +#bodyColumn, body.docs div.docs { + margin: 0 !important; + border: none !important +} diff --git a/projects/hibernate-maven-plugin/1.0.1/css/site.css b/projects/hibernate-maven-plugin/1.0.1/css/site.css new file mode 100644 index 0000000..055e7e2 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.1/css/site.css @@ -0,0 +1 @@ +/* You can override this file with your own styles */ \ No newline at end of file diff --git a/projects/hibernate-maven-plugin/1.0.1/debugging.html b/projects/hibernate-maven-plugin/1.0.1/debugging.html new file mode 100644 index 0000000..ccf7f1e --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.1/debugging.html @@ -0,0 +1,114 @@ + + + + + + Hibernate 4 Maven Plugin - + + + + + + + + + + + +
+ +
+
+
+

Enabling Debug-Output

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

mvn -X compile hibernate4:export 

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

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

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

+
+
+
+
+
+ + + diff --git a/projects/hibernate-maven-plugin/1.0.1/dependencies.html b/projects/hibernate-maven-plugin/1.0.1/dependencies.html new file mode 100644 index 0000000..b88b947 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.1/dependencies.html @@ -0,0 +1,187 @@ + + + + + + Hibernate 4 Maven Plugin - Project 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:

GroupIdArtifactIdVersionType
com.pyx4jmaven-plugin-log4j1.0.1jar
net.sf.scannotationscannotation1.0.2jar
org.apache.mavenmaven-core3.0.4jar
org.apache.mavenmaven-plugin-api3.0.4jar
org.hibernatehibernate-core4.1.8.Finaljar

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:

GroupIdArtifactIdVersionClassifierType
antlrantlr2.7.7-jar
dom4jdom4j1.6.1-jar
javassistjavassist3.6.0.GA-jar
log4jlog4j1.2.14-jar
org.apache.mavenmaven-aether-provider3.0.4-jar
org.apache.mavenmaven-artifact3.0.4-jar
org.apache.mavenmaven-model3.0.4-jar
org.apache.mavenmaven-model-builder3.0.4-jar
org.apache.mavenmaven-repository-metadata3.0.4-jar
org.apache.mavenmaven-settings3.0.4-jar
org.apache.mavenmaven-settings-builder3.0.4-jar
org.codehaus.plexusplexus-classworlds2.4-jar
org.codehaus.plexusplexus-component-annotations1.5.5-jar
org.codehaus.plexusplexus-interpolation1.14-jar
org.hibernate.commonhibernate-commons-annotations4.0.1.Final-jar
org.hibernate.javax.persistencehibernate-jpa-2.0-api1.0.1.Final-jar
org.javassistjavassist3.15.0-GA-jar
org.jboss.loggingjboss-logging3.1.0.GA-jar
org.jboss.spec.javax.transactionjboss-transaction-api_1.1_spec1.0.0.Final-jar
org.sonatype.aetheraether-api1.13.1-jar
org.sonatype.aetheraether-impl1.13.1-jar
org.sonatype.aetheraether-spi1.13.1-jar
org.sonatype.aetheraether-util1.13.1-jar
org.sonatype.plexusplexus-cipher1.4-jar
org.sonatype.plexusplexus-sec-dispatcher1.3-jar
org.sonatype.sisusisu-guava0.9.9-jar
org.sonatype.sisusisu-guice3.1.0no_aopjar
org.sonatype.sisusisu-inject-bean2.3.0-jar
org.sonatype.sisusisu-inject-plexus2.3.0-jar

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: Unnamed - javassist:javassist:jar:3.6.0.GA, dom4j

LGPL 2.1: Javassist

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

lgpl: Transaction 1.1 API

Apache License V2.0: scannotation

BSD License: AntLR Parser Generator

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

Apache License 2.0: Javassist

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.6.0.GA.jar529.53 kB323305161.2debug
log4j-1.2.14.jar358.83 kB288256191.1debug
scannotation-1.0.2.jar18.04 kB231321.5debug
maven-aether-provider-3.0.4.jar55.17 kB402311.5debug
maven-artifact-3.0.4.jar50.87 kB5732111.5debug
maven-core-3.0.4.jar545.94 kB428350431.5debug
maven-model-3.0.4.jar159.72 kB675031.5debug
maven-model-builder-3.0.4.jar147.06 kB142109161.5debug
maven-plugin-api-3.0.4.jar48.16 kB462561.5debug
maven-repository-metadata-3.0.4.jar29.37 kB25721.5debug
maven-settings-3.0.4.jar45.57 kB331721.5debug
maven-settings-builder-3.0.4.jar40.41 kB533251.5debug
plexus-classworlds-2.4.jar45.96 kB523751.4debug
plexus-component-annotations-1.5.5.jar4.11 kB15311.5release
plexus-interpolation-1.14.jar59.64 kB604461.4debug
hibernate-core-4.1.8.Final.jar4.29 MB3,1042,8991661.6debug
hibernate-commons-annotations-4.0.1.Final.jar79.37 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.0.Final.jar10.95 kB281821.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
3410.60 MB8,3207,4274581.633
compile: 34compile: 10.60 MBcompile: 8,320compile: 7,427compile: 458-compile: 33

Dependency Repository Locations

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

Repository locations for each of the Dependencies.

Artifactapache.snapshotssonatype-nexus-snapshotscentral
antlr:antlr:jar:2.7.7--Found at http://repo1.maven.org/maven2
com.pyx4j:maven-plugin-log4j:jar:1.0.1--Found at http://repo1.maven.org/maven2
dom4j:dom4j:jar:1.6.1--Found at http://repo1.maven.org/maven2
javassist:javassist:jar:3.6.0.GA--Found at http://repo1.maven.org/maven2
log4j:log4j:jar:1.2.14--Found at http://repo1.maven.org/maven2
net.sf.scannotation:scannotation:jar:1.0.2--Found at http://repo1.maven.org/maven2
org.apache.maven:maven-aether-provider:jar:3.0.4--Found at http://repo1.maven.org/maven2
org.apache.maven:maven-artifact:jar:3.0.4--Found at http://repo1.maven.org/maven2
org.apache.maven:maven-core:jar:3.0.4--Found at http://repo1.maven.org/maven2
org.apache.maven:maven-model:jar:3.0.4--Found at http://repo1.maven.org/maven2
org.apache.maven:maven-model-builder:jar:3.0.4--Found at http://repo1.maven.org/maven2
org.apache.maven:maven-plugin-api:jar:3.0.4--Found at http://repo1.maven.org/maven2
org.apache.maven:maven-repository-metadata:jar:3.0.4--Found at http://repo1.maven.org/maven2
org.apache.maven:maven-settings:jar:3.0.4--Found at http://repo1.maven.org/maven2
org.apache.maven:maven-settings-builder:jar:3.0.4--Found at http://repo1.maven.org/maven2
org.codehaus.plexus:plexus-classworlds:jar:2.4--Found at http://repo1.maven.org/maven2
org.codehaus.plexus:plexus-component-annotations:jar:1.5.5--Found at http://repo1.maven.org/maven2
org.codehaus.plexus:plexus-interpolation:jar:1.14--Found at http://repo1.maven.org/maven2
org.hibernate:hibernate-core:jar:4.1.8.Final--Found at http://repo1.maven.org/maven2
org.hibernate.common:hibernate-commons-annotations:jar:4.0.1.Final--Found at http://repo1.maven.org/maven2
org.hibernate.javax.persistence:hibernate-jpa-2.0-api:jar:1.0.1.Final--Found at http://repo1.maven.org/maven2
org.javassist:javassist:jar:3.15.0-GA--Found at http://repo1.maven.org/maven2
org.jboss.logging:jboss-logging:jar:3.1.0.GA--Found at http://repo1.maven.org/maven2
org.jboss.spec.javax.transaction:jboss-transaction-api_1.1_spec:jar:1.0.0.Final--Found at http://repo1.maven.org/maven2
org.sonatype.aether:aether-api:jar:1.13.1--Found at http://repo1.maven.org/maven2
org.sonatype.aether:aether-impl:jar:1.13.1--Found at http://repo1.maven.org/maven2
org.sonatype.aether:aether-spi:jar:1.13.1--Found at http://repo1.maven.org/maven2
org.sonatype.aether:aether-util:jar:1.13.1--Found at http://repo1.maven.org/maven2
org.sonatype.plexus:plexus-cipher:jar:1.4--Found at http://repo1.maven.org/maven2
org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3--Found at http://repo1.maven.org/maven2
org.sonatype.sisu:sisu-guava:jar:0.9.9--Found at http://repo1.maven.org/maven2
org.sonatype.sisu:sisu-guice:jar:no_aop:3.1.0--Found at http://repo1.maven.org/maven2
org.sonatype.sisu:sisu-inject-bean:jar:2.3.0--Found at http://repo1.maven.org/maven2
org.sonatype.sisu:sisu-inject-plexus:jar:2.3.0--Found at http://repo1.maven.org/maven2
Totalapache.snapshotssonatype-nexus-snapshotscentral
34 (compile: 34)0034
+
+
+
+
+
+ + + diff --git a/projects/hibernate-maven-plugin/1.0.1/export-mojo.html b/projects/hibernate-maven-plugin/1.0.1/export-mojo.html new file mode 100644 index 0000000..f6918f8 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.1/export-mojo.html @@ -0,0 +1,413 @@ + + + + + + Hibernate 4 Maven Plugin - + hibernate4:export + + + + + + + + + + + +
+ +
+
+
+ + +

hibernate4:export

+

Full name:

+

de.juplo:hibernate4-maven-plugin:1.0.1: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
delimiterString-Delimiter in output-file.
Default value is: ;.
User property is: hibernate.export.schema.delimiter.
driverClassNameString-SQL-Driver name.
User property is: hibernate.connection.driver_class.
forceboolean-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.


Default value is: false.
User property is: hibernate.export.force.
formatboolean-Format output-file.
Default value is: true.
User property is: hibernate.export.schema.format.
hibernateDialectString-Hibernate dialect.
User property is: hibernate.dialect.
hibernatePropertiesString-Path to Hibernate configuration file.
Default value is: ${project.build.outputDirectory}/hibernate.properties.
outputDirectoryString-Classes-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.
outputFileString-Output file.
Default value is: ${project.build.directory}/schema.sql.
User property is: hibernate.export.schema.filename.
passwordString-Database password
User property is: hibernate.connection.password.
scanTestClassesboolean-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.


Default value is: false.
User property is: hibernate.export.scann_testclasses.
skipboolean-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.


Default value is: false.
User property is: maven.test.skip.
targetString-Target of execution: +
    +
  • NONE do nothing - just validate the +configuration (forces excecution, signals skip)
  • +
  • EXPORT create database +(DEFAULT!. forces excecution, signals skip)
  • +
  • SCRIPT export schema to SQL-script
  • +
  • BOTH
  • +

Default value is: EXPORT.
User property is: hibernate.export.target.
testOutputDirectoryString-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!


User property is: project.build.testOutputDirectory.
typeString-Type of execution. +
    +
  • NONE do nothing - just validate the +configuration
  • +
  • CREATE create database-schema
  • +
  • DROP drop database-schema
  • +
  • BOTH (DEFAULT!)
  • +

Default value is: BOTH.
User property is: hibernate.export.type.
urlString-Database URL.
User property is: hibernate.connection.url.
usernameString-Database username
User property is: hibernate.connection.username.
+
+

Parameter Details

+

delimiter:

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

driverClassName:

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

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
  • +
  • Required: No
  • +
  • User Property: hibernate.export.force
  • +
  • Default: false
  • +

format:

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

hibernateDialect:

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

hibernateProperties:

+
Path to Hibernate configuration file.
+
    +
  • Type: java.lang.String
  • +
  • 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
  • +
  • Required: No
  • +
  • User Property: project.build.outputDirectory
  • +

outputFile:

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

password:

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

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
  • +
  • Required: No
  • +
  • User Property: hibernate.export.scann_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
  • +
  • Required: No
  • +
  • User Property: maven.test.skip
  • +
  • Default: false
  • +

target:

+
Target of execution: +
    +
  • NONE do nothing - just validate the +configuration (forces excecution, signals skip)
  • +
  • EXPORT create database +(DEFAULT!. forces excecution, signals skip)
  • +
  • SCRIPT export schema to SQL-script
  • +
  • BOTH
  • +
+
    +
  • Type: java.lang.String
  • +
  • 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
  • +
  • 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!)
  • +
+
    +
  • Type: java.lang.String
  • +
  • Required: No
  • +
  • User Property: hibernate.export.type
  • +
  • Default: BOTH
  • +

url:

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

username:

+
Database username
+
    +
  • Type: java.lang.String
  • +
  • Required: No
  • +
  • User Property: hibernate.connection.username
  • +
+
+
+ + +
+
+
+
+
+ + + diff --git a/projects/hibernate-maven-plugin/1.0.1/force.html b/projects/hibernate-maven-plugin/1.0.1/force.html new file mode 100644 index 0000000..77bbb83 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.1/force.html @@ -0,0 +1,121 @@ + + + + + + Hibernate 4 Maven Plugin - + + + + + + + + + + + +
+ +
+
+
+

Force execution

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

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

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

<plugin>
+  <groupId>de.juplo</groupId>
+  <artifactId>hibernate4-maven-plugin</artifactId>
+  <version>1.0.1</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.

+
+
+
+
+
+ + + diff --git a/projects/hibernate-maven-plugin/1.0.1/images/close.gif b/projects/hibernate-maven-plugin/1.0.1/images/close.gif new file mode 100644 index 0000000..1c26bbc Binary files /dev/null and b/projects/hibernate-maven-plugin/1.0.1/images/close.gif differ diff --git a/projects/hibernate-maven-plugin/1.0.1/images/collapsed.gif b/projects/hibernate-maven-plugin/1.0.1/images/collapsed.gif new file mode 100644 index 0000000..6e71084 Binary files /dev/null and b/projects/hibernate-maven-plugin/1.0.1/images/collapsed.gif differ diff --git a/projects/hibernate-maven-plugin/1.0.1/images/expanded.gif b/projects/hibernate-maven-plugin/1.0.1/images/expanded.gif new file mode 100644 index 0000000..0fef3d8 Binary files /dev/null and b/projects/hibernate-maven-plugin/1.0.1/images/expanded.gif differ diff --git a/projects/hibernate-maven-plugin/1.0.1/images/external.png b/projects/hibernate-maven-plugin/1.0.1/images/external.png new file mode 100644 index 0000000..3f999fc Binary files /dev/null and b/projects/hibernate-maven-plugin/1.0.1/images/external.png differ diff --git a/projects/hibernate-maven-plugin/1.0.1/images/icon_error_sml.gif b/projects/hibernate-maven-plugin/1.0.1/images/icon_error_sml.gif new file mode 100644 index 0000000..61132ef Binary files /dev/null and b/projects/hibernate-maven-plugin/1.0.1/images/icon_error_sml.gif differ diff --git a/projects/hibernate-maven-plugin/1.0.1/images/icon_info_sml.gif b/projects/hibernate-maven-plugin/1.0.1/images/icon_info_sml.gif new file mode 100644 index 0000000..c6cb9ad Binary files /dev/null and b/projects/hibernate-maven-plugin/1.0.1/images/icon_info_sml.gif differ diff --git a/projects/hibernate-maven-plugin/1.0.1/images/icon_success_sml.gif b/projects/hibernate-maven-plugin/1.0.1/images/icon_success_sml.gif new file mode 100644 index 0000000..52e85a4 Binary files /dev/null and b/projects/hibernate-maven-plugin/1.0.1/images/icon_success_sml.gif differ diff --git a/projects/hibernate-maven-plugin/1.0.1/images/icon_warning_sml.gif b/projects/hibernate-maven-plugin/1.0.1/images/icon_warning_sml.gif new file mode 100644 index 0000000..873bbb5 Binary files /dev/null and b/projects/hibernate-maven-plugin/1.0.1/images/icon_warning_sml.gif differ diff --git a/projects/hibernate-maven-plugin/1.0.1/images/logos/build-by-maven-black.png b/projects/hibernate-maven-plugin/1.0.1/images/logos/build-by-maven-black.png new file mode 100644 index 0000000..919fd0f Binary files /dev/null and b/projects/hibernate-maven-plugin/1.0.1/images/logos/build-by-maven-black.png differ diff --git a/projects/hibernate-maven-plugin/1.0.1/images/logos/build-by-maven-white.png b/projects/hibernate-maven-plugin/1.0.1/images/logos/build-by-maven-white.png new file mode 100644 index 0000000..7d44c9c Binary files /dev/null and b/projects/hibernate-maven-plugin/1.0.1/images/logos/build-by-maven-white.png differ diff --git a/projects/hibernate-maven-plugin/1.0.1/images/logos/maven-feather.png b/projects/hibernate-maven-plugin/1.0.1/images/logos/maven-feather.png new file mode 100644 index 0000000..b5ada83 Binary files /dev/null and b/projects/hibernate-maven-plugin/1.0.1/images/logos/maven-feather.png differ diff --git a/projects/hibernate-maven-plugin/1.0.1/images/newwindow.png b/projects/hibernate-maven-plugin/1.0.1/images/newwindow.png new file mode 100644 index 0000000..6287f72 Binary files /dev/null and b/projects/hibernate-maven-plugin/1.0.1/images/newwindow.png differ diff --git a/projects/hibernate-maven-plugin/1.0.1/index.html b/projects/hibernate-maven-plugin/1.0.1/index.html new file mode 100644 index 0000000..171a8a0 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.1/index.html @@ -0,0 +1,149 @@ + + + + + + Hibernate 4 Maven Plugin - + + + + + + + + + + + +
+ +
+
+
+

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

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

The plugin was designed with three main goals in mind:

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

To achieve the first goal, the convention-over-configuration paradigma was applied and the plugin was stuffed with usefull logging-messages. So, if in doubt, just turn on the debugging output with the mvn -X ....

To achieve the second goal, the precedence in which the configuration locations are consulted was layouted in a way that makes it possible, to prevent overwrites of the wrong database by accident.

Last but not least, in order to not slow down the development cycle, the hibernate4-maven-plugin only executes the schema-export, if the mapping or the dialect changes (or if you force it to do so).

For more information about the inspiration to write this tiny plugin, read our blog-article about the hibernate4-maven-plugin.

Documentation

  • See Configuration Examples for Usage-Explanations and simple examples of how to use this plugin.
  • See hibernate4:export and Plugin Documentation for the full autogenerated documentation. These are mostly configuration-options of the Hibernate-Tools SchemaExport and SchemaUpdate, that do the work in the background.

Releases

+
+
+
+
+
+ + + diff --git a/projects/hibernate-maven-plugin/1.0.1/integration.html b/projects/hibernate-maven-plugin/1.0.1/integration.html new file mode 100644 index 0000000..75d3a83 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.1/integration.html @@ -0,0 +1,149 @@ + + + + + + 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-
+
+
+
+
+
+ + + diff --git a/projects/hibernate-maven-plugin/1.0.1/issue-tracking.html b/projects/hibernate-maven-plugin/1.0.1/issue-tracking.html new file mode 100644 index 0000000..9a552ed --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.1/issue-tracking.html @@ -0,0 +1,149 @@ + + + + + + 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.

+
+
+
+
+
+ + + diff --git a/projects/hibernate-maven-plugin/1.0.1/license.html b/projects/hibernate-maven-plugin/1.0.1/license.html new file mode 100644 index 0000000..64922a6 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.1/license.html @@ -0,0 +1,351 @@ + + + + + + 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.
+
+
+
+
+
+
+ + + diff --git a/projects/hibernate-maven-plugin/1.0.1/mail-lists.html b/projects/hibernate-maven-plugin/1.0.1/mail-lists.html new file mode 100644 index 0000000..dde5dfc --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.1/mail-lists.html @@ -0,0 +1,149 @@ + + + + + + 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.

+
+
+
+
+
+ + + diff --git a/projects/hibernate-maven-plugin/1.0.1/pitfalls.html b/projects/hibernate-maven-plugin/1.0.1/pitfalls.html new file mode 100644 index 0000000..af860a6 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.1/pitfalls.html @@ -0,0 +1,155 @@ + + + + + + Hibernate 4 Maven Plugin - + + + + + + + + + + + +
+ +
+
+
+

Known Pitfalls

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>1.0.1</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>
+
+
+
+
+
+ + + diff --git a/projects/hibernate-maven-plugin/1.0.1/plugin-info.html b/projects/hibernate-maven-plugin/1.0.1/plugin-info.html new file mode 100644 index 0000000..2883b53 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.1/plugin-info.html @@ -0,0 +1,158 @@ + + + + + + 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.

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.1</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.1</version>
+      </plugin>
+      ...
+    </plugins>
+  </build>
+  ...
+</project>
+

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

+
+
+
+
+
+ + + diff --git a/projects/hibernate-maven-plugin/1.0.1/plugin-management.html b/projects/hibernate-maven-plugin/1.0.1/plugin-management.html new file mode 100644 index 0000000..917dac5 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.1/plugin-management.html @@ -0,0 +1,149 @@ + + + + + + Hibernate 4 Maven Plugin - Project Plugin Management + + + + + + + + + + + +
+ +
+
+
+

Project Plugin Management

GroupIdArtifactIdVersion
org.apache.maven.pluginsmaven-antrun-plugin1.6
org.apache.maven.pluginsmaven-assembly-plugin2.2-beta-4
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.4
org.apache.maven.pluginsmaven-ear-plugin2.3.2
org.apache.maven.pluginsmaven-ejb-plugin2.2
org.apache.maven.pluginsmaven-install-plugin2.3
org.apache.maven.pluginsmaven-jar-plugin2.2
org.apache.maven.pluginsmaven-javadoc-plugin2.6.1
org.apache.maven.pluginsmaven-plugin-plugin2.8
org.apache.maven.pluginsmaven-rar-plugin2.2
org.apache.maven.pluginsmaven-release-plugin2.1
org.apache.maven.pluginsmaven-resources-plugin2.3
org.apache.maven.pluginsmaven-site-plugin2.1
org.apache.maven.pluginsmaven-source-plugin2.0.4
org.apache.maven.pluginsmaven-surefire-plugin2.10
org.apache.maven.pluginsmaven-war-plugin2.1.1
+
+
+
+
+
+ + + diff --git a/projects/hibernate-maven-plugin/1.0.1/plugins.html b/projects/hibernate-maven-plugin/1.0.1/plugins.html new file mode 100644 index 0000000..0ac0536 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.1/plugins.html @@ -0,0 +1,149 @@ + + + + + + Hibernate 4 Maven Plugin - Project Build Plugins + + + + + + + + + + + +
+ +
+
+
+

Project Build Plugins

GroupIdArtifactIdVersion
org.apache.maven.pluginsmaven-compiler-plugin2.0.2
org.apache.maven.pluginsmaven-dependency-plugin2.1
org.apache.maven.pluginsmaven-enforcer-plugin1.0
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-source-plugin2.1.2

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-plugin2.1
+
+
+
+
+
+ + + diff --git a/projects/hibernate-maven-plugin/1.0.1/pmd.html b/projects/hibernate-maven-plugin/1.0.1/pmd.html new file mode 100644 index 0000000..c1c95da --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.1/pmd.html @@ -0,0 +1,131 @@ + + + + + + Hibernate 4 Maven Plugin - PMD Results + + + + + + + + + + + +
+ +
+
+
+

PMD Results

The following document contains the results of PMD 4.3.

Files

PMD found no problems in your source code.

+
+
+
+
+
+ + + diff --git a/projects/hibernate-maven-plugin/1.0.1/pmd.xml b/projects/hibernate-maven-plugin/1.0.1/pmd.xml new file mode 100644 index 0000000..749b92a --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.1/pmd.xml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/projects/hibernate-maven-plugin/1.0.1/project-info.html b/projects/hibernate-maven-plugin/1.0.1/project-info.html new file mode 100644 index 0000000..c00a734 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.1/project-info.html @@ -0,0 +1,149 @@ + + + + + + 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
Continuous IntegrationThis is a link to the definitions of all continuous integration processes that builds and tests code on a frequent, regular basis.
DependenciesThis document lists the project's dependencies and provides information on each dependency.
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.
Mailing ListsThis document provides subscription and archive information for this project's mailing lists.
Plugin ManagementThis document lists the plugins that are defined through pluginManagement.
Project LicenseThis is a link to the definitions of project licenses.
Project PluginsThis document lists the build plugins and the report plugins used by this project.
Project SummaryThis document lists other related information of this project
Project TeamThis document provides information on the members of this project. These are the individuals who have contributed to the project in one form or another.
Source RepositoryThis is a link to the online source repository that can be viewed via a web browser.
+
+
+
+
+
+ + + diff --git a/projects/hibernate-maven-plugin/1.0.1/project-reports.html b/projects/hibernate-maven-plugin/1.0.1/project-reports.html new file mode 100644 index 0000000..a4b073f --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.1/project-reports.html @@ -0,0 +1,131 @@ + + + + + + Hibernate 4 Maven Plugin - Generated 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
CPD ReportDuplicate code detection.
JavaDocsJavaDoc API documentation.
Plugin DocumentationThis report provides goals and parameters documentation of a plugin.
PMD ReportVerification of coding rules.
Source XrefHTML based, cross-reference version of Java source code.
+
+
+
+
+
+ + + diff --git a/projects/hibernate-maven-plugin/1.0.1/project-summary.html b/projects/hibernate-maven-plugin/1.0.1/project-summary.html new file mode 100644 index 0000000..526500d --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.1/project-summary.html @@ -0,0 +1,149 @@ + + + + + + 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.1
Typemaven-plugin
+
+
+
+
+
+ + + diff --git a/projects/hibernate-maven-plugin/1.0.1/source-repository.html b/projects/hibernate-maven-plugin/1.0.1/source-repository.html new file mode 100644 index 0000000..aa6fee4 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.1/source-repository.html @@ -0,0 +1,149 @@ + + + + + + Hibernate 4 Maven Plugin - Source Repository + + + + + + + + + + + +
+ +
+
+
+

Overview

This project uses a Source Content Management System to manage its source code.

Web Access

The following is a link to the online source repository.

Anonymous access

Refer to the documentation of the SCM used for more information about anonymously check out. The connection url is:

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

Developer access

Refer to the documentation of the SCM used for more information about developer check out. The connection url is:

git:ssh://juplo.de:/var/cache/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.

+
+
+
+
+
+ + + diff --git a/projects/hibernate-maven-plugin/1.0.1/team-list.html b/projects/hibernate-maven-plugin/1.0.1/team-list.html new file mode 100644 index 0000000..e0c0098 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.1/team-list.html @@ -0,0 +1,164 @@ + + + + + + Hibernate 4 Maven Plugin - Team list + + + + + + + + + + + +
+ +
+
+
+

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.

IdNameEmail
kaiKai Moritzkai@juplo.de

Contributors

There are no contributors listed for this project. Please check back again later.

+
+
+
+
+
+ + + diff --git a/projects/hibernate-maven-plugin/1.0.1/xref/allclasses-frame.html b/projects/hibernate-maven-plugin/1.0.1/xref/allclasses-frame.html new file mode 100644 index 0000000..507bf84 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.1/xref/allclasses-frame.html @@ -0,0 +1,23 @@ + + + + + + All Classes + + + + +

All Classes

+ + + + + diff --git a/projects/hibernate-maven-plugin/1.0.1/xref/de/juplo/plugins/hibernate4/Hbm2DdlMojo.html b/projects/hibernate-maven-plugin/1.0.1/xref/de/juplo/plugins/hibernate4/Hbm2DdlMojo.html new file mode 100644 index 0000000..6ebc042 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.1/xref/de/juplo/plugins/hibernate4/Hbm2DdlMojo.html @@ -0,0 +1,784 @@ + + + + +Hbm2DdlMojo xref + + + +
View Javadoc
+
+1   package de.juplo.plugins.hibernate4;
+2   
+3   /*
+4    * Copyright 2001-2005 The Apache Software Foundation.
+5    *
+6    * Licensed under the Apache License, Version 2.0 (the "License");
+7    * you may not use this file except in compliance with the License.
+8    * You may obtain a copy of the License at
+9    *
+10   *      http://www.apache.org/licenses/LICENSE-2.0
+11   *
+12   * Unless required by applicable law or agreed to in writing, software
+13   * distributed under the License is distributed on an "AS IS" BASIS,
+14   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+15   * See the License for the specific language governing permissions and
+16   * limitations under the License.
+17   */
+18  
+19  import com.pyx4j.log4j.MavenLogAppender;
+20  import java.io.File;
+21  import java.io.FileInputStream;
+22  import java.io.FileOutputStream;
+23  import java.io.IOException;
+24  import java.io.InputStream;
+25  import java.io.ObjectInputStream;
+26  import java.io.ObjectOutputStream;
+27  import java.math.BigInteger;
+28  import java.net.URL;
+29  import java.net.URLClassLoader;
+30  import java.security.MessageDigest;
+31  import java.sql.Connection;
+32  import java.sql.Driver;
+33  import java.sql.DriverManager;
+34  import java.sql.DriverPropertyInfo;
+35  import java.sql.SQLException;
+36  import java.sql.SQLFeatureNotSupportedException;
+37  import java.util.Comparator;
+38  import java.util.Enumeration;
+39  import java.util.HashMap;
+40  import java.util.HashSet;
+41  import java.util.List;
+42  import java.util.Map;
+43  import java.util.Map.Entry;
+44  import java.util.Properties;
+45  import java.util.Set;
+46  import java.util.TreeSet;
+47  import java.util.logging.Logger;
+48  import javax.persistence.Embeddable;
+49  import javax.persistence.Entity;
+50  import javax.persistence.MappedSuperclass;
+51  import org.apache.maven.plugin.AbstractMojo;
+52  import org.apache.maven.plugin.MojoExecutionException;
+53  import org.apache.maven.plugin.MojoFailureException;
+54  import org.apache.maven.project.MavenProject;
+55  import org.hibernate.cfg.Configuration;
+56  import org.hibernate.tool.hbm2ddl.SchemaExport;
+57  import org.hibernate.tool.hbm2ddl.SchemaExport.Type;
+58  import org.hibernate.tool.hbm2ddl.Target;
+59  import org.scannotation.AnnotationDB;
+60  
+61  
+62  /**
+63   * Goal which extracts the hibernate-mapping-configuration and
+64   * exports an according SQL-database-schema.
+65   *
+66   * @goal export
+67   * @phase process-classes
+68   * @threadSafe
+69   * @requiresDependencyResolution runtime
+70   */
+71  public class Hbm2DdlMojo extends AbstractMojo
+72  {
+73    public final static String EXPORT_SKIPPED_PROPERTY = "hibernate.export.skipped";
+74  
+75    public final static String DRIVER_CLASS = "hibernate.connection.driver_class";
+76    public final static String URL = "hibernate.connection.url";
+77    public final static String USERNAME = "hibernate.connection.username";
+78    public final static String PASSWORD = "hibernate.connection.password";
+79    public final static String DIALECT = "hibernate.dialect";
+80  
+81    private final static String MD5S = "schema.md5s";
+82  
+83    /**
+84     * The maven project.
+85     * <p>
+86     * Only needed internally.
+87     *
+88     * @parameter expression="${project}"
+89     * @required
+90     * @readonly
+91     */
+92    private MavenProject project;
+93  
+94    /**
+95     * Build-directory.
+96     * <p>
+97     * Only needed internally.
+98     *
+99     * @parameter expression="${project.build.directory}"
+100    * @required
+101    * @readonly
+102    */
+103   private String buildDirectory;
+104 
+105   /**
+106    * Classes-Directory to scan.
+107    * <p>
+108    * This parameter defaults to the maven build-output-directory for classes.
+109    * Additonally, all dependencies are scanned for annotated classes.
+110    *
+111    * @parameter expression="${project.build.outputDirectory}"
+112    */
+113   private String outputDirectory;
+114 
+115   /**
+116    * Wether to scan test-classes too, or not.
+117    * <p>
+118    * If this parameter is set to <code>true</code> the test-classes of the
+119    * artifact will be scanned for hibernate-annotated classes additionally.
+120    *
+121    * @parameter expression="${hibernate.export.scann_testclasses}" default-value="false"
+122    */
+123   private boolean scanTestClasses;
+124 
+125   /**
+126    * Test-Classes-Directory to scan.
+127    * <p>
+128    * This parameter defaults to the maven build-output-directory for
+129    * test-classes.
+130    * <p>
+131    * This parameter is only used, when <code>scanTestClasses</code> is set
+132    * to <code>true</code>!
+133    *
+134    * @parameter expression="${project.build.testOutputDirectory}"
+135    */
+136   private String testOutputDirectory;
+137 
+138   /**
+139    * Skip execution
+140    * <p>
+141    * If set to <code>true</code>, the execution is skipped.
+142    * <p>
+143    * A skipped excecution is signaled via the maven-property
+144    * <code>${hibernate.export.skipped}</code>.
+145    * <p>
+146    * The excecution is skipped automatically, if no modified or newly added
+147    * annotated classes are found and the dialect was not changed.
+148    *
+149    * @parameter expression="${maven.test.skip}" default-value="false"
+150    */
+151   private boolean skip;
+152 
+153   /**
+154    * Force execution
+155    * <p>
+156    * Force execution, even if no modified or newly added annotated classes
+157    * where found and the dialect was not changed.
+158    * <p>
+159    * <code>skip</code> takes precedence over <code>force</code>.
+160    *
+161    * @parameter expression="${hibernate.export.force}" default-value="false"
+162    */
+163   private boolean force;
+164 
+165   /**
+166    * SQL-Driver name.
+167    *
+168    * @parameter expression="${hibernate.connection.driver_class}
+169    */
+170   private String driverClassName;
+171 
+172   /**
+173    * Database URL.
+174    *
+175    * @parameter expression="${hibernate.connection.url}"
+176    */
+177   private String url;
+178 
+179   /**
+180    * Database username
+181    *
+182    * @parameter expression="${hibernate.connection.username}"
+183    */
+184   private String username;
+185 
+186   /**
+187    * Database password
+188    *
+189    * @parameter expression="${hibernate.connection.password}"
+190    */
+191   private String password;
+192 
+193   /**
+194    * Hibernate dialect.
+195    *
+196    * @parameter expression="${hibernate.dialect}"
+197    */
+198   private String hibernateDialect;
+199 
+200   /**
+201    * Path to Hibernate configuration file.
+202    *
+203    * @parameter default-value="${project.build.outputDirectory}/hibernate.properties"
+204    */
+205   private String hibernateProperties;
+206 
+207   /**
+208    * Target of execution:
+209    * <ul>
+210    *   <li><strong>NONE</strong> do nothing - just validate the configuration (forces excecution, signals skip)</li>
+211    *   <li><strong>EXPORT</strong> create database (<strong>DEFAULT!</strong>. forces excecution, signals skip)</li>
+212    *   <li><strong>SCRIPT</strong> export schema to SQL-script</li>
+213    *   <li><strong>BOTH</strong></li>
+214    * </ul>
+215    * @parameter expression="${hibernate.export.target}" default-value="EXPORT"
+216    */
+217   private String target;
+218 
+219   /**
+220    * Type of execution.
+221    * <ul>
+222    *   <li><strong>NONE</strong> do nothing - just validate the configuration</li>
+223    *   <li><strong>CREATE</strong> create database-schema</li>
+224    *   <li><strong>DROP</strong> drop database-schema</li>
+225    *   <li><strong>BOTH</strong> (<strong>DEFAULT!</strong>)</li>
+226    * </ul>
+227    * @parameter expression="${hibernate.export.type}" default-value="BOTH"
+228    */
+229   private String type;
+230 
+231   /**
+232    * Output file.
+233    *
+234    * @parameter expression="${hibernate.export.schema.filename}" default-value="${project.build.directory}/schema.sql"
+235    */
+236   private String outputFile;
+237 
+238   /**
+239    * Delimiter in output-file.
+240    *
+241    * @parameter expression="${hibernate.export.schema.delimiter}" default-value=";"
+242    */
+243   private String delimiter;
+244 
+245   /**
+246    * Format output-file.
+247    *
+248    * @parameter expression="${hibernate.export.schema.format}" default-value="true"
+249    */
+250   private boolean format;
+251 
+252 
+253   @Override
+254   public void execute()
+255     throws
+256       MojoFailureException,
+257       MojoExecutionException
+258   {
+259     if (skip)
+260     {
+261       getLog().info("Exectuion of hibernate4-maven-plugin:export was skipped!");
+262       project.getProperties().setProperty(EXPORT_SKIPPED_PROPERTY, "true");
+263       return;
+264     }
+265 
+266     File dir = new File(outputDirectory);
+267     if (!dir.exists())
+268       throw new MojoExecutionException("Cannot scan for annotated classes in " + outputDirectory + ": directory does not exist!");
+269 
+270     Map<String,String> md5s;
+271     boolean modified = false;
+272     File saved = new File(buildDirectory + File.separator + MD5S);
+273 
+274     if (saved.exists())
+275     {
+276       try
+277       {
+278         FileInputStream fis = new FileInputStream(saved);
+279         ObjectInputStream ois = new ObjectInputStream(fis);
+280         md5s = (HashMap<String,String>)ois.readObject();
+281         ois.close();
+282       }
+283       catch (Exception e)
+284       {
+285         md5s = new HashMap<String,String>();
+286         getLog().warn("Cannot read timestamps from saved: " + e);
+287       }
+288     }
+289     else
+290     {
+291       md5s = new HashMap<String,String>();
+292       try
+293       {
+294         saved.createNewFile();
+295       }
+296       catch (IOException e)
+297       {
+298         getLog().warn("Cannot create saved for timestamps: " + e);
+299       }
+300     }
+301 
+302     ClassLoader classLoader = null;
+303     try
+304     {
+305       getLog().debug("Creating ClassLoader for project-dependencies...");
+306       List<String> classpathFiles = project.getCompileClasspathElements();
+307       if (scanTestClasses)
+308         classpathFiles.addAll(project.getTestClasspathElements());
+309       URL[] urls = new URL[classpathFiles.size()];
+310       for (int i = 0; i < classpathFiles.size(); ++i)
+311       {
+312         getLog().debug("Dependency: " + classpathFiles.get(i));
+313         urls[i] = new File(classpathFiles.get(i)).toURI().toURL();
+314       }
+315       classLoader = new URLClassLoader(urls, getClass().getClassLoader());
+316     }
+317     catch (Exception e)
+318     {
+319       getLog().error("Error while creating ClassLoader!", e);
+320       throw new MojoExecutionException(e.getMessage());
+321     }
+322 
+323     Set<Class<?>> classes =
+324         new TreeSet<Class<?>>(
+325             new Comparator<Class<?>>() {
+326               @Override
+327               public int compare(Class<?> a, Class<?> b)
+328               {
+329                 return a.getName().compareTo(b.getName());
+330               }
+331             }
+332           );
+333 
+334     try
+335     {
+336       AnnotationDB db = new AnnotationDB();
+337       getLog().info("Scanning directory " + outputDirectory + " for annotated classes...");
+338       URL dirUrl = dir.toURI().toURL();
+339       db.scanArchives(dirUrl);
+340       if (scanTestClasses)
+341       {
+342         dir = new File(testOutputDirectory);
+343         if (!dir.exists())
+344           throw new MojoExecutionException("Cannot scan for annotated test-classes in " + testOutputDirectory + ": directory does not exist!");
+345         getLog().info("Scanning directory " + testOutputDirectory + " for annotated classes...");
+346         dirUrl = dir.toURI().toURL();
+347         db.scanArchives(dirUrl);
+348       }
+349 
+350       Set<String> classNames = new HashSet<String>();
+351       if (db.getAnnotationIndex().containsKey(Entity.class.getName()))
+352         classNames.addAll(db.getAnnotationIndex().get(Entity.class.getName()));
+353       if (db.getAnnotationIndex().containsKey(MappedSuperclass.class.getName()))
+354         classNames.addAll(db.getAnnotationIndex().get(MappedSuperclass.class.getName()));
+355       if (db.getAnnotationIndex().containsKey(Embeddable.class.getName()))
+356         classNames.addAll(db.getAnnotationIndex().get(Embeddable.class.getName()));
+357 
+358       MessageDigest digest = java.security.MessageDigest.getInstance("MD5");
+359       for (String name : classNames)
+360       {
+361         Class<?> annotatedClass = classLoader.loadClass(name);
+362         classes.add(annotatedClass);
+363         InputStream is =
+364             annotatedClass
+365                 .getResourceAsStream(annotatedClass.getSimpleName() + ".class");
+366         byte[] buffer = new byte[1024*4]; // copy data in 4MB-chunks
+367         int i;
+368         while((i = is.read(buffer)) > -1)
+369           digest.update(buffer, 0, i);
+370         is.close();
+371         byte[] bytes = digest.digest();
+372         BigInteger bi = new BigInteger(1, bytes);
+373         String newMd5 = String.format("%0" + (bytes.length << 1) + "x", bi);
+374         String oldMd5 = !md5s.containsKey(name) ? "" : md5s.get(name);
+375         if (!newMd5.equals(oldMd5))
+376         {
+377           getLog().debug("Found new or modified annotated class: " + name);
+378           modified = true;
+379           md5s.put(name, newMd5);
+380         }
+381         else
+382         {
+383           getLog().debug(oldMd5 + " -> class unchanged: " + name);
+384         }
+385       }
+386     }
+387     catch (ClassNotFoundException e)
+388     {
+389       getLog().error("Error while adding annotated classes!", e);
+390       throw new MojoExecutionException(e.getMessage());
+391     }
+392     catch (Exception e)
+393     {
+394       getLog().error("Error while scanning!", e);
+395       throw new MojoFailureException(e.getMessage());
+396     }
+397 
+398     if (classes.isEmpty())
+399       throw new MojoFailureException("No annotated classes found in directory " + outputDirectory);
+400 
+401     getLog().debug("Detected classes with mapping-annotations:");
+402     for (Class<?> annotatedClass : classes)
+403       getLog().debug("  " + annotatedClass.getName());
+404 
+405 
+406     Properties properties = new Properties();
+407 
+408     /** Try to read configuration from properties-file */
+409     try
+410     {
+411       File file = new File(hibernateProperties);
+412       if (file.exists())
+413       {
+414         getLog().info("Reading properties from file " + hibernateProperties + "...");
+415         properties.load(new FileInputStream(file));
+416       }
+417       else
+418         getLog().info("No hibernate-properties-file found! (Checked path: " + hibernateProperties + ")");
+419     }
+420     catch (IOException e)
+421     {
+422       getLog().error("Error while reading properties!", e);
+423       throw new MojoExecutionException(e.getMessage());
+424     }
+425 
+426     /** Overwrite values from propertie-file or set, if given */
+427     if (driverClassName != null)
+428     {
+429       if (properties.containsKey(DRIVER_CLASS))
+430         getLog().debug(
+431             "Overwriting property " +
+432             DRIVER_CLASS + "=" + properties.getProperty(DRIVER_CLASS) +
+433             " with the value " + driverClassName
+434           );
+435       else
+436         getLog().debug("Using the value " + driverClassName);
+437       properties.setProperty(DRIVER_CLASS, driverClassName);
+438     }
+439     if (url != null)
+440     {
+441       if (properties.containsKey(URL))
+442         getLog().debug(
+443             "Overwriting property " +
+444             URL + "=" + properties.getProperty(URL) +
+445             " with the value " + url
+446           );
+447       else
+448         getLog().debug("Using the value " + url);
+449       properties.setProperty(URL, url);
+450     }
+451     if (username != null)
+452     {
+453       if (properties.containsKey(USERNAME))
+454         getLog().debug(
+455             "Overwriting property " +
+456             USERNAME + "=" + properties.getProperty(USERNAME) +
+457             " with the value " + username
+458           );
+459       else
+460         getLog().debug("Using the value " + username);
+461       properties.setProperty(USERNAME, username);
+462     }
+463     if (password != null)
+464     {
+465       if (properties.containsKey(PASSWORD))
+466         getLog().debug(
+467             "Overwriting property " +
+468             PASSWORD + "=" + properties.getProperty(PASSWORD) +
+469             " with the value " + password 
+470           );
+471       else
+472         getLog().debug("Using the value " + password);
+473       properties.setProperty(PASSWORD, password);
+474     }
+475     if (hibernateDialect != null)
+476     {
+477       if (properties.containsKey(DIALECT))
+478         getLog().debug(
+479             "Overwriting property " +
+480             DIALECT + "=" + properties.getProperty(DIALECT) +
+481             " with the value " + hibernateDialect
+482           );
+483       else
+484         getLog().debug("Using the value " + hibernateDialect);
+485       properties.setProperty(DIALECT, hibernateDialect);
+486     }
+487 
+488     /** The generated SQL varies with the dialect! */
+489     if (md5s.containsKey(DIALECT))
+490     {
+491       String dialect = properties.getProperty(DIALECT);
+492       if (md5s.get(DIALECT).equals(dialect))
+493         getLog().debug("SQL-dialect unchanged.");
+494       else
+495       {
+496         getLog().debug("SQL-dialect changed: " + dialect);
+497         modified = true;
+498         md5s.put(DIALECT, dialect);
+499       }
+500     }
+501     else
+502     {
+503       modified = true;
+504       md5s.put(DIALECT, properties.getProperty(DIALECT));
+505     }
+506 
+507     if (properties.isEmpty())
+508     {
+509       getLog().error("No properties set!");
+510       throw new MojoFailureException("Hibernate-Configuration is missing!");
+511     }
+512 
+513     Configuration config = new Configuration();
+514     config.setProperties(properties);
+515     getLog().debug("Adding annotated classes to hibernate-mapping-configuration...");
+516     for (Class<?> annotatedClass : classes)
+517     {
+518       getLog().debug("Class " + annotatedClass);
+519       config.addAnnotatedClass(annotatedClass);
+520     }
+521 
+522     Target target = null;
+523     try
+524     {
+525       target = Target.valueOf(this.target.toUpperCase());
+526     }
+527     catch (IllegalArgumentException e)
+528     {
+529       getLog().error("Invalid value for configuration-option \"target\": " + this.target);
+530       getLog().error("Valid values are: NONE, SCRIPT, EXPORT, BOTH");
+531       throw new MojoExecutionException("Invalid value for configuration-option \"target\"");
+532     }
+533     Type type = null;
+534     try
+535     {
+536       type = Type.valueOf(this.type.toUpperCase());
+537     }
+538     catch (IllegalArgumentException e)
+539     {
+540       getLog().error("Invalid value for configuration-option \"type\": " + this.type);
+541       getLog().error("Valid values are: NONE, CREATE, DROP, BOTH");
+542       throw new MojoExecutionException("Invalid value for configuration-option \"type\"");
+543     }
+544 
+545     if (target.equals(Target.SCRIPT) || target.equals(Target.NONE))
+546     {
+547       project.getProperties().setProperty(EXPORT_SKIPPED_PROPERTY, "true");
+548     }
+549     if (
+550         !modified
+551         && !target.equals(Target.SCRIPT)
+552         && !target.equals(Target.NONE)
+553         && !force
+554       )
+555     {
+556       getLog().info("No modified annotated classes found and dialect unchanged.");
+557       getLog().info("Skipping schema generation!");
+558       project.getProperties().setProperty(EXPORT_SKIPPED_PROPERTY, "true");
+559       return;
+560     }
+561 
+562     getLog().info("Gathered hibernate-configuration (turn on debugging for details):");
+563     for (Entry<Object,Object> entry : properties.entrySet())
+564       getLog().info("  " + entry.getKey() + " = " + entry.getValue());
+565 
+566     Connection connection = null;
+567     try
+568     {
+569       /**
+570        * The connection must be established outside of hibernate, because
+571        * hibernate does not use the context-classloader of the current
+572        * thread and, hence, would not be able to resolve the driver-class!
+573        */
+574       switch (target)
+575       {
+576         case EXPORT:
+577         case BOTH:
+578           switch (type)
+579           {
+580             case CREATE:
+581             case DROP:
+582             case BOTH:
+583               Class driverClass = classLoader.loadClass(properties.getProperty(DRIVER_CLASS));
+584               getLog().debug("Registering JDBC-driver " + driverClass.getName());
+585               DriverManager.registerDriver(new DriverProxy((Driver)driverClass.newInstance()));
+586               getLog().debug(
+587                   "Opening JDBC-connection to "
+588                   + properties.getProperty(URL)
+589                   + " as "
+590                   + properties.getProperty(USERNAME)
+591                   + " with password "
+592                   + properties.getProperty(PASSWORD)
+593                   );
+594               connection = DriverManager.getConnection(
+595                   properties.getProperty(URL),
+596                   properties.getProperty(USERNAME),
+597                   properties.getProperty(PASSWORD)
+598                   );
+599           }
+600       }
+601     }
+602     catch (ClassNotFoundException e)
+603     {
+604       getLog().error("Dependency for driver-class " + properties.getProperty(DRIVER_CLASS) + " is missing!");
+605       throw new MojoExecutionException(e.getMessage());
+606     }
+607     catch (Exception e)
+608     {
+609       getLog().error("Cannot establish connection to database!");
+610       Enumeration<Driver> drivers = DriverManager.getDrivers();
+611       if (!drivers.hasMoreElements())
+612         getLog().error("No drivers registered!");
+613       while (drivers.hasMoreElements())
+614         getLog().debug("Driver: " + drivers.nextElement());
+615       throw new MojoExecutionException(e.getMessage());
+616     }
+617 
+618     ClassLoader contextClassLoader = Thread.currentThread().getContextClassLoader();
+619     MavenLogAppender.startPluginLog(this);
+620     try
+621     {
+622       /**
+623        * Change class-loader of current thread, so that hibernate can
+624        * see all dependencies!
+625        */
+626       Thread.currentThread().setContextClassLoader(classLoader);
+627 
+628       SchemaExport export = new SchemaExport(config, connection);
+629       export.setOutputFile(outputFile);
+630       export.setDelimiter(delimiter);
+631       export.setFormat(format);
+632       export.execute(target, type);
+633 
+634       for (Object exception : export.getExceptions())
+635         getLog().debug(exception.toString());
+636     }
+637     finally
+638     {
+639       /** Stop Log-Capturing */
+640       MavenLogAppender.endPluginLog(this);
+641 
+642       /** Restore the old class-loader (TODO: is this really necessary?) */
+643       Thread.currentThread().setContextClassLoader(contextClassLoader);
+644 
+645       /** Close the connection */
+646       try
+647       {
+648         if (connection != null)
+649           connection.close();
+650       }
+651       catch (SQLException e)
+652       {
+653         getLog().error("Error while closing connection: " + e.getMessage());
+654       }
+655     }
+656 
+657     /** Write md5-sums for annotated classes to file */
+658     try
+659     {
+660       FileOutputStream fos = new FileOutputStream(saved);
+661       ObjectOutputStream oos = new ObjectOutputStream(fos);
+662       oos.writeObject(md5s);
+663       oos.close();
+664       fos.close();
+665     }
+666     catch (Exception e)
+667     {
+668       getLog().error("Cannot write md5-sums to file: " + e);
+669     }
+670   }
+671 
+672   /**
+673    * Needed, because DriverManager won't pick up drivers, that were not
+674    * loaded by the system-classloader!
+675    * See:
+676    * http://stackoverflow.com/questions/288828/how-to-use-a-jdbc-driver-fromodifiedm-an-arbitrary-location
+677    */
+678   static final class DriverProxy implements Driver
+679   {
+680     private final Driver target;
+681 
+682     DriverProxy(Driver target)
+683     {
+684       if (target == null)
+685         throw new NullPointerException();
+686       this.target = target;
+687     }
+688 
+689     public java.sql.Driver getTarget()
+690     {
+691       return target;
+692     }
+693 
+694     @Override
+695     public boolean acceptsURL(String url) throws SQLException
+696     {
+697       return target.acceptsURL(url);
+698     }
+699 
+700     @Override
+701     public java.sql.Connection connect(
+702         String url,
+703         java.util.Properties info
+704       )
+705       throws
+706         SQLException
+707     {
+708       return target.connect(url, info);
+709     }
+710 
+711     @Override
+712     public int getMajorVersion()
+713     {
+714       return target.getMajorVersion();
+715     }
+716 
+717     @Override
+718     public int getMinorVersion()
+719     {
+720       return target.getMinorVersion();
+721     }
+722 
+723     @Override
+724     public DriverPropertyInfo[] getPropertyInfo(
+725         String url,
+726         Properties info
+727       )
+728       throws
+729         SQLException
+730     {
+731       return target.getPropertyInfo(url, info);
+732     }
+733 
+734     @Override
+735     public boolean jdbcCompliant()
+736     {
+737       return target.jdbcCompliant();
+738     }
+739 
+740     /**
+741      * This Method cannot be annotated with @Override, becaus the plugin
+742      * will not compile then under Java 1.6!
+743      */
+744     public Logger getParentLogger() throws SQLFeatureNotSupportedException
+745     {
+746       throw new SQLFeatureNotSupportedException("Not supported, for backward-compatibility with Java 1.6");
+747     }
+748 
+749     @Override
+750     public String toString()
+751     {
+752       return "Proxy: " + target;
+753     }
+754 
+755     @Override
+756     public int hashCode()
+757     {
+758       return target.hashCode();
+759     }
+760 
+761     @Override
+762     public boolean equals(Object obj)
+763     {
+764       if (!(obj instanceof DriverProxy))
+765         return false;
+766       DriverProxy other = (DriverProxy) obj;
+767       return this.target.equals(other.target);
+768     }
+769   }
+770 }
+
+
+ + diff --git a/projects/hibernate-maven-plugin/1.0.1/xref/de/juplo/plugins/hibernate4/package-frame.html b/projects/hibernate-maven-plugin/1.0.1/xref/de/juplo/plugins/hibernate4/package-frame.html new file mode 100644 index 0000000..9015841 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.1/xref/de/juplo/plugins/hibernate4/package-frame.html @@ -0,0 +1,27 @@ + + + + + + Hibernate 4 Maven Plugin 1.0.1 Reference Package de.juplo.plugins.hibernate4 + + + + +

+ de.juplo.plugins.hibernate4 +

+ +

Classes

+ + + + + \ No newline at end of file diff --git a/projects/hibernate-maven-plugin/1.0.1/xref/de/juplo/plugins/hibernate4/package-summary.html b/projects/hibernate-maven-plugin/1.0.1/xref/de/juplo/plugins/hibernate4/package-summary.html new file mode 100644 index 0000000..6d79729 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.1/xref/de/juplo/plugins/hibernate4/package-summary.html @@ -0,0 +1,72 @@ + + + + + + Hibernate 4 Maven Plugin 1.0.1 Reference Package de.juplo.plugins.hibernate4 + + + +
+ +
+
+ +
+ +

Package de.juplo.plugins.hibernate4

+ + + + + + + + + + + + + + + +
Class Summary
+ DriverProxy +
+ Hbm2DdlMojo +
+ +
+ +
+
+ +
+
+ Copyright © 2013. All Rights Reserved. + + \ No newline at end of file diff --git a/projects/hibernate-maven-plugin/1.0.1/xref/index.html b/projects/hibernate-maven-plugin/1.0.1/xref/index.html new file mode 100644 index 0000000..26ce254 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.1/xref/index.html @@ -0,0 +1,24 @@ + + + + + + Hibernate 4 Maven Plugin 1.0.1 Reference + + + + + + + + + <body> + <h1>Frame Alert</h1> + <p> + You don't have frames. Go <a href="overview-summary.html">here</a> + </p> + </body> + + + + diff --git a/projects/hibernate-maven-plugin/1.0.1/xref/overview-frame.html b/projects/hibernate-maven-plugin/1.0.1/xref/overview-frame.html new file mode 100644 index 0000000..617ae51 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.1/xref/overview-frame.html @@ -0,0 +1,25 @@ + + + + + + Hibernate 4 Maven Plugin 1.0.1 Reference + + + + +

+ All Classes +

+ +

Packages

+ + + + + + diff --git a/projects/hibernate-maven-plugin/1.0.1/xref/overview-summary.html b/projects/hibernate-maven-plugin/1.0.1/xref/overview-summary.html new file mode 100644 index 0000000..7ee1ba7 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.1/xref/overview-summary.html @@ -0,0 +1,64 @@ + + + + + + Hibernate 4 Maven Plugin 1.0.1 Reference + + + +
+ +
+
+ +
+ +

Hibernate 4 Maven Plugin 1.0.1 Reference

+ + + + + + + + + + + + +
Packages
+ de.juplo.plugins.hibernate4 +
+ +
+ +
+
+ +
+ +
+ Copyright © 2013. All Rights Reserved. + + \ No newline at end of file diff --git a/projects/hibernate-maven-plugin/1.0.1/xref/stylesheet.css b/projects/hibernate-maven-plugin/1.0.1/xref/stylesheet.css new file mode 100644 index 0000000..00e6114 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.1/xref/stylesheet.css @@ -0,0 +1,116 @@ +/* Javadoc style sheet */ +/* Define colors, fonts and other style attributes here to override the defaults */ +body { + background-color: #fff; + font-family: Arial, Helvetica, sans-serif; +} + +a:link { + color: #00f; +} +a:visited { + color: #00a; +} + +a:active, a:hover { + color: #f30 !important; +} + +ul, li { + list-style-type:none; + margin:0; + padding:0; +} + +table td { + padding: 3px; + border: 1px solid #000; +} +table { + width:100%; + border: 1px solid #000; + border-collapse: collapse; +} + +div.overview { + background-color:#ddd; + padding: 4px 4px 4px 0; +} +div.overview li, div.framenoframe li { + display: inline; +} +div.framenoframe { + text-align: center; + font-size: x-small; +} +div.framenoframe li { + margin: 0 3px 0 3px; +} +div.overview li { + margin:3px 3px 0 3px; + padding: 4px; +} +li.selected { + background-color:#888; + color: #fff; + font-weight: bold; +} + +table.summary { + margin-bottom: 20px; +} +table.summary td, table.summary th { + font-weight: bold; + text-align: left; + padding: 3px; +} +table.summary th { + background-color:#036; + color: #fff; +} +table.summary td { + background-color:#eee; + border: 1px solid black; +} + +em { + color: #A00; +} +em.comment { + color: #390; +} +.string { + color: #009; +} +div#footer { + text-align:center; +} +#overview { + padding:2px; +} + +hr { + height: 1px; + color: #000; +} + +/* JXR style sheet */ +.jxr_comment +{ + color: #390; +} + +.jxr_javadoccomment +{ + color: #A00; +} + +.jxr_string +{ + color: #009; +} + +.jxr_keyword +{ + color: #000; +} diff --git a/projects/hibernate4-maven-plugin-1.0.1/apidocs/allclasses-frame.html b/projects/hibernate4-maven-plugin-1.0.1/apidocs/allclasses-frame.html deleted file mode 100644 index b080e57..0000000 --- a/projects/hibernate4-maven-plugin-1.0.1/apidocs/allclasses-frame.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - -All Classes (Hibernate 4 Maven Plugin 1.0.1 API) - - - - - - - - - - - -All Classes -
- - - - - -
Hbm2DdlMojo -
-
- - - diff --git a/projects/hibernate4-maven-plugin-1.0.1/apidocs/allclasses-noframe.html b/projects/hibernate4-maven-plugin-1.0.1/apidocs/allclasses-noframe.html deleted file mode 100644 index c58eaec..0000000 --- a/projects/hibernate4-maven-plugin-1.0.1/apidocs/allclasses-noframe.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - -All Classes (Hibernate 4 Maven Plugin 1.0.1 API) - - - - - - - - - - - -All Classes -
- - - - - -
Hbm2DdlMojo -
-
- - - diff --git a/projects/hibernate4-maven-plugin-1.0.1/apidocs/constant-values.html b/projects/hibernate4-maven-plugin-1.0.1/apidocs/constant-values.html deleted file mode 100644 index 14f3a22..0000000 --- a/projects/hibernate4-maven-plugin-1.0.1/apidocs/constant-values.html +++ /dev/null @@ -1,203 +0,0 @@ - - - - - - - -Constant Field Values (Hibernate 4 Maven Plugin 1.0.1 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Constant Field Values

-
-
-Contents - - - - - - -
-de.juplo.*
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
de.juplo.plugins.hibernate4.Hbm2DdlMojo
-public static final StringDIALECT"hibernate.dialect"
-public static final StringDRIVER_CLASS"hibernate.connection.driver_class"
-public static final StringEXPORT_SKIPPED_PROPERTY"hibernate.export.skipped"
-public static final StringPASSWORD"hibernate.connection.password"
-public static final StringURL"hibernate.connection.url"
-public static final StringUSERNAME"hibernate.connection.username"
- -

- -

-


- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2013. All Rights Reserved. - - diff --git a/projects/hibernate4-maven-plugin-1.0.1/apidocs/de/juplo/plugins/hibernate4/Hbm2DdlMojo.html b/projects/hibernate4-maven-plugin-1.0.1/apidocs/de/juplo/plugins/hibernate4/Hbm2DdlMojo.html deleted file mode 100644 index 5281bfa..0000000 --- a/projects/hibernate4-maven-plugin-1.0.1/apidocs/de/juplo/plugins/hibernate4/Hbm2DdlMojo.html +++ /dev/null @@ -1,409 +0,0 @@ - - - - - - - -Hbm2DdlMojo (Hibernate 4 Maven Plugin 1.0.1 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -de.juplo.plugins.hibernate4 -
-Class Hbm2DdlMojo

-
-java.lang.Object
-  extended by org.apache.maven.plugin.AbstractMojo
-      extended by de.juplo.plugins.hibernate4.Hbm2DdlMojo
-
-
-
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
-
-
-
-
public class Hbm2DdlMojo
extends org.apache.maven.plugin.AbstractMojo
- - -

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

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-static StringDIALECT - -
-           
-static StringDRIVER_CLASS - -
-           
-static StringEXPORT_SKIPPED_PROPERTY - -
-           
-static StringPASSWORD - -
-           
-static StringURL - -
-           
-static StringUSERNAME - -
-           
- - - - - - - -
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-  - - - - - - - - - - -
-Constructor Summary
Hbm2DdlMojo() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- voidexecute() - -
-           
- - - - - - - -
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-EXPORT_SKIPPED_PROPERTY

-
-public static final String EXPORT_SKIPPED_PROPERTY
-
-
-
See Also:
Constant Field Values
-
-
- -

-DRIVER_CLASS

-
-public static final String DRIVER_CLASS
-
-
-
See Also:
Constant Field Values
-
-
- -

-URL

-
-public static final String URL
-
-
-
See Also:
Constant Field Values
-
-
- -

-USERNAME

-
-public static final String USERNAME
-
-
-
See Also:
Constant Field Values
-
-
- -

-PASSWORD

-
-public static final String PASSWORD
-
-
-
See Also:
Constant Field Values
-
-
- -

-DIALECT

-
-public static final String DIALECT
-
-
-
See Also:
Constant Field Values
-
- - - - - - - - -
-Constructor Detail
- -

-Hbm2DdlMojo

-
-public Hbm2DdlMojo()
-
-
- - - - - - - - -
-Method Detail
- -

-execute

-
-public void execute()
-             throws org.apache.maven.plugin.MojoFailureException,
-                    org.apache.maven.plugin.MojoExecutionException
-
-
- -
Throws: -
org.apache.maven.plugin.MojoFailureException -
org.apache.maven.plugin.MojoExecutionException
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2013. All Rights Reserved. - - diff --git a/projects/hibernate4-maven-plugin-1.0.1/apidocs/de/juplo/plugins/hibernate4/class-use/Hbm2DdlMojo.html b/projects/hibernate4-maven-plugin-1.0.1/apidocs/de/juplo/plugins/hibernate4/class-use/Hbm2DdlMojo.html deleted file mode 100644 index 8f0621c..0000000 --- a/projects/hibernate4-maven-plugin-1.0.1/apidocs/de/juplo/plugins/hibernate4/class-use/Hbm2DdlMojo.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - - -Uses of Class de.juplo.plugins.hibernate4.Hbm2DdlMojo (Hibernate 4 Maven Plugin 1.0.1 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.1/apidocs/de/juplo/plugins/hibernate4/package-frame.html b/projects/hibernate4-maven-plugin-1.0.1/apidocs/de/juplo/plugins/hibernate4/package-frame.html deleted file mode 100644 index 93c92c3..0000000 --- a/projects/hibernate4-maven-plugin-1.0.1/apidocs/de/juplo/plugins/hibernate4/package-frame.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - -de.juplo.plugins.hibernate4 (Hibernate 4 Maven Plugin 1.0.1 API) - - - - - - - - - - - -de.juplo.plugins.hibernate4 - - - - -
-Classes  - -
-Hbm2DdlMojo
- - - - diff --git a/projects/hibernate4-maven-plugin-1.0.1/apidocs/de/juplo/plugins/hibernate4/package-summary.html b/projects/hibernate4-maven-plugin-1.0.1/apidocs/de/juplo/plugins/hibernate4/package-summary.html deleted file mode 100644 index b31a7d4..0000000 --- a/projects/hibernate4-maven-plugin-1.0.1/apidocs/de/juplo/plugins/hibernate4/package-summary.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - - - - -de.juplo.plugins.hibernate4 (Hibernate 4 Maven Plugin 1.0.1 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-

-Package de.juplo.plugins.hibernate4 -

- - - - - - - - - -
-Class Summary
Hbm2DdlMojoGoal 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.1/apidocs/de/juplo/plugins/hibernate4/package-tree.html b/projects/hibernate4-maven-plugin-1.0.1/apidocs/de/juplo/plugins/hibernate4/package-tree.html deleted file mode 100644 index d15f26b..0000000 --- a/projects/hibernate4-maven-plugin-1.0.1/apidocs/de/juplo/plugins/hibernate4/package-tree.html +++ /dev/null @@ -1,152 +0,0 @@ - - - - - - - -de.juplo.plugins.hibernate4 Class Hierarchy (Hibernate 4 Maven Plugin 1.0.1 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package de.juplo.plugins.hibernate4 -

-
-

-Class Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2013. All Rights Reserved. - - diff --git a/projects/hibernate4-maven-plugin-1.0.1/apidocs/de/juplo/plugins/hibernate4/package-use.html b/projects/hibernate4-maven-plugin-1.0.1/apidocs/de/juplo/plugins/hibernate4/package-use.html deleted file mode 100644 index f4d07d4..0000000 --- a/projects/hibernate4-maven-plugin-1.0.1/apidocs/de/juplo/plugins/hibernate4/package-use.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - - -Uses of Package de.juplo.plugins.hibernate4 (Hibernate 4 Maven Plugin 1.0.1 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.1/apidocs/deprecated-list.html b/projects/hibernate4-maven-plugin-1.0.1/apidocs/deprecated-list.html deleted file mode 100644 index d6509e9..0000000 --- a/projects/hibernate4-maven-plugin-1.0.1/apidocs/deprecated-list.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - - - - -Deprecated List (Hibernate 4 Maven Plugin 1.0.1 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Deprecated API

-
-
-Contents - -
- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2013. All Rights Reserved. - - diff --git a/projects/hibernate4-maven-plugin-1.0.1/apidocs/help-doc.html b/projects/hibernate4-maven-plugin-1.0.1/apidocs/help-doc.html deleted file mode 100644 index 9c80c5c..0000000 --- a/projects/hibernate4-maven-plugin-1.0.1/apidocs/help-doc.html +++ /dev/null @@ -1,216 +0,0 @@ - - - - - - - -API Help (Hibernate 4 Maven Plugin 1.0.1 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.

-Package

-
- -

-Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain four categories:

-
-

-Class/Interface

-
- -

-Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

-Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
- -

-Annotation Type

-
- -

-Each annotation type has its own separate page with the following sections:

-
- -

-Enum

-
- -

-Each enum has its own separate page with the following sections:

-
-

-Use

-
-Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
-

-Tree (Class Hierarchy)

-
-There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object. -
-

-Deprecated API

-
-The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
-

-Index

-
-The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
-

-Prev/Next

-These links take you to the next or previous class, interface, package, or related page.

-Frames/No Frames

-These links show and hide the HTML frames. All pages are available with or without frames. -

-

-Serialized Form

-Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description. -

-

-Constant Field Values

-The Constant Field Values page lists the static final fields and their values. -

- - -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.1/apidocs/index-all.html b/projects/hibernate4-maven-plugin-1.0.1/apidocs/index-all.html deleted file mode 100644 index 26f5707..0000000 --- a/projects/hibernate4-maven-plugin-1.0.1/apidocs/index-all.html +++ /dev/null @@ -1,186 +0,0 @@ - - - - - - - -Index (Hibernate 4 Maven Plugin 1.0.1 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -D E H 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

-
-
execute() - -Method in class de.juplo.plugins.hibernate4.Hbm2DdlMojo -
  -
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 -
  -
-
-

-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 P U - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2013. All Rights Reserved. - - diff --git a/projects/hibernate4-maven-plugin-1.0.1/apidocs/index.html b/projects/hibernate4-maven-plugin-1.0.1/apidocs/index.html deleted file mode 100644 index d7a419c..0000000 --- a/projects/hibernate4-maven-plugin-1.0.1/apidocs/index.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - -Hibernate 4 Maven Plugin 1.0.1 API - - - - - - - - -<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. -<BR> -Link to<A HREF="de/juplo/plugins/hibernate4/package-summary.html">Non-frame version.</A> - - - diff --git a/projects/hibernate4-maven-plugin-1.0.1/apidocs/options b/projects/hibernate4-maven-plugin-1.0.1/apidocs/options deleted file mode 100644 index 84bb3d6..0000000 --- a/projects/hibernate4-maven-plugin-1.0.1/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/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/net/sf/scannotation/scannotation/1.0.2/scannotation-1.0.2.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.6.0.GA/javassist-3.6.0.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/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.0.Final/jboss-transaction-api_1.1_spec-1.0.0.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/sonatype/aether/aether-impl/1.13.1/aether-impl-1.13.1.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/sisu/sisu-guice/3.1.0/sisu-guice-3.1.0-no_aop.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-aether-provider/3.0.4/maven-aether-provider-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/codehaus/plexus/plexus-interpolation/1.14/plexus-interpolation-1.14.jar:/home/kai/.m2/repository/org/sonatype/aether/aether-util/1.13.1/aether-util-1.13.1.jar:/home/kai/.m2/repository/org/hibernate/hibernate-core/4.1.8.Final/hibernate-core-4.1.8.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.1.Final/hibernate-commons-annotations-4.0.1.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' --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.1 API' --link -'http://java.sun.com/javase/6/docs/api' --use --version --windowtitle -'Hibernate 4 Maven Plugin 1.0.1 API' \ No newline at end of file diff --git a/projects/hibernate4-maven-plugin-1.0.1/apidocs/overview-tree.html b/projects/hibernate4-maven-plugin-1.0.1/apidocs/overview-tree.html deleted file mode 100644 index a17cf21..0000000 --- a/projects/hibernate4-maven-plugin-1.0.1/apidocs/overview-tree.html +++ /dev/null @@ -1,154 +0,0 @@ - - - - - - - -Class Hierarchy (Hibernate 4 Maven Plugin 1.0.1 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For All Packages

-
-
-
Package Hierarchies:
de.juplo.plugins.hibernate4
-
-

-Class Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
-Copyright © 2013. All Rights Reserved. - - diff --git a/projects/hibernate4-maven-plugin-1.0.1/apidocs/package-list b/projects/hibernate4-maven-plugin-1.0.1/apidocs/package-list deleted file mode 100644 index 0530771..0000000 --- a/projects/hibernate4-maven-plugin-1.0.1/apidocs/package-list +++ /dev/null @@ -1 +0,0 @@ -de.juplo.plugins.hibernate4 diff --git a/projects/hibernate4-maven-plugin-1.0.1/apidocs/packages b/projects/hibernate4-maven-plugin-1.0.1/apidocs/packages deleted file mode 100644 index c4b5140..0000000 --- a/projects/hibernate4-maven-plugin-1.0.1/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.1/apidocs/resources/inherit.gif b/projects/hibernate4-maven-plugin-1.0.1/apidocs/resources/inherit.gif deleted file mode 100644 index c814867..0000000 Binary files a/projects/hibernate4-maven-plugin-1.0.1/apidocs/resources/inherit.gif and /dev/null differ diff --git a/projects/hibernate4-maven-plugin-1.0.1/apidocs/stylesheet.css b/projects/hibernate4-maven-plugin-1.0.1/apidocs/stylesheet.css deleted file mode 100644 index 6ea9e51..0000000 --- a/projects/hibernate4-maven-plugin-1.0.1/apidocs/stylesheet.css +++ /dev/null @@ -1,29 +0,0 @@ -/* Javadoc style sheet */ - -/* Define colors, fonts and other style attributes here to override the defaults */ - -/* Page background color */ -body { background-color: #FFFFFF; color:#000000 } - -/* Headings */ -h1 { font-size: 145% } - -/* Table colors */ -.TableHeadingColor { background: #CCCCFF; color:#000000 } /* Dark mauve */ -.TableSubHeadingColor { background: #EEEEFF; color:#000000 } /* Light mauve */ -.TableRowColor { background: #FFFFFF; color:#000000 } /* White */ - -/* Font used in left-hand frame lists */ -.FrameTitleFont { font-size: 100%; font-family: Helvetica, Arial, sans-serif; color:#000000 } -.FrameHeadingFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 } -.FrameItemFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 } - -/* Navigation bar fonts and colors */ -.NavBarCell1 { background-color:#EEEEFF; color:#000000} /* Light mauve */ -.NavBarCell1Rev { background-color:#00008B; color:#FFFFFF} /* Dark Blue */ -.NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;color:#000000;} -.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;color:#FFFFFF;} - -.NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000} -.NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000} - diff --git a/projects/hibernate4-maven-plugin-1.0.1/configuration.html b/projects/hibernate4-maven-plugin-1.0.1/configuration.html deleted file mode 100644 index 40567ee..0000000 --- a/projects/hibernate4-maven-plugin-1.0.1/configuration.html +++ /dev/null @@ -1,201 +0,0 @@ - - - - - - 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>1.0.1</version>
-  <executions>
-    <execution>
-      <goals>
-        <goal>export</goal>
-      </goals>
-    </execution>
-  </executions>
-</plugin>

But be aware, that in this case the database-url, that is build in the application is the same that is used while testing, where the database is droped and recreated by the plugin. So, you should never fire up this configuration on your production system, or your database might be erased!

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

<plugin>
-  <groupId>de.juplo</groupId>
-  <artifactId>hibernate4-maven-plugin</artifactId>
-  <version>1.0.1</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>1.0.1</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>1.0.1</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>

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

  • delimiter the delimiter used in the generated sql-script
  • format wether the generated sql-script is formatted, or not
  • hibernateProperties name of the hibernate-properties-file
  • outputFile name of the generated sql-script
  • target create database or generate sql-script or both
  • type create or drop the database or do both or nothing (just validate the annotation-configuration)

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

Configuration-Method-Precedence

The configuration is gathered in a fix order:

  1. hibernate.properties
  2. maven-properties
  3. plugin-configuration

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

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

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

<plugin>
-  <groupId>de.juplo</groupId>
-  <artifactId>hibernate4-maven-plugin</artifactId>
-  <version>1.0.1</version>
-  <executions>
-    <execution>
-      <goals>
-        <goal>export</goal>
-      </goals>
-    </execution>
-  </executions>
-  <configuration>
-    <password>${my-password-property}</password>
-  </configuration>
-</plugin>
-
-
-
-
-
- - - diff --git a/projects/hibernate4-maven-plugin-1.0.1/cpd.html b/projects/hibernate4-maven-plugin-1.0.1/cpd.html deleted file mode 100644 index 593805c..0000000 --- a/projects/hibernate4-maven-plugin-1.0.1/cpd.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - Hibernate 4 Maven Plugin - CPD Results - - - - - - - - - - - -
- -
-
-
-

CPD Results

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

Duplications

CPD found no problems in your source code.

-
-
-
-
-
- - - diff --git a/projects/hibernate4-maven-plugin-1.0.1/cpd.xml b/projects/hibernate4-maven-plugin-1.0.1/cpd.xml deleted file mode 100644 index 4a4568b..0000000 --- a/projects/hibernate4-maven-plugin-1.0.1/cpd.xml +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/projects/hibernate4-maven-plugin-1.0.1/css/maven-base.css b/projects/hibernate4-maven-plugin-1.0.1/css/maven-base.css deleted file mode 100644 index 584ba23..0000000 --- a/projects/hibernate4-maven-plugin-1.0.1/css/maven-base.css +++ /dev/null @@ -1,151 +0,0 @@ -body { - margin: 0px; - padding: 0px; -} -img { - border:none; -} -table { - padding:0px; - width: 100%; - margin-left: -2px; - margin-right: -2px; -} -acronym { - cursor: help; - border-bottom: 1px dotted #feb; -} -table.bodyTable th, table.bodyTable td { - padding: 2px 4px 2px 4px; - vertical-align: top; -} -div.clear{ - clear:both; - visibility: hidden; -} -div.clear hr{ - display: none; -} -#bannerLeft, #bannerRight { - font-size: xx-large; - font-weight: bold; -} -#bannerLeft img, #bannerRight img { - margin: 0px; -} -.xleft, #bannerLeft img { - float:left; -} -.xright, #bannerRight { - float:right; -} -#banner { - padding: 0px; -} -#banner img { - border: none; -} -#breadcrumbs { - padding: 3px 10px 3px 10px; -} -#leftColumn { - width: 170px; - float:left; - overflow: auto; -} -#bodyColumn { - margin-right: 1.5em; - margin-left: 197px; -} -#legend { - padding: 8px 0 8px 0; -} -#navcolumn { - padding: 8px 4px 0 8px; -} -#navcolumn h5 { - margin: 0; - padding: 0; - font-size: small; -} -#navcolumn ul { - margin: 0; - padding: 0; - font-size: small; -} -#navcolumn li { - list-style-type: none; - background-image: none; - background-repeat: no-repeat; - background-position: 0 0.4em; - padding-left: 16px; - list-style-position: outside; - line-height: 1.2em; - font-size: smaller; -} -#navcolumn li.expanded { - background-image: url(../images/expanded.gif); -} -#navcolumn li.collapsed { - background-image: url(../images/collapsed.gif); -} -#poweredBy { - text-align: center; -} -#navcolumn img { - margin-top: 10px; - margin-bottom: 3px; -} -#poweredBy img { - display:block; - margin: 20px 0 20px 17px; -} -#search img { - margin: 0px; - display: block; -} -#search #q, #search #btnG { - border: 1px solid #999; - margin-bottom:10px; -} -#search form { - margin: 0px; -} -#lastPublished { - font-size: x-small; -} -.navSection { - margin-bottom: 2px; - padding: 8px; -} -.navSectionHead { - font-weight: bold; - font-size: x-small; -} -.section { - padding: 4px; -} -#footer { - padding: 3px 10px 3px 10px; - font-size: x-small; -} -#breadcrumbs { - font-size: x-small; - margin: 0pt; -} -.source { - padding: 12px; - margin: 1em 7px 1em 7px; -} -.source pre { - margin: 0px; - padding: 0px; -} -#navcolumn img.imageLink, .imageLink { - padding-left: 0px; - padding-bottom: 0px; - padding-top: 0px; - padding-right: 2px; - border: 0px; - margin: 0px; -} diff --git a/projects/hibernate4-maven-plugin-1.0.1/css/maven-theme.css b/projects/hibernate4-maven-plugin-1.0.1/css/maven-theme.css deleted file mode 100644 index d3407e8..0000000 --- a/projects/hibernate4-maven-plugin-1.0.1/css/maven-theme.css +++ /dev/null @@ -1,161 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - */ - -body { - padding: 0px 0px 10px 0px; -} -body, td, select, input, li{ - font-family: Verdana, Helvetica, Arial, sans-serif; - font-size: 13px; -} -code{ - font-family: Courier, monospace; - font-size: 13px; -} -a { - text-decoration: none; -} -a:link { - color:#36a; -} -a:visited { - color:#47a; -} -a:active, a:hover { - color:#69c; -} -#legend li.externalLink { - background: url(../images/external.png) left top no-repeat; - padding-left: 18px; -} -a.externalLink, a.externalLink:link, a.externalLink:visited, a.externalLink:active, a.externalLink:hover { - background: url(../images/external.png) right center no-repeat; - padding-right: 18px; -} -#legend li.newWindow { - background: url(../images/newwindow.png) left top no-repeat; - padding-left: 18px; -} -a.newWindow, a.newWindow:link, a.newWindow:visited, a.newWindow:active, a.newWindow:hover { - background: url(../images/newwindow.png) right center no-repeat; - padding-right: 18px; -} -h2 { - padding: 4px 4px 4px 6px; - border: 1px solid #999; - color: #900; - background-color: #ddd; - font-weight:900; - font-size: x-large; -} -h3 { - padding: 4px 4px 4px 6px; - border: 1px solid #aaa; - color: #900; - background-color: #eee; - font-weight: normal; - font-size: large; -} -h4 { - padding: 4px 4px 4px 6px; - border: 1px solid #bbb; - color: #900; - background-color: #fff; - font-weight: normal; - font-size: large; -} -h5 { - padding: 4px 4px 4px 6px; - color: #900; - font-size: medium; -} -p { - line-height: 1.3em; - font-size: small; -} -#breadcrumbs { - border-top: 1px solid #aaa; - border-bottom: 1px solid #aaa; - background-color: #ccc; -} -#leftColumn { - margin: 10px 0 0 5px; - border: 1px solid #999; - background-color: #eee; - padding-bottom: 3px; /* IE-9 scrollbar-fix */ -} -#navcolumn h5 { - font-size: smaller; - border-bottom: 1px solid #aaaaaa; - padding-top: 2px; - color: #000; -} - -table.bodyTable th { - color: white; - background-color: #bbb; - text-align: left; - font-weight: bold; -} - -table.bodyTable th, table.bodyTable td { - font-size: 1em; -} - -table.bodyTable tr.a { - background-color: #ddd; -} - -table.bodyTable tr.b { - background-color: #eee; -} - -.source { - border: 1px solid #999; -} -dl { - padding: 4px 4px 4px 6px; - border: 1px solid #aaa; - background-color: #ffc; -} -dt { - color: #900; -} -#organizationLogo img, #projectLogo img, #projectLogo span{ - margin: 8px; -} -#banner { - border-bottom: 1px solid #fff; -} -.errormark, .warningmark, .donemark, .infomark { - background: url(../images/icon_error_sml.gif) no-repeat; -} - -.warningmark { - background-image: url(../images/icon_warning_sml.gif); -} - -.donemark { - background-image: url(../images/icon_success_sml.gif); -} - -.infomark { - background-image: url(../images/icon_info_sml.gif); -} - diff --git a/projects/hibernate4-maven-plugin-1.0.1/css/print.css b/projects/hibernate4-maven-plugin-1.0.1/css/print.css deleted file mode 100644 index 26ad7f0..0000000 --- a/projects/hibernate4-maven-plugin-1.0.1/css/print.css +++ /dev/null @@ -1,7 +0,0 @@ -#banner, #footer, #leftcol, #breadcrumbs, .docs #toc, .docs .courtesylinks, #leftColumn, #navColumn { - display: none !important; -} -#bodyColumn, body.docs div.docs { - margin: 0 !important; - border: none !important -} diff --git a/projects/hibernate4-maven-plugin-1.0.1/css/site.css b/projects/hibernate4-maven-plugin-1.0.1/css/site.css deleted file mode 100644 index 055e7e2..0000000 --- a/projects/hibernate4-maven-plugin-1.0.1/css/site.css +++ /dev/null @@ -1 +0,0 @@ -/* You can override this file with your own styles */ \ No newline at end of file diff --git a/projects/hibernate4-maven-plugin-1.0.1/debugging.html b/projects/hibernate4-maven-plugin-1.0.1/debugging.html deleted file mode 100644 index ccf7f1e..0000000 --- a/projects/hibernate4-maven-plugin-1.0.1/debugging.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - Hibernate 4 Maven Plugin - - - - - - - - - - - - -
- -
-
-
-

Enabling Debug-Output

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

mvn -X compile hibernate4:export 

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

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

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

-
-
-
-
-
- - - diff --git a/projects/hibernate4-maven-plugin-1.0.1/dependencies.html b/projects/hibernate4-maven-plugin-1.0.1/dependencies.html deleted file mode 100644 index b88b947..0000000 --- a/projects/hibernate4-maven-plugin-1.0.1/dependencies.html +++ /dev/null @@ -1,187 +0,0 @@ - - - - - - Hibernate 4 Maven Plugin - Project 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:

GroupIdArtifactIdVersionType
com.pyx4jmaven-plugin-log4j1.0.1jar
net.sf.scannotationscannotation1.0.2jar
org.apache.mavenmaven-core3.0.4jar
org.apache.mavenmaven-plugin-api3.0.4jar
org.hibernatehibernate-core4.1.8.Finaljar

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:

GroupIdArtifactIdVersionClassifierType
antlrantlr2.7.7-jar
dom4jdom4j1.6.1-jar
javassistjavassist3.6.0.GA-jar
log4jlog4j1.2.14-jar
org.apache.mavenmaven-aether-provider3.0.4-jar
org.apache.mavenmaven-artifact3.0.4-jar
org.apache.mavenmaven-model3.0.4-jar
org.apache.mavenmaven-model-builder3.0.4-jar
org.apache.mavenmaven-repository-metadata3.0.4-jar
org.apache.mavenmaven-settings3.0.4-jar
org.apache.mavenmaven-settings-builder3.0.4-jar
org.codehaus.plexusplexus-classworlds2.4-jar
org.codehaus.plexusplexus-component-annotations1.5.5-jar
org.codehaus.plexusplexus-interpolation1.14-jar
org.hibernate.commonhibernate-commons-annotations4.0.1.Final-jar
org.hibernate.javax.persistencehibernate-jpa-2.0-api1.0.1.Final-jar
org.javassistjavassist3.15.0-GA-jar
org.jboss.loggingjboss-logging3.1.0.GA-jar
org.jboss.spec.javax.transactionjboss-transaction-api_1.1_spec1.0.0.Final-jar
org.sonatype.aetheraether-api1.13.1-jar
org.sonatype.aetheraether-impl1.13.1-jar
org.sonatype.aetheraether-spi1.13.1-jar
org.sonatype.aetheraether-util1.13.1-jar
org.sonatype.plexusplexus-cipher1.4-jar
org.sonatype.plexusplexus-sec-dispatcher1.3-jar
org.sonatype.sisusisu-guava0.9.9-jar
org.sonatype.sisusisu-guice3.1.0no_aopjar
org.sonatype.sisusisu-inject-bean2.3.0-jar
org.sonatype.sisusisu-inject-plexus2.3.0-jar

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: Unnamed - javassist:javassist:jar:3.6.0.GA, dom4j

LGPL 2.1: Javassist

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

lgpl: Transaction 1.1 API

Apache License V2.0: scannotation

BSD License: AntLR Parser Generator

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

Apache License 2.0: Javassist

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.6.0.GA.jar529.53 kB323305161.2debug
log4j-1.2.14.jar358.83 kB288256191.1debug
scannotation-1.0.2.jar18.04 kB231321.5debug
maven-aether-provider-3.0.4.jar55.17 kB402311.5debug
maven-artifact-3.0.4.jar50.87 kB5732111.5debug
maven-core-3.0.4.jar545.94 kB428350431.5debug
maven-model-3.0.4.jar159.72 kB675031.5debug
maven-model-builder-3.0.4.jar147.06 kB142109161.5debug
maven-plugin-api-3.0.4.jar48.16 kB462561.5debug
maven-repository-metadata-3.0.4.jar29.37 kB25721.5debug
maven-settings-3.0.4.jar45.57 kB331721.5debug
maven-settings-builder-3.0.4.jar40.41 kB533251.5debug
plexus-classworlds-2.4.jar45.96 kB523751.4debug
plexus-component-annotations-1.5.5.jar4.11 kB15311.5release
plexus-interpolation-1.14.jar59.64 kB604461.4debug
hibernate-core-4.1.8.Final.jar4.29 MB3,1042,8991661.6debug
hibernate-commons-annotations-4.0.1.Final.jar79.37 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.0.Final.jar10.95 kB281821.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
3410.60 MB8,3207,4274581.633
compile: 34compile: 10.60 MBcompile: 8,320compile: 7,427compile: 458-compile: 33

Dependency Repository Locations

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

Repository locations for each of the Dependencies.

Artifactapache.snapshotssonatype-nexus-snapshotscentral
antlr:antlr:jar:2.7.7--Found at http://repo1.maven.org/maven2
com.pyx4j:maven-plugin-log4j:jar:1.0.1--Found at http://repo1.maven.org/maven2
dom4j:dom4j:jar:1.6.1--Found at http://repo1.maven.org/maven2
javassist:javassist:jar:3.6.0.GA--Found at http://repo1.maven.org/maven2
log4j:log4j:jar:1.2.14--Found at http://repo1.maven.org/maven2
net.sf.scannotation:scannotation:jar:1.0.2--Found at http://repo1.maven.org/maven2
org.apache.maven:maven-aether-provider:jar:3.0.4--Found at http://repo1.maven.org/maven2
org.apache.maven:maven-artifact:jar:3.0.4--Found at http://repo1.maven.org/maven2
org.apache.maven:maven-core:jar:3.0.4--Found at http://repo1.maven.org/maven2
org.apache.maven:maven-model:jar:3.0.4--Found at http://repo1.maven.org/maven2
org.apache.maven:maven-model-builder:jar:3.0.4--Found at http://repo1.maven.org/maven2
org.apache.maven:maven-plugin-api:jar:3.0.4--Found at http://repo1.maven.org/maven2
org.apache.maven:maven-repository-metadata:jar:3.0.4--Found at http://repo1.maven.org/maven2
org.apache.maven:maven-settings:jar:3.0.4--Found at http://repo1.maven.org/maven2
org.apache.maven:maven-settings-builder:jar:3.0.4--Found at http://repo1.maven.org/maven2
org.codehaus.plexus:plexus-classworlds:jar:2.4--Found at http://repo1.maven.org/maven2
org.codehaus.plexus:plexus-component-annotations:jar:1.5.5--Found at http://repo1.maven.org/maven2
org.codehaus.plexus:plexus-interpolation:jar:1.14--Found at http://repo1.maven.org/maven2
org.hibernate:hibernate-core:jar:4.1.8.Final--Found at http://repo1.maven.org/maven2
org.hibernate.common:hibernate-commons-annotations:jar:4.0.1.Final--Found at http://repo1.maven.org/maven2
org.hibernate.javax.persistence:hibernate-jpa-2.0-api:jar:1.0.1.Final--Found at http://repo1.maven.org/maven2
org.javassist:javassist:jar:3.15.0-GA--Found at http://repo1.maven.org/maven2
org.jboss.logging:jboss-logging:jar:3.1.0.GA--Found at http://repo1.maven.org/maven2
org.jboss.spec.javax.transaction:jboss-transaction-api_1.1_spec:jar:1.0.0.Final--Found at http://repo1.maven.org/maven2
org.sonatype.aether:aether-api:jar:1.13.1--Found at http://repo1.maven.org/maven2
org.sonatype.aether:aether-impl:jar:1.13.1--Found at http://repo1.maven.org/maven2
org.sonatype.aether:aether-spi:jar:1.13.1--Found at http://repo1.maven.org/maven2
org.sonatype.aether:aether-util:jar:1.13.1--Found at http://repo1.maven.org/maven2
org.sonatype.plexus:plexus-cipher:jar:1.4--Found at http://repo1.maven.org/maven2
org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3--Found at http://repo1.maven.org/maven2
org.sonatype.sisu:sisu-guava:jar:0.9.9--Found at http://repo1.maven.org/maven2
org.sonatype.sisu:sisu-guice:jar:no_aop:3.1.0--Found at http://repo1.maven.org/maven2
org.sonatype.sisu:sisu-inject-bean:jar:2.3.0--Found at http://repo1.maven.org/maven2
org.sonatype.sisu:sisu-inject-plexus:jar:2.3.0--Found at http://repo1.maven.org/maven2
Totalapache.snapshotssonatype-nexus-snapshotscentral
34 (compile: 34)0034
-
-
-
-
-
- - - diff --git a/projects/hibernate4-maven-plugin-1.0.1/export-mojo.html b/projects/hibernate4-maven-plugin-1.0.1/export-mojo.html deleted file mode 100644 index f6918f8..0000000 --- a/projects/hibernate4-maven-plugin-1.0.1/export-mojo.html +++ /dev/null @@ -1,413 +0,0 @@ - - - - - - Hibernate 4 Maven Plugin - - hibernate4:export - - - - - - - - - - - -
- -
-
-
- - -

hibernate4:export

-

Full name:

-

de.juplo:hibernate4-maven-plugin:1.0.1: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
delimiterString-Delimiter in output-file.
Default value is: ;.
User property is: hibernate.export.schema.delimiter.
driverClassNameString-SQL-Driver name.
User property is: hibernate.connection.driver_class.
forceboolean-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.


Default value is: false.
User property is: hibernate.export.force.
formatboolean-Format output-file.
Default value is: true.
User property is: hibernate.export.schema.format.
hibernateDialectString-Hibernate dialect.
User property is: hibernate.dialect.
hibernatePropertiesString-Path to Hibernate configuration file.
Default value is: ${project.build.outputDirectory}/hibernate.properties.
outputDirectoryString-Classes-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.
outputFileString-Output file.
Default value is: ${project.build.directory}/schema.sql.
User property is: hibernate.export.schema.filename.
passwordString-Database password
User property is: hibernate.connection.password.
scanTestClassesboolean-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.


Default value is: false.
User property is: hibernate.export.scann_testclasses.
skipboolean-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.


Default value is: false.
User property is: maven.test.skip.
targetString-Target of execution: -
    -
  • NONE do nothing - just validate the -configuration (forces excecution, signals skip)
  • -
  • EXPORT create database -(DEFAULT!. forces excecution, signals skip)
  • -
  • SCRIPT export schema to SQL-script
  • -
  • BOTH
  • -

Default value is: EXPORT.
User property is: hibernate.export.target.
testOutputDirectoryString-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!


User property is: project.build.testOutputDirectory.
typeString-Type of execution. -
    -
  • NONE do nothing - just validate the -configuration
  • -
  • CREATE create database-schema
  • -
  • DROP drop database-schema
  • -
  • BOTH (DEFAULT!)
  • -

Default value is: BOTH.
User property is: hibernate.export.type.
urlString-Database URL.
User property is: hibernate.connection.url.
usernameString-Database username
User property is: hibernate.connection.username.
-
-

Parameter Details

-

delimiter:

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

driverClassName:

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

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
  • -
  • Required: No
  • -
  • User Property: hibernate.export.force
  • -
  • Default: false
  • -

format:

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

hibernateDialect:

-
Hibernate dialect.
-
    -
  • Type: java.lang.String
  • -
  • Required: No
  • -
  • User Property: hibernate.dialect
  • -

hibernateProperties:

-
Path to Hibernate configuration file.
-
    -
  • Type: java.lang.String
  • -
  • 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
  • -
  • Required: No
  • -
  • User Property: project.build.outputDirectory
  • -

outputFile:

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

password:

-
Database password
-
    -
  • Type: java.lang.String
  • -
  • Required: No
  • -
  • User Property: hibernate.connection.password
  • -

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
  • -
  • Required: No
  • -
  • User Property: hibernate.export.scann_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
  • -
  • Required: No
  • -
  • User Property: maven.test.skip
  • -
  • Default: false
  • -

target:

-
Target of execution: -
    -
  • NONE do nothing - just validate the -configuration (forces excecution, signals skip)
  • -
  • EXPORT create database -(DEFAULT!. forces excecution, signals skip)
  • -
  • SCRIPT export schema to SQL-script
  • -
  • BOTH
  • -
-
    -
  • Type: java.lang.String
  • -
  • 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
  • -
  • 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!)
  • -
-
    -
  • Type: java.lang.String
  • -
  • Required: No
  • -
  • User Property: hibernate.export.type
  • -
  • Default: BOTH
  • -

url:

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

username:

-
Database username
-
    -
  • Type: java.lang.String
  • -
  • Required: No
  • -
  • User Property: hibernate.connection.username
  • -
-
-
- - -
-
-
-
-
- - - diff --git a/projects/hibernate4-maven-plugin-1.0.1/force.html b/projects/hibernate4-maven-plugin-1.0.1/force.html deleted file mode 100644 index 77bbb83..0000000 --- a/projects/hibernate4-maven-plugin-1.0.1/force.html +++ /dev/null @@ -1,121 +0,0 @@ - - - - - - Hibernate 4 Maven Plugin - - - - - - - - - - - - -
- -
-
-
-

Force execution

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

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

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

<plugin>
-  <groupId>de.juplo</groupId>
-  <artifactId>hibernate4-maven-plugin</artifactId>
-  <version>1.0.1</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.

-
-
-
-
-
- - - diff --git a/projects/hibernate4-maven-plugin-1.0.1/images/close.gif b/projects/hibernate4-maven-plugin-1.0.1/images/close.gif deleted file mode 100644 index 1c26bbc..0000000 Binary files a/projects/hibernate4-maven-plugin-1.0.1/images/close.gif and /dev/null differ diff --git a/projects/hibernate4-maven-plugin-1.0.1/images/collapsed.gif b/projects/hibernate4-maven-plugin-1.0.1/images/collapsed.gif deleted file mode 100644 index 6e71084..0000000 Binary files a/projects/hibernate4-maven-plugin-1.0.1/images/collapsed.gif and /dev/null differ diff --git a/projects/hibernate4-maven-plugin-1.0.1/images/expanded.gif b/projects/hibernate4-maven-plugin-1.0.1/images/expanded.gif deleted file mode 100644 index 0fef3d8..0000000 Binary files a/projects/hibernate4-maven-plugin-1.0.1/images/expanded.gif and /dev/null differ diff --git a/projects/hibernate4-maven-plugin-1.0.1/images/external.png b/projects/hibernate4-maven-plugin-1.0.1/images/external.png deleted file mode 100644 index 3f999fc..0000000 Binary files a/projects/hibernate4-maven-plugin-1.0.1/images/external.png and /dev/null differ diff --git a/projects/hibernate4-maven-plugin-1.0.1/images/icon_error_sml.gif b/projects/hibernate4-maven-plugin-1.0.1/images/icon_error_sml.gif deleted file mode 100644 index 61132ef..0000000 Binary files a/projects/hibernate4-maven-plugin-1.0.1/images/icon_error_sml.gif and /dev/null differ diff --git a/projects/hibernate4-maven-plugin-1.0.1/images/icon_info_sml.gif b/projects/hibernate4-maven-plugin-1.0.1/images/icon_info_sml.gif deleted file mode 100644 index c6cb9ad..0000000 Binary files a/projects/hibernate4-maven-plugin-1.0.1/images/icon_info_sml.gif and /dev/null differ diff --git a/projects/hibernate4-maven-plugin-1.0.1/images/icon_success_sml.gif b/projects/hibernate4-maven-plugin-1.0.1/images/icon_success_sml.gif deleted file mode 100644 index 52e85a4..0000000 Binary files a/projects/hibernate4-maven-plugin-1.0.1/images/icon_success_sml.gif and /dev/null differ diff --git a/projects/hibernate4-maven-plugin-1.0.1/images/icon_warning_sml.gif b/projects/hibernate4-maven-plugin-1.0.1/images/icon_warning_sml.gif deleted file mode 100644 index 873bbb5..0000000 Binary files a/projects/hibernate4-maven-plugin-1.0.1/images/icon_warning_sml.gif and /dev/null differ diff --git a/projects/hibernate4-maven-plugin-1.0.1/images/logos/build-by-maven-black.png b/projects/hibernate4-maven-plugin-1.0.1/images/logos/build-by-maven-black.png deleted file mode 100644 index 919fd0f..0000000 Binary files a/projects/hibernate4-maven-plugin-1.0.1/images/logos/build-by-maven-black.png and /dev/null differ diff --git a/projects/hibernate4-maven-plugin-1.0.1/images/logos/build-by-maven-white.png b/projects/hibernate4-maven-plugin-1.0.1/images/logos/build-by-maven-white.png deleted file mode 100644 index 7d44c9c..0000000 Binary files a/projects/hibernate4-maven-plugin-1.0.1/images/logos/build-by-maven-white.png and /dev/null differ diff --git a/projects/hibernate4-maven-plugin-1.0.1/images/logos/maven-feather.png b/projects/hibernate4-maven-plugin-1.0.1/images/logos/maven-feather.png deleted file mode 100644 index b5ada83..0000000 Binary files a/projects/hibernate4-maven-plugin-1.0.1/images/logos/maven-feather.png and /dev/null differ diff --git a/projects/hibernate4-maven-plugin-1.0.1/images/newwindow.png b/projects/hibernate4-maven-plugin-1.0.1/images/newwindow.png deleted file mode 100644 index 6287f72..0000000 Binary files a/projects/hibernate4-maven-plugin-1.0.1/images/newwindow.png and /dev/null differ diff --git a/projects/hibernate4-maven-plugin-1.0.1/index.html b/projects/hibernate4-maven-plugin-1.0.1/index.html deleted file mode 100644 index 171a8a0..0000000 --- a/projects/hibernate4-maven-plugin-1.0.1/index.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - - Hibernate 4 Maven Plugin - - - - - - - - - - - - -
- -
-
-
-

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

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

The plugin was designed with three main goals in mind:

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

To achieve the first goal, the convention-over-configuration paradigma was applied and the plugin was stuffed with usefull logging-messages. So, if in doubt, just turn on the debugging output with the mvn -X ....

To achieve the second goal, the precedence in which the configuration locations are consulted was layouted in a way that makes it possible, to prevent overwrites of the wrong database by accident.

Last but not least, in order to not slow down the development cycle, the hibernate4-maven-plugin only executes the schema-export, if the mapping or the dialect changes (or if you force it to do so).

For more information about the inspiration to write this tiny plugin, read our blog-article about the hibernate4-maven-plugin.

Documentation

  • See Configuration Examples for Usage-Explanations and simple examples of how to use this plugin.
  • See hibernate4:export and Plugin Documentation for the full autogenerated documentation. These are mostly configuration-options of the Hibernate-Tools SchemaExport and SchemaUpdate, that do the work in the background.

Releases

-
-
-
-
-
- - - diff --git a/projects/hibernate4-maven-plugin-1.0.1/integration.html b/projects/hibernate4-maven-plugin-1.0.1/integration.html deleted file mode 100644 index 75d3a83..0000000 --- a/projects/hibernate4-maven-plugin-1.0.1/integration.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - - 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-
-
-
-
-
-
- - - diff --git a/projects/hibernate4-maven-plugin-1.0.1/issue-tracking.html b/projects/hibernate4-maven-plugin-1.0.1/issue-tracking.html deleted file mode 100644 index 9a552ed..0000000 --- a/projects/hibernate4-maven-plugin-1.0.1/issue-tracking.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - - 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.

-
-
-
-
-
- - - diff --git a/projects/hibernate4-maven-plugin-1.0.1/license.html b/projects/hibernate4-maven-plugin-1.0.1/license.html deleted file mode 100644 index 64922a6..0000000 --- a/projects/hibernate4-maven-plugin-1.0.1/license.html +++ /dev/null @@ -1,351 +0,0 @@ - - - - - - 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.
-
-
-
-
-
-
- - - diff --git a/projects/hibernate4-maven-plugin-1.0.1/mail-lists.html b/projects/hibernate4-maven-plugin-1.0.1/mail-lists.html deleted file mode 100644 index dde5dfc..0000000 --- a/projects/hibernate4-maven-plugin-1.0.1/mail-lists.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - - 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.

-
-
-
-
-
- - - diff --git a/projects/hibernate4-maven-plugin-1.0.1/pitfalls.html b/projects/hibernate4-maven-plugin-1.0.1/pitfalls.html deleted file mode 100644 index af860a6..0000000 --- a/projects/hibernate4-maven-plugin-1.0.1/pitfalls.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - Hibernate 4 Maven Plugin - - - - - - - - - - - - -
- -
-
-
-

Known Pitfalls

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>1.0.1</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>
-
-
-
-
-
- - - diff --git a/projects/hibernate4-maven-plugin-1.0.1/plugin-info.html b/projects/hibernate4-maven-plugin-1.0.1/plugin-info.html deleted file mode 100644 index 2883b53..0000000 --- a/projects/hibernate4-maven-plugin-1.0.1/plugin-info.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - 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.

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.1</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.1</version>
-      </plugin>
-      ...
-    </plugins>
-  </build>
-  ...
-</project>
-

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

-
-
-
-
-
- - - diff --git a/projects/hibernate4-maven-plugin-1.0.1/plugin-management.html b/projects/hibernate4-maven-plugin-1.0.1/plugin-management.html deleted file mode 100644 index 917dac5..0000000 --- a/projects/hibernate4-maven-plugin-1.0.1/plugin-management.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - - Hibernate 4 Maven Plugin - Project Plugin Management - - - - - - - - - - - -
- -
-
-
-

Project Plugin Management

GroupIdArtifactIdVersion
org.apache.maven.pluginsmaven-antrun-plugin1.6
org.apache.maven.pluginsmaven-assembly-plugin2.2-beta-4
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.4
org.apache.maven.pluginsmaven-ear-plugin2.3.2
org.apache.maven.pluginsmaven-ejb-plugin2.2
org.apache.maven.pluginsmaven-install-plugin2.3
org.apache.maven.pluginsmaven-jar-plugin2.2
org.apache.maven.pluginsmaven-javadoc-plugin2.6.1
org.apache.maven.pluginsmaven-plugin-plugin2.8
org.apache.maven.pluginsmaven-rar-plugin2.2
org.apache.maven.pluginsmaven-release-plugin2.1
org.apache.maven.pluginsmaven-resources-plugin2.3
org.apache.maven.pluginsmaven-site-plugin2.1
org.apache.maven.pluginsmaven-source-plugin2.0.4
org.apache.maven.pluginsmaven-surefire-plugin2.10
org.apache.maven.pluginsmaven-war-plugin2.1.1
-
-
-
-
-
- - - diff --git a/projects/hibernate4-maven-plugin-1.0.1/plugins.html b/projects/hibernate4-maven-plugin-1.0.1/plugins.html deleted file mode 100644 index 0ac0536..0000000 --- a/projects/hibernate4-maven-plugin-1.0.1/plugins.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - - Hibernate 4 Maven Plugin - Project Build Plugins - - - - - - - - - - - -
- -
-
-
-

Project Build Plugins

GroupIdArtifactIdVersion
org.apache.maven.pluginsmaven-compiler-plugin2.0.2
org.apache.maven.pluginsmaven-dependency-plugin2.1
org.apache.maven.pluginsmaven-enforcer-plugin1.0
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-source-plugin2.1.2

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-plugin2.1
-
-
-
-
-
- - - diff --git a/projects/hibernate4-maven-plugin-1.0.1/pmd.html b/projects/hibernate4-maven-plugin-1.0.1/pmd.html deleted file mode 100644 index c1c95da..0000000 --- a/projects/hibernate4-maven-plugin-1.0.1/pmd.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - Hibernate 4 Maven Plugin - PMD Results - - - - - - - - - - - -
- -
-
-
-

PMD Results

The following document contains the results of PMD 4.3.

Files

PMD found no problems in your source code.

-
-
-
-
-
- - - diff --git a/projects/hibernate4-maven-plugin-1.0.1/pmd.xml b/projects/hibernate4-maven-plugin-1.0.1/pmd.xml deleted file mode 100644 index 749b92a..0000000 --- a/projects/hibernate4-maven-plugin-1.0.1/pmd.xml +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/projects/hibernate4-maven-plugin-1.0.1/project-info.html b/projects/hibernate4-maven-plugin-1.0.1/project-info.html deleted file mode 100644 index c00a734..0000000 --- a/projects/hibernate4-maven-plugin-1.0.1/project-info.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - - 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
Continuous IntegrationThis is a link to the definitions of all continuous integration processes that builds and tests code on a frequent, regular basis.
DependenciesThis document lists the project's dependencies and provides information on each dependency.
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.
Mailing ListsThis document provides subscription and archive information for this project's mailing lists.
Plugin ManagementThis document lists the plugins that are defined through pluginManagement.
Project LicenseThis is a link to the definitions of project licenses.
Project PluginsThis document lists the build plugins and the report plugins used by this project.
Project SummaryThis document lists other related information of this project
Project TeamThis document provides information on the members of this project. These are the individuals who have contributed to the project in one form or another.
Source RepositoryThis is a link to the online source repository that can be viewed via a web browser.
-
-
-
-
-
- - - diff --git a/projects/hibernate4-maven-plugin-1.0.1/project-reports.html b/projects/hibernate4-maven-plugin-1.0.1/project-reports.html deleted file mode 100644 index a4b073f..0000000 --- a/projects/hibernate4-maven-plugin-1.0.1/project-reports.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - Hibernate 4 Maven Plugin - Generated 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
CPD ReportDuplicate code detection.
JavaDocsJavaDoc API documentation.
Plugin DocumentationThis report provides goals and parameters documentation of a plugin.
PMD ReportVerification of coding rules.
Source XrefHTML based, cross-reference version of Java source code.
-
-
-
-
-
- - - diff --git a/projects/hibernate4-maven-plugin-1.0.1/project-summary.html b/projects/hibernate4-maven-plugin-1.0.1/project-summary.html deleted file mode 100644 index 526500d..0000000 --- a/projects/hibernate4-maven-plugin-1.0.1/project-summary.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - - 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.1
Typemaven-plugin
-
-
-
-
-
- - - diff --git a/projects/hibernate4-maven-plugin-1.0.1/source-repository.html b/projects/hibernate4-maven-plugin-1.0.1/source-repository.html deleted file mode 100644 index aa6fee4..0000000 --- a/projects/hibernate4-maven-plugin-1.0.1/source-repository.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - - Hibernate 4 Maven Plugin - Source Repository - - - - - - - - - - - -
- -
-
-
-

Overview

This project uses a Source Content Management System to manage its source code.

Web Access

The following is a link to the online source repository.

Anonymous access

Refer to the documentation of the SCM used for more information about anonymously check out. The connection url is:

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

Developer access

Refer to the documentation of the SCM used for more information about developer check out. The connection url is:

git:ssh://juplo.de:/var/cache/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.

-
-
-
-
-
- - - diff --git a/projects/hibernate4-maven-plugin-1.0.1/team-list.html b/projects/hibernate4-maven-plugin-1.0.1/team-list.html deleted file mode 100644 index e0c0098..0000000 --- a/projects/hibernate4-maven-plugin-1.0.1/team-list.html +++ /dev/null @@ -1,164 +0,0 @@ - - - - - - Hibernate 4 Maven Plugin - Team list - - - - - - - - - - - -
- -
-
-
-

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.

IdNameEmail
kaiKai Moritzkai@juplo.de

Contributors

There are no contributors listed for this project. Please check back again later.

-
-
-
-
-
- - - diff --git a/projects/hibernate4-maven-plugin-1.0.1/xref/allclasses-frame.html b/projects/hibernate4-maven-plugin-1.0.1/xref/allclasses-frame.html deleted file mode 100644 index 507bf84..0000000 --- a/projects/hibernate4-maven-plugin-1.0.1/xref/allclasses-frame.html +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - All Classes - - - - -

All Classes

- - - - - diff --git a/projects/hibernate4-maven-plugin-1.0.1/xref/de/juplo/plugins/hibernate4/Hbm2DdlMojo.html b/projects/hibernate4-maven-plugin-1.0.1/xref/de/juplo/plugins/hibernate4/Hbm2DdlMojo.html deleted file mode 100644 index 6ebc042..0000000 --- a/projects/hibernate4-maven-plugin-1.0.1/xref/de/juplo/plugins/hibernate4/Hbm2DdlMojo.html +++ /dev/null @@ -1,784 +0,0 @@ - - - - -Hbm2DdlMojo xref - - - -
View Javadoc
-
-1   package de.juplo.plugins.hibernate4;
-2   
-3   /*
-4    * Copyright 2001-2005 The Apache Software Foundation.
-5    *
-6    * Licensed under the Apache License, Version 2.0 (the "License");
-7    * you may not use this file except in compliance with the License.
-8    * You may obtain a copy of the License at
-9    *
-10   *      http://www.apache.org/licenses/LICENSE-2.0
-11   *
-12   * Unless required by applicable law or agreed to in writing, software
-13   * distributed under the License is distributed on an "AS IS" BASIS,
-14   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-15   * See the License for the specific language governing permissions and
-16   * limitations under the License.
-17   */
-18  
-19  import com.pyx4j.log4j.MavenLogAppender;
-20  import java.io.File;
-21  import java.io.FileInputStream;
-22  import java.io.FileOutputStream;
-23  import java.io.IOException;
-24  import java.io.InputStream;
-25  import java.io.ObjectInputStream;
-26  import java.io.ObjectOutputStream;
-27  import java.math.BigInteger;
-28  import java.net.URL;
-29  import java.net.URLClassLoader;
-30  import java.security.MessageDigest;
-31  import java.sql.Connection;
-32  import java.sql.Driver;
-33  import java.sql.DriverManager;
-34  import java.sql.DriverPropertyInfo;
-35  import java.sql.SQLException;
-36  import java.sql.SQLFeatureNotSupportedException;
-37  import java.util.Comparator;
-38  import java.util.Enumeration;
-39  import java.util.HashMap;
-40  import java.util.HashSet;
-41  import java.util.List;
-42  import java.util.Map;
-43  import java.util.Map.Entry;
-44  import java.util.Properties;
-45  import java.util.Set;
-46  import java.util.TreeSet;
-47  import java.util.logging.Logger;
-48  import javax.persistence.Embeddable;
-49  import javax.persistence.Entity;
-50  import javax.persistence.MappedSuperclass;
-51  import org.apache.maven.plugin.AbstractMojo;
-52  import org.apache.maven.plugin.MojoExecutionException;
-53  import org.apache.maven.plugin.MojoFailureException;
-54  import org.apache.maven.project.MavenProject;
-55  import org.hibernate.cfg.Configuration;
-56  import org.hibernate.tool.hbm2ddl.SchemaExport;
-57  import org.hibernate.tool.hbm2ddl.SchemaExport.Type;
-58  import org.hibernate.tool.hbm2ddl.Target;
-59  import org.scannotation.AnnotationDB;
-60  
-61  
-62  /**
-63   * Goal which extracts the hibernate-mapping-configuration and
-64   * exports an according SQL-database-schema.
-65   *
-66   * @goal export
-67   * @phase process-classes
-68   * @threadSafe
-69   * @requiresDependencyResolution runtime
-70   */
-71  public class Hbm2DdlMojo extends AbstractMojo
-72  {
-73    public final static String EXPORT_SKIPPED_PROPERTY = "hibernate.export.skipped";
-74  
-75    public final static String DRIVER_CLASS = "hibernate.connection.driver_class";
-76    public final static String URL = "hibernate.connection.url";
-77    public final static String USERNAME = "hibernate.connection.username";
-78    public final static String PASSWORD = "hibernate.connection.password";
-79    public final static String DIALECT = "hibernate.dialect";
-80  
-81    private final static String MD5S = "schema.md5s";
-82  
-83    /**
-84     * The maven project.
-85     * <p>
-86     * Only needed internally.
-87     *
-88     * @parameter expression="${project}"
-89     * @required
-90     * @readonly
-91     */
-92    private MavenProject project;
-93  
-94    /**
-95     * Build-directory.
-96     * <p>
-97     * Only needed internally.
-98     *
-99     * @parameter expression="${project.build.directory}"
-100    * @required
-101    * @readonly
-102    */
-103   private String buildDirectory;
-104 
-105   /**
-106    * Classes-Directory to scan.
-107    * <p>
-108    * This parameter defaults to the maven build-output-directory for classes.
-109    * Additonally, all dependencies are scanned for annotated classes.
-110    *
-111    * @parameter expression="${project.build.outputDirectory}"
-112    */
-113   private String outputDirectory;
-114 
-115   /**
-116    * Wether to scan test-classes too, or not.
-117    * <p>
-118    * If this parameter is set to <code>true</code> the test-classes of the
-119    * artifact will be scanned for hibernate-annotated classes additionally.
-120    *
-121    * @parameter expression="${hibernate.export.scann_testclasses}" default-value="false"
-122    */
-123   private boolean scanTestClasses;
-124 
-125   /**
-126    * Test-Classes-Directory to scan.
-127    * <p>
-128    * This parameter defaults to the maven build-output-directory for
-129    * test-classes.
-130    * <p>
-131    * This parameter is only used, when <code>scanTestClasses</code> is set
-132    * to <code>true</code>!
-133    *
-134    * @parameter expression="${project.build.testOutputDirectory}"
-135    */
-136   private String testOutputDirectory;
-137 
-138   /**
-139    * Skip execution
-140    * <p>
-141    * If set to <code>true</code>, the execution is skipped.
-142    * <p>
-143    * A skipped excecution is signaled via the maven-property
-144    * <code>${hibernate.export.skipped}</code>.
-145    * <p>
-146    * The excecution is skipped automatically, if no modified or newly added
-147    * annotated classes are found and the dialect was not changed.
-148    *
-149    * @parameter expression="${maven.test.skip}" default-value="false"
-150    */
-151   private boolean skip;
-152 
-153   /**
-154    * Force execution
-155    * <p>
-156    * Force execution, even if no modified or newly added annotated classes
-157    * where found and the dialect was not changed.
-158    * <p>
-159    * <code>skip</code> takes precedence over <code>force</code>.
-160    *
-161    * @parameter expression="${hibernate.export.force}" default-value="false"
-162    */
-163   private boolean force;
-164 
-165   /**
-166    * SQL-Driver name.
-167    *
-168    * @parameter expression="${hibernate.connection.driver_class}
-169    */
-170   private String driverClassName;
-171 
-172   /**
-173    * Database URL.
-174    *
-175    * @parameter expression="${hibernate.connection.url}"
-176    */
-177   private String url;
-178 
-179   /**
-180    * Database username
-181    *
-182    * @parameter expression="${hibernate.connection.username}"
-183    */
-184   private String username;
-185 
-186   /**
-187    * Database password
-188    *
-189    * @parameter expression="${hibernate.connection.password}"
-190    */
-191   private String password;
-192 
-193   /**
-194    * Hibernate dialect.
-195    *
-196    * @parameter expression="${hibernate.dialect}"
-197    */
-198   private String hibernateDialect;
-199 
-200   /**
-201    * Path to Hibernate configuration file.
-202    *
-203    * @parameter default-value="${project.build.outputDirectory}/hibernate.properties"
-204    */
-205   private String hibernateProperties;
-206 
-207   /**
-208    * Target of execution:
-209    * <ul>
-210    *   <li><strong>NONE</strong> do nothing - just validate the configuration (forces excecution, signals skip)</li>
-211    *   <li><strong>EXPORT</strong> create database (<strong>DEFAULT!</strong>. forces excecution, signals skip)</li>
-212    *   <li><strong>SCRIPT</strong> export schema to SQL-script</li>
-213    *   <li><strong>BOTH</strong></li>
-214    * </ul>
-215    * @parameter expression="${hibernate.export.target}" default-value="EXPORT"
-216    */
-217   private String target;
-218 
-219   /**
-220    * Type of execution.
-221    * <ul>
-222    *   <li><strong>NONE</strong> do nothing - just validate the configuration</li>
-223    *   <li><strong>CREATE</strong> create database-schema</li>
-224    *   <li><strong>DROP</strong> drop database-schema</li>
-225    *   <li><strong>BOTH</strong> (<strong>DEFAULT!</strong>)</li>
-226    * </ul>
-227    * @parameter expression="${hibernate.export.type}" default-value="BOTH"
-228    */
-229   private String type;
-230 
-231   /**
-232    * Output file.
-233    *
-234    * @parameter expression="${hibernate.export.schema.filename}" default-value="${project.build.directory}/schema.sql"
-235    */
-236   private String outputFile;
-237 
-238   /**
-239    * Delimiter in output-file.
-240    *
-241    * @parameter expression="${hibernate.export.schema.delimiter}" default-value=";"
-242    */
-243   private String delimiter;
-244 
-245   /**
-246    * Format output-file.
-247    *
-248    * @parameter expression="${hibernate.export.schema.format}" default-value="true"
-249    */
-250   private boolean format;
-251 
-252 
-253   @Override
-254   public void execute()
-255     throws
-256       MojoFailureException,
-257       MojoExecutionException
-258   {
-259     if (skip)
-260     {
-261       getLog().info("Exectuion of hibernate4-maven-plugin:export was skipped!");
-262       project.getProperties().setProperty(EXPORT_SKIPPED_PROPERTY, "true");
-263       return;
-264     }
-265 
-266     File dir = new File(outputDirectory);
-267     if (!dir.exists())
-268       throw new MojoExecutionException("Cannot scan for annotated classes in " + outputDirectory + ": directory does not exist!");
-269 
-270     Map<String,String> md5s;
-271     boolean modified = false;
-272     File saved = new File(buildDirectory + File.separator + MD5S);
-273 
-274     if (saved.exists())
-275     {
-276       try
-277       {
-278         FileInputStream fis = new FileInputStream(saved);
-279         ObjectInputStream ois = new ObjectInputStream(fis);
-280         md5s = (HashMap<String,String>)ois.readObject();
-281         ois.close();
-282       }
-283       catch (Exception e)
-284       {
-285         md5s = new HashMap<String,String>();
-286         getLog().warn("Cannot read timestamps from saved: " + e);
-287       }
-288     }
-289     else
-290     {
-291       md5s = new HashMap<String,String>();
-292       try
-293       {
-294         saved.createNewFile();
-295       }
-296       catch (IOException e)
-297       {
-298         getLog().warn("Cannot create saved for timestamps: " + e);
-299       }
-300     }
-301 
-302     ClassLoader classLoader = null;
-303     try
-304     {
-305       getLog().debug("Creating ClassLoader for project-dependencies...");
-306       List<String> classpathFiles = project.getCompileClasspathElements();
-307       if (scanTestClasses)
-308         classpathFiles.addAll(project.getTestClasspathElements());
-309       URL[] urls = new URL[classpathFiles.size()];
-310       for (int i = 0; i < classpathFiles.size(); ++i)
-311       {
-312         getLog().debug("Dependency: " + classpathFiles.get(i));
-313         urls[i] = new File(classpathFiles.get(i)).toURI().toURL();
-314       }
-315       classLoader = new URLClassLoader(urls, getClass().getClassLoader());
-316     }
-317     catch (Exception e)
-318     {
-319       getLog().error("Error while creating ClassLoader!", e);
-320       throw new MojoExecutionException(e.getMessage());
-321     }
-322 
-323     Set<Class<?>> classes =
-324         new TreeSet<Class<?>>(
-325             new Comparator<Class<?>>() {
-326               @Override
-327               public int compare(Class<?> a, Class<?> b)
-328               {
-329                 return a.getName().compareTo(b.getName());
-330               }
-331             }
-332           );
-333 
-334     try
-335     {
-336       AnnotationDB db = new AnnotationDB();
-337       getLog().info("Scanning directory " + outputDirectory + " for annotated classes...");
-338       URL dirUrl = dir.toURI().toURL();
-339       db.scanArchives(dirUrl);
-340       if (scanTestClasses)
-341       {
-342         dir = new File(testOutputDirectory);
-343         if (!dir.exists())
-344           throw new MojoExecutionException("Cannot scan for annotated test-classes in " + testOutputDirectory + ": directory does not exist!");
-345         getLog().info("Scanning directory " + testOutputDirectory + " for annotated classes...");
-346         dirUrl = dir.toURI().toURL();
-347         db.scanArchives(dirUrl);
-348       }
-349 
-350       Set<String> classNames = new HashSet<String>();
-351       if (db.getAnnotationIndex().containsKey(Entity.class.getName()))
-352         classNames.addAll(db.getAnnotationIndex().get(Entity.class.getName()));
-353       if (db.getAnnotationIndex().containsKey(MappedSuperclass.class.getName()))
-354         classNames.addAll(db.getAnnotationIndex().get(MappedSuperclass.class.getName()));
-355       if (db.getAnnotationIndex().containsKey(Embeddable.class.getName()))
-356         classNames.addAll(db.getAnnotationIndex().get(Embeddable.class.getName()));
-357 
-358       MessageDigest digest = java.security.MessageDigest.getInstance("MD5");
-359       for (String name : classNames)
-360       {
-361         Class<?> annotatedClass = classLoader.loadClass(name);
-362         classes.add(annotatedClass);
-363         InputStream is =
-364             annotatedClass
-365                 .getResourceAsStream(annotatedClass.getSimpleName() + ".class");
-366         byte[] buffer = new byte[1024*4]; // copy data in 4MB-chunks
-367         int i;
-368         while((i = is.read(buffer)) > -1)
-369           digest.update(buffer, 0, i);
-370         is.close();
-371         byte[] bytes = digest.digest();
-372         BigInteger bi = new BigInteger(1, bytes);
-373         String newMd5 = String.format("%0" + (bytes.length << 1) + "x", bi);
-374         String oldMd5 = !md5s.containsKey(name) ? "" : md5s.get(name);
-375         if (!newMd5.equals(oldMd5))
-376         {
-377           getLog().debug("Found new or modified annotated class: " + name);
-378           modified = true;
-379           md5s.put(name, newMd5);
-380         }
-381         else
-382         {
-383           getLog().debug(oldMd5 + " -> class unchanged: " + name);
-384         }
-385       }
-386     }
-387     catch (ClassNotFoundException e)
-388     {
-389       getLog().error("Error while adding annotated classes!", e);
-390       throw new MojoExecutionException(e.getMessage());
-391     }
-392     catch (Exception e)
-393     {
-394       getLog().error("Error while scanning!", e);
-395       throw new MojoFailureException(e.getMessage());
-396     }
-397 
-398     if (classes.isEmpty())
-399       throw new MojoFailureException("No annotated classes found in directory " + outputDirectory);
-400 
-401     getLog().debug("Detected classes with mapping-annotations:");
-402     for (Class<?> annotatedClass : classes)
-403       getLog().debug("  " + annotatedClass.getName());
-404 
-405 
-406     Properties properties = new Properties();
-407 
-408     /** Try to read configuration from properties-file */
-409     try
-410     {
-411       File file = new File(hibernateProperties);
-412       if (file.exists())
-413       {
-414         getLog().info("Reading properties from file " + hibernateProperties + "...");
-415         properties.load(new FileInputStream(file));
-416       }
-417       else
-418         getLog().info("No hibernate-properties-file found! (Checked path: " + hibernateProperties + ")");
-419     }
-420     catch (IOException e)
-421     {
-422       getLog().error("Error while reading properties!", e);
-423       throw new MojoExecutionException(e.getMessage());
-424     }
-425 
-426     /** Overwrite values from propertie-file or set, if given */
-427     if (driverClassName != null)
-428     {
-429       if (properties.containsKey(DRIVER_CLASS))
-430         getLog().debug(
-431             "Overwriting property " +
-432             DRIVER_CLASS + "=" + properties.getProperty(DRIVER_CLASS) +
-433             " with the value " + driverClassName
-434           );
-435       else
-436         getLog().debug("Using the value " + driverClassName);
-437       properties.setProperty(DRIVER_CLASS, driverClassName);
-438     }
-439     if (url != null)
-440     {
-441       if (properties.containsKey(URL))
-442         getLog().debug(
-443             "Overwriting property " +
-444             URL + "=" + properties.getProperty(URL) +
-445             " with the value " + url
-446           );
-447       else
-448         getLog().debug("Using the value " + url);
-449       properties.setProperty(URL, url);
-450     }
-451     if (username != null)
-452     {
-453       if (properties.containsKey(USERNAME))
-454         getLog().debug(
-455             "Overwriting property " +
-456             USERNAME + "=" + properties.getProperty(USERNAME) +
-457             " with the value " + username
-458           );
-459       else
-460         getLog().debug("Using the value " + username);
-461       properties.setProperty(USERNAME, username);
-462     }
-463     if (password != null)
-464     {
-465       if (properties.containsKey(PASSWORD))
-466         getLog().debug(
-467             "Overwriting property " +
-468             PASSWORD + "=" + properties.getProperty(PASSWORD) +
-469             " with the value " + password 
-470           );
-471       else
-472         getLog().debug("Using the value " + password);
-473       properties.setProperty(PASSWORD, password);
-474     }
-475     if (hibernateDialect != null)
-476     {
-477       if (properties.containsKey(DIALECT))
-478         getLog().debug(
-479             "Overwriting property " +
-480             DIALECT + "=" + properties.getProperty(DIALECT) +
-481             " with the value " + hibernateDialect
-482           );
-483       else
-484         getLog().debug("Using the value " + hibernateDialect);
-485       properties.setProperty(DIALECT, hibernateDialect);
-486     }
-487 
-488     /** The generated SQL varies with the dialect! */
-489     if (md5s.containsKey(DIALECT))
-490     {
-491       String dialect = properties.getProperty(DIALECT);
-492       if (md5s.get(DIALECT).equals(dialect))
-493         getLog().debug("SQL-dialect unchanged.");
-494       else
-495       {
-496         getLog().debug("SQL-dialect changed: " + dialect);
-497         modified = true;
-498         md5s.put(DIALECT, dialect);
-499       }
-500     }
-501     else
-502     {
-503       modified = true;
-504       md5s.put(DIALECT, properties.getProperty(DIALECT));
-505     }
-506 
-507     if (properties.isEmpty())
-508     {
-509       getLog().error("No properties set!");
-510       throw new MojoFailureException("Hibernate-Configuration is missing!");
-511     }
-512 
-513     Configuration config = new Configuration();
-514     config.setProperties(properties);
-515     getLog().debug("Adding annotated classes to hibernate-mapping-configuration...");
-516     for (Class<?> annotatedClass : classes)
-517     {
-518       getLog().debug("Class " + annotatedClass);
-519       config.addAnnotatedClass(annotatedClass);
-520     }
-521 
-522     Target target = null;
-523     try
-524     {
-525       target = Target.valueOf(this.target.toUpperCase());
-526     }
-527     catch (IllegalArgumentException e)
-528     {
-529       getLog().error("Invalid value for configuration-option \"target\": " + this.target);
-530       getLog().error("Valid values are: NONE, SCRIPT, EXPORT, BOTH");
-531       throw new MojoExecutionException("Invalid value for configuration-option \"target\"");
-532     }
-533     Type type = null;
-534     try
-535     {
-536       type = Type.valueOf(this.type.toUpperCase());
-537     }
-538     catch (IllegalArgumentException e)
-539     {
-540       getLog().error("Invalid value for configuration-option \"type\": " + this.type);
-541       getLog().error("Valid values are: NONE, CREATE, DROP, BOTH");
-542       throw new MojoExecutionException("Invalid value for configuration-option \"type\"");
-543     }
-544 
-545     if (target.equals(Target.SCRIPT) || target.equals(Target.NONE))
-546     {
-547       project.getProperties().setProperty(EXPORT_SKIPPED_PROPERTY, "true");
-548     }
-549     if (
-550         !modified
-551         && !target.equals(Target.SCRIPT)
-552         && !target.equals(Target.NONE)
-553         && !force
-554       )
-555     {
-556       getLog().info("No modified annotated classes found and dialect unchanged.");
-557       getLog().info("Skipping schema generation!");
-558       project.getProperties().setProperty(EXPORT_SKIPPED_PROPERTY, "true");
-559       return;
-560     }
-561 
-562     getLog().info("Gathered hibernate-configuration (turn on debugging for details):");
-563     for (Entry<Object,Object> entry : properties.entrySet())
-564       getLog().info("  " + entry.getKey() + " = " + entry.getValue());
-565 
-566     Connection connection = null;
-567     try
-568     {
-569       /**
-570        * The connection must be established outside of hibernate, because
-571        * hibernate does not use the context-classloader of the current
-572        * thread and, hence, would not be able to resolve the driver-class!
-573        */
-574       switch (target)
-575       {
-576         case EXPORT:
-577         case BOTH:
-578           switch (type)
-579           {
-580             case CREATE:
-581             case DROP:
-582             case BOTH:
-583               Class driverClass = classLoader.loadClass(properties.getProperty(DRIVER_CLASS));
-584               getLog().debug("Registering JDBC-driver " + driverClass.getName());
-585               DriverManager.registerDriver(new DriverProxy((Driver)driverClass.newInstance()));
-586               getLog().debug(
-587                   "Opening JDBC-connection to "
-588                   + properties.getProperty(URL)
-589                   + " as "
-590                   + properties.getProperty(USERNAME)
-591                   + " with password "
-592                   + properties.getProperty(PASSWORD)
-593                   );
-594               connection = DriverManager.getConnection(
-595                   properties.getProperty(URL),
-596                   properties.getProperty(USERNAME),
-597                   properties.getProperty(PASSWORD)
-598                   );
-599           }
-600       }
-601     }
-602     catch (ClassNotFoundException e)
-603     {
-604       getLog().error("Dependency for driver-class " + properties.getProperty(DRIVER_CLASS) + " is missing!");
-605       throw new MojoExecutionException(e.getMessage());
-606     }
-607     catch (Exception e)
-608     {
-609       getLog().error("Cannot establish connection to database!");
-610       Enumeration<Driver> drivers = DriverManager.getDrivers();
-611       if (!drivers.hasMoreElements())
-612         getLog().error("No drivers registered!");
-613       while (drivers.hasMoreElements())
-614         getLog().debug("Driver: " + drivers.nextElement());
-615       throw new MojoExecutionException(e.getMessage());
-616     }
-617 
-618     ClassLoader contextClassLoader = Thread.currentThread().getContextClassLoader();
-619     MavenLogAppender.startPluginLog(this);
-620     try
-621     {
-622       /**
-623        * Change class-loader of current thread, so that hibernate can
-624        * see all dependencies!
-625        */
-626       Thread.currentThread().setContextClassLoader(classLoader);
-627 
-628       SchemaExport export = new SchemaExport(config, connection);
-629       export.setOutputFile(outputFile);
-630       export.setDelimiter(delimiter);
-631       export.setFormat(format);
-632       export.execute(target, type);
-633 
-634       for (Object exception : export.getExceptions())
-635         getLog().debug(exception.toString());
-636     }
-637     finally
-638     {
-639       /** Stop Log-Capturing */
-640       MavenLogAppender.endPluginLog(this);
-641 
-642       /** Restore the old class-loader (TODO: is this really necessary?) */
-643       Thread.currentThread().setContextClassLoader(contextClassLoader);
-644 
-645       /** Close the connection */
-646       try
-647       {
-648         if (connection != null)
-649           connection.close();
-650       }
-651       catch (SQLException e)
-652       {
-653         getLog().error("Error while closing connection: " + e.getMessage());
-654       }
-655     }
-656 
-657     /** Write md5-sums for annotated classes to file */
-658     try
-659     {
-660       FileOutputStream fos = new FileOutputStream(saved);
-661       ObjectOutputStream oos = new ObjectOutputStream(fos);
-662       oos.writeObject(md5s);
-663       oos.close();
-664       fos.close();
-665     }
-666     catch (Exception e)
-667     {
-668       getLog().error("Cannot write md5-sums to file: " + e);
-669     }
-670   }
-671 
-672   /**
-673    * Needed, because DriverManager won't pick up drivers, that were not
-674    * loaded by the system-classloader!
-675    * See:
-676    * http://stackoverflow.com/questions/288828/how-to-use-a-jdbc-driver-fromodifiedm-an-arbitrary-location
-677    */
-678   static final class DriverProxy implements Driver
-679   {
-680     private final Driver target;
-681 
-682     DriverProxy(Driver target)
-683     {
-684       if (target == null)
-685         throw new NullPointerException();
-686       this.target = target;
-687     }
-688 
-689     public java.sql.Driver getTarget()
-690     {
-691       return target;
-692     }
-693 
-694     @Override
-695     public boolean acceptsURL(String url) throws SQLException
-696     {
-697       return target.acceptsURL(url);
-698     }
-699 
-700     @Override
-701     public java.sql.Connection connect(
-702         String url,
-703         java.util.Properties info
-704       )
-705       throws
-706         SQLException
-707     {
-708       return target.connect(url, info);
-709     }
-710 
-711     @Override
-712     public int getMajorVersion()
-713     {
-714       return target.getMajorVersion();
-715     }
-716 
-717     @Override
-718     public int getMinorVersion()
-719     {
-720       return target.getMinorVersion();
-721     }
-722 
-723     @Override
-724     public DriverPropertyInfo[] getPropertyInfo(
-725         String url,
-726         Properties info
-727       )
-728       throws
-729         SQLException
-730     {
-731       return target.getPropertyInfo(url, info);
-732     }
-733 
-734     @Override
-735     public boolean jdbcCompliant()
-736     {
-737       return target.jdbcCompliant();
-738     }
-739 
-740     /**
-741      * This Method cannot be annotated with @Override, becaus the plugin
-742      * will not compile then under Java 1.6!
-743      */
-744     public Logger getParentLogger() throws SQLFeatureNotSupportedException
-745     {
-746       throw new SQLFeatureNotSupportedException("Not supported, for backward-compatibility with Java 1.6");
-747     }
-748 
-749     @Override
-750     public String toString()
-751     {
-752       return "Proxy: " + target;
-753     }
-754 
-755     @Override
-756     public int hashCode()
-757     {
-758       return target.hashCode();
-759     }
-760 
-761     @Override
-762     public boolean equals(Object obj)
-763     {
-764       if (!(obj instanceof DriverProxy))
-765         return false;
-766       DriverProxy other = (DriverProxy) obj;
-767       return this.target.equals(other.target);
-768     }
-769   }
-770 }
-
-
- - diff --git a/projects/hibernate4-maven-plugin-1.0.1/xref/de/juplo/plugins/hibernate4/package-frame.html b/projects/hibernate4-maven-plugin-1.0.1/xref/de/juplo/plugins/hibernate4/package-frame.html deleted file mode 100644 index 9015841..0000000 --- a/projects/hibernate4-maven-plugin-1.0.1/xref/de/juplo/plugins/hibernate4/package-frame.html +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - Hibernate 4 Maven Plugin 1.0.1 Reference Package de.juplo.plugins.hibernate4 - - - - -

- de.juplo.plugins.hibernate4 -

- -

Classes

- - - - - \ No newline at end of file diff --git a/projects/hibernate4-maven-plugin-1.0.1/xref/de/juplo/plugins/hibernate4/package-summary.html b/projects/hibernate4-maven-plugin-1.0.1/xref/de/juplo/plugins/hibernate4/package-summary.html deleted file mode 100644 index 6d79729..0000000 --- a/projects/hibernate4-maven-plugin-1.0.1/xref/de/juplo/plugins/hibernate4/package-summary.html +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - Hibernate 4 Maven Plugin 1.0.1 Reference Package de.juplo.plugins.hibernate4 - - - -
- -
-
- -
- -

Package de.juplo.plugins.hibernate4

- - - - - - - - - - - - - - - -
Class Summary
- DriverProxy -
- Hbm2DdlMojo -
- -
- -
-
- -
-
- Copyright © 2013. All Rights Reserved. - - \ No newline at end of file diff --git a/projects/hibernate4-maven-plugin-1.0.1/xref/index.html b/projects/hibernate4-maven-plugin-1.0.1/xref/index.html deleted file mode 100644 index 26ce254..0000000 --- a/projects/hibernate4-maven-plugin-1.0.1/xref/index.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - Hibernate 4 Maven Plugin 1.0.1 Reference - - - - - - - - - <body> - <h1>Frame Alert</h1> - <p> - You don't have frames. Go <a href="overview-summary.html">here</a> - </p> - </body> - - - - diff --git a/projects/hibernate4-maven-plugin-1.0.1/xref/overview-frame.html b/projects/hibernate4-maven-plugin-1.0.1/xref/overview-frame.html deleted file mode 100644 index 617ae51..0000000 --- a/projects/hibernate4-maven-plugin-1.0.1/xref/overview-frame.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - Hibernate 4 Maven Plugin 1.0.1 Reference - - - - -

- All Classes -

- -

Packages

- - - - - - diff --git a/projects/hibernate4-maven-plugin-1.0.1/xref/overview-summary.html b/projects/hibernate4-maven-plugin-1.0.1/xref/overview-summary.html deleted file mode 100644 index 7ee1ba7..0000000 --- a/projects/hibernate4-maven-plugin-1.0.1/xref/overview-summary.html +++ /dev/null @@ -1,64 +0,0 @@ - - - - - - Hibernate 4 Maven Plugin 1.0.1 Reference - - - -
- -
-
- -
- -

Hibernate 4 Maven Plugin 1.0.1 Reference

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