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

All Classes

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

All Classes

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

Constant Field Values

+

Contents

+ +
+
+ + +

de.juplo.*

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

Copyright © 2014. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/1.0.2/apidocs/de/juplo/plugins/hibernate4/Hbm2DdlMojo.html b/projects/hibernate-maven-plugin/1.0.2/apidocs/de/juplo/plugins/hibernate4/Hbm2DdlMojo.html new file mode 100644 index 0000000..324e5d7 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.2/apidocs/de/juplo/plugins/hibernate4/Hbm2DdlMojo.html @@ -0,0 +1,407 @@ + + + + + + +Hbm2DdlMojo (Hibernate 4 Maven Plugin 1.0.2 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 © 2014. All Rights Reserved.

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

Class HelpMojo

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

      Field Summary

      +
        +
      • + + +

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

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

      Constructor Summary

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

      Constructor Detail

      + + + +
        +
      • +

        HelpMojo

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

      Method Detail

      + + + +
        +
      • +

        execute

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

Copyright © 2014. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/1.0.2/apidocs/de/juplo/plugins/hibernate4/ValidationConfiguration.html b/projects/hibernate-maven-plugin/1.0.2/apidocs/de/juplo/plugins/hibernate4/ValidationConfiguration.html new file mode 100644 index 0000000..9ce78a4 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.2/apidocs/de/juplo/plugins/hibernate4/ValidationConfiguration.html @@ -0,0 +1,323 @@ + + + + + + +ValidationConfiguration (Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT API) + + + + + + + +
+ + + + + +
+ + + +
+
de.juplo.plugins.hibernate4
+

Class ValidationConfiguration

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Serializable
    +
    +
    +
    +
    public class ValidationConfiguration
    +extends org.hibernate.cfg.Configuration
    +
    This integration is usually performed by BeanValidationIntegrator. + Unfortunately, that integration will only be activated upon + initialization of the ServiceRegistry, which initializes + DatasourceConnectionProviderImpl, which looks up the datasource, + which requires a JNDI context ... + We therefore reimplement the relevant parts of BeanValidatorIntegrator. + Since that must occur after secondPassCompile(), which is invoked by + Configuration.generateSchemaCreationScript, which is invoked by + SchemaExport, some fancy subclassing is needed to invoke the integration + at the right time.
    +
    Author:
    +
    Mark Robinson , Frank Schimmel
    +
    See Also:
    Serialized Form
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Nested Class Summary

      +
        +
      • + + +

        Nested classes/interfaces inherited from class org.hibernate.cfg.Configuration

        +org.hibernate.cfg.Configuration.MappingsImpl, org.hibernate.cfg.Configuration.MetadataSourceQueue
      • +
      +
    • +
    + +
      +
    • + + +

      Field Summary

      +
        +
      • + + +

        Fields inherited from class org.hibernate.cfg.Configuration

        +ARTEFACT_PROCESSING_ORDER, auxiliaryDatabaseObjects, classes, collections, columnNameBindingPerTable, DEFAULT_ARTEFACT_PROCESSING_ORDER, DEFAULT_CACHE_CONCURRENCY_STRATEGY, extendsQueue, fetchProfiles, filterDefinitions, imports, metadataSourceQueue, namedEntityGraphMap, namedProcedureCallMap, namedQueries, namedSqlQueries, namingStrategy, propertyReferences, secondPasses, settingsFactory, sqlFunctions, sqlResultSetMappings, tableNameBinding, tables, typeDefs, USE_NEW_ID_GENERATOR_MAPPINGS, xmlHelper
      • +
      +
    • +
    + + + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      protected voidsecondPassCompile() 
      +
        +
      • + + +

        Methods inherited from class org.hibernate.cfg.Configuration

        +add, addAnnotatedClass, addAttributeConverter, addAttributeConverter, addAttributeConverter, addAttributeConverter, addAttributeConverter, addAuxiliaryDatabaseObject, addCacheableFile, addCacheableFile, addCacheableFileStrictly, addClass, addDirectory, addDocument, addFetchProfile, addFile, addFile, addFilterDefinition, addInputStream, addJar, addPackage, addProperties, addResource, addResource, addSqlFunction, addURL, addXML, buildMapping, buildMappings, buildSessionFactory, buildSessionFactory, buildSettings, buildSettings, configure, configure, configure, configure, configure, createMappings, doConfigure, doConfigure, findPossibleExtends, generateDropSchemaScript, generateSchemaCreationScript, generateSchemaUpdateScript, generateSchemaUpdateScriptList, getClassMapping, getClassMappings, getCollectionMapping, getCollectionMappings, getConfigurationInputStream, getCurrentTenantIdentifierResolver, getEntityNotFoundDelegate, getEntityResolver, getEntityTuplizerFactory, getFilterDefinitions, getIdentifierGeneratorFactory, getImports, getInterceptor, getJaccPermissionDeclarations, getMappedSuperclassMappings, getMappedSuperclassMappingsCopy, getNamedEntityGraphs, getNamedProcedureCallMap, getNamedQueries, getNamedSQLQueries, getNamingStrategy, getProperties, getProperty, getReflectionManager, getSessionFactoryObserver, getSqlFunctions, getSqlResultSetMappings, getTableMappings, getTypeResolver, iterateFetchProfiles, iterateGenerators, mergeProperties, registerTypeContributor, registerTypeOverride, registerTypeOverride, registerTypeOverride, reset, secondPassCompileForeignKeys, setCacheConcurrencyStrategy, setCacheConcurrencyStrategy, setCacheConcurrencyStrategy, setCollectionCacheConcurrencyStrategy, setCollectionCacheConcurrencyStrategy, setCurrentTenantIdentifierResolver, setEntityNotFoundDelegate, setEntityResolver, setInterceptor, setNamingStrategy, setPrecedence, setProperties, setProperty, setSessionFactoryObserver, validateSchema
      • +
      + +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ValidationConfiguration

        +
        public ValidationConfiguration(String dialectClass)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        secondPassCompile

        +
        protected void secondPassCompile()
        +                          throws org.hibernate.metamodel.source.MappingException
        +
        +
        Overrides:
        +
        secondPassCompile in class org.hibernate.cfg.Configuration
        +
        Throws:
        +
        org.hibernate.metamodel.source.MappingException
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + +

Copyright © 2014. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/1.0.2/apidocs/de/juplo/plugins/hibernate4/class-use/Hbm2DdlMojo.html b/projects/hibernate-maven-plugin/1.0.2/apidocs/de/juplo/plugins/hibernate4/class-use/Hbm2DdlMojo.html new file mode 100644 index 0000000..6d632fc --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.2/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.2 API) + + + + + + + +
+ + + + + +
+ + +
+

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

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

Copyright © 2014. All Rights Reserved.

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

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

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

Copyright © 2014. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/1.0.2/apidocs/de/juplo/plugins/hibernate4/class-use/ValidationConfiguration.html b/projects/hibernate-maven-plugin/1.0.2/apidocs/de/juplo/plugins/hibernate4/class-use/ValidationConfiguration.html new file mode 100644 index 0000000..52ed8cb --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.2/apidocs/de/juplo/plugins/hibernate4/class-use/ValidationConfiguration.html @@ -0,0 +1,117 @@ + + + + + + +Uses of Class de.juplo.plugins.hibernate4.ValidationConfiguration (Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT API) + + + + + + + +
+ + + + + +
+ + +
+

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

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

Copyright © 2014. All Rights Reserved.

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

de.juplo.plugins.hibernate4

+
+

Classes

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

Package de.juplo.plugins.hibernate4

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

Copyright © 2014. All Rights Reserved.

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

Hierarchy For Package de.juplo.plugins.hibernate4

+
+
+

Class Hierarchy

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

Copyright © 2014. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/1.0.2/apidocs/de/juplo/plugins/hibernate4/package-use.html b/projects/hibernate-maven-plugin/1.0.2/apidocs/de/juplo/plugins/hibernate4/package-use.html new file mode 100644 index 0000000..89f028f --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.2/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.2 API) + + + + + + + +
+ + + + + +
+ + +
+

Uses of Package
de.juplo.plugins.hibernate4

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

Copyright © 2014. All Rights Reserved.

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

Deprecated API

+

Contents

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

Copyright © 2014. All Rights Reserved.

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

+ + diff --git a/projects/hibernate-maven-plugin/1.0.2/apidocs/index-all.html b/projects/hibernate-maven-plugin/1.0.2/apidocs/index-all.html new file mode 100644 index 0000000..daa5d04 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.2/apidocs/index-all.html @@ -0,0 +1,180 @@ + + + + + + +Index (Hibernate 4 Maven Plugin 1.0.2 API) + + + + + + + +
+ + + + + +
+ + +
D E H N P U  + + +

D

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

E

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

H

+
+
Hbm2DdlMojo - Class in de.juplo.plugins.hibernate4
+
+
Goal which extracts the hibernate-mapping-configuration and + exports an according SQL-database-schema.
+
+
Hbm2DdlMojo() - Constructor for class de.juplo.plugins.hibernate4.Hbm2DdlMojo
+
 
+
HelpMojo - Class in de.juplo.plugins.hibernate4
+
+
Display help information on hibernate4-maven-plugin.
+
+
HelpMojo() - Constructor for class de.juplo.plugins.hibernate4.HelpMojo
+
 
+
+ + + +

N

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

P

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

U

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

Copyright © 2014. All Rights Reserved.

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

Class TypeSafeActivatorAccessor

+
+
+ +
+
    +
  • +
    +
    +
    public class TypeSafeActivatorAccessor
    +extends Object
    +
    This class enables access to the public methods of TypeSafeActivator + which itself is visible in the package only.
    +
    Author:
    +
    Frank Schimmel
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        TypeSafeActivatorAccessor

        +
        public TypeSafeActivatorAccessor()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        validateSuppliedFactory

        +
        public static void validateSuppliedFactory(Object arg0)
        +
      • +
      + + + +
        +
      • +

        activate

        +
        public static void activate(org.hibernate.cfg.beanvalidation.ActivationContext arg0)
        +
      • +
      + + + +
        +
      • +

        applyCallbackListeners

        +
        public static void applyCallbackListeners(javax.validation.ValidatorFactory arg0,
        +                          org.hibernate.cfg.beanvalidation.ActivationContext arg1)
        +
      • +
      + + + +
        +
      • +

        applyRelationalConstraints

        +
        public static void applyRelationalConstraints(javax.validation.ValidatorFactory arg0,
        +                              Collection<org.hibernate.mapping.PersistentClass> arg1,
        +                              Properties arg2,
        +                              org.hibernate.dialect.Dialect arg3)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + +

Copyright © 2014. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/1.0.2/apidocs/org/hibernate/cfg/beanvalidation/class-use/TypeSafeActivatorAccessor.html b/projects/hibernate-maven-plugin/1.0.2/apidocs/org/hibernate/cfg/beanvalidation/class-use/TypeSafeActivatorAccessor.html new file mode 100644 index 0000000..ecafb36 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.2/apidocs/org/hibernate/cfg/beanvalidation/class-use/TypeSafeActivatorAccessor.html @@ -0,0 +1,117 @@ + + + + + + +Uses of Class org.hibernate.cfg.beanvalidation.TypeSafeActivatorAccessor (Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT API) + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
org.hibernate.cfg.beanvalidation.TypeSafeActivatorAccessor

+
+
No usage of org.hibernate.cfg.beanvalidation.TypeSafeActivatorAccessor
+ +
+ + + + + +
+ + +

Copyright © 2014. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/1.0.2/apidocs/org/hibernate/cfg/beanvalidation/package-frame.html b/projects/hibernate-maven-plugin/1.0.2/apidocs/org/hibernate/cfg/beanvalidation/package-frame.html new file mode 100644 index 0000000..5e7f7eb --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.2/apidocs/org/hibernate/cfg/beanvalidation/package-frame.html @@ -0,0 +1,20 @@ + + + + + + +org.hibernate.cfg.beanvalidation (Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT API) + + + + +

org.hibernate.cfg.beanvalidation

+
+

Classes

+ +
+ + diff --git a/projects/hibernate-maven-plugin/1.0.2/apidocs/org/hibernate/cfg/beanvalidation/package-summary.html b/projects/hibernate-maven-plugin/1.0.2/apidocs/org/hibernate/cfg/beanvalidation/package-summary.html new file mode 100644 index 0000000..ba1785f --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.2/apidocs/org/hibernate/cfg/beanvalidation/package-summary.html @@ -0,0 +1,138 @@ + + + + + + +org.hibernate.cfg.beanvalidation (Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT API) + + + + + + + +
+ + + + + +
+ + +
+

Package org.hibernate.cfg.beanvalidation

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

Copyright © 2014. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/1.0.2/apidocs/org/hibernate/cfg/beanvalidation/package-tree.html b/projects/hibernate-maven-plugin/1.0.2/apidocs/org/hibernate/cfg/beanvalidation/package-tree.html new file mode 100644 index 0000000..4a8c2fb --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.2/apidocs/org/hibernate/cfg/beanvalidation/package-tree.html @@ -0,0 +1,130 @@ + + + + + + +org.hibernate.cfg.beanvalidation Class Hierarchy (Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT API) + + + + + + + +
+ + + + + +
+ + +
+

