From: Kai Moritz Date: Tue, 28 Oct 2025 18:37:31 +0000 (+0100) Subject: Moved version `1.0` of the `hibernate-maven-plugin` to the refined path X-Git-Url: https://juplo.de/gitweb/?a=commitdiff_plain;h=90337a7e47071d5930590e3f0d9c007b00cccbb4;p=website Moved version `1.0` of the `hibernate-maven-plugin` to the refined path --- diff --git a/nginx.conf b/nginx.conf index f54adff..b5a1b87 100644 --- a/nginx.conf +++ b/nginx.conf @@ -50,5 +50,9 @@ server { alias /usr/share/nginx/html/projects/hibernate-maven-plugin/1.0.1/; expires 0; } + location /hibernate4-maven-plugin-1.0/ { + alias /usr/share/nginx/html/projects/hibernate-maven-plugin/1.0/; + expires 0; + } } diff --git a/projects/hibernate-maven-plugin/1.0/apidocs/allclasses-frame.html b/projects/hibernate-maven-plugin/1.0/apidocs/allclasses-frame.html new file mode 100644 index 0000000..a7962b8 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0/apidocs/allclasses-frame.html @@ -0,0 +1,19 @@ + + + + + + +All Classes (Hibernate 4 Maven Plugin 1.0 API) + + + + +

All Classes

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

All Classes

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

Constant Field Values

+

Contents

+ +
+
+ + +

de.juplo.*

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

Copyright © 2012. All Rights Reserved.

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

Class Hbm2DdlMojo

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

Copyright © 2012. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/1.0/apidocs/de/juplo/plugins/hibernate4/class-use/Hbm2DdlMojo.html b/projects/hibernate-maven-plugin/1.0/apidocs/de/juplo/plugins/hibernate4/class-use/Hbm2DdlMojo.html new file mode 100644 index 0000000..7aff397 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0/apidocs/de/juplo/plugins/hibernate4/class-use/Hbm2DdlMojo.html @@ -0,0 +1,115 @@ + + + + + + +Uses of Class de.juplo.plugins.hibernate4.Hbm2DdlMojo (Hibernate 4 Maven Plugin 1.0 API) + + + + + + + +
+ + + + + +
+ + +
+

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

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

Copyright © 2012. All Rights Reserved.

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

de.juplo.plugins.hibernate4

+
+

Classes

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

Package de.juplo.plugins.hibernate4

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

Copyright © 2012. All Rights Reserved.

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

Hierarchy For Package de.juplo.plugins.hibernate4

+
+
+

Class Hierarchy

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

Copyright © 2012. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/1.0/apidocs/de/juplo/plugins/hibernate4/package-use.html b/projects/hibernate-maven-plugin/1.0/apidocs/de/juplo/plugins/hibernate4/package-use.html new file mode 100644 index 0000000..083ef02 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0/apidocs/de/juplo/plugins/hibernate4/package-use.html @@ -0,0 +1,115 @@ + + + + + + +Uses of Package de.juplo.plugins.hibernate4 (Hibernate 4 Maven Plugin 1.0 API) + + + + + + + +
+ + + + + +
+ + +
+

Uses of Package
de.juplo.plugins.hibernate4

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

Copyright © 2012. All Rights Reserved.

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

Deprecated API

+

Contents

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

Copyright © 2012. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/1.0/apidocs/help-doc.html b/projects/hibernate-maven-plugin/1.0/apidocs/help-doc.html new file mode 100644 index 0000000..e44996d --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0/apidocs/help-doc.html @@ -0,0 +1,216 @@ + + + + + + +API Help (Hibernate 4 Maven Plugin 1.0 API) + + + + + + + +
+ + + + + +
+ + +
+

How This API Document Is Organized

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

Copyright © 2012. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/1.0/apidocs/index-all.html b/projects/hibernate-maven-plugin/1.0/apidocs/index-all.html new file mode 100644 index 0000000..e9c571f --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0/apidocs/index-all.html @@ -0,0 +1,163 @@ + + + + + + +Index (Hibernate 4 Maven Plugin 1.0 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
+
 
+
+ + + +

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 © 2012. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/1.0/apidocs/index.html b/projects/hibernate-maven-plugin/1.0/apidocs/index.html new file mode 100644 index 0000000..a4299e0 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0/apidocs/index.html @@ -0,0 +1,31 @@ + + + + + + +Hibernate 4 Maven Plugin 1.0 API + + + + + + +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<h2>Frame Alert</h2> +<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="de/juplo/plugins/hibernate4/package-summary.html">Non-frame version</a>.</p> + + + diff --git a/projects/hibernate-maven-plugin/1.0/apidocs/options b/projects/hibernate-maven-plugin/1.0/apidocs/options new file mode 100644 index 0000000..e67be8f --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0/apidocs/options @@ -0,0 +1,24 @@ +-classpath +'/home/kai/juplo/hibernate4-maven-plugin/target/checkout/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/jboss/logging/jboss-logging/3.1.0.GA/jboss-logging-3.1.0.GA.jar:/home/kai/.m2/repository/org/sonatype/aether/aether-impl/1.13.1/aether-impl-1.13.1.jar:/home/kai/.m2/repository/org/sonatype/sisu/sisu-guice/3.1.0/sisu-guice-3.1.0-no_aop.jar:/home/kai/.m2/repository/org/apache/maven/maven-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/target/checkout/src/main/java' +-author +-bottom +'Copyright © 2012. All Rights Reserved.' +-charset +'UTF-8' +-d +'/home/kai/juplo/hibernate4-maven-plugin/target/checkout/target/site/apidocs' +-docencoding +'UTF-8' +-doctitle +'Hibernate 4 Maven Plugin 1.0 API' +-link +'http://java.sun.com/javase/6/docs/api' +-use +-version +-windowtitle +'Hibernate 4 Maven Plugin 1.0 API' \ No newline at end of file diff --git a/projects/hibernate-maven-plugin/1.0/apidocs/overview-tree.html b/projects/hibernate-maven-plugin/1.0/apidocs/overview-tree.html new file mode 100644 index 0000000..3a0cc31 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0/apidocs/overview-tree.html @@ -0,0 +1,132 @@ + + + + + + +Class Hierarchy (Hibernate 4 Maven Plugin 1.0 API) + + + + + + + +
+ + + + + +
+ + +
+

Hierarchy For All Packages

+Package Hierarchies: + +
+
+

Class Hierarchy

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

Copyright © 2012. All Rights Reserved.

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

Configuration Examples

The plugin was designed with two main goals in mind:

  • It should be easy to use.
  • It should be maximal unlikely, to erase a producation-database by accident.

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

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</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</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</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</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</version>
+  <executions>
+    <execution>
+      <goals>
+        <goal>export</goal>
+      </goals>
+    </execution>
+  </executions>
+  <configuration>
+    <password>${my-password-property}</password>
+  </configuration>
+</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 ;)

Known Pitfalls

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

+
+
+
+
+
+ + + diff --git a/projects/hibernate-maven-plugin/1.0/export-mojo.html b/projects/hibernate-maven-plugin/1.0/export-mojo.html new file mode 100644 index 0000000..51df966 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0/export-mojo.html @@ -0,0 +1,307 @@ + + + + + + Hibernate 4 Maven Plugin - + hibernate4:export + + + + + + + + + +
+ +
+
+
+ + +

hibernate4:export

+

Full name:

+

de.juplo:hibernate4-maven-plugin:1.0: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: ;.
driverClassNameString-SQL-Driver name.
User property is: hibernate.connection.driver_class.
formatboolean-Format output-file.
Default value is: true.
hibernateDialectString-Hibernate dialect.
User property is: hibernate.dialect.
hibernatePropertiesString-Hibernate configuration file.
Default value is: ${project.build.outputDirectory}/hibernate.properties.
outputDirectoryString-Directories to scan.
User property is: project.build.outputDirectory.
outputFileString-Output file.
Default value is: ${project.build.outputDirectory}/schema.sql.
passwordString-Database password
User property is: hibernate.connection.password.
skipboolean-Skip execution
User property is: maven.test.skip.
targetString-Target of execution: +
    +
  • NONE do nothing - just validate the +configuration
  • +
  • EXPORT create database +(DEFAULT!)
  • +
  • SCRIPT export schema to SQL-script
  • +
  • BOTH
  • +

Default value is: EXPORT.
typeString-Type of export. +
    +
  • NONE do nothing - just validate the +configuration
  • +
  • CREATE create database-schema
  • +
  • DROP drop database-schema
  • +
  • BOTH (DEFAULT!)
  • +

Default value is: BOTH.
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
  • +
  • Default: ;
  • +

driverClassName:

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

format:

+
Format output-file.
+
    +
  • Type: boolean
  • +
  • Required: No
  • +
  • Default: true
  • +

hibernateDialect:

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

hibernateProperties:

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

outputDirectory:

+
Directories to scan.
+
    +
  • Type: java.lang.String
  • +
  • Required: No
  • +
  • User Property: project.build.outputDirectory
  • +

outputFile:

+
Output file.
+
    +
  • Type: java.lang.String
  • +
  • Required: No
  • +
  • Default: ${project.build.outputDirectory}/schema.sql
  • +

password:

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

skip:

+
Skip execution
+
    +
  • Type: boolean
  • +
  • Required: No
  • +
  • User Property: maven.test.skip
  • +

target:

+
Target of execution: +
    +
  • NONE do nothing - just validate the +configuration
  • +
  • EXPORT create database +(DEFAULT!)
  • +
  • SCRIPT export schema to SQL-script
  • +
  • BOTH
  • +
+
    +
  • Type: java.lang.String
  • +
  • Required: No
  • +
  • Default: EXPORT
  • +

type:

+
Type of export. +
    +
  • NONE do nothing - just validate the +configuration
  • +
  • CREATE create database-schema
  • +
  • DROP drop database-schema
  • +
  • BOTH (DEFAULT!)
  • +
+
    +
  • Type: java.lang.String
  • +
  • Required: No
  • +
  • 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/images/close.gif b/projects/hibernate-maven-plugin/1.0/images/close.gif new file mode 100644 index 0000000..1c26bbc Binary files /dev/null and b/projects/hibernate-maven-plugin/1.0/images/close.gif differ diff --git a/projects/hibernate-maven-plugin/1.0/images/collapsed.gif b/projects/hibernate-maven-plugin/1.0/images/collapsed.gif new file mode 100644 index 0000000..6e71084 Binary files /dev/null and b/projects/hibernate-maven-plugin/1.0/images/collapsed.gif differ diff --git a/projects/hibernate-maven-plugin/1.0/images/expanded.gif b/projects/hibernate-maven-plugin/1.0/images/expanded.gif new file mode 100644 index 0000000..0fef3d8 Binary files /dev/null and b/projects/hibernate-maven-plugin/1.0/images/expanded.gif differ diff --git a/projects/hibernate-maven-plugin/1.0/images/external.png b/projects/hibernate-maven-plugin/1.0/images/external.png new file mode 100644 index 0000000..3f999fc Binary files /dev/null and b/projects/hibernate-maven-plugin/1.0/images/external.png differ diff --git a/projects/hibernate-maven-plugin/1.0/images/icon_error_sml.gif b/projects/hibernate-maven-plugin/1.0/images/icon_error_sml.gif new file mode 100644 index 0000000..61132ef Binary files /dev/null and b/projects/hibernate-maven-plugin/1.0/images/icon_error_sml.gif differ diff --git a/projects/hibernate-maven-plugin/1.0/images/icon_info_sml.gif b/projects/hibernate-maven-plugin/1.0/images/icon_info_sml.gif new file mode 100644 index 0000000..c6cb9ad Binary files /dev/null and b/projects/hibernate-maven-plugin/1.0/images/icon_info_sml.gif differ diff --git a/projects/hibernate-maven-plugin/1.0/images/icon_success_sml.gif b/projects/hibernate-maven-plugin/1.0/images/icon_success_sml.gif new file mode 100644 index 0000000..52e85a4 Binary files /dev/null and b/projects/hibernate-maven-plugin/1.0/images/icon_success_sml.gif differ diff --git a/projects/hibernate-maven-plugin/1.0/images/icon_warning_sml.gif b/projects/hibernate-maven-plugin/1.0/images/icon_warning_sml.gif new file mode 100644 index 0000000..873bbb5 Binary files /dev/null and b/projects/hibernate-maven-plugin/1.0/images/icon_warning_sml.gif differ diff --git a/projects/hibernate-maven-plugin/1.0/images/logos/build-by-maven-black.png b/projects/hibernate-maven-plugin/1.0/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/images/logos/build-by-maven-black.png differ diff --git a/projects/hibernate-maven-plugin/1.0/images/logos/build-by-maven-white.png b/projects/hibernate-maven-plugin/1.0/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/images/logos/build-by-maven-white.png differ diff --git a/projects/hibernate-maven-plugin/1.0/images/logos/maven-feather.png b/projects/hibernate-maven-plugin/1.0/images/logos/maven-feather.png new file mode 100644 index 0000000..b5ada83 Binary files /dev/null and b/projects/hibernate-maven-plugin/1.0/images/logos/maven-feather.png differ diff --git a/projects/hibernate-maven-plugin/1.0/images/newwindow.png b/projects/hibernate-maven-plugin/1.0/images/newwindow.png new file mode 100644 index 0000000..6287f72 Binary files /dev/null and b/projects/hibernate-maven-plugin/1.0/images/newwindow.png differ diff --git a/projects/hibernate-maven-plugin/1.0/index.html b/projects/hibernate-maven-plugin/1.0/index.html new file mode 100644 index 0000000..284af74 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0/index.html @@ -0,0 +1,125 @@ + + + + + + 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 to be easy and safe to use, because it must not never, never happen, that you blow away your production database when firering a maven-build of your webapp on your production-machine! For more information about the insiration to write this tiny plugin, read our blog-article about the hibernate4-maven-plugin.

Documentation and Examples

  • See Examples for Usage-Eplanations and simple examples of how to use this plugin.
  • See 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.
+
+
+
+
+
+ + + diff --git a/projects/hibernate-maven-plugin/1.0/integration.html b/projects/hibernate-maven-plugin/1.0/integration.html new file mode 100644 index 0000000..aceb9ca --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0/integration.html @@ -0,0 +1,125 @@ + + + + + + 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/issue-tracking.html b/projects/hibernate-maven-plugin/1.0/issue-tracking.html new file mode 100644 index 0000000..ec6d8da --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0/issue-tracking.html @@ -0,0 +1,125 @@ + + + + + + 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/license.html b/projects/hibernate-maven-plugin/1.0/license.html new file mode 100644 index 0000000..649a0be --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0/license.html @@ -0,0 +1,327 @@ + + + + + + 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/mail-lists.html b/projects/hibernate-maven-plugin/1.0/mail-lists.html new file mode 100644 index 0000000..e67bb83 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0/mail-lists.html @@ -0,0 +1,125 @@ + + + + + + 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/plugin-info.html b/projects/hibernate-maven-plugin/1.0/plugin-info.html new file mode 100644 index 0000000..c130fe6 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0/plugin-info.html @@ -0,0 +1,134 @@ + + + + + + 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</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</version>
+      </plugin>
+      ...
+    </plugins>
+  </build>
+  ...
+</project>
+

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

+
+
+
+
+
+ + + diff --git a/projects/hibernate-maven-plugin/1.0/plugin-management.html b/projects/hibernate-maven-plugin/1.0/plugin-management.html new file mode 100644 index 0000000..8ed527c --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0/plugin-management.html @@ -0,0 +1,125 @@ + + + + + + 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/plugins.html b/projects/hibernate-maven-plugin/1.0/plugins.html new file mode 100644 index 0000000..7cdb914 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0/plugins.html @@ -0,0 +1,125 @@ + + + + + + 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-gpg-plugin1.1
org.apache.maven.pluginsmaven-javadoc-plugin2.7
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/pmd.html b/projects/hibernate-maven-plugin/1.0/pmd.html new file mode 100644 index 0000000..b1aeea7 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0/pmd.html @@ -0,0 +1,107 @@ + + + + + + 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/pmd.xml b/projects/hibernate-maven-plugin/1.0/pmd.xml new file mode 100644 index 0000000..8eaa91e --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0/pmd.xml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/projects/hibernate-maven-plugin/1.0/project-info.html b/projects/hibernate-maven-plugin/1.0/project-info.html new file mode 100644 index 0000000..b04ae7f --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0/project-info.html @@ -0,0 +1,125 @@ + + + + + + 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/project-reports.html b/projects/hibernate-maven-plugin/1.0/project-reports.html new file mode 100644 index 0000000..733555f --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0/project-reports.html @@ -0,0 +1,107 @@ + + + + + + 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/project-summary.html b/projects/hibernate-maven-plugin/1.0/project-summary.html new file mode 100644 index 0000000..c806150 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0/project-summary.html @@ -0,0 +1,125 @@ + + + + + + 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
Typemaven-plugin
+
+
+
+
+
+ + + diff --git a/projects/hibernate-maven-plugin/1.0/source-repository.html b/projects/hibernate-maven-plugin/1.0/source-repository.html new file mode 100644 index 0000000..8be4b2e --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0/source-repository.html @@ -0,0 +1,125 @@ + + + + + + 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/team-list.html b/projects/hibernate-maven-plugin/1.0/team-list.html new file mode 100644 index 0000000..73e030e --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0/team-list.html @@ -0,0 +1,140 @@ + + + + + + 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/xref/allclasses-frame.html b/projects/hibernate-maven-plugin/1.0/xref/allclasses-frame.html new file mode 100644 index 0000000..507bf84 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0/xref/allclasses-frame.html @@ -0,0 +1,23 @@ + + + + + + All Classes + + + + +

All Classes