Hierarchy For Package org.hibernate.cfg.beanvalidation

+Package Hierarchies: + +
+
+

Class Hierarchy

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

Copyright © 2014. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/1.0.2/apidocs/org/hibernate/cfg/beanvalidation/package-use.html b/projects/hibernate-maven-plugin/1.0.2/apidocs/org/hibernate/cfg/beanvalidation/package-use.html new file mode 100644 index 0000000..5ccb892 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.2/apidocs/org/hibernate/cfg/beanvalidation/package-use.html @@ -0,0 +1,117 @@ + + + + + + +Uses of Package org.hibernate.cfg.beanvalidation (Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT API) + + + + + + + +
+ + + + + +
+ + +
+

Uses of Package
org.hibernate.cfg.beanvalidation

+
+
No usage of org.hibernate.cfg.beanvalidation
+ +
+ + + + + +
+ + +

Copyright © 2014. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/1.0.2/apidocs/overview-frame.html b/projects/hibernate-maven-plugin/1.0.2/apidocs/overview-frame.html new file mode 100644 index 0000000..54c43fc --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.2/apidocs/overview-frame.html @@ -0,0 +1,22 @@ + + + + + + +Overview List (Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT API) + + + + +
All Classes
+
+

Packages

+ +
+

 

+ + diff --git a/projects/hibernate-maven-plugin/1.0.2/apidocs/overview-summary.html b/projects/hibernate-maven-plugin/1.0.2/apidocs/overview-summary.html new file mode 100644 index 0000000..82119cf --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.2/apidocs/overview-summary.html @@ -0,0 +1,135 @@ + + + + + + +Overview (Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT API) + + + + + + + +
+ + + + + +
+ + +
+

Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT API

+
+
+ + + + + + + + + + + + + + + + +
Packages 
PackageDescription
de.juplo.plugins.hibernate4 
org.hibernate.cfg.beanvalidation 
+
+ +
+ + + + + +
+ + +

Copyright © 2014. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/1.0.2/apidocs/overview-tree.html b/projects/hibernate-maven-plugin/1.0.2/apidocs/overview-tree.html new file mode 100644 index 0000000..9959858 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.2/apidocs/overview-tree.html @@ -0,0 +1,133 @@ + + + + + + +Class Hierarchy (Hibernate 4 Maven Plugin 1.0.2 API) + + + + + + + +
+ + + + + +
+ + +
+

Hierarchy For All Packages

+Package Hierarchies: + +
+
+

Class Hierarchy

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

Copyright © 2014. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/1.0.2/apidocs/package-list b/projects/hibernate-maven-plugin/1.0.2/apidocs/package-list new file mode 100644 index 0000000..0530771 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.2/apidocs/package-list @@ -0,0 +1 @@ +de.juplo.plugins.hibernate4 diff --git a/projects/hibernate-maven-plugin/1.0.2/apidocs/packages b/projects/hibernate-maven-plugin/1.0.2/apidocs/packages new file mode 100644 index 0000000..c4b5140 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.2/apidocs/packages @@ -0,0 +1 @@ +de.juplo.plugins.hibernate4 \ No newline at end of file diff --git a/projects/hibernate-maven-plugin/1.0.2/apidocs/resources/background.gif b/projects/hibernate-maven-plugin/1.0.2/apidocs/resources/background.gif new file mode 100644 index 0000000..f471940 Binary files /dev/null and b/projects/hibernate-maven-plugin/1.0.2/apidocs/resources/background.gif differ diff --git a/projects/hibernate-maven-plugin/1.0.2/apidocs/resources/tab.gif b/projects/hibernate-maven-plugin/1.0.2/apidocs/resources/tab.gif new file mode 100644 index 0000000..1a73a83 Binary files /dev/null and b/projects/hibernate-maven-plugin/1.0.2/apidocs/resources/tab.gif differ diff --git a/projects/hibernate-maven-plugin/1.0.2/apidocs/resources/titlebar.gif b/projects/hibernate-maven-plugin/1.0.2/apidocs/resources/titlebar.gif new file mode 100644 index 0000000..17443b3 Binary files /dev/null and b/projects/hibernate-maven-plugin/1.0.2/apidocs/resources/titlebar.gif differ diff --git a/projects/hibernate-maven-plugin/1.0.2/apidocs/resources/titlebar_end.gif b/projects/hibernate-maven-plugin/1.0.2/apidocs/resources/titlebar_end.gif new file mode 100644 index 0000000..3ad78d4 Binary files /dev/null and b/projects/hibernate-maven-plugin/1.0.2/apidocs/resources/titlebar_end.gif differ diff --git a/projects/hibernate-maven-plugin/1.0.2/apidocs/serialized-form.html b/projects/hibernate-maven-plugin/1.0.2/apidocs/serialized-form.html new file mode 100644 index 0000000..c5e20ff --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.2/apidocs/serialized-form.html @@ -0,0 +1,187 @@ + + + + + + +Serialized Form (Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT API) + + + + + + + +
+ + + + + +
+ + +
+

Serialized Form

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

Copyright © 2014. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/1.0.2/apidocs/stylesheet.css b/projects/hibernate-maven-plugin/1.0.2/apidocs/stylesheet.css new file mode 100644 index 0000000..0aeaa97 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.2/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.2/configuration.html b/projects/hibernate-maven-plugin/1.0.2/configuration.html new file mode 100644 index 0000000..8706702 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.2/configuration.html @@ -0,0 +1,271 @@ + + + + + + + + + juplo - Hibernate 4 Maven Plugin - Configuration Examples + + + + + + + + + + + + + + +
+ + +
+
+

Hibernate 4 Maven Plugin - Configuration Examples

+
+

Configuration Examples

+
+

Configuration through a hibernate.properties-File

+

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

+

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

+
+
<plugin>
+  <groupId>de.juplo</groupId>
+  <artifactId>hibernate4-maven-plugin</artifactId>
+  <version>${project.version}</version>
+  <executions>
+    <execution>
+      <goals>
+        <goal>export</goal>
+      </goals>
+    </execution>
+  </executions>
+</plugin>
+

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

+

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

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

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

+
+

Configuration through maven-properties

+

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

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

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

+

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

+
+
<properties>
+  <hibernate.connection.driver_class>org.hsqldb.jdbcDriver</hibernate.connection.driver_class>
+  <hibernate.dialect>org.hibernate.dialect.HSQLDialect</hibernate.dialect>
+  <hibernate.connection.url><![CDATA[jdbc:hsqldb:res:org.my.path.production_db]]></hibernate.connection.url>
+  <hibernate.connection.username>sa</hibernate.connection.username>
+  <hibernate.connection.password></hibernate.connection.password>
+</properties>
+
+...
+
+<plugins>
+
+  ...
+
+  <plugin>
+    <groupId>de.juplo</groupId>
+    <artifactId>hibernate4-maven-plugin</artifactId>
+    <version>${project.version}</version>
+    <executions>
+      <execution>
+        <goals>
+          <goal>export</goal>
+        </goals>
+      </execution>
+    </executions>
+    <configuration>
+      <url><![CDATA[jdbc:hsqldb:target/db/testdb;shutdown=true]]></url>
+    </configuration>
+  </plugin>
+
+<plugins>
+
+

Configuration through the plugin-configuration

+

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

+
    +
  • driverClassName
  • +
  • hibernateDialect
  • +
  • url
  • +
  • username
  • +
  • password
+

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

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

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. +
  3. maven-properties
  4. +
  5. plugin-configuration
+

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

+

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

+

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

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

+ + Built by Maven + +

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

Hibernate 4 Maven Plugin - CPD Report

+
+

CPD Results

+

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

+
+

Duplications

+

CPD found no problems in your source code.

+
+
+ +

+ + Built by Maven + +

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

Hibernate 4 Maven Plugin - Enable Debug-Output

+
+

Enabling Debug-Output

+

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

+
+
mvn -X compile hibernate4:export 
+

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

+

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

+

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

+
+
+ +

+ + Built by Maven + +

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

Hibernate 4 Maven Plugin - Dependencies

+ +
+

Project Dependencies

+
+

compile

+

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

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GroupIdArtifactIdVersionTypeLicense
com.pyx4jmaven-plugin-log4j1.0.1jarThe Apache Software License, Version 2.0
net.sf.scannotationscannotation1.0.2jarApache License V2.0
org.apache.mavenmaven-core3.0.4jarThe Apache Software License, Version 2.0
org.apache.mavenmaven-plugin-api3.0.4jarThe Apache Software License, Version 2.0
org.hibernatehibernate-core4.2.3.FinaljarGNU Lesser General Public License
+
+

Project Transitive Dependencies

+

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

+
+

compile

+

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

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

Project Dependency Graph

+ +
+

Dependency Tree

+
+
+

Licenses

+

Unamed: JPA 2.0 API

+

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

+

GNU LESSER GENERAL PUBLIC LICENSE: Hibernate Commons Annotations

+

Unknown: dom4j, javassist

+

Common Development and Distribution License: Java Transaction API

+

LGPL 2.1: Javassist

+

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

+

MPL 1.1: Javassist

+

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

+

GNU Lesser General Public License: A Hibernate Core Module

+

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

+

Apache License V2.0: scannotation

+

BSD License: AntLR Parser Generator

+

Apache License 2.0: Javassist

+

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

+
+

Dependency File Details

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

Dependency Repository Locations

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

Repository locations for each of the Dependencies.

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

Hibernate 4 Maven Plugin - Dependency Information

+
+

Dependency Information

+
+

Apache Maven

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

Apache Buildr

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

Apache Ant

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

Groovy Grape

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

Grails

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

Leiningen

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

SBT

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

Hibernate 4 Maven Plugin - Distribution Management

+
+

Overview

+

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

+ +
+

Snapshot Repository - sonatype-nexus-snapshots

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

Site - www.juplo.de

+

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

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

Hibernate 4 Maven Plugin - Parameter Documentation

+ + +
+

hibernate4:export

+ +

Full name:

+ +

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

+ +

Description:

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

Attributes:

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

Optional Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeSinceDescription
delimiterString-Delimiter in output-file.
Default value is: ;.
User property is: hibernate.export.schema.delimiter.
driverClassNameString-SQL-Driver name.
User property is: hibernate.connection.driver_class.
forceboolean-Force execution + +

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

+ +

skip takes precedence over force.


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

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


User property is: project.build.outputDirectory.
outputFileString-Output file.
Default value is: ${project.build.directory}/schema.sql.
User property is: hibernate.export.schema.filename.
passwordString-Database password
User property is: hibernate.connection.password.
scanTestClassesboolean-Wether to scan test-classes too, or not. + +

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


Default value is: false.
User property is: hibernate.export.scan_testclasses.
skipboolean-Skip execution + +

If set to true, the execution is skipped.

+ +

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

+ +

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


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

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

+ +

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


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

Parameter Details

+ +

delimiter:

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

+

driverClassName:

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

+

force:

+ +
Force execution + +

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

+ +

skip takes precedence over force.

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

+

format:

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

+

hibernateDialect:

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

+

hibernateMapping:

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

+

hibernateNamingStrategy:

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

+

hibernateProperties:

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

+

outputDirectory:

+ +
Classes-Directory to scan. + +

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

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

+

outputFile:

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

+

password:

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

+

scanTestClasses:

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

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

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

+

skip:

+ +
Skip execution + +

If set to true, the execution is skipped.

+ +

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

+ +

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

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

+

target:

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

+

testOutputDirectory:

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

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

+ +

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

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

+

type:

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

+

url:

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

+

username:

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

+ + Built by Maven + +

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

Hibernate 4 Maven Plugin - Force Exceution

+
+

Force execution

+

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

+

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

+

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

+
+
<plugin>
+  <groupId>de.juplo</groupId>
+  <artifactId>hibernate4-maven-plugin</artifactId>
+  <version>${project.version}</version>
+  <configuration>
+    <force>true</force>
+  </configuration>
+</plugin>
+

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

+
+
+ +

+ + Built by Maven + +

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

Hibernate 4 Maven Plugin - + hibernate4:help

+ + +
+

hibernate4:help

+ +

Full name:

+ +

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

+ +

Description:

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

Attributes:

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

Optional Parameters

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

Parameter Details

+ +

detail:

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

+

goal:

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

+

indentSize:

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

+

lineLength:

+ +
The maximum length of a display line, should be positive.
+ +
    + +
  • Type: int
  • + +
  • Required: No
  • + +
  • User Property: lineLength
  • + +
  • Default: 80
  • +
+
+
+ + +
+ +
+ +
+ + + + + + + + + +
+ + +
+
+

Hibernate 4 Maven Plugin -

+
+

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

+

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

+

The plugin was designed with three main goals in mind:

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

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

+

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

+

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

+

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

+
+

Documentation

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

Releases

+
+
+
+ +

+ + Built by Maven + +

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

Hibernate 4 Maven Plugin - Continuous Integration

+
+

Overview

+

This project uses Continuum.

+
+

Access

+

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

+
+
+