+ + + + + diff --git a/projects/hibernate-maven-plugin/1.0/xref/de/juplo/plugins/hibernate4/Hbm2DdlMojo.html b/projects/hibernate-maven-plugin/1.0/xref/de/juplo/plugins/hibernate4/Hbm2DdlMojo.html new file mode 100644 index 0000000..b8cb828 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0/xref/de/juplo/plugins/hibernate4/Hbm2DdlMojo.html @@ -0,0 +1,582 @@ + + + + +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.IOException;
+23  import java.net.URL;
+24  import java.net.URLClassLoader;
+25  import java.sql.Connection;
+26  import java.sql.Driver;
+27  import java.sql.DriverManager;
+28  import java.sql.DriverPropertyInfo;
+29  import java.sql.SQLException;
+30  import java.sql.SQLFeatureNotSupportedException;
+31  import java.util.Enumeration;
+32  import java.util.HashSet;
+33  import java.util.List;
+34  import java.util.Map.Entry;
+35  import java.util.Properties;
+36  import java.util.Set;
+37  import java.util.logging.Logger;
+38  import javax.persistence.Embeddable;
+39  import javax.persistence.Entity;
+40  import javax.persistence.MappedSuperclass;
+41  import org.apache.maven.plugin.AbstractMojo;
+42  import org.apache.maven.plugin.MojoExecutionException;
+43  import org.apache.maven.plugin.MojoFailureException;
+44  import org.apache.maven.project.MavenProject;
+45  import org.hibernate.cfg.Configuration;
+46  import org.hibernate.tool.hbm2ddl.SchemaExport;
+47  import org.hibernate.tool.hbm2ddl.SchemaExport.Type;
+48  import org.hibernate.tool.hbm2ddl.Target;
+49  import org.scannotation.AnnotationDB;
+50  
+51  
+52  /**
+53   * Goal which extracts the hibernate-mapping-configuration and
+54   * exports an according SQL-database-schema.
+55   *
+56   * @goal export
+57   * @phase process-classes
+58   * @threadSafe
+59   * @requiresDependencyResolution runtime
+60   */
+61  public class Hbm2DdlMojo extends AbstractMojo
+62  {
+63    public final static String DRIVER_CLASS = "hibernate.connection.driver_class";
+64    public final static String URL = "hibernate.connection.url";
+65    public final static String USERNAME = "hibernate.connection.username";
+66    public final static String PASSWORD = "hibernate.connection.password";
+67    public final static String DIALECT = "hibernate.dialect";
+68  
+69  
+70    /**
+71     * The project whose project files to create.
+72     *
+73     * @parameter expression="${project}"
+74     * @required
+75     * @readonly
+76     */
+77    private MavenProject project;
+78  
+79    /**
+80     * Directories to scan.
+81     *
+82     * @parameter expression="${project.build.outputDirectory}"
+83     */
+84    private String outputDirectory;
+85  
+86    /**
+87     * Skip execution
+88     *
+89     * @parameter expression="${maven.test.skip}"
+90     */
+91    private boolean skip;
+92  
+93    /**
+94     * SQL-Driver name.
+95     *
+96     * @parameter expression="${hibernate.connection.driver_class}
+97     */
+98    private String driverClassName;
+99  
+100   /**
+101    * Database URL.
+102    *
+103    * @parameter expression="${hibernate.connection.url}"
+104    */
+105   private String url;
+106 
+107   /**
+108    * Database username
+109    *
+110    * @parameter expression="${hibernate.connection.username}"
+111    */
+112   private String username;
+113 
+114   /**
+115    * Database password
+116    *
+117    * @parameter expression="${hibernate.connection.password}"
+118    */
+119   private String password;
+120 
+121   /**
+122    * Hibernate dialect.
+123    *
+124    * @parameter expression="${hibernate.dialect}"
+125    */
+126   private String hibernateDialect;
+127 
+128   /**
+129    * Hibernate configuration file.
+130    *
+131    * @parameter default-value="${project.build.outputDirectory}/hibernate.properties"
+132    */
+133   private String hibernateProperties;
+134 
+135   /**
+136    * Target of execution:
+137    * <ul>
+138    *   <li><strong>NONE</strong> do nothing - just validate the configuration</li>
+139    *   <li><strong>EXPORT</strong> create database <strong>(DEFAULT!)</strong></li>
+140    *   <li><strong>SCRIPT</strong> export schema to SQL-script</li>
+141    *   <li><strong>BOTH</strong></li>
+142    * </ul>
+143    * @parameter default-value="EXPORT"
+144    */
+145   private String target;
+146 
+147   /**
+148    * Type of export.
+149    * <ul>
+150    *   <li><strong>NONE</strong> do nothing - just validate the configuration</li>
+151    *   <li><strong>CREATE</strong> create database-schema</li>
+152    *   <li><strong>DROP</strong> drop database-schema</li>
+153    *   <li><strong>BOTH</strong> <strong>(DEFAULT!)</strong></li>
+154    * </ul>
+155    * @parameter default-value="BOTH"
+156    */
+157   private String type;
+158 
+159   /**
+160    * Output file.
+161    *
+162    * @parameter default-value="${project.build.outputDirectory}/schema.sql"
+163    */
+164   private String outputFile;
+165 
+166   /**
+167    * Delimiter in output-file.
+168    *
+169    * @parameter default-value=";"
+170    */
+171   private String delimiter;
+172 
+173   /**
+174    * Format output-file.
+175    *
+176    * @parameter default-value="true"
+177    */
+178   private boolean format;
+179 
+180 
+181   @Override
+182   public void execute()
+183     throws
+184       MojoFailureException,
+185       MojoExecutionException
+186   {
+187     if (skip)
+188     {
+189       getLog().info("Exectuion of hibernate4-maven-plugin:export was skipped!");
+190       return;
+191     }
+192 
+193     File dir = new File(outputDirectory);
+194     if (!dir.exists())
+195       throw new MojoExecutionException("Cannot scan for annotated classes in " + outputDirectory + ": directory does not exist!");
+196 
+197 
+198     Set<String> classes = new HashSet<String>();
+199     try
+200     {
+201       AnnotationDB db = new AnnotationDB();
+202       getLog().info("Scanning directory " + outputDirectory + " for annotated classes...");
+203       URL dirUrl = dir.toURI().toURL();
+204       db.scanArchives(dirUrl);
+205       if (db.getAnnotationIndex().containsKey(Entity.class.getName()))
+206         classes.addAll(db.getAnnotationIndex().get(Entity.class.getName()));
+207       if (db.getAnnotationIndex().containsKey(MappedSuperclass.class.getName()))
+208         classes.addAll(db.getAnnotationIndex().get(MappedSuperclass.class.getName()));
+209       if (db.getAnnotationIndex().containsKey(Embeddable.class.getName()))
+210         classes.addAll(db.getAnnotationIndex().get(Embeddable.class.getName()));
+211     }
+212     catch (IOException e)
+213     {
+214       getLog().error("Error while scanning!", e);
+215       throw new MojoFailureException(e.getMessage());
+216     }
+217     if (classes.isEmpty())
+218       throw new MojoFailureException("No annotated classes found in directory " + outputDirectory);
+219 
+220     Properties properties = new Properties();
+221 
+222     /** Try to read configuration from properties-file */
+223     try
+224     {
+225       File file = new File(hibernateProperties);
+226       if (file.exists())
+227       {
+228         getLog().info("Reading properties from file " + hibernateProperties + "...");
+229         properties.load(new FileInputStream(file));
+230       }
+231       else
+232         getLog().info("No hibernate-properties-file found! Checked path: " + hibernateProperties);
+233     }
+234     catch (IOException e)
+235     {
+236       getLog().error("Error while reading properties!", e);
+237       throw new MojoExecutionException(e.getMessage());
+238     }
+239 
+240     /** Overwrite values from propertie-file or set, if given */
+241     if (driverClassName != null)
+242     {
+243       if (properties.containsKey(DRIVER_CLASS))
+244         getLog().debug(
+245             "Overwriting property " +
+246             DRIVER_CLASS + "=" + properties.getProperty(DRIVER_CLASS) +
+247             " with the value " + driverClassName +
+248             " from the plugin-configuration-parameter driverClassName!"
+249           );
+250       else
+251         getLog().debug(
+252             "Using the value " + driverClassName +
+253             " from the plugin-configuration-parameter driverClassName!"
+254           );
+255       properties.setProperty(DRIVER_CLASS, driverClassName);
+256     }
+257     if (url != null)
+258     {
+259       if (properties.containsKey(URL))
+260         getLog().debug(
+261             "Overwriting property " +
+262             URL + "=" + properties.getProperty(URL) +
+263             " with the value " + url +
+264             " from the plugin-configuration-parameter url!"
+265           );
+266       else
+267         getLog().debug(
+268             "Using the value " + url +
+269             " from the plugin-configuration-parameter url!"
+270           );
+271       properties.setProperty(URL, url);
+272     }
+273     if (username != null)
+274     {
+275       if (properties.containsKey(USERNAME))
+276         getLog().debug(
+277             "Overwriting property " +
+278             USERNAME + "=" + properties.getProperty(USERNAME) +
+279             " with the value " + username +
+280             " from the plugin-configuration-parameter username!"
+281           );
+282       else
+283         getLog().debug(
+284             "Using the value " + username +
+285             " from the plugin-configuration-parameter username!"
+286           );
+287       properties.setProperty(USERNAME, username);
+288     }
+289     if (password != null)
+290     {
+291       if (properties.containsKey(PASSWORD))
+292         getLog().debug(
+293             "Overwriting property " +
+294             PASSWORD + "=" + properties.getProperty(PASSWORD) +
+295             " with the value " + password +
+296             " from the plugin-configuration-parameter password!"
+297           );
+298       else
+299         getLog().debug(
+300             "Using the value " + password +
+301             " from the plugin-configuration-parameter password!"
+302           );
+303       properties.setProperty(PASSWORD, password);
+304     }
+305     if (hibernateDialect != null)
+306     {
+307       if (properties.containsKey(DIALECT))
+308         getLog().debug(
+309             "Overwriting property " +
+310             DIALECT + "=" + properties.getProperty(DIALECT) +
+311             " with the value " + hibernateDialect +
+312             " from the plugin-configuration-parameter hibernateDialect!"
+313           );
+314       else
+315         getLog().debug(
+316             "Using the value " + hibernateDialect +
+317             " from the plugin-configuration-parameter hibernateDialect!"
+318           );
+319       properties.setProperty(DIALECT, hibernateDialect);
+320     }
+321 
+322     getLog().info("Gathered hibernate-configuration (turn on debugging for details):");
+323     if (properties.isEmpty())
+324     {
+325       getLog().error("No properties set!");
+326       throw new MojoFailureException("Hibernate-Configuration is missing!");
+327     }
+328     for (Entry<Object,Object> entry : properties.entrySet())
+329       getLog().info("  " + entry.getKey() + " = " + entry.getValue());
+330 
+331     ClassLoader classLoader = null;
+332     try
+333     {
+334       getLog().debug("Creating ClassLoader for project-dependencies...");
+335       List<String> classpathFiles = project.getCompileClasspathElements();
+336       URL[] urls = new URL[classpathFiles.size()];
+337       for (int i = 0; i < classpathFiles.size(); ++i)
+338       {
+339         getLog().debug("Dependency: " + classpathFiles.get(i));
+340         urls[i] = new File(classpathFiles.get(i)).toURI().toURL();
+341       }
+342       classLoader = new URLClassLoader(urls, getClass().getClassLoader());
+343     }
+344     catch (Exception e)
+345     {
+346       getLog().error("Error while creating ClassLoader!", e);
+347       throw new MojoExecutionException(e.getMessage());
+348     }
+349 
+350     Configuration config = new Configuration();
+351     config.setProperties(properties);
+352     try
+353     {
+354       getLog().debug("Adding annotated classes to hibernate-mapping-configuration...");
+355       for (String annotatedClass : classes)
+356       {
+357         getLog().debug("Class " + annotatedClass);
+358         config.addAnnotatedClass(classLoader.loadClass(annotatedClass));
+359       }
+360     }
+361     catch (ClassNotFoundException e)
+362     {
+363       getLog().error("Error while adding annotated classes!", e);
+364       throw new MojoExecutionException(e.getMessage());
+365     }
+366 
+367     Target target = null;
+368     try
+369     {
+370       target = Target.valueOf(this.target);
+371     }
+372     catch (IllegalArgumentException e)
+373     {
+374       getLog().error("Invalid value for configuration-option \"target\": " + this.target);
+375       getLog().error("Valid values are: NONE, SCRIPT, EXPORT, BOTH");
+376       throw new MojoExecutionException("Invalid value for configuration-option \"target\"");
+377     }
+378     Type type = null;
+379     try
+380     {
+381       type = Type.valueOf(this.type);
+382     }
+383     catch (IllegalArgumentException e)
+384     {
+385       getLog().error("Invalid value for configuration-option \"type\": " + this.type);
+386       getLog().error("Valid values are: NONE, CREATE, DROP, BOTH");
+387       throw new MojoExecutionException("Invalid value for configuration-option \"type\"");
+388     }
+389 
+390     Connection connection = null;
+391     try
+392     {
+393       /**
+394        * The connection must be established outside of hibernate, because
+395        * hibernate does not use the context-classloader of the current
+396        * thread and, hence, would not be able to resolve the driver-class!
+397        */
+398       switch (target)
+399       {
+400         case EXPORT:
+401         case BOTH:
+402           switch (type)
+403           {
+404             case CREATE:
+405             case DROP:
+406             case BOTH:
+407               Class driverClass = classLoader.loadClass(driverClassName);
+408               getLog().debug("Registering JDBC-driver " + driverClass.getName());
+409               DriverManager.registerDriver(new DriverProxy((Driver)driverClass.newInstance()));
+410               getLog().debug("Opening JDBC-connection to " + url + " as " + username + " with password " + password);
+411               connection = DriverManager.getConnection(url, username, password);
+412           }
+413       }
+414     }
+415     catch (ClassNotFoundException e)
+416     {
+417       getLog().error("Dependency for driver-class " + driverClassName + " is missing!");
+418       throw new MojoExecutionException(e.getMessage());
+419     }
+420     catch (Exception e)
+421     {
+422       getLog().error("Cannot establish connection to database!");
+423       Enumeration<Driver> drivers = DriverManager.getDrivers();
+424       if (!drivers.hasMoreElements())
+425         getLog().error("No drivers registered!");
+426       while (drivers.hasMoreElements())
+427         getLog().debug("Driver: " + drivers.nextElement());
+428       throw new MojoExecutionException(e.getMessage());
+429     }
+430 
+431     ClassLoader contextClassLoader = Thread.currentThread().getContextClassLoader();
+432     MavenLogAppender.startPluginLog(this);
+433     try
+434     {
+435       /**
+436        * Change class-loader of current thread, so that hibernate can
+437        * see all dependencies!
+438        */
+439       Thread.currentThread().setContextClassLoader(classLoader);
+440 
+441       SchemaExport export = new SchemaExport(config, connection);
+442       export.setOutputFile(outputFile);
+443       export.setDelimiter(delimiter);
+444       export.setFormat(format);
+445       export.execute(target, type);
+446 
+447       for (Object exception : export.getExceptions())
+448         getLog().debug(exception.toString());
+449     }
+450     finally
+451     {
+452       /** Stop Log-Capturing */
+453       MavenLogAppender.endPluginLog(this);
+454 
+455       /** Restore the old class-loader (TODO: is this really necessary?) */
+456       Thread.currentThread().setContextClassLoader(contextClassLoader);
+457 
+458       /** Close the connection */
+459       try
+460       {
+461         connection.close();
+462       }
+463       catch (SQLException e)
+464       {
+465         getLog().error("Error while closing connection: " + e.getMessage());
+466       }
+467     }
+468   }
+469 
+470   /**
+471    * Needed, because DriverManager won't pick up drivers, that were not
+472    * loaded by the system-classloader!
+473    * See:
+474    * http://stackoverflow.com/questions/288828/how-to-use-a-jdbc-driver-from-an-arbitrary-location
+475    */
+476   static final class DriverProxy implements Driver
+477   {
+478     private final Driver target;
+479 
+480     DriverProxy(Driver target)
+481     {
+482       if (target == null)
+483         throw new NullPointerException();
+484       this.target = target;
+485     }
+486 
+487     public java.sql.Driver getTarget()
+488     {
+489       return target;
+490     }
+491 
+492     @Override
+493     public boolean acceptsURL(String url) throws SQLException
+494     {
+495       return target.acceptsURL(url);
+496     }
+497 
+498     @Override
+499     public java.sql.Connection connect(
+500         String url,
+501         java.util.Properties info
+502       )
+503       throws
+504         SQLException
+505     {
+506       return target.connect(url, info);
+507     }
+508 
+509     @Override
+510     public int getMajorVersion()
+511     {
+512       return target.getMajorVersion();
+513     }
+514 
+515     @Override
+516     public int getMinorVersion()
+517     {
+518       return target.getMinorVersion();
+519     }
+520 
+521     @Override
+522     public DriverPropertyInfo[] getPropertyInfo(
+523         String url,
+524         Properties info
+525       )
+526       throws
+527         SQLException
+528     {
+529       return target.getPropertyInfo(url, info);
+530     }
+531 
+532     @Override
+533     public boolean jdbcCompliant()
+534     {
+535       return target.jdbcCompliant();
+536     }
+537 
+538     /**
+539      * This Method cannot be annotated with @Override, becaus the plugin
+540      * will not compile then under Java 1.6!
+541      */
+542     public Logger getParentLogger() throws SQLFeatureNotSupportedException
+543     {
+544       throw new SQLFeatureNotSupportedException("Not supported, for backward-compatibility with Java 1.6");
+545     }
+546 
+547     @Override
+548     public String toString()
+549     {
+550       return "Proxy: " + target;
+551     }
+552 
+553     @Override
+554     public int hashCode()
+555     {
+556       return target.hashCode();
+557     }
+558 
+559     @Override
+560     public boolean equals(Object obj)
+561     {
+562       if (!(obj instanceof DriverProxy))
+563         return false;
+564       DriverProxy other = (DriverProxy) obj;
+565       return this.target.equals(other.target);
+566     }
+567   }
+568 }
+
+
+ + diff --git a/projects/hibernate-maven-plugin/1.0/xref/de/juplo/plugins/hibernate4/package-frame.html b/projects/hibernate-maven-plugin/1.0/xref/de/juplo/plugins/hibernate4/package-frame.html new file mode 100644 index 0000000..e5a3a97 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0/xref/de/juplo/plugins/hibernate4/package-frame.html @@ -0,0 +1,27 @@ + + + + + + Hibernate 4 Maven Plugin 1.0 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/xref/de/juplo/plugins/hibernate4/package-summary.html b/projects/hibernate-maven-plugin/1.0/xref/de/juplo/plugins/hibernate4/package-summary.html new file mode 100644 index 0000000..66fb459 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0/xref/de/juplo/plugins/hibernate4/package-summary.html @@ -0,0 +1,72 @@ + + + + + + Hibernate 4 Maven Plugin 1.0 Reference Package de.juplo.plugins.hibernate4 + + + +
+ +
+
+ +
+ +

Package de.juplo.plugins.hibernate4

+ + + + + + + + + + + + + + + +
Class Summary
+ DriverProxy +
+ Hbm2DdlMojo +
+ +
+ +
+
+ +
+
+ Copyright © 2012. All Rights Reserved. + + \ No newline at end of file diff --git a/projects/hibernate-maven-plugin/1.0/xref/index.html b/projects/hibernate-maven-plugin/1.0/xref/index.html new file mode 100644 index 0000000..f9c0b62 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0/xref/index.html @@ -0,0 +1,24 @@ + + + + + + Hibernate 4 Maven Plugin 1.0 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/xref/overview-frame.html b/projects/hibernate-maven-plugin/1.0/xref/overview-frame.html new file mode 100644 index 0000000..9af2bac --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0/xref/overview-frame.html @@ -0,0 +1,25 @@ + + + + + + Hibernate 4 Maven Plugin 1.0 Reference + + + + +

+ All Classes +

+ +

Packages

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

Hibernate 4 Maven Plugin 1.0 Reference

+ + + + + + + + + + + + +
Packages
+ de.juplo.plugins.hibernate4 +
+ +
+ +
+
+ +
+ +
+ Copyright © 2012. All Rights Reserved. + + \ No newline at end of file diff --git a/projects/hibernate-maven-plugin/1.0/xref/stylesheet.css b/projects/hibernate-maven-plugin/1.0/xref/stylesheet.css new file mode 100644 index 0000000..00e6114 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0/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/apidocs/allclasses-frame.html b/projects/hibernate4-maven-plugin-1.0/apidocs/allclasses-frame.html deleted file mode 100644 index a7962b8..0000000 --- a/projects/hibernate4-maven-plugin-1.0/apidocs/allclasses-frame.html +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - -All Classes (Hibernate 4 Maven Plugin 1.0 API) - - - - -

All Classes

-
- -
- - diff --git a/projects/hibernate4-maven-plugin-1.0/apidocs/allclasses-noframe.html b/projects/hibernate4-maven-plugin-1.0/apidocs/allclasses-noframe.html deleted file mode 100644 index b6b20ae..0000000 --- a/projects/hibernate4-maven-plugin-1.0/apidocs/allclasses-noframe.html +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - -All Classes (Hibernate 4 Maven Plugin 1.0 API) - - - - -

All Classes

-
- -
- - diff --git a/projects/hibernate4-maven-plugin-1.0/apidocs/constant-values.html b/projects/hibernate4-maven-plugin-1.0/apidocs/constant-values.html deleted file mode 100644 index 0065d7f..0000000 --- a/projects/hibernate4-maven-plugin-1.0/apidocs/constant-values.html +++ /dev/null @@ -1,172 +0,0 @@ - - - - - - -Constant Field Values (Hibernate 4 Maven Plugin 1.0 API) - - - - - - - -
- - - - - -
- - -
-