Notifiers

+

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

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

Hibernate 4 Maven Plugin - Issue Tracking

+
+

Issue Tracking

+

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

+

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

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

Hibernate 4 Maven Plugin - Project License

+
+

Overview

+

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

+
+

Project License

+
+

The Apache Software License, Version 2.0

+

A business-friendly OSS license

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

Hibernate 4 Maven Plugin - Mailing Lists

+
+

Mailing Lists

+

There are no mailinglists defined for this project!

+

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

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

Hibernate 4 Maven Plugin - Known Pitfalls (FAQ)

+
+

Known Pitfalls

+
+

hibernate4-maven-plugin always needs a database-connection

+

The default-configuration uses the EXPORT-target of the SchemaExport-Tool. If you do not need to create a database with the evaluated schema, you can use the NONE- or the SCRIPT-target. This can be achieved with the commandline-parameter -Dhibernate.export.target=SCRIPT or with the following configuration:

+
+
<configuration>
+  <target>SCRIPT</target>
+</configuration>
+

But even when no database is to be created, hibernate always needs to know the dialect. Hence, the plugin will fail if this parameter is missing!

+
+

Dependency for driver-class XYZ is missing

+

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

+

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

+
+
[INFO] Gathered hibernate-configuration (turn on debugging for details):
+[INFO]   hibernate.connection.username = sa
+[INFO]   hibernate.connection.password = 
+[INFO]   hibernate.dialect = org.hibernate.dialect.HSQLDialect
+[INFO]   hibernate.connection.url = jdbc:hsqldb:/home/kai/mmf/target/mmf;shutdown=true
+[INFO]   hibernate.connection.driver_class = org.hsqldb.jdbcDriver
+[ERROR] Dependency for driver-class org.hsqldb.jdbcDriver is missing!
+[INFO] ------------------------------------------------------------------------
+[ERROR] BUILD ERROR
+[INFO] ------------------------------------------------------------------------
+[INFO] org.hsqldb.jdbcDriver
+[INFO] ------------------------------------------------------------------------
+[INFO] For more information, run Maven with the -e switch
+[INFO] ------------------------------------------------------------------------
+[INFO] Total time: 2 seconds
+[INFO] Finished at: Thu Nov 29 11:31:14 CET 2012
+[INFO] Final Memory: 32M/342M
+[INFO] ------------------------------------------------------------------------
+

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

+

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

+
+
<plugin>
+  <groupId>de.juplo</groupId>
+  <artifactId>hibernate4-maven-plugin</artifactId>
+  <version>${project.version}</version>
+  <executions>
+    <execution>
+      <goals>
+        <goal>export</goal>
+      </goals>
+    </execution>
+  </executions>
+  <dependencies>
+  <dependency>
+    <groupId>org.hsqldb</groupId>
+    <artifactId>hsqldb</artifactId>
+    <version>2.2.8</version>
+  </dependency>
+  </dependencies>
+</plugin>
+

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

+
+

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

+

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

+

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

+

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

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

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

+