Constant Field Values

-

Contents

- -
-
- - -

de.juplo.*

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

Copyright © 2012. All Rights Reserved.

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

Class Hbm2DdlMojo

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

Copyright © 2012. All Rights Reserved.

- - diff --git a/projects/hibernate4-maven-plugin-1.0/apidocs/de/juplo/plugins/hibernate4/class-use/Hbm2DdlMojo.html b/projects/hibernate4-maven-plugin-1.0/apidocs/de/juplo/plugins/hibernate4/class-use/Hbm2DdlMojo.html deleted file mode 100644 index 7aff397..0000000 --- a/projects/hibernate4-maven-plugin-1.0/apidocs/de/juplo/plugins/hibernate4/class-use/Hbm2DdlMojo.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - -Uses of Class de.juplo.plugins.hibernate4.Hbm2DdlMojo (Hibernate 4 Maven Plugin 1.0 API) - - - - - - - -
- - - - - -
- - -
-

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

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

Copyright © 2012. All Rights Reserved.

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

de.juplo.plugins.hibernate4

-
-

Classes

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

Package de.juplo.plugins.hibernate4

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

Copyright © 2012. All Rights Reserved.

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

Hierarchy For Package de.juplo.plugins.hibernate4

-
-
-

Class Hierarchy

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

Copyright © 2012. All Rights Reserved.

- - diff --git a/projects/hibernate4-maven-plugin-1.0/apidocs/de/juplo/plugins/hibernate4/package-use.html b/projects/hibernate4-maven-plugin-1.0/apidocs/de/juplo/plugins/hibernate4/package-use.html deleted file mode 100644 index 083ef02..0000000 --- a/projects/hibernate4-maven-plugin-1.0/apidocs/de/juplo/plugins/hibernate4/package-use.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - -Uses of Package de.juplo.plugins.hibernate4 (Hibernate 4 Maven Plugin 1.0 API) - - - - - - - -
- - - - - -
- - -
-

Uses of Package
de.juplo.plugins.hibernate4

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

Copyright © 2012. All Rights Reserved.

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

Deprecated API

-

Contents

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

Copyright © 2012. All Rights Reserved.

- - diff --git a/projects/hibernate4-maven-plugin-1.0/apidocs/help-doc.html b/projects/hibernate4-maven-plugin-1.0/apidocs/help-doc.html deleted file mode 100644 index e44996d..0000000 --- a/projects/hibernate4-maven-plugin-1.0/apidocs/help-doc.html +++ /dev/null @@ -1,216 +0,0 @@ - - - - - - -API Help (Hibernate 4 Maven Plugin 1.0 API) - - - - - - - -
- - - - - -
- - -
-

How This API Document Is Organized

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

Copyright © 2012. All Rights Reserved.

- - diff --git a/projects/hibernate4-maven-plugin-1.0/apidocs/index-all.html b/projects/hibernate4-maven-plugin-1.0/apidocs/index-all.html deleted file mode 100644 index e9c571f..0000000 --- a/projects/hibernate4-maven-plugin-1.0/apidocs/index-all.html +++ /dev/null @@ -1,163 +0,0 @@ - - - - - - -Index (Hibernate 4 Maven Plugin 1.0 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
-
 
-
- - - -

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 © 2012. All Rights Reserved.

- - diff --git a/projects/hibernate4-maven-plugin-1.0/apidocs/index.html b/projects/hibernate4-maven-plugin-1.0/apidocs/index.html deleted file mode 100644 index a4299e0..0000000 --- a/projects/hibernate4-maven-plugin-1.0/apidocs/index.html +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - -Hibernate 4 Maven Plugin 1.0 API - - - - - - -<noscript> -<div>JavaScript is disabled on your browser.</div> -</noscript> -<h2>Frame Alert</h2> -<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="de/juplo/plugins/hibernate4/package-summary.html">Non-frame version</a>.</p> - - - diff --git a/projects/hibernate4-maven-plugin-1.0/apidocs/options b/projects/hibernate4-maven-plugin-1.0/apidocs/options deleted file mode 100644 index e67be8f..0000000 --- a/projects/hibernate4-maven-plugin-1.0/apidocs/options +++ /dev/null @@ -1,24 +0,0 @@ --classpath -'/home/kai/juplo/hibernate4-maven-plugin/target/checkout/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/jboss/logging/jboss-logging/3.1.0.GA/jboss-logging-3.1.0.GA.jar:/home/kai/.m2/repository/org/sonatype/aether/aether-impl/1.13.1/aether-impl-1.13.1.jar:/home/kai/.m2/repository/org/sonatype/sisu/sisu-guice/3.1.0/sisu-guice-3.1.0-no_aop.jar:/home/kai/.m2/repository/org/apache/maven/maven-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/target/checkout/src/main/java' --author --bottom -'Copyright © 2012. All Rights Reserved.' --charset -'UTF-8' --d -'/home/kai/juplo/hibernate4-maven-plugin/target/checkout/target/site/apidocs' --docencoding -'UTF-8' --doctitle -'Hibernate 4 Maven Plugin 1.0 API' --link -'http://java.sun.com/javase/6/docs/api' --use --version --windowtitle -'Hibernate 4 Maven Plugin 1.0 API' \ No newline at end of file diff --git a/projects/hibernate4-maven-plugin-1.0/apidocs/overview-tree.html b/projects/hibernate4-maven-plugin-1.0/apidocs/overview-tree.html deleted file mode 100644 index 3a0cc31..0000000 --- a/projects/hibernate4-maven-plugin-1.0/apidocs/overview-tree.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - -Class Hierarchy (Hibernate 4 Maven Plugin 1.0 API) - - - - - - - -
- - - - - -
- - -
-

Hierarchy For All Packages

-Package Hierarchies: - -
-
-

Class Hierarchy

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

Copyright © 2012. All Rights Reserved.

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

Configuration Examples

The plugin was designed with two main goals in mind:

  • It should be easy to use.
  • It should be maximal unlikely, to erase a producation-database by accident.

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

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</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</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</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</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</version>
-  <executions>
-    <execution>
-      <goals>
-        <goal>export</goal>
-      </goals>
-    </execution>
-  </executions>
-  <configuration>
-    <password>${my-password-property}</password>
-  </configuration>
-</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 ;)

Known Pitfalls

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

-
-
-
-
-
- - - diff --git a/projects/hibernate4-maven-plugin-1.0/export-mojo.html b/projects/hibernate4-maven-plugin-1.0/export-mojo.html deleted file mode 100644 index 51df966..0000000 --- a/projects/hibernate4-maven-plugin-1.0/export-mojo.html +++ /dev/null @@ -1,307 +0,0 @@ - - - - - - Hibernate 4 Maven Plugin - - hibernate4:export - - - - - - - - - -
- -
-
-
- - -

hibernate4:export

-

Full name:

-

de.juplo:hibernate4-maven-plugin:1.0: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: ;.
driverClassNameString-SQL-Driver name.
User property is: hibernate.connection.driver_class.
formatboolean-Format output-file.
Default value is: true.
hibernateDialectString-Hibernate dialect.
User property is: hibernate.dialect.
hibernatePropertiesString-Hibernate configuration file.
Default value is: ${project.build.outputDirectory}/hibernate.properties.
outputDirectoryString-Directories to scan.
User property is: project.build.outputDirectory.
outputFileString-Output file.
Default value is: ${project.build.outputDirectory}/schema.sql.
passwordString-Database password
User property is: hibernate.connection.password.
skipboolean-Skip execution
User property is: maven.test.skip.
targetString-Target of execution: -
    -
  • NONE do nothing - just validate the -configuration
  • -
  • EXPORT create database -(DEFAULT!)
  • -
  • SCRIPT export schema to SQL-script
  • -
  • BOTH
  • -

Default value is: EXPORT.
typeString-Type of export. -
    -
  • NONE do nothing - just validate the -configuration
  • -
  • CREATE create database-schema
  • -
  • DROP drop database-schema
  • -
  • BOTH (DEFAULT!)
  • -

Default value is: BOTH.
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
  • -
  • Default: ;
  • -

driverClassName:

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

format:

-
Format output-file.
-
    -
  • Type: boolean
  • -
  • Required: No
  • -
  • Default: true
  • -

hibernateDialect:

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

hibernateProperties:

-
Hibernate configuration file.
-
    -
  • Type: java.lang.String
  • -
  • Required: No
  • -
  • Default: ${project.build.outputDirectory}/hibernate.properties
  • -

outputDirectory:

-
Directories to scan.
-
    -
  • Type: java.lang.String
  • -
  • Required: No
  • -
  • User Property: project.build.outputDirectory
  • -

outputFile:

-
Output file.
-
    -
  • Type: java.lang.String
  • -
  • Required: No
  • -
  • Default: ${project.build.outputDirectory}/schema.sql
  • -

password:

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

skip:

-
Skip execution
-
    -
  • Type: boolean
  • -
  • Required: No
  • -
  • User Property: maven.test.skip
  • -

target:

-
Target of execution: -
    -
  • NONE do nothing - just validate the -configuration
  • -
  • EXPORT create database -(DEFAULT!)
  • -
  • SCRIPT export schema to SQL-script
  • -
  • BOTH
  • -
-
    -
  • Type: java.lang.String
  • -
  • Required: No
  • -
  • Default: EXPORT
  • -

type:

-
Type of export. -
    -
  • NONE do nothing - just validate the -configuration
  • -
  • CREATE create database-schema
  • -
  • DROP drop database-schema
  • -
  • BOTH (DEFAULT!)
  • -
-
    -
  • Type: java.lang.String
  • -
  • Required: No
  • -
  • 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/images/close.gif b/projects/hibernate4-maven-plugin-1.0/images/close.gif deleted file mode 100644 index 1c26bbc..0000000 Binary files a/projects/hibernate4-maven-plugin-1.0/images/close.gif and /dev/null differ diff --git a/projects/hibernate4-maven-plugin-1.0/images/collapsed.gif b/projects/hibernate4-maven-plugin-1.0/images/collapsed.gif deleted file mode 100644 index 6e71084..0000000 Binary files a/projects/hibernate4-maven-plugin-1.0/images/collapsed.gif and /dev/null differ diff --git a/projects/hibernate4-maven-plugin-1.0/images/expanded.gif b/projects/hibernate4-maven-plugin-1.0/images/expanded.gif deleted file mode 100644 index 0fef3d8..0000000 Binary files a/projects/hibernate4-maven-plugin-1.0/images/expanded.gif and /dev/null differ diff --git a/projects/hibernate4-maven-plugin-1.0/images/external.png b/projects/hibernate4-maven-plugin-1.0/images/external.png deleted file mode 100644 index 3f999fc..0000000 Binary files a/projects/hibernate4-maven-plugin-1.0/images/external.png and /dev/null differ diff --git a/projects/hibernate4-maven-plugin-1.0/images/icon_error_sml.gif b/projects/hibernate4-maven-plugin-1.0/images/icon_error_sml.gif deleted file mode 100644 index 61132ef..0000000 Binary files a/projects/hibernate4-maven-plugin-1.0/images/icon_error_sml.gif and /dev/null differ diff --git a/projects/hibernate4-maven-plugin-1.0/images/icon_info_sml.gif b/projects/hibernate4-maven-plugin-1.0/images/icon_info_sml.gif deleted file mode 100644 index c6cb9ad..0000000 Binary files a/projects/hibernate4-maven-plugin-1.0/images/icon_info_sml.gif and /dev/null differ diff --git a/projects/hibernate4-maven-plugin-1.0/images/icon_success_sml.gif b/projects/hibernate4-maven-plugin-1.0/images/icon_success_sml.gif deleted file mode 100644 index 52e85a4..0000000 Binary files a/projects/hibernate4-maven-plugin-1.0/images/icon_success_sml.gif and /dev/null differ diff --git a/projects/hibernate4-maven-plugin-1.0/images/icon_warning_sml.gif b/projects/hibernate4-maven-plugin-1.0/images/icon_warning_sml.gif deleted file mode 100644 index 873bbb5..0000000 Binary files a/projects/hibernate4-maven-plugin-1.0/images/icon_warning_sml.gif and /dev/null differ diff --git a/projects/hibernate4-maven-plugin-1.0/images/logos/build-by-maven-black.png b/projects/hibernate4-maven-plugin-1.0/images/logos/build-by-maven-black.png deleted file mode 100644 index 919fd0f..0000000 Binary files a/projects/hibernate4-maven-plugin-1.0/images/logos/build-by-maven-black.png and /dev/null differ diff --git a/projects/hibernate4-maven-plugin-1.0/images/logos/build-by-maven-white.png b/projects/hibernate4-maven-plugin-1.0/images/logos/build-by-maven-white.png deleted file mode 100644 index 7d44c9c..0000000 Binary files a/projects/hibernate4-maven-plugin-1.0/images/logos/build-by-maven-white.png and /dev/null differ diff --git a/projects/hibernate4-maven-plugin-1.0/images/logos/maven-feather.png b/projects/hibernate4-maven-plugin-1.0/images/logos/maven-feather.png deleted file mode 100644 index b5ada83..0000000 Binary files a/projects/hibernate4-maven-plugin-1.0/images/logos/maven-feather.png and /dev/null differ diff --git a/projects/hibernate4-maven-plugin-1.0/images/newwindow.png b/projects/hibernate4-maven-plugin-1.0/images/newwindow.png deleted file mode 100644 index 6287f72..0000000 Binary files a/projects/hibernate4-maven-plugin-1.0/images/newwindow.png and /dev/null differ diff --git a/projects/hibernate4-maven-plugin-1.0/index.html b/projects/hibernate4-maven-plugin-1.0/index.html deleted file mode 100644 index 284af74..0000000 --- a/projects/hibernate4-maven-plugin-1.0/index.html +++ /dev/null @@ -1,125 +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 to be easy and safe to use, because it must not never, never happen, that you blow away your production database when firering a maven-build of your webapp on your production-machine! For more information about the insiration to write this tiny plugin, read our blog-article about the hibernate4-maven-plugin.

Documentation and Examples

  • See Examples for Usage-Eplanations and simple examples of how to use this plugin.
  • See 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.
-
-
-
-
-
- - - diff --git a/projects/hibernate4-maven-plugin-1.0/integration.html b/projects/hibernate4-maven-plugin-1.0/integration.html deleted file mode 100644 index aceb9ca..0000000 --- a/projects/hibernate4-maven-plugin-1.0/integration.html +++ /dev/null @@ -1,125 +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/issue-tracking.html b/projects/hibernate4-maven-plugin-1.0/issue-tracking.html deleted file mode 100644 index ec6d8da..0000000 --- a/projects/hibernate4-maven-plugin-1.0/issue-tracking.html +++ /dev/null @@ -1,125 +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/license.html b/projects/hibernate4-maven-plugin-1.0/license.html deleted file mode 100644 index 649a0be..0000000 --- a/projects/hibernate4-maven-plugin-1.0/license.html +++ /dev/null @@ -1,327 +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/mail-lists.html b/projects/hibernate4-maven-plugin-1.0/mail-lists.html deleted file mode 100644 index e67bb83..0000000 --- a/projects/hibernate4-maven-plugin-1.0/mail-lists.html +++ /dev/null @@ -1,125 +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/plugin-info.html b/projects/hibernate4-maven-plugin-1.0/plugin-info.html deleted file mode 100644 index c130fe6..0000000 --- a/projects/hibernate4-maven-plugin-1.0/plugin-info.html +++ /dev/null @@ -1,134 +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</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</version>
-      </plugin>
-      ...
-    </plugins>
-  </build>
-  ...
-</project>
-

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

-
-
-
-
-
- - - diff --git a/projects/hibernate4-maven-plugin-1.0/plugin-management.html b/projects/hibernate4-maven-plugin-1.0/plugin-management.html deleted file mode 100644 index 8ed527c..0000000 --- a/projects/hibernate4-maven-plugin-1.0/plugin-management.html +++ /dev/null @@ -1,125 +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/plugins.html b/projects/hibernate4-maven-plugin-1.0/plugins.html deleted file mode 100644 index 7cdb914..0000000 --- a/projects/hibernate4-maven-plugin-1.0/plugins.html +++ /dev/null @@ -1,125 +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-gpg-plugin1.1
org.apache.maven.pluginsmaven-javadoc-plugin2.7
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/pmd.html b/projects/hibernate4-maven-plugin-1.0/pmd.html deleted file mode 100644 index b1aeea7..0000000 --- a/projects/hibernate4-maven-plugin-1.0/pmd.html +++ /dev/null @@ -1,107 +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/pmd.xml b/projects/hibernate4-maven-plugin-1.0/pmd.xml deleted file mode 100644 index 8eaa91e..0000000 --- a/projects/hibernate4-maven-plugin-1.0/pmd.xml +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/projects/hibernate4-maven-plugin-1.0/project-info.html b/projects/hibernate4-maven-plugin-1.0/project-info.html deleted file mode 100644 index b04ae7f..0000000 --- a/projects/hibernate4-maven-plugin-1.0/project-info.html +++ /dev/null @@ -1,125 +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/project-reports.html b/projects/hibernate4-maven-plugin-1.0/project-reports.html deleted file mode 100644 index 733555f..0000000 --- a/projects/hibernate4-maven-plugin-1.0/project-reports.html +++ /dev/null @@ -1,107 +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/project-summary.html b/projects/hibernate4-maven-plugin-1.0/project-summary.html deleted file mode 100644 index c806150..0000000 --- a/projects/hibernate4-maven-plugin-1.0/project-summary.html +++ /dev/null @@ -1,125 +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
Typemaven-plugin
-
-
-
-
-
- - - diff --git a/projects/hibernate4-maven-plugin-1.0/source-repository.html b/projects/hibernate4-maven-plugin-1.0/source-repository.html deleted file mode 100644 index 8be4b2e..0000000 --- a/projects/hibernate4-maven-plugin-1.0/source-repository.html +++ /dev/null @@ -1,125 +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/team-list.html b/projects/hibernate4-maven-plugin-1.0/team-list.html deleted file mode 100644 index 73e030e..0000000 --- a/projects/hibernate4-maven-plugin-1.0/team-list.html +++ /dev/null @@ -1,140 +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/xref/allclasses-frame.html b/projects/hibernate4-maven-plugin-1.0/xref/allclasses-frame.html deleted file mode 100644 index 507bf84..0000000 --- a/projects/hibernate4-maven-plugin-1.0/xref/allclasses-frame.html +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - All Classes - - - - -

All Classes