If one manually drops the database or removes the hsqldb-files, it will not be recreated by the hibernate4-maven-plugin, because it cannot detect, that the database needs to be recreated. This happens, because the plugin will not recreate the database if neither the configuration nor the annotated classes have changed, because an unnecessary drop-create-cycle might take a long time. The plugin will report that like this: ------------- [INFO] No modified annotated classes found and dialect unchanged. [INFO] Skipping schema generation! [------------

+

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

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

+ + Built by Maven + +

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

Hibernate 4 Maven Plugin - Plugin Documentation

+
+

Plugin Documentation

+

Goals available for this plugin:

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

System Requirements

+

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

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

Usage

+

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

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

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

+
+
+ +

+ + Built by Maven + +

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

Hibernate 4 Maven Plugin - Plugin Management

+
+

Project Plugin Management

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

Hibernate 4 Maven Plugin - Project Plugins

+
+

Project Build Plugins

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GroupIdArtifactIdVersion
org.apache.maven.pluginsmaven-clean-plugin2.5
org.apache.maven.pluginsmaven-compiler-plugin2.0.2
org.apache.maven.pluginsmaven-dependency-plugin2.1
org.apache.maven.pluginsmaven-deploy-plugin2.7
org.apache.maven.pluginsmaven-enforcer-plugin1.0
org.apache.maven.pluginsmaven-install-plugin2.3
org.apache.maven.pluginsmaven-jar-plugin2.2
org.apache.maven.pluginsmaven-plugin-plugin3.2
org.apache.maven.pluginsmaven-resources-plugin2.3
org.apache.maven.pluginsscp://people.apache.org/www/maven.apache.org/scm/maven-scm-plugin1.7
org.apache.maven.pluginsmaven-site-plugin3.3
org.apache.maven.pluginsmaven-source-plugin2.1.2
org.apache.maven.pluginsmaven-surefire-plugin2.10
+
+

Project Report Plugins

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GroupIdArtifactIdVersion
org.apache.maven.pluginsmaven-changes-plugin2.7.1
org.apache.maven.pluginsmaven-javadoc-plugin2.7
org.apache.maven.pluginsmaven-jxr-plugin2.3
org.apache.maven.pluginsmaven-plugin-plugin3.2
org.apache.maven.pluginsmaven-pmd-plugin2.7.1
org.apache.maven.pluginsmaven-site-plugin3.3
+
+ +
+ +
+ + + + + + + + + +
+ + +
+
+

Hibernate 4 Maven Plugin - PMD Report

+
+

PMD Results

+

The following document contains the results of PMD 4.3.

+
+

Files

+

PMD found no problems in your source code.

+
+
+ +

+ + Built by Maven + +

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

Hibernate 4 Maven Plugin - Project Information

+
+

Project Information

+

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

+
+

Overview

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
DocumentDescription
AboutPlugin for generating a database-schema from Hibernate-4-Mapping-Annotations
Plugin ManagementThis document lists the plugins that are defined through pluginManagement.
Distribution ManagementThis document provides informations on the distribution management of this project.
Dependency InformationThis document describes how to to include this project as a dependency using various dependency management tools.
Source RepositoryThis is a link to the online source repository that can be viewed via a web browser.
Mailing ListsThis document provides subscription and archive information for this project's mailing lists.
Issue TrackingThis is a link to the issue management system for this project. Issues (bugs, features, change requests) can be created and queried using this link.
Continuous IntegrationThis is a link to the definitions of all continuous integration processes that builds and tests code on a frequent, regular basis.
Project PluginsThis document lists the build plugins and the report plugins used by this project.
Project LicenseThis is a link to the definitions of project licenses.
Project TeamThis document provides information on the members of this project. These are the individuals who have contributed to the project in one form or another.
Project SummaryThis document lists other related information of this project
DependenciesThis document lists the project's dependencies and provides information on each dependency.
+
+ +
+ +
+ + + + + + + + + +
+ + +
+
+

Hibernate 4 Maven Plugin - Project Reports

+
+

Generated Reports

+

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

+
+

Overview

+ + + + + + + + + + + + + + + + + + +
DocumentDescription
JavaDocsJavaDoc API documentation.
Source XrefHTML based, cross-reference version of Java source code.
PMD ReportVerification of coding rules.
CPD ReportDuplicate code detection.
Plugin DocumentationThis report provides goals and parameters documentation of a plugin.
+
+
+ +

+ + Built by Maven + +

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

Hibernate 4 Maven Plugin - Project Summary

+
+

Project Summary

+
+

Project Information

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

Project Organization

+

This project does not belong to an organization.

+
+

Build Information

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

Hibernate 4 Maven Plugin - Skipping Execution

+

In most use-cases, the hibernate4-maven-plugin is used to create a test-database automatically. In this use-cases, it is very likely, that it will result in mistakes/errors, if the goal is executed, when the tests are skipped. For example, one might manually overwrite the database-url with the url of the production-database, in order to run other tests, like starting a local webserver with the jetty-maven-plugin. If the export-goal would be executed in such a scenario, it might erase the hole production-database, which is not very desireable.

+

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

+

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

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

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

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

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

+
+
+ +

+ + Built by Maven + +

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

Hibernate 4 Maven Plugin - Source Repository

+
+

Overview

+

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

+
+

Web Access

+

The following is a link to the online source repository.

+
+
+

Anonymous access

+

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

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

Developer access

+

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

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

Access from behind a firewall

+

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

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

Hibernate 4 Maven Plugin - Project Team

+
+

The Team

+

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

+

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

+
+

Members

+

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

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

Contributors

+

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

+ + + + + + + + + + + + +
ImageNameEmail
Adriano Machadoadriano.m.machado@hotmail.com
Lorenzo Nicoralorenzo.nicora@nicus.it
+
+ +
+ +
+ + + +
+ + + + + +
+ + +
+

Constant Field Values

+

Contents

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

Copyright © 2014. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/1.0.2/testapidocs/de/juplo/test/FileComparator.html b/projects/hibernate-maven-plugin/1.0.2/testapidocs/de/juplo/test/FileComparator.html new file mode 100644 index 0000000..7c4baa5 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.2/testapidocs/de/juplo/test/FileComparator.html @@ -0,0 +1,263 @@ + + + + + + +FileComparator (Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT Test API) + + + + + + + +
+ + + + + +
+ + + +
+
de.juplo.test
+

Class FileComparator

+
+
+ +
+
    +
  • +
    +
    +
    public class FileComparator
    +extends Object
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + +
+ + +

Copyright © 2014. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/1.0.2/testapidocs/de/juplo/test/class-use/FileComparator.html b/projects/hibernate-maven-plugin/1.0.2/testapidocs/de/juplo/test/class-use/FileComparator.html new file mode 100644 index 0000000..96d63fb --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.2/testapidocs/de/juplo/test/class-use/FileComparator.html @@ -0,0 +1,115 @@ + + + + + + +Uses of Class de.juplo.test.FileComparator (Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT Test API) + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
de.juplo.test.FileComparator

+
+
No usage of de.juplo.test.FileComparator
+ +
+ + + + + +
+ + +

Copyright © 2014. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/1.0.2/testapidocs/de/juplo/test/package-frame.html b/projects/hibernate-maven-plugin/1.0.2/testapidocs/de/juplo/test/package-frame.html new file mode 100644 index 0000000..32a451a --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.2/testapidocs/de/juplo/test/package-frame.html @@ -0,0 +1,20 @@ + + + + + + +de.juplo.test (Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT Test API) + + + + +

de.juplo.test

+
+

Classes

+ +
+ + diff --git a/projects/hibernate-maven-plugin/1.0.2/testapidocs/de/juplo/test/package-summary.html b/projects/hibernate-maven-plugin/1.0.2/testapidocs/de/juplo/test/package-summary.html new file mode 100644 index 0000000..8de12ab --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.2/testapidocs/de/juplo/test/package-summary.html @@ -0,0 +1,133 @@ + + + + + + +de.juplo.test (Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT Test API) + + + + + + + +
+ + + + + +
+ + +
+

Package de.juplo.test

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

Copyright © 2014. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/1.0.2/testapidocs/de/juplo/test/package-tree.html b/projects/hibernate-maven-plugin/1.0.2/testapidocs/de/juplo/test/package-tree.html new file mode 100644 index 0000000..6c6a155 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.2/testapidocs/de/juplo/test/package-tree.html @@ -0,0 +1,124 @@ + + + + + + +de.juplo.test Class Hierarchy (Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT Test API) + + + + + + + +
+ + + + + +
+ + +
+

Hierarchy For Package de.juplo.test

+
+
+

Class Hierarchy

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

Copyright © 2014. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/1.0.2/testapidocs/de/juplo/test/package-use.html b/projects/hibernate-maven-plugin/1.0.2/testapidocs/de/juplo/test/package-use.html new file mode 100644 index 0000000..0eb5d48 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.2/testapidocs/de/juplo/test/package-use.html @@ -0,0 +1,115 @@ + + + + + + +Uses of Package de.juplo.test (Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT Test API) + + + + + + + +
+ + + + + +
+ + +
+

Uses of Package
de.juplo.test

+
+
No usage of de.juplo.test
+ +
+ + + + + +
+ + +

Copyright © 2014. All Rights Reserved.

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

Deprecated API

+

Contents

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

Copyright © 2014. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/1.0.2/testapidocs/help-doc.html b/projects/hibernate-maven-plugin/1.0.2/testapidocs/help-doc.html new file mode 100644 index 0000000..dcf0de8 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.2/testapidocs/help-doc.html @@ -0,0 +1,216 @@ + + + + + + +API Help (Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT Test 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 © 2014. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/1.0.2/testapidocs/index-all.html b/projects/hibernate-maven-plugin/1.0.2/testapidocs/index-all.html new file mode 100644 index 0000000..9cae033 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.2/testapidocs/index-all.html @@ -0,0 +1,138 @@ + + + + + + +Index (Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT Test API) + + + + + + + +
+ + + + + +
+ + +
D F I  + + +

D

+
+
de.juplo.test - package de.juplo.test
+
 
+
+ + + +

F

+
+
FileComparator - Class in de.juplo.test
+
 
+
FileComparator(File) - Constructor for class de.juplo.test.FileComparator
+
 
+
+ + + +

I

+
+
isEqual(String, String) - Method in class de.juplo.test.FileComparator
+
 
+
+D F I 
+ +
+ + + + + +
+ + +

Copyright © 2014. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/1.0.2/testapidocs/index.html b/projects/hibernate-maven-plugin/1.0.2/testapidocs/index.html new file mode 100644 index 0000000..fff21be --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.2/testapidocs/index.html @@ -0,0 +1,65 @@ + + + + + + +Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT Test 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/test/package-summary.html">Non-frame version</a>.</p> + + + diff --git a/projects/hibernate-maven-plugin/1.0.2/testapidocs/overview-tree.html b/projects/hibernate-maven-plugin/1.0.2/testapidocs/overview-tree.html new file mode 100644 index 0000000..2542d85 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.2/testapidocs/overview-tree.html @@ -0,0 +1,128 @@ + + + + + + +Class Hierarchy (Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT Test API) + + + + + + + +
+ + + + + +
+ + +
+

Hierarchy For All Packages

+Package Hierarchies: + +
+
+

Class Hierarchy

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

Copyright © 2014. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/1.0.2/testapidocs/package-list b/projects/hibernate-maven-plugin/1.0.2/testapidocs/package-list new file mode 100644 index 0000000..4774195 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.2/testapidocs/package-list @@ -0,0 +1 @@ +de.juplo.test diff --git a/projects/hibernate-maven-plugin/1.0.2/testapidocs/resources/background.gif b/projects/hibernate-maven-plugin/1.0.2/testapidocs/resources/background.gif new file mode 100644 index 0000000..f471940 Binary files /dev/null and b/projects/hibernate-maven-plugin/1.0.2/testapidocs/resources/background.gif differ diff --git a/projects/hibernate-maven-plugin/1.0.2/testapidocs/resources/tab.gif b/projects/hibernate-maven-plugin/1.0.2/testapidocs/resources/tab.gif new file mode 100644 index 0000000..1a73a83 Binary files /dev/null and b/projects/hibernate-maven-plugin/1.0.2/testapidocs/resources/tab.gif differ diff --git a/projects/hibernate-maven-plugin/1.0.2/testapidocs/resources/titlebar.gif b/projects/hibernate-maven-plugin/1.0.2/testapidocs/resources/titlebar.gif new file mode 100644 index 0000000..17443b3 Binary files /dev/null and b/projects/hibernate-maven-plugin/1.0.2/testapidocs/resources/titlebar.gif differ diff --git a/projects/hibernate-maven-plugin/1.0.2/testapidocs/resources/titlebar_end.gif b/projects/hibernate-maven-plugin/1.0.2/testapidocs/resources/titlebar_end.gif new file mode 100644 index 0000000..3ad78d4 Binary files /dev/null and b/projects/hibernate-maven-plugin/1.0.2/testapidocs/resources/titlebar_end.gif differ diff --git a/projects/hibernate-maven-plugin/1.0.2/testapidocs/stylesheet.css b/projects/hibernate-maven-plugin/1.0.2/testapidocs/stylesheet.css new file mode 100644 index 0000000..0aeaa97 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.2/testapidocs/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.2/xref-test/allclasses-frame.html b/projects/hibernate-maven-plugin/1.0.2/xref-test/allclasses-frame.html new file mode 100644 index 0000000..4c39da5 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.2/xref-test/allclasses-frame.html @@ -0,0 +1,20 @@ + + + + + + All Classes + + + + +

All Classes

+ + + + + diff --git a/projects/hibernate-maven-plugin/1.0.2/xref-test/de/juplo/test/FileComparator.html b/projects/hibernate-maven-plugin/1.0.2/xref-test/de/juplo/test/FileComparator.html new file mode 100644 index 0000000..c698253 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.2/xref-test/de/juplo/test/FileComparator.html @@ -0,0 +1,71 @@ + + + + +FileComparator xref + + + +
View Javadoc
+
+1   package de.juplo.test;
+2   
+3   import java.io.BufferedReader;
+4   import java.io.File;
+5   import java.io.FileNotFoundException;
+6   import java.io.FileReader;
+7   import java.io.IOException;
+8   
+9   
+10  public class FileComparator
+11  {
+12    private final File basedir;
+13    private BufferedReader expectedReader;
+14    private BufferedReader foundReader;
+15  
+16    public FileComparator(File basedir)
+17    {
+18      this.basedir = basedir;
+19    }
+20  
+21    public boolean isEqual(final String expectedFile, final String foundFile)
+22      throws
+23        FileNotFoundException,
+24        IOException
+25    {
+26      File file;
+27      String expected, found;
+28  
+29      file = new File(basedir, expectedFile);
+30      expectedReader = new BufferedReader(new FileReader(file));
+31  
+32      file = new File(basedir, foundFile);
+33      foundReader = new BufferedReader(new FileReader(file));
+34  
+35  
+36      while ((expected = expectedReader.readLine()) != null)
+37      {
+38        found = foundReader.readLine();
+39        if (!expected.equals(found))
+40        {
+41          System.err.println("Mismatch!");
+42          System.err.println("Expected: " + expected);
+43          System.err.println("Found:    " + found);
+44          return false;
+45        }
+46      }
+47  
+48      if ((found = foundReader.readLine()) != null)
+49      {
+50        System.err.println("Found more content than expected!");
+51        System.err.println("Starting with: " + found);
+52        return false;
+53      }
+54  
+55      return true;
+56    }
+57  }
+
+
+ + diff --git a/projects/hibernate-maven-plugin/1.0.2/xref-test/de/juplo/test/package-frame.html b/projects/hibernate-maven-plugin/1.0.2/xref-test/de/juplo/test/package-frame.html new file mode 100644 index 0000000..0a4db6d --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.2/xref-test/de/juplo/test/package-frame.html @@ -0,0 +1,24 @@ + + + + + + Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT Reference Package de.juplo.test + + + + +

+ de.juplo.test +

+ +

Classes

+ + + + + \ No newline at end of file diff --git a/projects/hibernate-maven-plugin/1.0.2/xref-test/de/juplo/test/package-summary.html b/projects/hibernate-maven-plugin/1.0.2/xref-test/de/juplo/test/package-summary.html new file mode 100644 index 0000000..e054b81 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.2/xref-test/de/juplo/test/package-summary.html @@ -0,0 +1,67 @@ + + + + + + Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT Reference Package de.juplo.test + + + +
+ +
+
+ +
+ +

Package de.juplo.test

+ + + + + + + + + + + + +
Class Summary
+ FileComparator +
+ +
+ +
+
+ +
+
+ Copyright © 2014. All Rights Reserved. + + \ No newline at end of file diff --git a/projects/hibernate-maven-plugin/1.0.2/xref-test/index.html b/projects/hibernate-maven-plugin/1.0.2/xref-test/index.html new file mode 100644 index 0000000..a88ea51 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.2/xref-test/index.html @@ -0,0 +1,24 @@ + + + + + + Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT 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.2/xref-test/overview-frame.html b/projects/hibernate-maven-plugin/1.0.2/xref-test/overview-frame.html new file mode 100644 index 0000000..9727f4a --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.2/xref-test/overview-frame.html @@ -0,0 +1,25 @@ + + + + + + Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT Reference + + + + +

+ All Classes +

+ +

Packages

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

Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT Reference

+ + + + + + + + + + + + +
Packages
+ de.juplo.test +
+ +
+ +
+
+ +
+ +
+ Copyright © 2014. All Rights Reserved. + + \ No newline at end of file diff --git a/projects/hibernate-maven-plugin/1.0.2/xref-test/stylesheet.css b/projects/hibernate-maven-plugin/1.0.2/xref-test/stylesheet.css new file mode 100644 index 0000000..00e6114 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.2/xref-test/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/hibernate-maven-plugin/1.0.2/xref/allclasses-frame.html b/projects/hibernate-maven-plugin/1.0.2/xref/allclasses-frame.html new file mode 100644 index 0000000..10bd8c9 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.2/xref/allclasses-frame.html @@ -0,0 +1,26 @@ + + + + + + All Classes + + + + +

All Classes

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

Package de.juplo.plugins.hibernate4

+ + + + + + + + + + + + + + + + + + +
Class Summary
+ DriverProxy +
+ Hbm2DdlMojo +
+ HelpMojo +
+ +
+ +
+
+ +
+
+ Copyright © 2014. All Rights Reserved. + + \ No newline at end of file diff --git a/projects/hibernate-maven-plugin/1.0.2/xref/index.html b/projects/hibernate-maven-plugin/1.0.2/xref/index.html new file mode 100644 index 0000000..fdb8f9b --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.2/xref/index.html @@ -0,0 +1,24 @@ + + + + + + Hibernate 4 Maven Plugin 1.0.2 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.2/xref/org/hibernate/cfg/beanvalidation/TypeSafeActivatorAccessor.html b/projects/hibernate-maven-plugin/1.0.2/xref/org/hibernate/cfg/beanvalidation/TypeSafeActivatorAccessor.html new file mode 100644 index 0000000..0cd0403 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.2/xref/org/hibernate/cfg/beanvalidation/TypeSafeActivatorAccessor.html @@ -0,0 +1,25 @@ + + + + +TypeSafeActivatorAccessor xref + + + +
View Javadoc
+
+1   package org.hibernate.cfg.beanvalidation;
+2   
+3   /**
+4    * This class enables access to the public methods of {@link TypeSafeActivator}
+5    * which itself is visible in the package only.
+6    *
+7    * @author Frank Schimmel <frank.schimmel@cm4all.com>
+8    */
+9   public class TypeSafeActivatorAccessor extends TypeSafeActivator {
+10      // Empty: just makes public methods accessible.
+11  }
+
+
+ + diff --git a/projects/hibernate-maven-plugin/1.0.2/xref/org/hibernate/cfg/beanvalidation/package-frame.html b/projects/hibernate-maven-plugin/1.0.2/xref/org/hibernate/cfg/beanvalidation/package-frame.html new file mode 100644 index 0000000..00d9ed7 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.2/xref/org/hibernate/cfg/beanvalidation/package-frame.html @@ -0,0 +1,24 @@ + + + + + + Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT Reference Package org.hibernate.cfg.beanvalidation + + + + +

+ org.hibernate.cfg.beanvalidation +

+ +

Classes

+ + + + + \ No newline at end of file diff --git a/projects/hibernate-maven-plugin/1.0.2/xref/org/hibernate/cfg/beanvalidation/package-summary.html b/projects/hibernate-maven-plugin/1.0.2/xref/org/hibernate/cfg/beanvalidation/package-summary.html new file mode 100644 index 0000000..758739a --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.2/xref/org/hibernate/cfg/beanvalidation/package-summary.html @@ -0,0 +1,67 @@ + + + + + + Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT Reference Package org.hibernate.cfg.beanvalidation + + + +
+ +
+
+ +
+ +

Package org.hibernate.cfg.beanvalidation

+ + + + + + + + + + + + +
Class Summary
+ TypeSafeActivatorAccessor +
+ +
+ +
+
+ +
+
+ Copyright © 2014. All Rights Reserved. + + \ No newline at end of file diff --git a/projects/hibernate-maven-plugin/1.0.2/xref/overview-frame.html b/projects/hibernate-maven-plugin/1.0.2/xref/overview-frame.html new file mode 100644 index 0000000..2a7aa63 --- /dev/null +++ b/projects/hibernate-maven-plugin/1.0.2/xref/overview-frame.html @@ -0,0 +1,25 @@ + + + + + + Hibernate 4 Maven Plugin 1.0.2 Reference + + + + +

+ All Classes +

+ +

Packages

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

Hibernate 4 Maven Plugin 1.0.2 Reference

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

All Classes

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

All Classes

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

Constant Field Values

-

Contents

- -
-
- - -

de.juplo.*

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

Copyright © 2014. All Rights Reserved.

- - diff --git a/projects/hibernate4-maven-plugin-1.0.2/apidocs/de/juplo/plugins/hibernate4/Hbm2DdlMojo.html b/projects/hibernate4-maven-plugin-1.0.2/apidocs/de/juplo/plugins/hibernate4/Hbm2DdlMojo.html deleted file mode 100644 index 324e5d7..0000000 --- a/projects/hibernate4-maven-plugin-1.0.2/apidocs/de/juplo/plugins/hibernate4/Hbm2DdlMojo.html +++ /dev/null @@ -1,407 +0,0 @@ - - - - - - -Hbm2DdlMojo (Hibernate 4 Maven Plugin 1.0.2 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 © 2014. All Rights Reserved.

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

Class HelpMojo

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

      Field Summary

      -
        -
      • - - -

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

        -ROLE
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Summary

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

      Constructor Detail

      - - - -
        -
      • -

        HelpMojo

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

      Method Detail

      - - - -
        -
      • -

        execute

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

Copyright © 2014. All Rights Reserved.

- - diff --git a/projects/hibernate4-maven-plugin-1.0.2/apidocs/de/juplo/plugins/hibernate4/ValidationConfiguration.html b/projects/hibernate4-maven-plugin-1.0.2/apidocs/de/juplo/plugins/hibernate4/ValidationConfiguration.html deleted file mode 100644 index 9ce78a4..0000000 --- a/projects/hibernate4-maven-plugin-1.0.2/apidocs/de/juplo/plugins/hibernate4/ValidationConfiguration.html +++ /dev/null @@ -1,323 +0,0 @@ - - - - - - -ValidationConfiguration (Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT API) - - - - - - - -
- - - - - -
- - - -
-
de.juplo.plugins.hibernate4
-

Class ValidationConfiguration

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Serializable
    -
    -
    -
    -
    public class ValidationConfiguration
    -extends org.hibernate.cfg.Configuration
    -
    This integration is usually performed by BeanValidationIntegrator. - Unfortunately, that integration will only be activated upon - initialization of the ServiceRegistry, which initializes - DatasourceConnectionProviderImpl, which looks up the datasource, - which requires a JNDI context ... - We therefore reimplement the relevant parts of BeanValidatorIntegrator. - Since that must occur after secondPassCompile(), which is invoked by - Configuration.generateSchemaCreationScript, which is invoked by - SchemaExport, some fancy subclassing is needed to invoke the integration - at the right time.
    -
    Author:
    -
    Mark Robinson , Frank Schimmel
    -
    See Also:
    Serialized Form
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Nested Class Summary

      -
        -
      • - - -

        Nested classes/interfaces inherited from class org.hibernate.cfg.Configuration

        -org.hibernate.cfg.Configuration.MappingsImpl, org.hibernate.cfg.Configuration.MetadataSourceQueue
      • -
      -
    • -
    - -
      -
    • - - -

      Field Summary

      -
        -
      • - - -

        Fields inherited from class org.hibernate.cfg.Configuration

        -ARTEFACT_PROCESSING_ORDER, auxiliaryDatabaseObjects, classes, collections, columnNameBindingPerTable, DEFAULT_ARTEFACT_PROCESSING_ORDER, DEFAULT_CACHE_CONCURRENCY_STRATEGY, extendsQueue, fetchProfiles, filterDefinitions, imports, metadataSourceQueue, namedEntityGraphMap, namedProcedureCallMap, namedQueries, namedSqlQueries, namingStrategy, propertyReferences, secondPasses, settingsFactory, sqlFunctions, sqlResultSetMappings, tableNameBinding, tables, typeDefs, USE_NEW_ID_GENERATOR_MAPPINGS, xmlHelper
      • -
      -
    • -
    - - - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      protected voidsecondPassCompile() 
      -
        -
      • - - -

        Methods inherited from class org.hibernate.cfg.Configuration

        -add, addAnnotatedClass, addAttributeConverter, addAttributeConverter, addAttributeConverter, addAttributeConverter, addAttributeConverter, addAuxiliaryDatabaseObject, addCacheableFile, addCacheableFile, addCacheableFileStrictly, addClass, addDirectory, addDocument, addFetchProfile, addFile, addFile, addFilterDefinition, addInputStream, addJar, addPackage, addProperties, addResource, addResource, addSqlFunction, addURL, addXML, buildMapping, buildMappings, buildSessionFactory, buildSessionFactory, buildSettings, buildSettings, configure, configure, configure, configure, configure, createMappings, doConfigure, doConfigure, findPossibleExtends, generateDropSchemaScript, generateSchemaCreationScript, generateSchemaUpdateScript, generateSchemaUpdateScriptList, getClassMapping, getClassMappings, getCollectionMapping, getCollectionMappings, getConfigurationInputStream, getCurrentTenantIdentifierResolver, getEntityNotFoundDelegate, getEntityResolver, getEntityTuplizerFactory, getFilterDefinitions, getIdentifierGeneratorFactory, getImports, getInterceptor, getJaccPermissionDeclarations, getMappedSuperclassMappings, getMappedSuperclassMappingsCopy, getNamedEntityGraphs, getNamedProcedureCallMap, getNamedQueries, getNamedSQLQueries, getNamingStrategy, getProperties, getProperty, getReflectionManager, getSessionFactoryObserver, getSqlFunctions, getSqlResultSetMappings, getTableMappings, getTypeResolver, iterateFetchProfiles, iterateGenerators, mergeProperties, registerTypeContributor, registerTypeOverride, registerTypeOverride, registerTypeOverride, reset, secondPassCompileForeignKeys, setCacheConcurrencyStrategy, setCacheConcurrencyStrategy, setCacheConcurrencyStrategy, setCollectionCacheConcurrencyStrategy, setCollectionCacheConcurrencyStrategy, setCurrentTenantIdentifierResolver, setEntityNotFoundDelegate, setEntityResolver, setInterceptor, setNamingStrategy, setPrecedence, setProperties, setProperty, setSessionFactoryObserver, validateSchema
      • -
      - -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ValidationConfiguration

        -
        public ValidationConfiguration(String dialectClass)
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        secondPassCompile

        -
        protected void secondPassCompile()
        -                          throws org.hibernate.metamodel.source.MappingException
        -
        -
        Overrides:
        -
        secondPassCompile in class org.hibernate.cfg.Configuration
        -
        Throws:
        -
        org.hibernate.metamodel.source.MappingException
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/projects/hibernate4-maven-plugin-1.0.2/apidocs/de/juplo/plugins/hibernate4/class-use/Hbm2DdlMojo.html b/projects/hibernate4-maven-plugin-1.0.2/apidocs/de/juplo/plugins/hibernate4/class-use/Hbm2DdlMojo.html deleted file mode 100644 index 6d632fc..0000000 --- a/projects/hibernate4-maven-plugin-1.0.2/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.2 API) - - - - - - - -
- - - - - -
- - -
-

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

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

Copyright © 2014. All Rights Reserved.

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

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

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

Copyright © 2014. All Rights Reserved.

- - diff --git a/projects/hibernate4-maven-plugin-1.0.2/apidocs/de/juplo/plugins/hibernate4/class-use/ValidationConfiguration.html b/projects/hibernate4-maven-plugin-1.0.2/apidocs/de/juplo/plugins/hibernate4/class-use/ValidationConfiguration.html deleted file mode 100644 index 52ed8cb..0000000 --- a/projects/hibernate4-maven-plugin-1.0.2/apidocs/de/juplo/plugins/hibernate4/class-use/ValidationConfiguration.html +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - -Uses of Class de.juplo.plugins.hibernate4.ValidationConfiguration (Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT API) - - - - - - - -
- - - - - -
- - -
-

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

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

Copyright © 2014. All Rights Reserved.

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

de.juplo.plugins.hibernate4

-
-

Classes

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

Package de.juplo.plugins.hibernate4

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

Copyright © 2014. All Rights Reserved.

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

Hierarchy For Package de.juplo.plugins.hibernate4

-
-
-

Class Hierarchy

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

Copyright © 2014. All Rights Reserved.

- - diff --git a/projects/hibernate4-maven-plugin-1.0.2/apidocs/de/juplo/plugins/hibernate4/package-use.html b/projects/hibernate4-maven-plugin-1.0.2/apidocs/de/juplo/plugins/hibernate4/package-use.html deleted file mode 100644 index 89f028f..0000000 --- a/projects/hibernate4-maven-plugin-1.0.2/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.2 API) - - - - - - - -
- - - - - -
- - -
-

Uses of Package
de.juplo.plugins.hibernate4

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

Copyright © 2014. All Rights Reserved.

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

Deprecated API

-

Contents

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

Copyright © 2014. All Rights Reserved.

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

- - diff --git a/projects/hibernate4-maven-plugin-1.0.2/apidocs/index-all.html b/projects/hibernate4-maven-plugin-1.0.2/apidocs/index-all.html deleted file mode 100644 index daa5d04..0000000 --- a/projects/hibernate4-maven-plugin-1.0.2/apidocs/index-all.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - - -Index (Hibernate 4 Maven Plugin 1.0.2 API) - - - - - - - -
- - - - - -
- - -
D E H N P U  - - -

D

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

E

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

H

-
-
Hbm2DdlMojo - Class in de.juplo.plugins.hibernate4
-
-
Goal which extracts the hibernate-mapping-configuration and - exports an according SQL-database-schema.
-
-
Hbm2DdlMojo() - Constructor for class de.juplo.plugins.hibernate4.Hbm2DdlMojo
-
 
-
HelpMojo - Class in de.juplo.plugins.hibernate4
-
-
Display help information on hibernate4-maven-plugin.
-
-
HelpMojo() - Constructor for class de.juplo.plugins.hibernate4.HelpMojo
-
 
-
- - - -

N

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

P

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

U

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

Copyright © 2014. All Rights Reserved.

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

Class TypeSafeActivatorAccessor

-
-
- -
-
    -
  • -
    -
    -
    public class TypeSafeActivatorAccessor
    -extends Object
    -
    This class enables access to the public methods of TypeSafeActivator - which itself is visible in the package only.
    -
    Author:
    -
    Frank Schimmel
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        TypeSafeActivatorAccessor

        -
        public TypeSafeActivatorAccessor()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        validateSuppliedFactory

        -
        public static void validateSuppliedFactory(Object arg0)
        -
      • -
      - - - -
        -
      • -

        activate

        -
        public static void activate(org.hibernate.cfg.beanvalidation.ActivationContext arg0)
        -
      • -
      - - - -
        -
      • -

        applyCallbackListeners

        -
        public static void applyCallbackListeners(javax.validation.ValidatorFactory arg0,
        -                          org.hibernate.cfg.beanvalidation.ActivationContext arg1)
        -
      • -
      - - - -
        -
      • -

        applyRelationalConstraints

        -
        public static void applyRelationalConstraints(javax.validation.ValidatorFactory arg0,
        -                              Collection<org.hibernate.mapping.PersistentClass> arg1,
        -                              Properties arg2,
        -                              org.hibernate.dialect.Dialect arg3)
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/projects/hibernate4-maven-plugin-1.0.2/apidocs/org/hibernate/cfg/beanvalidation/class-use/TypeSafeActivatorAccessor.html b/projects/hibernate4-maven-plugin-1.0.2/apidocs/org/hibernate/cfg/beanvalidation/class-use/TypeSafeActivatorAccessor.html deleted file mode 100644 index ecafb36..0000000 --- a/projects/hibernate4-maven-plugin-1.0.2/apidocs/org/hibernate/cfg/beanvalidation/class-use/TypeSafeActivatorAccessor.html +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - -Uses of Class org.hibernate.cfg.beanvalidation.TypeSafeActivatorAccessor (Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT API) - - - - - - - -
- - - - - -
- - -
-

Uses of Class
org.hibernate.cfg.beanvalidation.TypeSafeActivatorAccessor

-
-
No usage of org.hibernate.cfg.beanvalidation.TypeSafeActivatorAccessor
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/projects/hibernate4-maven-plugin-1.0.2/apidocs/org/hibernate/cfg/beanvalidation/package-frame.html b/projects/hibernate4-maven-plugin-1.0.2/apidocs/org/hibernate/cfg/beanvalidation/package-frame.html deleted file mode 100644 index 5e7f7eb..0000000 --- a/projects/hibernate4-maven-plugin-1.0.2/apidocs/org/hibernate/cfg/beanvalidation/package-frame.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - -org.hibernate.cfg.beanvalidation (Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT API) - - - - -

org.hibernate.cfg.beanvalidation

-
-

Classes

- -
- - diff --git a/projects/hibernate4-maven-plugin-1.0.2/apidocs/org/hibernate/cfg/beanvalidation/package-summary.html b/projects/hibernate4-maven-plugin-1.0.2/apidocs/org/hibernate/cfg/beanvalidation/package-summary.html deleted file mode 100644 index ba1785f..0000000 --- a/projects/hibernate4-maven-plugin-1.0.2/apidocs/org/hibernate/cfg/beanvalidation/package-summary.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - -org.hibernate.cfg.beanvalidation (Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT API) - - - - - - - -
- - - - - -
- - -
-

Package org.hibernate.cfg.beanvalidation

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

Copyright © 2014. All Rights Reserved.

- - diff --git a/projects/hibernate4-maven-plugin-1.0.2/apidocs/org/hibernate/cfg/beanvalidation/package-tree.html b/projects/hibernate4-maven-plugin-1.0.2/apidocs/org/hibernate/cfg/beanvalidation/package-tree.html deleted file mode 100644 index 4a8c2fb..0000000 --- a/projects/hibernate4-maven-plugin-1.0.2/apidocs/org/hibernate/cfg/beanvalidation/package-tree.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - -org.hibernate.cfg.beanvalidation Class Hierarchy (Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT API) - - - - - - - -
- - - - - -
- - -
-

Hierarchy For Package org.hibernate.cfg.beanvalidation

-Package Hierarchies: - -
-
-

Class Hierarchy

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

Copyright © 2014. All Rights Reserved.

- - diff --git a/projects/hibernate4-maven-plugin-1.0.2/apidocs/org/hibernate/cfg/beanvalidation/package-use.html b/projects/hibernate4-maven-plugin-1.0.2/apidocs/org/hibernate/cfg/beanvalidation/package-use.html deleted file mode 100644 index 5ccb892..0000000 --- a/projects/hibernate4-maven-plugin-1.0.2/apidocs/org/hibernate/cfg/beanvalidation/package-use.html +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - -Uses of Package org.hibernate.cfg.beanvalidation (Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT API) - - - - - - - -
- - - - - -
- - -
-

Uses of Package
org.hibernate.cfg.beanvalidation

-
-
No usage of org.hibernate.cfg.beanvalidation
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/projects/hibernate4-maven-plugin-1.0.2/apidocs/overview-frame.html b/projects/hibernate4-maven-plugin-1.0.2/apidocs/overview-frame.html deleted file mode 100644 index 54c43fc..0000000 --- a/projects/hibernate4-maven-plugin-1.0.2/apidocs/overview-frame.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - -Overview List (Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT API) - - - - -
All Classes
-
-

Packages

- -
-

 

- - diff --git a/projects/hibernate4-maven-plugin-1.0.2/apidocs/overview-summary.html b/projects/hibernate4-maven-plugin-1.0.2/apidocs/overview-summary.html deleted file mode 100644 index 82119cf..0000000 --- a/projects/hibernate4-maven-plugin-1.0.2/apidocs/overview-summary.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - -Overview (Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT API) - - - - - - - -
- - - - - -
- - -
-

Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT API

-
-
- - - - - - - - - - - - - - - - -
Packages 
PackageDescription
de.juplo.plugins.hibernate4 
org.hibernate.cfg.beanvalidation 
-
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/projects/hibernate4-maven-plugin-1.0.2/apidocs/overview-tree.html b/projects/hibernate4-maven-plugin-1.0.2/apidocs/overview-tree.html deleted file mode 100644 index 9959858..0000000 --- a/projects/hibernate4-maven-plugin-1.0.2/apidocs/overview-tree.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - -Class Hierarchy (Hibernate 4 Maven Plugin 1.0.2 API) - - - - - - - -
- - - - - -
- - -
-

Hierarchy For All Packages

-Package Hierarchies: - -
-
-

Class Hierarchy

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

Copyright © 2014. All Rights Reserved.

- - diff --git a/projects/hibernate4-maven-plugin-1.0.2/apidocs/package-list b/projects/hibernate4-maven-plugin-1.0.2/apidocs/package-list deleted file mode 100644 index 0530771..0000000 --- a/projects/hibernate4-maven-plugin-1.0.2/apidocs/package-list +++ /dev/null @@ -1 +0,0 @@ -de.juplo.plugins.hibernate4 diff --git a/projects/hibernate4-maven-plugin-1.0.2/apidocs/packages b/projects/hibernate4-maven-plugin-1.0.2/apidocs/packages deleted file mode 100644 index c4b5140..0000000 --- a/projects/hibernate4-maven-plugin-1.0.2/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.2/apidocs/resources/background.gif b/projects/hibernate4-maven-plugin-1.0.2/apidocs/resources/background.gif deleted file mode 100644 index f471940..0000000 Binary files a/projects/hibernate4-maven-plugin-1.0.2/apidocs/resources/background.gif and /dev/null differ diff --git a/projects/hibernate4-maven-plugin-1.0.2/apidocs/resources/tab.gif b/projects/hibernate4-maven-plugin-1.0.2/apidocs/resources/tab.gif deleted file mode 100644 index 1a73a83..0000000 Binary files a/projects/hibernate4-maven-plugin-1.0.2/apidocs/resources/tab.gif and /dev/null differ diff --git a/projects/hibernate4-maven-plugin-1.0.2/apidocs/resources/titlebar.gif b/projects/hibernate4-maven-plugin-1.0.2/apidocs/resources/titlebar.gif deleted file mode 100644 index 17443b3..0000000 Binary files a/projects/hibernate4-maven-plugin-1.0.2/apidocs/resources/titlebar.gif and /dev/null differ diff --git a/projects/hibernate4-maven-plugin-1.0.2/apidocs/resources/titlebar_end.gif b/projects/hibernate4-maven-plugin-1.0.2/apidocs/resources/titlebar_end.gif deleted file mode 100644 index 3ad78d4..0000000 Binary files a/projects/hibernate4-maven-plugin-1.0.2/apidocs/resources/titlebar_end.gif and /dev/null differ diff --git a/projects/hibernate4-maven-plugin-1.0.2/apidocs/serialized-form.html b/projects/hibernate4-maven-plugin-1.0.2/apidocs/serialized-form.html deleted file mode 100644 index c5e20ff..0000000 --- a/projects/hibernate4-maven-plugin-1.0.2/apidocs/serialized-form.html +++ /dev/null @@ -1,187 +0,0 @@ - - - - - - -Serialized Form (Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT API) - - - - - - - -
- - - - - -
- - -
-

Serialized Form

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

Copyright © 2014. All Rights Reserved.

- - diff --git a/projects/hibernate4-maven-plugin-1.0.2/apidocs/stylesheet.css b/projects/hibernate4-maven-plugin-1.0.2/apidocs/stylesheet.css deleted file mode 100644 index 0aeaa97..0000000 --- a/projects/hibernate4-maven-plugin-1.0.2/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.2/configuration.html b/projects/hibernate4-maven-plugin-1.0.2/configuration.html deleted file mode 100644 index 8706702..0000000 --- a/projects/hibernate4-maven-plugin-1.0.2/configuration.html +++ /dev/null @@ -1,271 +0,0 @@ - - - - - - - - - juplo - Hibernate 4 Maven Plugin - Configuration Examples - - - - - - - - - - - - - - -
- - -
-
-

Hibernate 4 Maven Plugin - Configuration Examples

-
-

Configuration Examples

-
-

Configuration through a hibernate.properties-File

-

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

-

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

-
-
<plugin>
-  <groupId>de.juplo</groupId>
-  <artifactId>hibernate4-maven-plugin</artifactId>
-  <version>${project.version}</version>
-  <executions>
-    <execution>
-      <goals>
-        <goal>export</goal>
-      </goals>
-    </execution>
-  </executions>
-</plugin>
-

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

-

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

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

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

-
-

Configuration through maven-properties

-

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

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

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

-

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

-
-
<properties>
-  <hibernate.connection.driver_class>org.hsqldb.jdbcDriver</hibernate.connection.driver_class>
-  <hibernate.dialect>org.hibernate.dialect.HSQLDialect</hibernate.dialect>
-  <hibernate.connection.url><![CDATA[jdbc:hsqldb:res:org.my.path.production_db]]></hibernate.connection.url>
-  <hibernate.connection.username>sa</hibernate.connection.username>
-  <hibernate.connection.password></hibernate.connection.password>
-</properties>
-
-...
-
-<plugins>
-
-  ...
-
-  <plugin>
-    <groupId>de.juplo</groupId>
-    <artifactId>hibernate4-maven-plugin</artifactId>
-    <version>${project.version}</version>
-    <executions>
-      <execution>
-        <goals>
-          <goal>export</goal>
-        </goals>
-      </execution>
-    </executions>
-    <configuration>
-      <url><![CDATA[jdbc:hsqldb:target/db/testdb;shutdown=true]]></url>
-    </configuration>
-  </plugin>
-
-<plugins>
-
-

Configuration through the plugin-configuration

-

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

-
    -
  • driverClassName
  • -
  • hibernateDialect
  • -
  • url
  • -
  • username
  • -
  • password
-

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

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

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. -
  3. maven-properties
  4. -
  5. plugin-configuration
-

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

-

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

-

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

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

- - Built by Maven - -

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

Hibernate 4 Maven Plugin - CPD Report

-
-

CPD Results

-

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

-
-

Duplications

-

CPD found no problems in your source code.

-
-
- -

- - Built by Maven - -

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

Hibernate 4 Maven Plugin - Enable Debug-Output

-
-

Enabling Debug-Output

-

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

-
-
mvn -X compile hibernate4:export 
-

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

-

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

-

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

-
-
- -

- - Built by Maven - -

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

Hibernate 4 Maven Plugin - Dependencies

- -
-

Project Dependencies

-
-

compile

-

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

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
GroupIdArtifactIdVersionTypeLicense
com.pyx4jmaven-plugin-log4j1.0.1jarThe Apache Software License, Version 2.0
net.sf.scannotationscannotation1.0.2jarApache License V2.0
org.apache.mavenmaven-core3.0.4jarThe Apache Software License, Version 2.0
org.apache.mavenmaven-plugin-api3.0.4jarThe Apache Software License, Version 2.0
org.hibernatehibernate-core4.2.3.FinaljarGNU Lesser General Public License
-
-

Project Transitive Dependencies

-

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

-
-

compile

-

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

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

Project Dependency Graph

- -
-

Dependency Tree

-
-
-

Licenses

-

Unamed: JPA 2.0 API

-

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

-

GNU LESSER GENERAL PUBLIC LICENSE: Hibernate Commons Annotations

-

Unknown: dom4j, javassist

-

Common Development and Distribution License: Java Transaction API

-

LGPL 2.1: Javassist

-

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

-

MPL 1.1: Javassist

-

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

-

GNU Lesser General Public License: A Hibernate Core Module

-

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

-

Apache License V2.0: scannotation

-

BSD License: AntLR Parser Generator

-

Apache License 2.0: Javassist

-

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

-
-

Dependency File Details

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

Dependency Repository Locations

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

Repository locations for each of the Dependencies.

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

Hibernate 4 Maven Plugin - Dependency Information

-
-

Dependency Information

-
-

Apache Maven

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

Apache Buildr

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

Apache Ant

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

Groovy Grape

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

Grails

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

Leiningen

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

SBT

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

Hibernate 4 Maven Plugin - Distribution Management

-
-

Overview

-

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

- -
-

Snapshot Repository - sonatype-nexus-snapshots

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

Site - www.juplo.de

-

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

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

Hibernate 4 Maven Plugin - Parameter Documentation

- - -
-

hibernate4:export

- -

Full name:

- -

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

- -

Description:

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

Attributes:

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

Optional Parameters

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeSinceDescription
delimiterString-Delimiter in output-file.
Default value is: ;.
User property is: hibernate.export.schema.delimiter.
driverClassNameString-SQL-Driver name.
User property is: hibernate.connection.driver_class.
forceboolean-Force execution - -

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

- -

skip takes precedence over force.


Default value is: false.
User property is: hibernate.export.force.
formatboolean-Format output-file.
Default value is: true.
User property is: hibernate.export.schema.format.
hibernateDialectString-Hibernate dialect.
User property is: hibernate.dialect.
hibernateMappingString-List of Hibernate-Mapping-Files (XML). Multiple files can be -separated with white-spaces and/or commas.
User property is: hibernate.mapping.
hibernateNamingStrategyString-Hibernate Naming Strategy
User property is: hibernate.ejb.naming_strategy.
hibernatePropertiesString-Path to Hibernate configuration file.
Default value is: ${project.build.outputDirectory}/hibernate.properties.
outputDirectoryString-Classes-Directory to scan. - -

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


User property is: project.build.outputDirectory.
outputFileString-Output file.
Default value is: ${project.build.directory}/schema.sql.
User property is: hibernate.export.schema.filename.
passwordString-Database password
User property is: hibernate.connection.password.
scanTestClassesboolean-Wether to scan test-classes too, or not. - -

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


Default value is: false.
User property is: hibernate.export.scan_testclasses.
skipboolean-Skip execution - -

If set to true, the execution is skipped.

- -

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

- -

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


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

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

- -

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


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

Parameter Details

- -

delimiter:

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

-

driverClassName:

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

-

force:

- -
Force execution - -

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

- -

skip takes precedence over force.

- -
    - -
  • Type: boolean
  • - -
  • Required: No
  • - -
  • User Property: hibernate.export.force
  • - -
  • Default: false
  • -

-

format:

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

-

hibernateDialect:

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

-

hibernateMapping:

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

-

hibernateNamingStrategy:

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

-

hibernateProperties:

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

-

outputDirectory:

- -
Classes-Directory to scan. - -

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

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

-

outputFile:

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

-

password:

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

-

scanTestClasses:

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

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

- -
    - -
  • Type: boolean
  • - -
  • Required: No
  • - -
  • User Property: hibernate.export.scan_testclasses
  • - -
  • Default: false
  • -

-

skip:

- -
Skip execution - -

If set to true, the execution is skipped.

- -

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

- -

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

- -
    - -
  • Type: boolean
  • - -
  • Required: No
  • - -
  • User Property: maven.test.skip
  • - -
  • Default: false
  • -

-

target:

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

-

testOutputDirectory:

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

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

- -

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

- -
    - -
  • Type: java.lang.String
  • - -
  • Required: No
  • - -
  • User Property: project.build.testOutputDirectory
  • -

-

type:

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

-

url:

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

-

username:

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

- - Built by Maven - -

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

Hibernate 4 Maven Plugin - Force Exceution

-
-

Force execution

-

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

-

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

-

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

-
-
<plugin>
-  <groupId>de.juplo</groupId>
-  <artifactId>hibernate4-maven-plugin</artifactId>
-  <version>${project.version}</version>
-  <configuration>
-    <force>true</force>
-  </configuration>
-</plugin>
-

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

-
-
- -

- - Built by Maven - -

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

Hibernate 4 Maven Plugin - - hibernate4:help

- - -
-

hibernate4:help

- -

Full name:

- -

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

- -

Description:

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

Attributes:

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

Optional Parameters

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

Parameter Details

- -

detail:

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

-

goal:

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

-

indentSize:

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

-

lineLength:

- -
The maximum length of a display line, should be positive.
- -
    - -
  • Type: int
  • - -
  • Required: No
  • - -
  • User Property: lineLength
  • - -
  • Default: 80
  • -
-
-
- - -
- -
- -
- - - - - - - - - -
- - -
-
-

Hibernate 4 Maven Plugin -

-
-

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

-

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

-

The plugin was designed with three main goals in mind:

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

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

-

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

-

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

-

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

-
-

Documentation

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

Releases

-
-
-
- -

- - Built by Maven - -

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

Hibernate 4 Maven Plugin - Continuous Integration

-
-

Overview

-

This project uses Continuum.

-
-

Access

-

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

-
-
-

Notifiers

-

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

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

Hibernate 4 Maven Plugin - Issue Tracking

-
-

Issue Tracking

-

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

-

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

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

Hibernate 4 Maven Plugin - Project License

-
-

Overview

-

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

-
-

Project License

-
-

The Apache Software License, Version 2.0

-

A business-friendly OSS license

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

Hibernate 4 Maven Plugin - Mailing Lists

-
-

Mailing Lists

-

There are no mailinglists defined for this project!

-

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

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

Hibernate 4 Maven Plugin - Known Pitfalls (FAQ)

-
-

Known Pitfalls

-
-

hibernate4-maven-plugin always needs a database-connection

-

The default-configuration uses the EXPORT-target of the SchemaExport-Tool. If you do not need to create a database with the evaluated schema, you can use the NONE- or the SCRIPT-target. This can be achieved with the commandline-parameter -Dhibernate.export.target=SCRIPT or with the following configuration:

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

But even when no database is to be created, hibernate always needs to know the dialect. Hence, the plugin will fail if this parameter is missing!

-
-

Dependency for driver-class XYZ is missing

-

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

-

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

-
-
[INFO] Gathered hibernate-configuration (turn on debugging for details):
-[INFO]   hibernate.connection.username = sa
-[INFO]   hibernate.connection.password = 
-[INFO]   hibernate.dialect = org.hibernate.dialect.HSQLDialect
-[INFO]   hibernate.connection.url = jdbc:hsqldb:/home/kai/mmf/target/mmf;shutdown=true
-[INFO]   hibernate.connection.driver_class = org.hsqldb.jdbcDriver
-[ERROR] Dependency for driver-class org.hsqldb.jdbcDriver is missing!
-[INFO] ------------------------------------------------------------------------
-[ERROR] BUILD ERROR
-[INFO] ------------------------------------------------------------------------
-[INFO] org.hsqldb.jdbcDriver
-[INFO] ------------------------------------------------------------------------
-[INFO] For more information, run Maven with the -e switch
-[INFO] ------------------------------------------------------------------------
-[INFO] Total time: 2 seconds
-[INFO] Finished at: Thu Nov 29 11:31:14 CET 2012
-[INFO] Final Memory: 32M/342M
-[INFO] ------------------------------------------------------------------------
-

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

-

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

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

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

-
-

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

-

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

-

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

-

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

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

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

-

If one manually drops the database or removes the hsqldb-files, it will not be recreated by the hibernate4-maven-plugin, because it cannot detect, that the database needs to be recreated. This happens, because the plugin will not recreate the database if neither the configuration nor the annotated classes have changed, because an unnecessary drop-create-cycle might take a long time. The plugin will report that like this: ------------- [INFO] No modified annotated classes found and dialect unchanged. [INFO] Skipping schema generation! [------------

-

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

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

- - Built by Maven - -

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

Hibernate 4 Maven Plugin - Plugin Documentation

-
-

Plugin Documentation

-

Goals available for this plugin:

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

System Requirements

-

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

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

Usage

-

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

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

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

-
-
- -

- - Built by Maven - -

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

Hibernate 4 Maven Plugin - Plugin Management

-
-

Project Plugin Management

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

Hibernate 4 Maven Plugin - Project Plugins

-
-

Project Build Plugins

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
GroupIdArtifactIdVersion
org.apache.maven.pluginsmaven-clean-plugin2.5
org.apache.maven.pluginsmaven-compiler-plugin2.0.2
org.apache.maven.pluginsmaven-dependency-plugin2.1
org.apache.maven.pluginsmaven-deploy-plugin2.7
org.apache.maven.pluginsmaven-enforcer-plugin1.0
org.apache.maven.pluginsmaven-install-plugin2.3
org.apache.maven.pluginsmaven-jar-plugin2.2
org.apache.maven.pluginsmaven-plugin-plugin3.2
org.apache.maven.pluginsmaven-resources-plugin2.3
org.apache.maven.pluginsscp://people.apache.org/www/maven.apache.org/scm/maven-scm-plugin1.7
org.apache.maven.pluginsmaven-site-plugin3.3
org.apache.maven.pluginsmaven-source-plugin2.1.2
org.apache.maven.pluginsmaven-surefire-plugin2.10
-
-

Project Report Plugins

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
GroupIdArtifactIdVersion
org.apache.maven.pluginsmaven-changes-plugin2.7.1
org.apache.maven.pluginsmaven-javadoc-plugin2.7
org.apache.maven.pluginsmaven-jxr-plugin2.3
org.apache.maven.pluginsmaven-plugin-plugin3.2
org.apache.maven.pluginsmaven-pmd-plugin2.7.1
org.apache.maven.pluginsmaven-site-plugin3.3
-
- -
- -
- - - - - - - - - -
- - -
-
-

Hibernate 4 Maven Plugin - PMD Report

-
-

PMD Results

-

The following document contains the results of PMD 4.3.

-
-

Files

-

PMD found no problems in your source code.

-
-
- -

- - Built by Maven - -

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

Hibernate 4 Maven Plugin - Project Information

-
-

Project Information

-

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

-
-

Overview

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
DocumentDescription
AboutPlugin for generating a database-schema from Hibernate-4-Mapping-Annotations
Plugin ManagementThis document lists the plugins that are defined through pluginManagement.
Distribution ManagementThis document provides informations on the distribution management of this project.
Dependency InformationThis document describes how to to include this project as a dependency using various dependency management tools.
Source RepositoryThis is a link to the online source repository that can be viewed via a web browser.
Mailing ListsThis document provides subscription and archive information for this project's mailing lists.
Issue TrackingThis is a link to the issue management system for this project. Issues (bugs, features, change requests) can be created and queried using this link.
Continuous IntegrationThis is a link to the definitions of all continuous integration processes that builds and tests code on a frequent, regular basis.
Project PluginsThis document lists the build plugins and the report plugins used by this project.
Project LicenseThis is a link to the definitions of project licenses.
Project TeamThis document provides information on the members of this project. These are the individuals who have contributed to the project in one form or another.
Project SummaryThis document lists other related information of this project
DependenciesThis document lists the project's dependencies and provides information on each dependency.
-
- -
- -
- - - - - - - - - -
- - -
-
-

Hibernate 4 Maven Plugin - Project Reports

-
-

Generated Reports

-

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

-
-

Overview

- - - - - - - - - - - - - - - - - - -
DocumentDescription
JavaDocsJavaDoc API documentation.
Source XrefHTML based, cross-reference version of Java source code.
PMD ReportVerification of coding rules.
CPD ReportDuplicate code detection.
Plugin DocumentationThis report provides goals and parameters documentation of a plugin.
-
-
- -

- - Built by Maven - -

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

Hibernate 4 Maven Plugin - Project Summary

-
-

Project Summary

-
-

Project Information

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

Project Organization

-

This project does not belong to an organization.

-
-

Build Information

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

Hibernate 4 Maven Plugin - Skipping Execution

-

In most use-cases, the hibernate4-maven-plugin is used to create a test-database automatically. In this use-cases, it is very likely, that it will result in mistakes/errors, if the goal is executed, when the tests are skipped. For example, one might manually overwrite the database-url with the url of the production-database, in order to run other tests, like starting a local webserver with the jetty-maven-plugin. If the export-goal would be executed in such a scenario, it might erase the hole production-database, which is not very desireable.

-

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

-

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

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

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

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

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

-
-
- -

- - Built by Maven - -

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

Hibernate 4 Maven Plugin - Source Repository

-
-

Overview

-

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

-
-

Web Access

-

The following is a link to the online source repository.

-
-
-

Anonymous access

-

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

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

Developer access

-

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

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

Access from behind a firewall

-

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

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

Hibernate 4 Maven Plugin - Project Team

-
-

The Team

-

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

-

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

-
-

Members

-

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

- - - - - - - - - - -
ImageIdNameEmail
kaiKai Moritzkai@juplo.de
-
-

Contributors

-

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

- - - - - - - - - - - - -
ImageNameEmail
Adriano Machadoadriano.m.machado@hotmail.com
Lorenzo Nicoralorenzo.nicora@nicus.it
-
- -
- -
- - - -
- - - - - -
- - -
-

Constant Field Values

-

Contents

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

Copyright © 2014. All Rights Reserved.

- - diff --git a/projects/hibernate4-maven-plugin-1.0.2/testapidocs/de/juplo/test/FileComparator.html b/projects/hibernate4-maven-plugin-1.0.2/testapidocs/de/juplo/test/FileComparator.html deleted file mode 100644 index 7c4baa5..0000000 --- a/projects/hibernate4-maven-plugin-1.0.2/testapidocs/de/juplo/test/FileComparator.html +++ /dev/null @@ -1,263 +0,0 @@ - - - - - - -FileComparator (Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT Test API) - - - - - - - -
- - - - - -
- - - -
-
de.juplo.test
-

Class FileComparator

-
-
- -
-
    -
  • -
    -
    -
    public class FileComparator
    -extends Object
    -
  • -
-
-
- -
-
- -
-
- - -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/projects/hibernate4-maven-plugin-1.0.2/testapidocs/de/juplo/test/class-use/FileComparator.html b/projects/hibernate4-maven-plugin-1.0.2/testapidocs/de/juplo/test/class-use/FileComparator.html deleted file mode 100644 index 96d63fb..0000000 --- a/projects/hibernate4-maven-plugin-1.0.2/testapidocs/de/juplo/test/class-use/FileComparator.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - -Uses of Class de.juplo.test.FileComparator (Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT Test API) - - - - - - - -
- - - - - -
- - -
-

Uses of Class
de.juplo.test.FileComparator

-
-
No usage of de.juplo.test.FileComparator
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/projects/hibernate4-maven-plugin-1.0.2/testapidocs/de/juplo/test/package-frame.html b/projects/hibernate4-maven-plugin-1.0.2/testapidocs/de/juplo/test/package-frame.html deleted file mode 100644 index 32a451a..0000000 --- a/projects/hibernate4-maven-plugin-1.0.2/testapidocs/de/juplo/test/package-frame.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - -de.juplo.test (Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT Test API) - - - - -

de.juplo.test

-
-

Classes

- -
- - diff --git a/projects/hibernate4-maven-plugin-1.0.2/testapidocs/de/juplo/test/package-summary.html b/projects/hibernate4-maven-plugin-1.0.2/testapidocs/de/juplo/test/package-summary.html deleted file mode 100644 index 8de12ab..0000000 --- a/projects/hibernate4-maven-plugin-1.0.2/testapidocs/de/juplo/test/package-summary.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - -de.juplo.test (Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT Test API) - - - - - - - -
- - - - - -
- - -
-

Package de.juplo.test

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

Copyright © 2014. All Rights Reserved.

- - diff --git a/projects/hibernate4-maven-plugin-1.0.2/testapidocs/de/juplo/test/package-tree.html b/projects/hibernate4-maven-plugin-1.0.2/testapidocs/de/juplo/test/package-tree.html deleted file mode 100644 index 6c6a155..0000000 --- a/projects/hibernate4-maven-plugin-1.0.2/testapidocs/de/juplo/test/package-tree.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -de.juplo.test Class Hierarchy (Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT Test API) - - - - - - - -
- - - - - -
- - -
-

Hierarchy For Package de.juplo.test

-
-
-

Class Hierarchy

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

Copyright © 2014. All Rights Reserved.

- - diff --git a/projects/hibernate4-maven-plugin-1.0.2/testapidocs/de/juplo/test/package-use.html b/projects/hibernate4-maven-plugin-1.0.2/testapidocs/de/juplo/test/package-use.html deleted file mode 100644 index 0eb5d48..0000000 --- a/projects/hibernate4-maven-plugin-1.0.2/testapidocs/de/juplo/test/package-use.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - -Uses of Package de.juplo.test (Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT Test API) - - - - - - - -
- - - - - -
- - -
-

Uses of Package
de.juplo.test

-
-
No usage of de.juplo.test
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

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

Deprecated API

-

Contents

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

Copyright © 2014. All Rights Reserved.

- - diff --git a/projects/hibernate4-maven-plugin-1.0.2/testapidocs/help-doc.html b/projects/hibernate4-maven-plugin-1.0.2/testapidocs/help-doc.html deleted file mode 100644 index dcf0de8..0000000 --- a/projects/hibernate4-maven-plugin-1.0.2/testapidocs/help-doc.html +++ /dev/null @@ -1,216 +0,0 @@ - - - - - - -API Help (Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT Test 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 © 2014. All Rights Reserved.

- - diff --git a/projects/hibernate4-maven-plugin-1.0.2/testapidocs/index-all.html b/projects/hibernate4-maven-plugin-1.0.2/testapidocs/index-all.html deleted file mode 100644 index 9cae033..0000000 --- a/projects/hibernate4-maven-plugin-1.0.2/testapidocs/index-all.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - -Index (Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT Test API) - - - - - - - -
- - - - - -
- - -
D F I  - - -

D

-
-
de.juplo.test - package de.juplo.test
-
 
-
- - - -

F

-
-
FileComparator - Class in de.juplo.test
-
 
-
FileComparator(File) - Constructor for class de.juplo.test.FileComparator
-
 
-
- - - -

I

-
-
isEqual(String, String) - Method in class de.juplo.test.FileComparator
-
 
-
-D F I 
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/projects/hibernate4-maven-plugin-1.0.2/testapidocs/index.html b/projects/hibernate4-maven-plugin-1.0.2/testapidocs/index.html deleted file mode 100644 index fff21be..0000000 --- a/projects/hibernate4-maven-plugin-1.0.2/testapidocs/index.html +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - -Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT Test 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/test/package-summary.html">Non-frame version</a>.</p> - - - diff --git a/projects/hibernate4-maven-plugin-1.0.2/testapidocs/overview-tree.html b/projects/hibernate4-maven-plugin-1.0.2/testapidocs/overview-tree.html deleted file mode 100644 index 2542d85..0000000 --- a/projects/hibernate4-maven-plugin-1.0.2/testapidocs/overview-tree.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - -Class Hierarchy (Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT Test API) - - - - - - - -
- - - - - -
- - -
-

Hierarchy For All Packages

-Package Hierarchies: - -
-
-

Class Hierarchy

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

Copyright © 2014. All Rights Reserved.

- - diff --git a/projects/hibernate4-maven-plugin-1.0.2/testapidocs/package-list b/projects/hibernate4-maven-plugin-1.0.2/testapidocs/package-list deleted file mode 100644 index 4774195..0000000 --- a/projects/hibernate4-maven-plugin-1.0.2/testapidocs/package-list +++ /dev/null @@ -1 +0,0 @@ -de.juplo.test diff --git a/projects/hibernate4-maven-plugin-1.0.2/testapidocs/resources/background.gif b/projects/hibernate4-maven-plugin-1.0.2/testapidocs/resources/background.gif deleted file mode 100644 index f471940..0000000 Binary files a/projects/hibernate4-maven-plugin-1.0.2/testapidocs/resources/background.gif and /dev/null differ diff --git a/projects/hibernate4-maven-plugin-1.0.2/testapidocs/resources/tab.gif b/projects/hibernate4-maven-plugin-1.0.2/testapidocs/resources/tab.gif deleted file mode 100644 index 1a73a83..0000000 Binary files a/projects/hibernate4-maven-plugin-1.0.2/testapidocs/resources/tab.gif and /dev/null differ diff --git a/projects/hibernate4-maven-plugin-1.0.2/testapidocs/resources/titlebar.gif b/projects/hibernate4-maven-plugin-1.0.2/testapidocs/resources/titlebar.gif deleted file mode 100644 index 17443b3..0000000 Binary files a/projects/hibernate4-maven-plugin-1.0.2/testapidocs/resources/titlebar.gif and /dev/null differ diff --git a/projects/hibernate4-maven-plugin-1.0.2/testapidocs/resources/titlebar_end.gif b/projects/hibernate4-maven-plugin-1.0.2/testapidocs/resources/titlebar_end.gif deleted file mode 100644 index 3ad78d4..0000000 Binary files a/projects/hibernate4-maven-plugin-1.0.2/testapidocs/resources/titlebar_end.gif and /dev/null differ diff --git a/projects/hibernate4-maven-plugin-1.0.2/testapidocs/stylesheet.css b/projects/hibernate4-maven-plugin-1.0.2/testapidocs/stylesheet.css deleted file mode 100644 index 0aeaa97..0000000 --- a/projects/hibernate4-maven-plugin-1.0.2/testapidocs/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.2/xref-test/allclasses-frame.html b/projects/hibernate4-maven-plugin-1.0.2/xref-test/allclasses-frame.html deleted file mode 100644 index 4c39da5..0000000 --- a/projects/hibernate4-maven-plugin-1.0.2/xref-test/allclasses-frame.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - All Classes - - - - -

All Classes

- - - - - diff --git a/projects/hibernate4-maven-plugin-1.0.2/xref-test/de/juplo/test/FileComparator.html b/projects/hibernate4-maven-plugin-1.0.2/xref-test/de/juplo/test/FileComparator.html deleted file mode 100644 index c698253..0000000 --- a/projects/hibernate4-maven-plugin-1.0.2/xref-test/de/juplo/test/FileComparator.html +++ /dev/null @@ -1,71 +0,0 @@ - - - - -FileComparator xref - - - -
View Javadoc
-
-1   package de.juplo.test;
-2   
-3   import java.io.BufferedReader;
-4   import java.io.File;
-5   import java.io.FileNotFoundException;
-6   import java.io.FileReader;
-7   import java.io.IOException;
-8   
-9   
-10  public class FileComparator
-11  {
-12    private final File basedir;
-13    private BufferedReader expectedReader;
-14    private BufferedReader foundReader;
-15  
-16    public FileComparator(File basedir)
-17    {
-18      this.basedir = basedir;
-19    }
-20  
-21    public boolean isEqual(final String expectedFile, final String foundFile)
-22      throws
-23        FileNotFoundException,
-24        IOException
-25    {
-26      File file;
-27      String expected, found;
-28  
-29      file = new File(basedir, expectedFile);
-30      expectedReader = new BufferedReader(new FileReader(file));
-31  
-32      file = new File(basedir, foundFile);
-33      foundReader = new BufferedReader(new FileReader(file));
-34  
-35  
-36      while ((expected = expectedReader.readLine()) != null)
-37      {
-38        found = foundReader.readLine();
-39        if (!expected.equals(found))
-40        {
-41          System.err.println("Mismatch!");
-42          System.err.println("Expected: " + expected);
-43          System.err.println("Found:    " + found);
-44          return false;
-45        }
-46      }
-47  
-48      if ((found = foundReader.readLine()) != null)
-49      {
-50        System.err.println("Found more content than expected!");
-51        System.err.println("Starting with: " + found);
-52        return false;
-53      }
-54  
-55      return true;
-56    }
-57  }
-
-
- - diff --git a/projects/hibernate4-maven-plugin-1.0.2/xref-test/de/juplo/test/package-frame.html b/projects/hibernate4-maven-plugin-1.0.2/xref-test/de/juplo/test/package-frame.html deleted file mode 100644 index 0a4db6d..0000000 --- a/projects/hibernate4-maven-plugin-1.0.2/xref-test/de/juplo/test/package-frame.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT Reference Package de.juplo.test - - - - -

- de.juplo.test -

- -

Classes

- - - - - \ No newline at end of file diff --git a/projects/hibernate4-maven-plugin-1.0.2/xref-test/de/juplo/test/package-summary.html b/projects/hibernate4-maven-plugin-1.0.2/xref-test/de/juplo/test/package-summary.html deleted file mode 100644 index e054b81..0000000 --- a/projects/hibernate4-maven-plugin-1.0.2/xref-test/de/juplo/test/package-summary.html +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT Reference Package de.juplo.test - - - -
- -
-
- -
- -

Package de.juplo.test

- - - - - - - - - - - - -
Class Summary
- FileComparator -
- -
- -
-
- -
-
- Copyright © 2014. All Rights Reserved. - - \ No newline at end of file diff --git a/projects/hibernate4-maven-plugin-1.0.2/xref-test/index.html b/projects/hibernate4-maven-plugin-1.0.2/xref-test/index.html deleted file mode 100644 index a88ea51..0000000 --- a/projects/hibernate4-maven-plugin-1.0.2/xref-test/index.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT 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.2/xref-test/overview-frame.html b/projects/hibernate4-maven-plugin-1.0.2/xref-test/overview-frame.html deleted file mode 100644 index 9727f4a..0000000 --- a/projects/hibernate4-maven-plugin-1.0.2/xref-test/overview-frame.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT Reference - - - - -

- All Classes -

- -

Packages

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

Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT Reference

- - - - - - - - - - - - -
Packages
- de.juplo.test -
- -
- -
-
- -
- -
- Copyright © 2014. All Rights Reserved. - - \ No newline at end of file diff --git a/projects/hibernate4-maven-plugin-1.0.2/xref-test/stylesheet.css b/projects/hibernate4-maven-plugin-1.0.2/xref-test/stylesheet.css deleted file mode 100644 index 00e6114..0000000 --- a/projects/hibernate4-maven-plugin-1.0.2/xref-test/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; -} diff --git a/projects/hibernate4-maven-plugin-1.0.2/xref/allclasses-frame.html b/projects/hibernate4-maven-plugin-1.0.2/xref/allclasses-frame.html deleted file mode 100644 index 10bd8c9..0000000 --- a/projects/hibernate4-maven-plugin-1.0.2/xref/allclasses-frame.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - All Classes - - - - -

All Classes

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

Package de.juplo.plugins.hibernate4

- - - - - - - - - - - - - - - - - - -
Class Summary
- DriverProxy -
- Hbm2DdlMojo -
- HelpMojo -
- -
- -
-
- -
-
- Copyright © 2014. All Rights Reserved. - - \ No newline at end of file diff --git a/projects/hibernate4-maven-plugin-1.0.2/xref/index.html b/projects/hibernate4-maven-plugin-1.0.2/xref/index.html deleted file mode 100644 index fdb8f9b..0000000 --- a/projects/hibernate4-maven-plugin-1.0.2/xref/index.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - Hibernate 4 Maven Plugin 1.0.2 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.2/xref/org/hibernate/cfg/beanvalidation/TypeSafeActivatorAccessor.html b/projects/hibernate4-maven-plugin-1.0.2/xref/org/hibernate/cfg/beanvalidation/TypeSafeActivatorAccessor.html deleted file mode 100644 index 0cd0403..0000000 --- a/projects/hibernate4-maven-plugin-1.0.2/xref/org/hibernate/cfg/beanvalidation/TypeSafeActivatorAccessor.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - -TypeSafeActivatorAccessor xref - - - -
View Javadoc
-
-1   package org.hibernate.cfg.beanvalidation;
-2   
-3   /**
-4    * This class enables access to the public methods of {@link TypeSafeActivator}
-5    * which itself is visible in the package only.
-6    *
-7    * @author Frank Schimmel <frank.schimmel@cm4all.com>
-8    */
-9   public class TypeSafeActivatorAccessor extends TypeSafeActivator {
-10      // Empty: just makes public methods accessible.
-11  }
-
-
- - diff --git a/projects/hibernate4-maven-plugin-1.0.2/xref/org/hibernate/cfg/beanvalidation/package-frame.html b/projects/hibernate4-maven-plugin-1.0.2/xref/org/hibernate/cfg/beanvalidation/package-frame.html deleted file mode 100644 index 00d9ed7..0000000 --- a/projects/hibernate4-maven-plugin-1.0.2/xref/org/hibernate/cfg/beanvalidation/package-frame.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT Reference Package org.hibernate.cfg.beanvalidation - - - - -

- org.hibernate.cfg.beanvalidation -

- -

Classes

- - - - - \ No newline at end of file diff --git a/projects/hibernate4-maven-plugin-1.0.2/xref/org/hibernate/cfg/beanvalidation/package-summary.html b/projects/hibernate4-maven-plugin-1.0.2/xref/org/hibernate/cfg/beanvalidation/package-summary.html deleted file mode 100644 index 758739a..0000000 --- a/projects/hibernate4-maven-plugin-1.0.2/xref/org/hibernate/cfg/beanvalidation/package-summary.html +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - Hibernate 4 Maven Plugin 1.0.4-SNAPSHOT Reference Package org.hibernate.cfg.beanvalidation - - - -
- -
-
- -
- -

Package org.hibernate.cfg.beanvalidation

- - - - - - - - - - - - -
Class Summary
- TypeSafeActivatorAccessor -
- -
- -
-
- -
-
- Copyright © 2014. All Rights Reserved. - - \ No newline at end of file diff --git a/projects/hibernate4-maven-plugin-1.0.2/xref/overview-frame.html b/projects/hibernate4-maven-plugin-1.0.2/xref/overview-frame.html deleted file mode 100644 index 2a7aa63..0000000 --- a/projects/hibernate4-maven-plugin-1.0.2/xref/overview-frame.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - Hibernate 4 Maven Plugin 1.0.2 Reference - - - - -

- All Classes -

- -

Packages

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

Hibernate 4 Maven Plugin 1.0.2 Reference

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