- - - - - diff --git a/projects/hibernate4-maven-plugin-1.0/xref/de/juplo/plugins/hibernate4/Hbm2DdlMojo.html b/projects/hibernate4-maven-plugin-1.0/xref/de/juplo/plugins/hibernate4/Hbm2DdlMojo.html deleted file mode 100644 index b8cb828..0000000 --- a/projects/hibernate4-maven-plugin-1.0/xref/de/juplo/plugins/hibernate4/Hbm2DdlMojo.html +++ /dev/null @@ -1,582 +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.IOException;
-23  import java.net.URL;
-24  import java.net.URLClassLoader;
-25  import java.sql.Connection;
-26  import java.sql.Driver;
-27  import java.sql.DriverManager;
-28  import java.sql.DriverPropertyInfo;
-29  import java.sql.SQLException;
-30  import java.sql.SQLFeatureNotSupportedException;
-31  import java.util.Enumeration;
-32  import java.util.HashSet;
-33  import java.util.List;
-34  import java.util.Map.Entry;
-35  import java.util.Properties;
-36  import java.util.Set;
-37  import java.util.logging.Logger;
-38  import javax.persistence.Embeddable;
-39  import javax.persistence.Entity;
-40  import javax.persistence.MappedSuperclass;
-41  import org.apache.maven.plugin.AbstractMojo;
-42  import org.apache.maven.plugin.MojoExecutionException;
-43  import org.apache.maven.plugin.MojoFailureException;
-44  import org.apache.maven.project.MavenProject;
-45  import org.hibernate.cfg.Configuration;
-46  import org.hibernate.tool.hbm2ddl.SchemaExport;
-47  import org.hibernate.tool.hbm2ddl.SchemaExport.Type;
-48  import org.hibernate.tool.hbm2ddl.Target;
-49  import org.scannotation.AnnotationDB;
-50  
-51  
-52  /**
-53   * Goal which extracts the hibernate-mapping-configuration and
-54   * exports an according SQL-database-schema.
-55   *
-56   * @goal export
-57   * @phase process-classes
-58   * @threadSafe
-59   * @requiresDependencyResolution runtime
-60   */
-61  public class Hbm2DdlMojo extends AbstractMojo
-62  {
-63    public final static String DRIVER_CLASS = "hibernate.connection.driver_class";
-64    public final static String URL = "hibernate.connection.url";
-65    public final static String USERNAME = "hibernate.connection.username";
-66    public final static String PASSWORD = "hibernate.connection.password";
-67    public final static String DIALECT = "hibernate.dialect";
-68  
-69  
-70    /**
-71     * The project whose project files to create.
-72     *
-73     * @parameter expression="${project}"
-74     * @required
-75     * @readonly
-76     */
-77    private MavenProject project;
-78  
-79    /**
-80     * Directories to scan.
-81     *
-82     * @parameter expression="${project.build.outputDirectory}"
-83     */
-84    private String outputDirectory;
-85  
-86    /**
-87     * Skip execution
-88     *
-89     * @parameter expression="${maven.test.skip}"
-90     */
-91    private boolean skip;
-92  
-93    /**
-94     * SQL-Driver name.
-95     *
-96     * @parameter expression="${hibernate.connection.driver_class}
-97     */
-98    private String driverClassName;
-99  
-100   /**
-101    * Database URL.
-102    *
-103    * @parameter expression="${hibernate.connection.url}"
-104    */
-105   private String url;
-106 
-107   /**
-108    * Database username
-109    *
-110    * @parameter expression="${hibernate.connection.username}"
-111    */
-112   private String username;
-113 
-114   /**
-115    * Database password
-116    *
-117    * @parameter expression="${hibernate.connection.password}"
-118    */
-119   private String password;
-120 
-121   /**
-122    * Hibernate dialect.
-123    *
-124    * @parameter expression="${hibernate.dialect}"
-125    */
-126   private String hibernateDialect;
-127 
-128   /**
-129    * Hibernate configuration file.
-130    *
-131    * @parameter default-value="${project.build.outputDirectory}/hibernate.properties"
-132    */
-133   private String hibernateProperties;
-134 
-135   /**
-136    * Target of execution:
-137    * <ul>
-138    *   <li><strong>NONE</strong> do nothing - just validate the configuration</li>
-139    *   <li><strong>EXPORT</strong> create database <strong>(DEFAULT!)</strong></li>
-140    *   <li><strong>SCRIPT</strong> export schema to SQL-script</li>
-141    *   <li><strong>BOTH</strong></li>
-142    * </ul>
-143    * @parameter default-value="EXPORT"
-144    */
-145   private String target;
-146 
-147   /**
-148    * Type of export.
-149    * <ul>
-150    *   <li><strong>NONE</strong> do nothing - just validate the configuration</li>
-151    *   <li><strong>CREATE</strong> create database-schema</li>
-152    *   <li><strong>DROP</strong> drop database-schema</li>
-153    *   <li><strong>BOTH</strong> <strong>(DEFAULT!)</strong></li>
-154    * </ul>
-155    * @parameter default-value="BOTH"
-156    */
-157   private String type;
-158 
-159   /**
-160    * Output file.
-161    *
-162    * @parameter default-value="${project.build.outputDirectory}/schema.sql"
-163    */
-164   private String outputFile;
-165 
-166   /**
-167    * Delimiter in output-file.
-168    *
-169    * @parameter default-value=";"
-170    */
-171   private String delimiter;
-172 
-173   /**
-174    * Format output-file.
-175    *
-176    * @parameter default-value="true"
-177    */
-178   private boolean format;
-179 
-180 
-181   @Override
-182   public void execute()
-183     throws
-184       MojoFailureException,
-185       MojoExecutionException
-186   {
-187     if (skip)
-188     {
-189       getLog().info("Exectuion of hibernate4-maven-plugin:export was skipped!");
-190       return;
-191     }
-192 
-193     File dir = new File(outputDirectory);
-194     if (!dir.exists())
-195       throw new MojoExecutionException("Cannot scan for annotated classes in " + outputDirectory + ": directory does not exist!");
-196 
-197 
-198     Set<String> classes = new HashSet<String>();
-199     try
-200     {
-201       AnnotationDB db = new AnnotationDB();
-202       getLog().info("Scanning directory " + outputDirectory + " for annotated classes...");
-203       URL dirUrl = dir.toURI().toURL();
-204       db.scanArchives(dirUrl);
-205       if (db.getAnnotationIndex().containsKey(Entity.class.getName()))
-206         classes.addAll(db.getAnnotationIndex().get(Entity.class.getName()));
-207       if (db.getAnnotationIndex().containsKey(MappedSuperclass.class.getName()))
-208         classes.addAll(db.getAnnotationIndex().get(MappedSuperclass.class.getName()));
-209       if (db.getAnnotationIndex().containsKey(Embeddable.class.getName()))
-210         classes.addAll(db.getAnnotationIndex().get(Embeddable.class.getName()));
-211     }
-212     catch (IOException e)
-213     {
-214       getLog().error("Error while scanning!", e);
-215       throw new MojoFailureException(e.getMessage());
-216     }
-217     if (classes.isEmpty())
-218       throw new MojoFailureException("No annotated classes found in directory " + outputDirectory);
-219 
-220     Properties properties = new Properties();
-221 
-222     /** Try to read configuration from properties-file */
-223     try
-224     {
-225       File file = new File(hibernateProperties);
-226       if (file.exists())
-227       {
-228         getLog().info("Reading properties from file " + hibernateProperties + "...");
-229         properties.load(new FileInputStream(file));
-230       }
-231       else
-232         getLog().info("No hibernate-properties-file found! Checked path: " + hibernateProperties);
-233     }
-234     catch (IOException e)
-235     {
-236       getLog().error("Error while reading properties!", e);
-237       throw new MojoExecutionException(e.getMessage());
-238     }
-239 
-240     /** Overwrite values from propertie-file or set, if given */
-241     if (driverClassName != null)
-242     {
-243       if (properties.containsKey(DRIVER_CLASS))
-244         getLog().debug(
-245             "Overwriting property " +
-246             DRIVER_CLASS + "=" + properties.getProperty(DRIVER_CLASS) +
-247             " with the value " + driverClassName +
-248             " from the plugin-configuration-parameter driverClassName!"
-249           );
-250       else
-251         getLog().debug(
-252             "Using the value " + driverClassName +
-253             " from the plugin-configuration-parameter driverClassName!"
-254           );
-255       properties.setProperty(DRIVER_CLASS, driverClassName);
-256     }
-257     if (url != null)
-258     {
-259       if (properties.containsKey(URL))
-260         getLog().debug(
-261             "Overwriting property " +
-262             URL + "=" + properties.getProperty(URL) +
-263             " with the value " + url +
-264             " from the plugin-configuration-parameter url!"
-265           );
-266       else
-267         getLog().debug(
-268             "Using the value " + url +
-269             " from the plugin-configuration-parameter url!"
-270           );
-271       properties.setProperty(URL, url);
-272     }
-273     if (username != null)
-274     {
-275       if (properties.containsKey(USERNAME))
-276         getLog().debug(
-277             "Overwriting property " +
-278             USERNAME + "=" + properties.getProperty(USERNAME) +
-279             " with the value " + username +
-280             " from the plugin-configuration-parameter username!"
-281           );
-282       else
-283         getLog().debug(
-284             "Using the value " + username +
-285             " from the plugin-configuration-parameter username!"
-286           );
-287       properties.setProperty(USERNAME, username);
-288     }
-289     if (password != null)
-290     {
-291       if (properties.containsKey(PASSWORD))
-292         getLog().debug(
-293             "Overwriting property " +
-294             PASSWORD + "=" + properties.getProperty(PASSWORD) +
-295             " with the value " + password +
-296             " from the plugin-configuration-parameter password!"
-297           );
-298       else
-299         getLog().debug(
-300             "Using the value " + password +
-301             " from the plugin-configuration-parameter password!"
-302           );
-303       properties.setProperty(PASSWORD, password);
-304     }
-305     if (hibernateDialect != null)
-306     {
-307       if (properties.containsKey(DIALECT))
-308         getLog().debug(
-309             "Overwriting property " +
-310             DIALECT + "=" + properties.getProperty(DIALECT) +
-311             " with the value " + hibernateDialect +
-312             " from the plugin-configuration-parameter hibernateDialect!"
-313           );
-314       else
-315         getLog().debug(
-316             "Using the value " + hibernateDialect +
-317             " from the plugin-configuration-parameter hibernateDialect!"
-318           );
-319       properties.setProperty(DIALECT, hibernateDialect);
-320     }
-321 
-322     getLog().info("Gathered hibernate-configuration (turn on debugging for details):");
-323     if (properties.isEmpty())
-324     {
-325       getLog().error("No properties set!");
-326       throw new MojoFailureException("Hibernate-Configuration is missing!");
-327     }
-328     for (Entry<Object,Object> entry : properties.entrySet())
-329       getLog().info("  " + entry.getKey() + " = " + entry.getValue());
-330 
-331     ClassLoader classLoader = null;
-332     try
-333     {
-334       getLog().debug("Creating ClassLoader for project-dependencies...");
-335       List<String> classpathFiles = project.getCompileClasspathElements();
-336       URL[] urls = new URL[classpathFiles.size()];
-337       for (int i = 0; i < classpathFiles.size(); ++i)
-338       {
-339         getLog().debug("Dependency: " + classpathFiles.get(i));
-340         urls[i] = new File(classpathFiles.get(i)).toURI().toURL();
-341       }
-342       classLoader = new URLClassLoader(urls, getClass().getClassLoader());
-343     }
-344     catch (Exception e)
-345     {
-346       getLog().error("Error while creating ClassLoader!", e);
-347       throw new MojoExecutionException(e.getMessage());
-348     }
-349 
-350     Configuration config = new Configuration();
-351     config.setProperties(properties);
-352     try
-353     {
-354       getLog().debug("Adding annotated classes to hibernate-mapping-configuration...");
-355       for (String annotatedClass : classes)
-356       {
-357         getLog().debug("Class " + annotatedClass);
-358         config.addAnnotatedClass(classLoader.loadClass(annotatedClass));
-359       }
-360     }
-361     catch (ClassNotFoundException e)
-362     {
-363       getLog().error("Error while adding annotated classes!", e);
-364       throw new MojoExecutionException(e.getMessage());
-365     }
-366 
-367     Target target = null;
-368     try
-369     {
-370       target = Target.valueOf(this.target);
-371     }
-372     catch (IllegalArgumentException e)
-373     {
-374       getLog().error("Invalid value for configuration-option \"target\": " + this.target);
-375       getLog().error("Valid values are: NONE, SCRIPT, EXPORT, BOTH");
-376       throw new MojoExecutionException("Invalid value for configuration-option \"target\"");
-377     }
-378     Type type = null;
-379     try
-380     {
-381       type = Type.valueOf(this.type);
-382     }
-383     catch (IllegalArgumentException e)
-384     {
-385       getLog().error("Invalid value for configuration-option \"type\": " + this.type);
-386       getLog().error("Valid values are: NONE, CREATE, DROP, BOTH");
-387       throw new MojoExecutionException("Invalid value for configuration-option \"type\"");
-388     }
-389 
-390     Connection connection = null;
-391     try
-392     {
-393       /**
-394        * The connection must be established outside of hibernate, because
-395        * hibernate does not use the context-classloader of the current
-396        * thread and, hence, would not be able to resolve the driver-class!
-397        */
-398       switch (target)
-399       {
-400         case EXPORT:
-401         case BOTH:
-402           switch (type)
-403           {
-404             case CREATE:
-405             case DROP:
-406             case BOTH:
-407               Class driverClass = classLoader.loadClass(driverClassName);
-408               getLog().debug("Registering JDBC-driver " + driverClass.getName());
-409               DriverManager.registerDriver(new DriverProxy((Driver)driverClass.newInstance()));
-410               getLog().debug("Opening JDBC-connection to " + url + " as " + username + " with password " + password);
-411               connection = DriverManager.getConnection(url, username, password);
-412           }
-413       }
-414     }
-415     catch (ClassNotFoundException e)
-416     {
-417       getLog().error("Dependency for driver-class " + driverClassName + " is missing!");
-418       throw new MojoExecutionException(e.getMessage());
-419     }
-420     catch (Exception e)
-421     {
-422       getLog().error("Cannot establish connection to database!");
-423       Enumeration<Driver> drivers = DriverManager.getDrivers();
-424       if (!drivers.hasMoreElements())
-425         getLog().error("No drivers registered!");
-426       while (drivers.hasMoreElements())
-427         getLog().debug("Driver: " + drivers.nextElement());
-428       throw new MojoExecutionException(e.getMessage());
-429     }
-430 
-431     ClassLoader contextClassLoader = Thread.currentThread().getContextClassLoader();
-432     MavenLogAppender.startPluginLog(this);
-433     try
-434     {
-435       /**
-436        * Change class-loader of current thread, so that hibernate can
-437        * see all dependencies!
-438        */
-439       Thread.currentThread().setContextClassLoader(classLoader);
-440 
-441       SchemaExport export = new SchemaExport(config, connection);
-442       export.setOutputFile(outputFile);
-443       export.setDelimiter(delimiter);
-444       export.setFormat(format);
-445       export.execute(target, type);
-446 
-447       for (Object exception : export.getExceptions())
-448         getLog().debug(exception.toString());
-449     }
-450     finally
-451     {
-452       /** Stop Log-Capturing */
-453       MavenLogAppender.endPluginLog(this);
-454 
-455       /** Restore the old class-loader (TODO: is this really necessary?) */
-456       Thread.currentThread().setContextClassLoader(contextClassLoader);
-457 
-458       /** Close the connection */
-459       try
-460       {
-461         connection.close();
-462       }
-463       catch (SQLException e)
-464       {
-465         getLog().error("Error while closing connection: " + e.getMessage());
-466       }
-467     }
-468   }
-469 
-470   /**
-471    * Needed, because DriverManager won't pick up drivers, that were not
-472    * loaded by the system-classloader!
-473    * See:
-474    * http://stackoverflow.com/questions/288828/how-to-use-a-jdbc-driver-from-an-arbitrary-location
-475    */
-476   static final class DriverProxy implements Driver
-477   {
-478     private final Driver target;
-479 
-480     DriverProxy(Driver target)
-481     {
-482       if (target == null)
-483         throw new NullPointerException();
-484       this.target = target;
-485     }
-486 
-487     public java.sql.Driver getTarget()
-488     {
-489       return target;
-490     }
-491 
-492     @Override
-493     public boolean acceptsURL(String url) throws SQLException
-494     {
-495       return target.acceptsURL(url);
-496     }
-497 
-498     @Override
-499     public java.sql.Connection connect(
-500         String url,
-501         java.util.Properties info
-502       )
-503       throws
-504         SQLException
-505     {
-506       return target.connect(url, info);
-507     }
-508 
-509     @Override
-510     public int getMajorVersion()
-511     {
-512       return target.getMajorVersion();
-513     }
-514 
-515     @Override
-516     public int getMinorVersion()
-517     {
-518       return target.getMinorVersion();
-519     }
-520 
-521     @Override
-522     public DriverPropertyInfo[] getPropertyInfo(
-523         String url,
-524         Properties info
-525       )
-526       throws
-527         SQLException
-528     {
-529       return target.getPropertyInfo(url, info);
-530     }
-531 
-532     @Override
-533     public boolean jdbcCompliant()
-534     {
-535       return target.jdbcCompliant();
-536     }
-537 
-538     /**
-539      * This Method cannot be annotated with @Override, becaus the plugin
-540      * will not compile then under Java 1.6!
-541      */
-542     public Logger getParentLogger() throws SQLFeatureNotSupportedException
-543     {
-544       throw new SQLFeatureNotSupportedException("Not supported, for backward-compatibility with Java 1.6");
-545     }
-546 
-547     @Override
-548     public String toString()
-549     {
-550       return "Proxy: " + target;
-551     }
-552 
-553     @Override
-554     public int hashCode()
-555     {
-556       return target.hashCode();
-557     }
-558 
-559     @Override
-560     public boolean equals(Object obj)
-561     {
-562       if (!(obj instanceof DriverProxy))
-563         return false;
-564       DriverProxy other = (DriverProxy) obj;
-565       return this.target.equals(other.target);
-566     }
-567   }
-568 }
-
-
- - diff --git a/projects/hibernate4-maven-plugin-1.0/xref/de/juplo/plugins/hibernate4/package-frame.html b/projects/hibernate4-maven-plugin-1.0/xref/de/juplo/plugins/hibernate4/package-frame.html deleted file mode 100644 index e5a3a97..0000000 --- a/projects/hibernate4-maven-plugin-1.0/xref/de/juplo/plugins/hibernate4/package-frame.html +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - Hibernate 4 Maven Plugin 1.0 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/xref/de/juplo/plugins/hibernate4/package-summary.html b/projects/hibernate4-maven-plugin-1.0/xref/de/juplo/plugins/hibernate4/package-summary.html deleted file mode 100644 index 66fb459..0000000 --- a/projects/hibernate4-maven-plugin-1.0/xref/de/juplo/plugins/hibernate4/package-summary.html +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - Hibernate 4 Maven Plugin 1.0 Reference Package de.juplo.plugins.hibernate4 - - - -
- -
-
- -
- -

Package de.juplo.plugins.hibernate4

- - - - - - - - - - - - - - - -
Class Summary
- DriverProxy -
- Hbm2DdlMojo -
- -
- -
-
- -
-
- Copyright © 2012. All Rights Reserved. - - \ No newline at end of file diff --git a/projects/hibernate4-maven-plugin-1.0/xref/index.html b/projects/hibernate4-maven-plugin-1.0/xref/index.html deleted file mode 100644 index f9c0b62..0000000 --- a/projects/hibernate4-maven-plugin-1.0/xref/index.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - Hibernate 4 Maven Plugin 1.0 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/xref/overview-frame.html b/projects/hibernate4-maven-plugin-1.0/xref/overview-frame.html deleted file mode 100644 index 9af2bac..0000000 --- a/projects/hibernate4-maven-plugin-1.0/xref/overview-frame.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - Hibernate 4 Maven Plugin 1.0 Reference - - - - -

- All Classes -

- -

Packages

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

Hibernate 4 Maven Plugin 1.0 Reference

- - - - - - - - - - - - -
Packages
- de.juplo.plugins.hibernate4 -
- -
- -
-
- -
- -
- Copyright © 2012. All Rights Reserved. - - \ No newline at end of file diff --git a/projects/hibernate4-maven-plugin-1.0/xref/stylesheet.css b/projects/hibernate4-maven-plugin-1.0/xref/stylesheet.css deleted file mode 100644 index 00e6114..0000000 --- a/projects/hibernate4-maven-plugin-1.0/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; -}