From: Kai Moritz Date: Tue, 28 Oct 2025 17:34:47 +0000 (+0100) Subject: Moved version `2.0.0` of the `hibernate-maven-plugin` to the refined path X-Git-Url: https://juplo.de/gitweb/?a=commitdiff_plain;h=cf72d21e83fc839e36d64e6a311b783be69d3a05;p=website Moved version `2.0.0` of the `hibernate-maven-plugin` to the refined path --- diff --git a/nginx.conf b/nginx.conf index e861cd9..286d496 100644 --- a/nginx.conf +++ b/nginx.conf @@ -18,5 +18,9 @@ server { alias /usr/share/nginx/html/hibernate-maven-plugin/; expires 0; } + location /hibernate-maven-plugin-2.0.0/ { + alias /usr/share/nginx/html/projects/hibernate-maven-plugin/2.0.0/; + expires 0; + } } diff --git a/projects/hibernate-maven-plugin-2.0.0/apidocs/allclasses-frame.html b/projects/hibernate-maven-plugin-2.0.0/apidocs/allclasses-frame.html deleted file mode 100644 index 7e65251..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/apidocs/allclasses-frame.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - -All Classes (Hibernate Maven Plugin 2.0.0 API) - - - - - -

All Classes

-
- -
- - diff --git a/projects/hibernate-maven-plugin-2.0.0/apidocs/allclasses-noframe.html b/projects/hibernate-maven-plugin-2.0.0/apidocs/allclasses-noframe.html deleted file mode 100644 index f3e4ee8..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/apidocs/allclasses-noframe.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - -All Classes (Hibernate Maven Plugin 2.0.0 API) - - - - - -

All Classes

-
- -
- - diff --git a/projects/hibernate-maven-plugin-2.0.0/apidocs/constant-values.html b/projects/hibernate-maven-plugin-2.0.0/apidocs/constant-values.html deleted file mode 100644 index 5f66e5b..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/apidocs/constant-values.html +++ /dev/null @@ -1,202 +0,0 @@ - - - - - - -Constant Field Values (Hibernate Maven Plugin 2.0.0 API) - - - - - - - - -
- - - - - - - -
- - -
-

Constant Field Values

-

Contents

- -
-
- - -

de.juplo.*

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

Copyright © 2016. All Rights Reserved.

- - diff --git a/projects/hibernate-maven-plugin-2.0.0/apidocs/de/juplo/plugins/hibernate/AbstractSchemaMojo.html b/projects/hibernate-maven-plugin-2.0.0/apidocs/de/juplo/plugins/hibernate/AbstractSchemaMojo.html deleted file mode 100644 index 222ae01..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/apidocs/de/juplo/plugins/hibernate/AbstractSchemaMojo.html +++ /dev/null @@ -1,479 +0,0 @@ - - - - - - -AbstractSchemaMojo (Hibernate Maven Plugin 2.0.0 API) - - - - - - - - -
- - - - - - - -
- - - -
-
de.juplo.plugins.hibernate
-

Class AbstractSchemaMojo

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
    -
    -
    -
    Direct Known Subclasses:
    -
    CreateMojo, DropMojo
    -
    -
    -
    -
    public abstract class AbstractSchemaMojo
    -extends org.apache.maven.plugin.AbstractMojo
    -
    Baseclass with common attributes and methods.
    -
    -
    Phase:
    -
    process-classes
    -
    Thread Safe:
    -
    Requires Dependency Resolution:
    -
    runtime
    -
    -
  • -
-
-
- -
-
- -
-
- - -
- - - - - - - -
- - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/projects/hibernate-maven-plugin-2.0.0/apidocs/de/juplo/plugins/hibernate/CreateMojo.html b/projects/hibernate-maven-plugin-2.0.0/apidocs/de/juplo/plugins/hibernate/CreateMojo.html deleted file mode 100644 index 9aca7dd..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/apidocs/de/juplo/plugins/hibernate/CreateMojo.html +++ /dev/null @@ -1,339 +0,0 @@ - - - - - - -CreateMojo (Hibernate Maven Plugin 2.0.0 API) - - - - - - - - -
- - - - - - - -
- - - -
-
de.juplo.plugins.hibernate
-

Class CreateMojo

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
    -
    -
    -
    -
    public class CreateMojo
    -extends AbstractSchemaMojo
    -
    Goal which extracts the hibernate-mapping-configuration and - exports an according SQL-database-schema.
    -
    -
    Goal:
    -
    create
    -
    Phase:
    -
    process-classes
    -
    Thread Safe:
    -
    Requires Dependency Resolution:
    -
    runtime
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        CreateMojo

        -
        public CreateMojo()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        execute

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

Copyright © 2016. All Rights Reserved.

- - diff --git a/projects/hibernate-maven-plugin-2.0.0/apidocs/de/juplo/plugins/hibernate/DropMojo.html b/projects/hibernate-maven-plugin-2.0.0/apidocs/de/juplo/plugins/hibernate/DropMojo.html deleted file mode 100644 index 55b1938..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/apidocs/de/juplo/plugins/hibernate/DropMojo.html +++ /dev/null @@ -1,339 +0,0 @@ - - - - - - -DropMojo (Hibernate Maven Plugin 2.0.0 API) - - - - - - - - -
- - - - - - - -
- - - -
-
de.juplo.plugins.hibernate
-

Class DropMojo

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
    -
    -
    -
    -
    public class DropMojo
    -extends AbstractSchemaMojo
    -
    Goal which extracts the hibernate-mapping-configuration and - exports an according SQL-database-schema.
    -
    -
    Goal:
    -
    drop
    -
    Phase:
    -
    process-classes
    -
    Thread Safe:
    -
    Requires Dependency Resolution:
    -
    runtime
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        DropMojo

        -
        public DropMojo()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        execute

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

Copyright © 2016. All Rights Reserved.

- - diff --git a/projects/hibernate-maven-plugin-2.0.0/apidocs/de/juplo/plugins/hibernate/HelpMojo.html b/projects/hibernate-maven-plugin-2.0.0/apidocs/de/juplo/plugins/hibernate/HelpMojo.html deleted file mode 100644 index db42ffe..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/apidocs/de/juplo/plugins/hibernate/HelpMojo.html +++ /dev/null @@ -1,318 +0,0 @@ - - - - - - -HelpMojo (Hibernate Maven Plugin 2.0.0 API) - - - - - - - - -
- - - - - - - -
- - - -
-
de.juplo.plugins.hibernate
-

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 hibernate-maven-plugin.
    - Call mvn hibernate:help -Ddetail=true -Dgoal=<goal-name> to display parameter details.
    -
    -
    Author:
    -
    maven-plugin-tools
    -
    Goal:
    -
    help
    -
    Thread Safe:
    -
    Requires Project:
    -
    false
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        HelpMojo

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

      Method Detail

      - - - -
        -
      • -

        execute

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

Copyright © 2016. All Rights Reserved.

- - diff --git a/projects/hibernate-maven-plugin-2.0.0/apidocs/de/juplo/plugins/hibernate/ModificationTracker.html b/projects/hibernate-maven-plugin-2.0.0/apidocs/de/juplo/plugins/hibernate/ModificationTracker.html deleted file mode 100644 index 2bcd13c..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/apidocs/de/juplo/plugins/hibernate/ModificationTracker.html +++ /dev/null @@ -1,201 +0,0 @@ - - - - - - -ModificationTracker (Hibernate Maven Plugin 2.0.0 API) - - - - - - - - -
- - - - - - - -
- - - -
-
de.juplo.plugins.hibernate
-

Class ModificationTracker

-
-
- -
-
    -
  • -
    -
    -
    public class ModificationTracker
    -extends Object
    -
    -
    Author:
    -
    Kai Moritz
    -
    -
  • -
-
-
- -
-
- - -
- - - - - - - -
- - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/projects/hibernate-maven-plugin-2.0.0/apidocs/de/juplo/plugins/hibernate/MutableClassLoader.html b/projects/hibernate-maven-plugin-2.0.0/apidocs/de/juplo/plugins/hibernate/MutableClassLoader.html deleted file mode 100644 index 3d9f915..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/apidocs/de/juplo/plugins/hibernate/MutableClassLoader.html +++ /dev/null @@ -1,435 +0,0 @@ - - - - - - -MutableClassLoader (Hibernate Maven Plugin 2.0.0 API) - - - - - - - - -
- - - - - - - -
- - - -
-
de.juplo.plugins.hibernate
-

Class MutableClassLoader

-
-
- -
-
    -
  • -
    -
    -
    public class MutableClassLoader
    -extends ClassLoader
    -
    -
    Author:
    -
    kai
    -
    -
  • -
-
-
- -
-
- -
-
- - -
- - - - - - - -
- - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/projects/hibernate-maven-plugin-2.0.0/apidocs/de/juplo/plugins/hibernate/class-use/AbstractSchemaMojo.html b/projects/hibernate-maven-plugin-2.0.0/apidocs/de/juplo/plugins/hibernate/class-use/AbstractSchemaMojo.html deleted file mode 100644 index 652bcc1..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/apidocs/de/juplo/plugins/hibernate/class-use/AbstractSchemaMojo.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - -Uses of Class de.juplo.plugins.hibernate.AbstractSchemaMojo (Hibernate Maven Plugin 2.0.0 API) - - - - - - - - -
- - - - - - - -
- - -
-

Uses of Class
de.juplo.plugins.hibernate.AbstractSchemaMojo

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

Copyright © 2016. All Rights Reserved.

- - diff --git a/projects/hibernate-maven-plugin-2.0.0/apidocs/de/juplo/plugins/hibernate/class-use/CreateMojo.html b/projects/hibernate-maven-plugin-2.0.0/apidocs/de/juplo/plugins/hibernate/class-use/CreateMojo.html deleted file mode 100644 index 6e09afd..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/apidocs/de/juplo/plugins/hibernate/class-use/CreateMojo.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Uses of Class de.juplo.plugins.hibernate.CreateMojo (Hibernate Maven Plugin 2.0.0 API) - - - - - - - - -
- - - - - - - -
- - -
-

Uses of Class
de.juplo.plugins.hibernate.CreateMojo

-
-
No usage of de.juplo.plugins.hibernate.CreateMojo
- -
- - - - - - - -
- - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/projects/hibernate-maven-plugin-2.0.0/apidocs/de/juplo/plugins/hibernate/class-use/DropMojo.html b/projects/hibernate-maven-plugin-2.0.0/apidocs/de/juplo/plugins/hibernate/class-use/DropMojo.html deleted file mode 100644 index e83a88e..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/apidocs/de/juplo/plugins/hibernate/class-use/DropMojo.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Uses of Class de.juplo.plugins.hibernate.DropMojo (Hibernate Maven Plugin 2.0.0 API) - - - - - - - - -
- - - - - - - -
- - -
-

Uses of Class
de.juplo.plugins.hibernate.DropMojo

-
-
No usage of de.juplo.plugins.hibernate.DropMojo
- -
- - - - - - - -
- - -

Copyright © 2016. All Rights Reserved.

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

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

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

Copyright © 2016. All Rights Reserved.

- - diff --git a/projects/hibernate-maven-plugin-2.0.0/apidocs/de/juplo/plugins/hibernate/class-use/ModificationTracker.html b/projects/hibernate-maven-plugin-2.0.0/apidocs/de/juplo/plugins/hibernate/class-use/ModificationTracker.html deleted file mode 100644 index 9e35405..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/apidocs/de/juplo/plugins/hibernate/class-use/ModificationTracker.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Uses of Class de.juplo.plugins.hibernate.ModificationTracker (Hibernate Maven Plugin 2.0.0 API) - - - - - - - - -
- - - - - - - -
- - -
-

Uses of Class
de.juplo.plugins.hibernate.ModificationTracker

-
-
No usage of de.juplo.plugins.hibernate.ModificationTracker
- -
- - - - - - - -
- - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/projects/hibernate-maven-plugin-2.0.0/apidocs/de/juplo/plugins/hibernate/class-use/MutableClassLoader.html b/projects/hibernate-maven-plugin-2.0.0/apidocs/de/juplo/plugins/hibernate/class-use/MutableClassLoader.html deleted file mode 100644 index 7da19d7..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/apidocs/de/juplo/plugins/hibernate/class-use/MutableClassLoader.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - - -Uses of Class de.juplo.plugins.hibernate.MutableClassLoader (Hibernate Maven Plugin 2.0.0 API) - - - - - - - - -
- - - - - - - -
- - -
-

Uses of Class
de.juplo.plugins.hibernate.MutableClassLoader

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

Copyright © 2016. All Rights Reserved.

- - diff --git a/projects/hibernate-maven-plugin-2.0.0/apidocs/de/juplo/plugins/hibernate/package-frame.html b/projects/hibernate-maven-plugin-2.0.0/apidocs/de/juplo/plugins/hibernate/package-frame.html deleted file mode 100644 index c71c10d..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/apidocs/de/juplo/plugins/hibernate/package-frame.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - -de.juplo.plugins.hibernate (Hibernate Maven Plugin 2.0.0 API) - - - - - -

de.juplo.plugins.hibernate

-
-

Classes

- -
- - diff --git a/projects/hibernate-maven-plugin-2.0.0/apidocs/de/juplo/plugins/hibernate/package-summary.html b/projects/hibernate-maven-plugin-2.0.0/apidocs/de/juplo/plugins/hibernate/package-summary.html deleted file mode 100644 index 6a64c51..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/apidocs/de/juplo/plugins/hibernate/package-summary.html +++ /dev/null @@ -1,172 +0,0 @@ - - - - - - -de.juplo.plugins.hibernate (Hibernate Maven Plugin 2.0.0 API) - - - - - - - - -
- - - - - - - -
- - -
-

Package de.juplo.plugins.hibernate

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

Copyright © 2016. All Rights Reserved.

- - diff --git a/projects/hibernate-maven-plugin-2.0.0/apidocs/de/juplo/plugins/hibernate/package-tree.html b/projects/hibernate-maven-plugin-2.0.0/apidocs/de/juplo/plugins/hibernate/package-tree.html deleted file mode 100644 index acff517..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/apidocs/de/juplo/plugins/hibernate/package-tree.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - - -de.juplo.plugins.hibernate Class Hierarchy (Hibernate Maven Plugin 2.0.0 API) - - - - - - - - -
- - - - - - - -
- - -
-

Hierarchy For Package de.juplo.plugins.hibernate

-
-
-

Class Hierarchy

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

Copyright © 2016. All Rights Reserved.

- - diff --git a/projects/hibernate-maven-plugin-2.0.0/apidocs/de/juplo/plugins/hibernate/package-use.html b/projects/hibernate-maven-plugin-2.0.0/apidocs/de/juplo/plugins/hibernate/package-use.html deleted file mode 100644 index 9129e4f..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/apidocs/de/juplo/plugins/hibernate/package-use.html +++ /dev/null @@ -1,147 +0,0 @@ - - - - - - -Uses of Package de.juplo.plugins.hibernate (Hibernate Maven Plugin 2.0.0 API) - - - - - - - - -
- - - - - - - -
- - -
-

Uses of Package
de.juplo.plugins.hibernate

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

Copyright © 2016. All Rights Reserved.

- - diff --git a/projects/hibernate-maven-plugin-2.0.0/apidocs/deprecated-list.html b/projects/hibernate-maven-plugin-2.0.0/apidocs/deprecated-list.html deleted file mode 100644 index 228aa22..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/apidocs/deprecated-list.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Deprecated List (Hibernate Maven Plugin 2.0.0 API) - - - - - - - - -
- - - - - - - -
- - -
-

Deprecated API

-

Contents

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

Copyright © 2016. All Rights Reserved.

- - diff --git a/projects/hibernate-maven-plugin-2.0.0/apidocs/help-doc.html b/projects/hibernate-maven-plugin-2.0.0/apidocs/help-doc.html deleted file mode 100644 index 5918ee0..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/apidocs/help-doc.html +++ /dev/null @@ -1,225 +0,0 @@ - - - - - - -API Help (Hibernate Maven Plugin 2.0.0 API) - - - - - - - - -
- - - - - - - -
- - -
-

How This API Document Is Organized

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

Copyright © 2016. All Rights Reserved.

- - diff --git a/projects/hibernate-maven-plugin-2.0.0/apidocs/index-all.html b/projects/hibernate-maven-plugin-2.0.0/apidocs/index-all.html deleted file mode 100644 index a59587e..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/apidocs/index-all.html +++ /dev/null @@ -1,262 +0,0 @@ - - - - - - -Index (Hibernate Maven Plugin 2.0.0 API) - - - - - - - - -
- - - - - - - -
- - -
A C D E G H L M O S T  - - -

A

-
-
AbstractSchemaMojo - Class in de.juplo.plugins.hibernate
-
-
Baseclass with common attributes and methods.
-
-
AbstractSchemaMojo() - Constructor for class de.juplo.plugins.hibernate.AbstractSchemaMojo
-
 
-
add(LinkedHashSet<URL>) - Method in class de.juplo.plugins.hibernate.MutableClassLoader
-
 
-
- - - -

C

-
-
clearAssertionStatus() - Method in class de.juplo.plugins.hibernate.MutableClassLoader
-
 
-
CreateMojo - Class in de.juplo.plugins.hibernate
-
-
Goal which extracts the hibernate-mapping-configuration and - exports an according SQL-database-schema.
-
-
CreateMojo() - Constructor for class de.juplo.plugins.hibernate.CreateMojo
-
 
-
- - - -

D

-
-
de.juplo.plugins.hibernate - package de.juplo.plugins.hibernate
-
 
-
DELIMITER - Static variable in class de.juplo.plugins.hibernate.AbstractSchemaMojo
-
 
-
DropMojo - Class in de.juplo.plugins.hibernate
-
-
Goal which extracts the hibernate-mapping-configuration and - exports an according SQL-database-schema.
-
-
DropMojo() - Constructor for class de.juplo.plugins.hibernate.DropMojo
-
 
-
- - - -

E

-
-
execute(String) - Method in class de.juplo.plugins.hibernate.AbstractSchemaMojo
-
 
-
execute() - Method in class de.juplo.plugins.hibernate.CreateMojo
-
 
-
execute() - Method in class de.juplo.plugins.hibernate.DropMojo
-
 
-
execute() - Method in class de.juplo.plugins.hibernate.HelpMojo
-
EXPORT - Static variable in class de.juplo.plugins.hibernate.AbstractSchemaMojo
-
 
-
- - - -

G

-
-
getResource(String) - Method in class de.juplo.plugins.hibernate.MutableClassLoader
-
 
-
getResourceAsStream(String) - Method in class de.juplo.plugins.hibernate.MutableClassLoader
-
 
-
getResources(String) - Method in class de.juplo.plugins.hibernate.MutableClassLoader
-
 
-
- - - -

H

-
-
HelpMojo - Class in de.juplo.plugins.hibernate
-
-
Display help information on hibernate-maven-plugin.
-
-
HelpMojo() - Constructor for class de.juplo.plugins.hibernate.HelpMojo
-
 
-
- - - -

L

-
-
loadClass(String) - Method in class de.juplo.plugins.hibernate.MutableClassLoader
-
 
-
- - - -

M

-
-
ModificationTracker - Class in de.juplo.plugins.hibernate
-
 
-
MutableClassLoader - Class in de.juplo.plugins.hibernate
-
 
-
MutableClassLoader(LinkedHashSet<URL>, Log) - Constructor for class de.juplo.plugins.hibernate.MutableClassLoader
-
 
-
- - - -

O

-
-
OUTPUTDIRECTORY - Static variable in class de.juplo.plugins.hibernate.AbstractSchemaMojo
-
 
-
- - - -

S

-
-
SCAN_CLASSES - Static variable in class de.juplo.plugins.hibernate.AbstractSchemaMojo
-
 
-
SCAN_DEPENDENCIES - Static variable in class de.juplo.plugins.hibernate.AbstractSchemaMojo
-
 
-
SCAN_TESTCLASSES - Static variable in class de.juplo.plugins.hibernate.AbstractSchemaMojo
-
 
-
setClassAssertionStatus(String, boolean) - Method in class de.juplo.plugins.hibernate.MutableClassLoader
-
 
-
setDefaultAssertionStatus(boolean) - Method in class de.juplo.plugins.hibernate.MutableClassLoader
-
 
-
setPackageAssertionStatus(String, boolean) - Method in class de.juplo.plugins.hibernate.MutableClassLoader
-
 
-
SKIPPED - Static variable in class de.juplo.plugins.hibernate.AbstractSchemaMojo
-
 
-
- - - -

T

-
-
TEST_OUTPUTDIRECTORY - Static variable in class de.juplo.plugins.hibernate.AbstractSchemaMojo
-
 
-
-A C D E G H L M O S T 
- -
- - - - - - - -
- - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/projects/hibernate-maven-plugin-2.0.0/apidocs/index.html b/projects/hibernate-maven-plugin-2.0.0/apidocs/index.html deleted file mode 100644 index 0d95ab8..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/apidocs/index.html +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - -Hibernate Maven Plugin 2.0.0 API - - - - - - -<noscript> -<div>JavaScript is disabled on your browser.</div> -</noscript> -<h2>Frame Alert</h2> -<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="de/juplo/plugins/hibernate/package-summary.html">Non-frame version</a>.</p> - - - diff --git a/projects/hibernate-maven-plugin-2.0.0/apidocs/options b/projects/hibernate-maven-plugin-2.0.0/apidocs/options deleted file mode 100644 index cceba27..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/apidocs/options +++ /dev/null @@ -1,35 +0,0 @@ --classpath -'/home/kai/juplo/hibernate4-maven-plugin/target/checkout/target/classes:/home/kai/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar:/home/kai/.m2/repository/org/eclipse/sisu/org.eclipse.sisu.inject/0.3.0/org.eclipse.sisu.inject-0.3.0.jar:/home/kai/.m2/repository/org/eclipse/aether/aether-util/1.0.2.v20150114/aether-util-1.0.2.v20150114.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/hibernate/hibernate-entitymanager/5.0.2.Final/hibernate-entitymanager-5.0.2.Final.jar:/home/kai/.m2/repository/org/apache/maven/maven-core/3.3.3/maven-core-3.3.3.jar:/home/kai/.m2/repository/org/apache/maven/maven-model-builder/3.3.3/maven-model-builder-3.3.3.jar:/home/kai/.m2/repository/org/apache/maven/maven-settings-builder/3.3.3/maven-settings-builder-3.3.3.jar:/home/kai/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar:/home/kai/.m2/repository/javax/inject/javax.inject/1/javax.inject-1.jar:/home/kai/.m2/repository/org/codehaus/plexus/plexus-classworlds/2.5.2/plexus-classworlds-2.5.2.jar:/home/kai/.m2/repository/org/eclipse/aether/aether-spi/1.0.2.v20150114/aether-spi-1.0.2.v20150114.jar:/home/kai/.m2/repository/org/apache/maven/maven-builder-support/3.3.3/maven-builder-support-3.3.3.jar:/home/kai/.m2/repository/org/apache/maven/maven-repository-metadata/3.3.3/maven-repository-metadata-3.3.3.jar:/home/kai/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar:/home/kai/.m2/repository/org/hibernate/javax/persistence/hibernate-jpa-2.1-api/1.0.0.Final/hibernate-jpa-2.1-api-1.0.0.Final.jar:/home/kai/.m2/repository/de/juplo/scannotation/1.0.4/scannotation-1.0.4.jar:/home/kai/.m2/repository/javax/el/javax.el-api/3.0.0/javax.el-api-3.0.0.jar:/home/kai/.m2/repository/org/apache/geronimo/specs/geronimo-jta_1.1_spec/1.1.1/geronimo-jta_1.1_spec-1.1.1.jar:/home/kai/.m2/repository/javax/enterprise/cdi-api/1.0/cdi-api-1.0.jar:/home/kai/.m2/repository/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar:/home/kai/.m2/repository/org/javassist/javassist/3.18.1-GA/javassist-3.18.1-GA.jar:/home/kai/.m2/repository/org/eclipse/sisu/org.eclipse.sisu.plexus/0.3.0/org.eclipse.sisu.plexus-0.3.0.jar:/home/kai/.m2/repository/com/google/guava/guava/18.0/guava-18.0.jar:/home/kai/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar:/home/kai/.m2/repository/org/apache/maven/maven-model/3.3.3/maven-model-3.3.3.jar:/home/kai/.m2/repository/org/eclipse/aether/aether-api/1.0.2.v20150114/aether-api-1.0.2.v20150114.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/apache/maven/maven-settings/3.3.3/maven-settings-3.3.3.jar:/home/kai/.m2/repository/antlr/antlr/2.7.7/antlr-2.7.7.jar:/home/kai/.m2/repository/org/jboss/jandex/1.2.2.Final/jandex-1.2.2.Final.jar:/home/kai/.m2/repository/org/hibernate/hibernate-envers/5.0.2.Final/hibernate-envers-5.0.2.Final.jar:/home/kai/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar:/home/kai/.m2/repository/org/hibernate/common/hibernate-commons-annotations/5.0.0.Final/hibernate-commons-annotations-5.0.0.Final.jar:/home/kai/.m2/repository/org/hibernate/hibernate-validator/5.2.2.Final/hibernate-validator-5.2.2.Final.jar:/home/kai/.m2/repository/org/apache/maven/maven-aether-provider/3.3.3/maven-aether-provider-3.3.3.jar:/home/kai/.m2/repository/org/apache/maven/maven-plugin-api/3.3.3/maven-plugin-api-3.3.3.jar:/home/kai/.m2/repository/log4j/log4j/1.2.14/log4j-1.2.14.jar:/home/kai/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.21/plexus-interpolation-1.21.jar:/home/kai/.m2/repository/org/hibernate/hibernate-core/5.0.2.Final/hibernate-core-5.0.2.Final.jar:/home/kai/.m2/repository/org/apache/maven/maven-artifact/3.3.3/maven-artifact-3.3.3.jar:/home/kai/.m2/repository/com/fasterxml/classmate/1.1.0/classmate-1.1.0.jar:/home/kai/.m2/repository/org/sonatype/sisu/sisu-guice/3.2.5/sisu-guice-3.2.5-no_aop.jar:/home/kai/.m2/repository/javax/validation/validation-api/1.1.0.Final/validation-api-1.1.0.Final.jar:/home/kai/.m2/repository/org/eclipse/aether/aether-impl/1.0.2.v20150114/aether-impl-1.0.2.v20150114.jar:/home/kai/.m2/repository/org/jboss/logging/jboss-logging/3.3.0.Final/jboss-logging-3.3.0.Final.jar' --encoding -'UTF-8' --protected --sourcepath -'/home/kai/juplo/hibernate4-maven-plugin/target/checkout/src/main/java:/home/kai/juplo/hibernate4-maven-plugin/target/checkout/target/generated-sources/plugin:/home/kai/juplo/hibernate4-maven-plugin/target/checkout/target/generated-sources/annotations' --Xdoclint:none --author --bottom -'Copyright © 2016. All Rights Reserved.' --charset -'UTF-8' --d -'/home/kai/juplo/hibernate4-maven-plugin/target/checkout/target/site/apidocs' --docencoding -'UTF-8' --doctitle -'Hibernate Maven Plugin 2.0.0 API' --link -'http://java.sun.com/javase/6/docs/api' --tag -"goal:a:Goal:" --tag -"phase:a:Phase:" --tag -"threadSafe:a:Thread Safe:" --tag -"requiresDependencyResolution:a:Requires Dependency Resolution:" --tag -"requiresProject:a:Requires Project:" --use --version --windowtitle -'Hibernate Maven Plugin 2.0.0 API' \ No newline at end of file diff --git a/projects/hibernate-maven-plugin-2.0.0/apidocs/overview-tree.html b/projects/hibernate-maven-plugin-2.0.0/apidocs/overview-tree.html deleted file mode 100644 index abade77..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/apidocs/overview-tree.html +++ /dev/null @@ -1,153 +0,0 @@ - - - - - - -Class Hierarchy (Hibernate Maven Plugin 2.0.0 API) - - - - - - - - -
- - - - - - - -
- - -
-

Hierarchy For All Packages

-Package Hierarchies: - -
-
-

Class Hierarchy

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

Copyright © 2016. All Rights Reserved.

- - diff --git a/projects/hibernate-maven-plugin-2.0.0/apidocs/package-list b/projects/hibernate-maven-plugin-2.0.0/apidocs/package-list deleted file mode 100644 index 4e11658..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/apidocs/package-list +++ /dev/null @@ -1 +0,0 @@ -de.juplo.plugins.hibernate diff --git a/projects/hibernate-maven-plugin-2.0.0/apidocs/packages b/projects/hibernate-maven-plugin-2.0.0/apidocs/packages deleted file mode 100644 index 0fe557a..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/apidocs/packages +++ /dev/null @@ -1 +0,0 @@ -de.juplo.plugins.hibernate \ No newline at end of file diff --git a/projects/hibernate-maven-plugin-2.0.0/apidocs/script.js b/projects/hibernate-maven-plugin-2.0.0/apidocs/script.js deleted file mode 100644 index b346356..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/apidocs/script.js +++ /dev/null @@ -1,30 +0,0 @@ -function show(type) -{ - count = 0; - for (var key in methods) { - var row = document.getElementById(key); - if ((methods[key] & type) != 0) { - row.style.display = ''; - row.className = (count++ % 2) ? rowColor : altColor; - } - else - row.style.display = 'none'; - } - updateTabs(type); -} - -function updateTabs(type) -{ - for (var value in tabs) { - var sNode = document.getElementById(tabs[value][0]); - var spanNode = sNode.firstChild; - if (value == type) { - sNode.className = activeTableTab; - spanNode.innerHTML = tabs[value][1]; - } - else { - sNode.className = tableTab; - spanNode.innerHTML = "" + tabs[value][1] + ""; - } - } -} diff --git a/projects/hibernate-maven-plugin-2.0.0/apidocs/stylesheet.css b/projects/hibernate-maven-plugin-2.0.0/apidocs/stylesheet.css deleted file mode 100644 index 98055b2..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/apidocs/stylesheet.css +++ /dev/null @@ -1,574 +0,0 @@ -/* Javadoc style sheet */ -/* -Overall document style -*/ - -@import url('resources/fonts/dejavu.css'); - -body { - background-color:#ffffff; - color:#353833; - font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; - font-size:14px; - margin:0; -} -a:link, a:visited { - text-decoration:none; - color:#4A6782; -} -a:hover, a:focus { - text-decoration:none; - color:#bb7a2a; -} -a:active { - text-decoration:none; - color:#4A6782; -} -a[name] { - color:#353833; -} -a[name]:hover { - text-decoration:none; - color:#353833; -} -pre { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; -} -h1 { - font-size:20px; -} -h2 { - font-size:18px; -} -h3 { - font-size:16px; - font-style:italic; -} -h4 { - font-size:13px; -} -h5 { - font-size:12px; -} -h6 { - font-size:11px; -} -ul { - list-style-type:disc; -} -code, tt { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; - margin-top:8px; - line-height:1.4em; -} -dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; -} -table tr td dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - vertical-align:top; - padding-top:4px; -} -sup { - font-size:8px; -} -/* -Document title and Copyright styles -*/ -.clear { - clear:both; - height:0px; - overflow:hidden; -} -.aboutLanguage { - float:right; - padding:0px 21px; - font-size:11px; - z-index:200; - margin-top:-9px; -} -.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; - color:#ffffff; - padding:8px; - width:5em; - font-weight:bold; -} -/* -Navigation bar styles -*/ -.bar { - background-color:#4D7A97; - color:#FFFFFF; - padding:.8em .5em .4em .8em; - height:auto;/*height:1.8em;*/ - font-size:11px; - margin:0; -} -.topNav { - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.bottomNav { - margin-top:10px; - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.subNav { - background-color:#dee3e9; - float:left; - width:100%; - overflow:hidden; - font-size:12px; -} -.subNav div { - clear:left; - float:left; - padding:0 0 5px 6px; - text-transform:uppercase; -} -ul.navList, ul.subNavList { - float:left; - margin:0 25px 0 0; - padding:0; -} -ul.navList li{ - list-style:none; - float:left; - padding: 5px 6px; - text-transform:uppercase; -} -ul.subNavList li{ - list-style:none; - float:left; -} -.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { - color:#FFFFFF; - text-decoration:none; - text-transform:uppercase; -} -.topNav a:hover, .bottomNav a:hover { - text-decoration:none; - color:#bb7a2a; - text-transform:uppercase; -} -.navBarCell1Rev { - background-color:#F8981D; - color:#253441; - margin: auto 5px; -} -.skipNav { - position:absolute; - top:auto; - left:-9999px; - overflow:hidden; -} -/* -Page header and footer styles -*/ -.header, .footer { - clear:both; - margin:0 20px; - padding:5px 0 0 0; -} -.indexHeader { - margin:10px; - position:relative; -} -.indexHeader span{ - margin-right:15px; -} -.indexHeader h1 { - font-size:13px; -} -.title { - color:#2c4557; - margin:10px 0; -} -.subTitle { - margin:5px 0 0 0; -} -.header ul { - margin:0 0 15px 0; - padding:0; -} -.footer ul { - margin:20px 0 5px 0; -} -.header ul li, .footer ul li { - list-style:none; - font-size:13px; -} -/* -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:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList ul.blockList li.blockList h3 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 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:12px; -} -.indexContainer h2 { - font-size:13px; - padding:0 0 3px 0; -} -.indexContainer ul { - margin:0; - padding:0; -} -.indexContainer ul li { - list-style:none; - padding-top:2px; -} -.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { - font-size:12px; - font-weight:bold; - margin:10px 0 0 0; - color:#4E4E4E; -} -.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { - margin:5px 0 10px 0px; - font-size:14px; - font-family:'DejaVu Sans Mono',monospace; -} -.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:15px; - line-height:1.4; -} -ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { - padding:0px 20px 5px 10px; - border:1px solid #ededed; - background-color:#f8f8f8; -} -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:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { - margin-left:0; - padding-left:0; - padding-bottom:15px; - border:none; -} -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 -*/ -.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { - width:100%; - border-left:1px solid #EEE; - border-right:1px solid #EEE; - border-bottom:1px solid #EEE; -} -.overviewSummary, .memberSummary { - padding:0px; -} -.overviewSummary caption, .memberSummary caption, .typeSummary caption, -.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { - position:relative; - text-align:left; - background-repeat:no-repeat; - color:#253441; - font-weight:bold; - clear:none; - overflow:hidden; - padding:0px; - padding-top:10px; - padding-left:1px; - margin:0px; - white-space:pre; -} -.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, -.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, -.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, -.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, -.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, -.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, -.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, -.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { - color:#FFFFFF; -} -.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, -.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - padding-bottom:7px; - display:inline-block; - float:left; - background-color:#F8981D; - border: none; - height:16px; -} -.memberSummary caption span.activeTableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#F8981D; - height:16px; -} -.memberSummary caption span.tableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#4D7A97; - height:16px; -} -.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { - padding-top:0px; - padding-left:0px; - padding-right:0px; - background-image:none; - float:none; - display:inline; -} -.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, -.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { - display:none; - width:5px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .activeTableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .tableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - background-color:#4D7A97; - float:left; - -} -.overviewSummary td, .memberSummary td, .typeSummary td, -.useSummary td, .constantsSummary td, .deprecatedSummary td { - text-align:left; - padding:0px 0px 12px 10px; -} -th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, -td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ - vertical-align:top; - padding-right:0px; - padding-top:8px; - padding-bottom:3px; -} -th.colFirst, th.colLast, th.colOne, .constantsSummary th { - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} -td.colFirst, th.colFirst { - white-space:nowrap; - font-size:13px; -} -td.colLast, th.colLast { - font-size:13px; -} -td.colOne, th.colOne { - font-size:13px; -} -.overviewSummary td.colFirst, .overviewSummary th.colFirst, -.useSummary td.colFirst, .useSummary th.colFirst, -.overviewSummary td.colOne, .overviewSummary th.colOne, -.memberSummary td.colFirst, .memberSummary th.colFirst, -.memberSummary td.colOne, .memberSummary th.colOne, -.typeSummary td.colFirst{ - width:25%; - vertical-align:top; -} -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; -} -.tableSubHeadingColor { - background-color:#EEEEFF; -} -.altColor { - background-color:#FFFFFF; -} -.rowColor { - background-color:#EEEEEF; -} -/* -Content styles -*/ -.description pre { - margin-top:0; -} -.deprecatedContent { - margin:0; - padding:10px 0; -} -.docSummary { - padding:0; -} - -ul.blockList ul.blockList ul.blockList li.blockList h3 { - font-style:normal; -} - -div.block { - font-size:14px; - font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; -} - -td.colLast div { - padding-top:0px; -} - - -td.colLast a { - padding-bottom:3px; -} -/* -Formatting effect styles -*/ -.sourceLineNo { - color:green; - padding:0 30px 0 0; -} -h1.hidden { - visibility:hidden; - overflow:hidden; - font-size:10px; -} -.block { - display:block; - margin:3px 10px 2px 0px; - color:#474747; -} -.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, -.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, -.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { - font-weight:bold; -} -.deprecationComment, .emphasizedPhrase, .interfaceName { - font-style:italic; -} - -div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, -div.block div.block span.interfaceName { - font-style:normal; -} - -div.contentContainer ul.blockList li.blockList h2{ - padding-bottom:0px; -} diff --git a/projects/hibernate-maven-plugin-2.0.0/configuration.html b/projects/hibernate-maven-plugin-2.0.0/configuration.html deleted file mode 100644 index 7746bcd..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/configuration.html +++ /dev/null @@ -1,447 +0,0 @@ - - - - - - - - - juplo - Hibernate Maven Plugin - Configuration Examples - - - - - - - - - - - -
- - -
-
-

Configuration Examples

- - - - -
-

Configuration Through A Configuration-File

- -

- The most simple way to configure the plugin is, to put all the - hibernate-configuration in a hibernate.properties- or - a hibernate.cfg.xml-file on your classpath or in the - persistence.xml-file of your JPA-configuration, just - like you would do, if you are not using the - hibernate-maven-plugin. -

- -

- 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>hibernate-maven-plugin</artifactId>
-  <version>2.0.0</version>
-  <executions>
-    <execution>
-      <goals>
-        <goal>create</goal>
-      </goals>
-    </execution>
-  </executions>
-</plugin>
- -

- This would create the configured database. - If you want it to be droped beforehand, you have to add the goal - drop: -

- -
-
-<plugin>
-  <groupId>de.juplo</groupId>
-  <artifactId>hibernate-maven-plugin</artifactId>
-  <version>2.0.0</version>
-  <executions>
-    <execution>
-      <goals>
-        <goal>drop</goal>
-        <goal>create</goal>
-      </goals>
-    </execution>
-  </executions>
-</plugin>
- -

- A correspondin goal for the command update is missing in this - version, but we are planning to implement it in near feature. -

- -

- In order to let this configuration work, your configuration file must - contain a complete valid configuration for the database, that you want - to use. - A simple example hibernate.properties-file may look like this: -

- -
-
-hibernate.dialect=org.hibernate.dialect.H2Dialect
-hibernate.connection.url=jdbc:h2:file:./target/db
-hibernate.connection.driver_class=org.h2.Driver
-hibernate.connection.username=sa
-hibernate.connection.password=
- -

- But be aware, that using this configuration-approach 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. - Because of that, - - you should never fire up this configuration on your production - system, or your database might be erased! - -

- -

- A better approach is, to specify a different url for testing like in the - following snippet: -

- -
-
-<plugin>
-  <groupId>de.juplo</groupId>
-  <artifactId>hibernate-maven-plugin</artifactId>
-  <version>2.0.0</version>
-  <executions>
-    <execution>
-      <goals>
-        <goal>drop</goal>
-        <goal>create</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 goal create). - 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>hibernate-maven-plugin</artifactId>
-    <version>2.0.0</version>
-    <executions>
-      <execution>
-        <goals>
-          <goal>drop</goal>
-          <goal>create</goal>
-        </goals>
-      </execution>
-    </executions>
-    <configuration>
-      <url><![CDATA[jdbc:hsqldb:target/db/testdb;shutdown=true]]></url>
-    </configuration>
-  </plugin>
-
-<plugins>
- -

- This way, you can reuse the same properties to provide a - default-configurationthe, that is build into your application, and - overwrite the database-url, that is used during testing to prevent - accidential drops of your production database. -

-
-
-

Configuration through the plugin-configuration

- -

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

- -
    - -
  • driver
  • - -
  • dialect
  • - -
  • url
  • - -
  • username
  • - -
  • password
  • -
- -

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

- -
-
-<plugin>
-  <groupId>de.juplo</groupId>
-  <artifactId>hibernate-maven-plugin</artifactId>
-  <version>2.0.0</version>
-  <executions>
-    <execution>
-      <goals>
-        <goal>drop</goal>
-        <goal>create</goal>
-      </goals>
-    </execution>
-  </executions>
-  <configuration>
-    <driver>org.hsqldb.jdbcDriver</driver>
-    <dialect>org.hibernate.dialect.HSQLDialect</dialect>
-    <url><![CDATA[jdbc:hsqldb:target/db/fotos;shutdown=true]]></url>
-    <username>sa</username>
-    <password></password>
-  </configuration>
-</plugin>
- -

- The parameter hibernateProperties (name of the hibernate-properties-file - to use, defaults to hibernate.properties) can only be configured through - this approach. -

- -

- For more explanations, see the - Documentation of the goal create. -

-
-
-

Configuration-Method-Precedence

- -

- The configuration is gathered in a fix order: -

- -
    - -
  1. hibernate.properties
  2. - -
  3. hibernate.cfg.xml
  4. - -
  5. persistence.xml
  6. - -
  7. maven-properties
  8. - -
  9. plugin-configuration
  10. -
- -

- If you are in doubt about where a configuration-value comes from, run - maven with the debug-output enabled: mvn -X hibernate:create - 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 need to overwrite plugin-configuration-values with - maven-properties, you can use maven-properties in the plugin-configuration: -

- -
-
-<plugin>
-  <groupId>de.juplo</groupId>
-  <artifactId>hibernate-maven-plugin</artifactId>
-  <version>2.0.0</version>
-  <executions>
-    <execution>
-      <goals>
-        <goal>drop</goal>
-        <goal>create</goal>
-      </goals>
-    </execution>
-  </executions>
-  <configuration>
-    <password>${my-password-property}</password>
-  </configuration>
-</plugin>
-
- -
-
- - -
-
- -
- - - diff --git a/projects/hibernate-maven-plugin-2.0.0/cpd.html b/projects/hibernate-maven-plugin-2.0.0/cpd.html deleted file mode 100644 index 21b94b5..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/cpd.html +++ /dev/null @@ -1,231 +0,0 @@ - - - - - - - - - juplo - Hibernate Maven Plugin - CPD - - - - - - - - - - - -
- - -
-
-

CPD

-
-

CPD Results

-

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

-
-

Duplications

- - - - - - - - - - -
FileLine
de/juplo/plugins/hibernate/CreateMojo.java35
de/juplo/plugins/hibernate/DropMojo.java35
-
-
public class CreateMojo extends AbstractSchemaMojo
-{
-  /**
-   * Output file.
-   * <p>
-   * If the specified filename is not absolut, the file will be created
-   * relative to the project build directory
-   * (<code>project.build.directory</code>).
-   *
-   * @parameter property="hibernate.schema.export.create" default-value="create.sql"
-   * @since 1.0
-   */
-  private String outputFile;
-
-
-  @Override
-  public final void execute()
-    throws
-      MojoFailureException,
-      MojoExecutionException
-  {
-    super.execute(outputFile);
-  }
-
-
-  @Override
-  void build(MetadataImplementor metadata)
-      throws
-        MojoExecutionException,
-        MojoFailureException
-  {
-    SchemaExport schemaExport = new SchemaExport(metadata, createNamespaces);
-    schemaExport.setDelimiter(delimiter);
-    schemaExport.setFormat(format);
-
-    File output = new File(outputFile);
-
-    if (!output.isAbsolute())
-    {
-      // Interpret relative file path relative to build directory
-      output = new File(buildDirectory, outputFile);
-      getLog().debug("Adjusted relative path, resulting path is " + output.getPath());
-    }
-
-    // Ensure that directory path for specified file exists
-    File outFileParentDir = output.getParentFile();
-    if (null != outFileParentDir && !outFileParentDir.exists())
-    {
-      try
-      {
-        getLog().info("Creating directory path for output file:" + outFileParentDir.getPath());
-        outFileParentDir.mkdirs();
-      }
-      catch (Exception e)
-      {
-        getLog().error("Error creating directory path for output file: " + e.getLocalizedMessage());
-      }
-    }
-
-    schemaExport.setOutputFile(output.getPath());
-    schemaExport.execute(false, this.export, false, true);
-
-
- - -
-
- -
- - - diff --git a/projects/hibernate-maven-plugin-2.0.0/create-mojo.html b/projects/hibernate-maven-plugin-2.0.0/create-mojo.html deleted file mode 100644 index d08749a..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/create-mojo.html +++ /dev/null @@ -1,1044 +0,0 @@ - - - - - - - - - juplo - Hibernate Maven Plugin - Goal: CREATE - - - - - - - - - - - -
- - -
-
-

Goal: CREATE

- - -
-

hibernate:create

- -

Full name:

- -

de.juplo:hibernate-maven-plugin:2.0.0:create

- -

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
createNamespacesBoolean2.0Specifies whether to automatically create also the database -schema/catalog.
Default value is: false.
User property is: hibernate.hbm2dll.create_namespaces.
delimiterString1.0Delimiter in output-file. - -

Important: This configuration value can only be -configured through the pom.xml, or by the definition -of a system-property, because it is not known by Hibernate nor JPA -and, hence, not picked up from their configuration!


Default value is: ;.
User property is: hibernate.schema.delimiter.
dialectString1.0Hibernate dialect.
User property is: hibernate.dialect.
driverString1.0SQL-Driver name.
User property is: hibernate.connection.driver_class.
exportBoolean2.0Export the database-schma to the database. If set to -false, only the SQL-script is created and the database -is not touched. - -

Important: This configuration value can only be -configured through the pom.xml, or by the definition -of a system-property, because it is not known by Hibernate nor JPA -and, hence, not picked up from their configuration!


Default value is: true.
User property is: hibernate.schema.export.
forceboolean1.0Force execution - -

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

- -

skip takes precedence over force.

- -

Important: This configuration value can only be -configured through the pom.xml, or by the definition -of a system-property, because it is not known by Hibernate nor JPA -and, hence, not picked up from their configuration!


Default value is: false.
User property is: hibernate.schema.force.
formatBoolean1.0Format output-file.
User property is: hibernate.format_sql.
hibernateConfigString1.1.0Path to Hibernate configuration file (.cfg.xml). If this parameter -is specified, the plugin will try to load configuration values from -a file with the given path or a ressource on the classpath with the -given name. If both fails, the execution of the plugin will fail. - -

If this parameter is not set the plugin will load configuration -values from a ressource named hibernate.cfg.xml on the -classpath, if it is present, but will not fail if there is no such -ressource.

- -

During ressource-lookup, the test-classpath takes -precedence.

- -

Settings in this file will overwrite settings in the properties -file.


hibernatePropertiesString1.0Path to a file or name of a ressource with hibernate properties. If -this parameter is specified, the plugin will try to load -configuration values from a file with the given path or a ressource -on the classpath with the given name. If both fails, the execution -of the plugin will fail. - -

If this parameter is not set the plugin will load configuration -values from a ressource named hibernate.properties on -the classpath, if it is present, but will not fail if there is no -such ressource.

- -

During ressource-lookup, the test-classpath takes -precedence.


implicitNamingStrategyString2.0Implicit naming strategy
User property is: hibernate.implicit_naming_strategy.
mappingsString1.0.2List of Hibernate-Mapping-Files (XML). Multiple files can be -separated with white-spaces and/or commas.
User property is: hibernate.mapping.
outputDirectoryString1.0Classes-Directory to scan. - -

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

- -

Important: This configuration value can only be -configured through the pom.xml, or by the definition -of a system-property, because it is not known by Hibernate nor JPA -and, hence, not picked up from their configuration!


User property is: project.build.outputDirectory.
outputFileString1.0Output file. - -

If the specified filename is not absolut, the file will be -created relative to the project build directory -(project.build.directory).


Default value is: create.sql.
User property is: hibernate.schema.export.create.
passwordString1.0Database password
User property is: hibernate.connection.password.
persistenceUnitString1.1.0Name of the persistence-unit. If this parameter is specified, the -plugin will try to load configuration values from a -persistence-unit with the specified name. If no such -persistence-unit can be found, the plugin will throw an exception. - -

If this parameter is not set and there is only one -persistence-unit available, that unit will be used automatically. -But if this parameter is not set and there are multiple -persistence-units available on, the class-path, the execution of -the plugin will fail.

- -

Settings in this file will overwrite settings in the properties -or the configuration file.


physicalNamingStrategyString2.0Physical naming strategy
User property is: hibernate.physical_naming_strategy.
scanClassesBoolean2.0Wether the project should be scanned for annotated-classes, or not - -

This parameter is intended to allow overwriting of the parameter -exclude-unlisted-classes of a -persistence-unit. If not specified, it defaults to -true


User property is: hibernate.schema.scan.classes.
scanDependenciesString1.0.3Dependency-Scopes, that should be scanned for annotated classes. - -

By default, only dependencies in the scope compile -are scanned for annotated classes. Multiple scopes can be seperated -by white space or commas.

- -

If you do not want any dependencies to be scanned for annotated -classes, set this parameter to none.

- -

The plugin does not scan for annotated classes in transitive -dependencies. If some of your annotated classes are hidden in a -transitive dependency, you can simply add that dependency -explicitly.


Default value is: compile.
User property is: hibernate.schema.scan.dependencies.
scanTestClassesBoolean1.0.1Whether to scan the test-branch of the project for annotated -classes, or not. - -

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

- -

Important: This configuration value can only be -configured through the pom.xml, or by the definition -of a system-property, because it is not known by Hibernate nor JPA -and, hence, not picked up from their configuration!


Default value is: false.
User property is: hibernate.schema.scan.test_classes.
showBoolean1.0Show the generated SQL in the command-line output.
User property is: hibernate.show_sql.
skipboolean1.0Skip execution - -

If set to true, the execution is skipped.

- -

A skipped execution is signaled via the maven-property -${hibernate.schema.skipped}.

- -

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

- -

Important: This configuration value can only be -configured through the pom.xml, or by the definition -of a system-property, because it is not known by Hibernate nor JPA -and, hence, not picked up from their configuration!


Default value is: ${maven.test.skip}.
User property is: hibernate.schema.skip.
testOutputDirectoryString1.0.2Test-Classes-Directory to scan. - -

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

- -

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

- -

Important: This configuration value can only be -configured through the pom.xml, or by the definition -of a system-property, because it is not known by Hibernate nor JPA -and, hence, not picked up from their configuration!


User property is: project.build.testOutputDirectory.
urlString1.0Database URL.
User property is: hibernate.connection.url.
usernameString1.0Database username
User property is: hibernate.connection.username.
-
- -
-

Parameter Details

- -

createNamespaces:

- -
Specifies whether to automatically create also the database -schema/catalog.
- -
    - -
  • Type: java.lang.Boolean
  • - -
  • Since: 2.0
  • - -
  • Required: No
  • - -
  • User Property: hibernate.hbm2dll.create_namespaces
  • - -
  • Default: false
  • -

-

delimiter:

- -
Delimiter in output-file. - -

Important: This configuration value can only be -configured through the pom.xml, or by the definition -of a system-property, because it is not known by Hibernate nor JPA -and, hence, not picked up from their configuration!

- -
    - -
  • Type: java.lang.String
  • - -
  • Since: 1.0
  • - -
  • Required: No
  • - -
  • User Property: hibernate.schema.delimiter
  • - -
  • Default: ;
  • -

-

dialect:

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

-

driver:

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

-

export:

- -
Export the database-schma to the database. If set to -false, only the SQL-script is created and the database -is not touched. - -

Important: This configuration value can only be -configured through the pom.xml, or by the definition -of a system-property, because it is not known by Hibernate nor JPA -and, hence, not picked up from their configuration!

- -
    - -
  • Type: java.lang.Boolean
  • - -
  • Since: 2.0
  • - -
  • Required: No
  • - -
  • User Property: hibernate.schema.export
  • - -
  • Default: true
  • -

-

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.

- -

Important: This configuration value can only be -configured through the pom.xml, or by the definition -of a system-property, because it is not known by Hibernate nor JPA -and, hence, not picked up from their configuration!

- -
    - -
  • Type: boolean
  • - -
  • Since: 1.0
  • - -
  • Required: No
  • - -
  • User Property: hibernate.schema.force
  • - -
  • Default: false
  • -

-

format:

- -
Format output-file.
- -
    - -
  • Type: java.lang.Boolean
  • - -
  • Since: 1.0
  • - -
  • Required: No
  • - -
  • User Property: hibernate.format_sql
  • -

-

hibernateConfig:

- -
Path to Hibernate configuration file (.cfg.xml). If this parameter -is specified, the plugin will try to load configuration values from -a file with the given path or a ressource on the classpath with the -given name. If both fails, the execution of the plugin will fail. - -

If this parameter is not set the plugin will load configuration -values from a ressource named hibernate.cfg.xml on the -classpath, if it is present, but will not fail if there is no such -ressource.

- -

During ressource-lookup, the test-classpath takes -precedence.

- -

Settings in this file will overwrite settings in the properties -file.

- -
    - -
  • Type: java.lang.String
  • - -
  • Since: 1.1.0
  • - -
  • Required: No
  • -

-

hibernateProperties:

- -
Path to a file or name of a ressource with hibernate properties. If -this parameter is specified, the plugin will try to load -configuration values from a file with the given path or a ressource -on the classpath with the given name. If both fails, the execution -of the plugin will fail. - -

If this parameter is not set the plugin will load configuration -values from a ressource named hibernate.properties on -the classpath, if it is present, but will not fail if there is no -such ressource.

- -

During ressource-lookup, the test-classpath takes -precedence.

- -
    - -
  • Type: java.lang.String
  • - -
  • Since: 1.0
  • - -
  • Required: No
  • -

-

implicitNamingStrategy:

- -
Implicit naming strategy
- -
    - -
  • Type: java.lang.String
  • - -
  • Since: 2.0
  • - -
  • Required: No
  • - -
  • User Property: hibernate.implicit_naming_strategy
  • -

-

mappings:

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

-

outputDirectory:

- -
Classes-Directory to scan. - -

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

- -

Important: This configuration value can only be -configured through the pom.xml, or by the definition -of a system-property, because it is not known by Hibernate nor JPA -and, hence, not picked up from their configuration!

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

-

outputFile:

- -
Output file. - -

If the specified filename is not absolut, the file will be -created relative to the project build directory -(project.build.directory).

- -
    - -
  • Type: java.lang.String
  • - -
  • Since: 1.0
  • - -
  • Required: No
  • - -
  • User Property: hibernate.schema.export.create
  • - -
  • Default: create.sql
  • -

-

password:

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

-

persistenceUnit:

- -
Name of the persistence-unit. If this parameter is specified, the -plugin will try to load configuration values from a -persistence-unit with the specified name. If no such -persistence-unit can be found, the plugin will throw an exception. - -

If this parameter is not set and there is only one -persistence-unit available, that unit will be used automatically. -But if this parameter is not set and there are multiple -persistence-units available on, the class-path, the execution of -the plugin will fail.

- -

Settings in this file will overwrite settings in the properties -or the configuration file.

- -
    - -
  • Type: java.lang.String
  • - -
  • Since: 1.1.0
  • - -
  • Required: No
  • -

-

physicalNamingStrategy:

- -
Physical naming strategy
- -
    - -
  • Type: java.lang.String
  • - -
  • Since: 2.0
  • - -
  • Required: No
  • - -
  • User Property: hibernate.physical_naming_strategy
  • -

-

scanClasses:

- -
Wether the project should be scanned for annotated-classes, or not - -

This parameter is intended to allow overwriting of the parameter -exclude-unlisted-classes of a -persistence-unit. If not specified, it defaults to -true

- -
    - -
  • Type: java.lang.Boolean
  • - -
  • Since: 2.0
  • - -
  • Required: No
  • - -
  • User Property: hibernate.schema.scan.classes
  • -

-

scanDependencies:

- -
Dependency-Scopes, that should be scanned for annotated classes. - -

By default, only dependencies in the scope compile -are scanned for annotated classes. Multiple scopes can be seperated -by white space or commas.

- -

If you do not want any dependencies to be scanned for annotated -classes, set this parameter to none.

- -

The plugin does not scan for annotated classes in transitive -dependencies. If some of your annotated classes are hidden in a -transitive dependency, you can simply add that dependency -explicitly.

- -
    - -
  • Type: java.lang.String
  • - -
  • Since: 1.0.3
  • - -
  • Required: No
  • - -
  • User Property: hibernate.schema.scan.dependencies
  • - -
  • Default: compile
  • -

-

scanTestClasses:

- -
Whether to scan the test-branch of the project for annotated -classes, or not. - -

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

- -

Important: This configuration value can only be -configured through the pom.xml, or by the definition -of a system-property, because it is not known by Hibernate nor JPA -and, hence, not picked up from their configuration!

- -
    - -
  • Type: java.lang.Boolean
  • - -
  • Since: 1.0.1
  • - -
  • Required: No
  • - -
  • User Property: hibernate.schema.scan.test_classes
  • - -
  • Default: false
  • -

-

show:

- -
Show the generated SQL in the command-line output.
- -
    - -
  • Type: java.lang.Boolean
  • - -
  • Since: 1.0
  • - -
  • Required: No
  • - -
  • User Property: hibernate.show_sql
  • -

-

skip:

- -
Skip execution - -

If set to true, the execution is skipped.

- -

A skipped execution is signaled via the maven-property -${hibernate.schema.skipped}.

- -

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

- -

Important: This configuration value can only be -configured through the pom.xml, or by the definition -of a system-property, because it is not known by Hibernate nor JPA -and, hence, not picked up from their configuration!

- -
    - -
  • Type: boolean
  • - -
  • Since: 1.0
  • - -
  • Required: No
  • - -
  • User Property: hibernate.schema.skip
  • - -
  • Default: ${maven.test.skip}
  • -

-

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!

- -

Important: This configuration value can only be -configured through the pom.xml, or by the definition -of a system-property, because it is not known by Hibernate nor JPA -and, hence, not picked up from their configuration!

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

-

url:

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

-

username:

- -
Database username
- -
    - -
  • Type: java.lang.String
  • - -
  • Since: 1.0
  • - -
  • Required: No
  • - -
  • User Property: hibernate.connection.username
  • -
-
-
- - -
-
- - -
-
- -
- - - diff --git a/projects/hibernate-maven-plugin-2.0.0/css/maven-theme.css b/projects/hibernate-maven-plugin-2.0.0/css/maven-theme.css deleted file mode 100644 index c982168..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/css/maven-theme.css +++ /dev/null @@ -1,141 +0,0 @@ -body { - padding: 0px 0px 10px 0px; -} -body, td, select, input, li{ - font-family: Verdana, Helvetica, Arial, sans-serif; - font-size: 13px; -} -code{ - font-family: Courier, monospace; - font-size: 13px; -} -a { - text-decoration: none; -} -a:link { - color:#36a; -} -a:visited { - color:#47a; -} -a:active, a:hover { - color:#69c; -} -#legend li.externalLink { - background: url(../images/external.png) left top no-repeat; - padding-left: 18px; -} -a.externalLink, a.externalLink:link, a.externalLink:visited, a.externalLink:active, a.externalLink:hover { - background: url(../images/external.png) right center no-repeat; - padding-right: 18px; -} -#legend li.newWindow { - background: url(../images/newwindow.png) left top no-repeat; - padding-left: 18px; -} -a.newWindow, a.newWindow:link, a.newWindow:visited, a.newWindow:active, a.newWindow:hover { - background: url(../images/newwindow.png) right center no-repeat; - padding-right: 18px; -} -h2 { - padding: 4px 4px 4px 6px; - border: 1px solid #999; - color: #900; - background-color: #ddd; - font-weight:900; - font-size: x-large; -} -h3 { - padding: 4px 4px 4px 6px; - border: 1px solid #aaa; - color: #900; - background-color: #eee; - font-weight: normal; - font-size: large; -} -h4 { - padding: 4px 4px 4px 6px; - border: 1px solid #bbb; - color: #900; - background-color: #fff; - font-weight: normal; - font-size: large; -} -h5 { - padding: 4px 4px 4px 6px; - color: #900; - font-size: normal; -} -p { - line-height: 1.3em; - font-size: small; -} -#breadcrumbs { - border-top: 1px solid #aaa; - border-bottom: 1px solid #aaa; - background-color: #ccc; -} -#leftColumn { - margin: 10px 0 0 5px; - border: 1px solid #999; - background-color: #eee; -} -#navcolumn h5 { - font-size: smaller; - border-bottom: 1px solid #aaaaaa; - padding-top: 2px; - color: #000; -} - -table.bodyTable th { - color: white; - background-color: #bbb; - text-align: left; - font-weight: bold; -} - -table.bodyTable th, table.bodyTable td { - font-size: 1em; -} - -table.bodyTable tr.a { - background-color: #ddd; -} - -table.bodyTable tr.b { - background-color: #eee; -} - -.source { - border: 1px solid #999; -} -dl { - padding: 4px 4px 4px 6px; - border: 1px solid #aaa; - background-color: #ffc; -} -dt { - color: #900; -} -#organizationLogo img, #projectLogo img, #projectLogo span{ - margin: 8px; -} -#banner { - border-bottom: 1px solid #fff; -} -.errormark, .warningmark, .donemark, .infomark { - background: url(../images/icon_error_sml.gif) no-repeat; -} - -.warningmark { - background-image: url(../images/icon_warning_sml.gif); -} - -.donemark { - background-image: url(../images/icon_success_sml.gif); -} - -.infomark { - background-image: url(../images/icon_info_sml.gif); -} - diff --git a/projects/hibernate-maven-plugin-2.0.0/css/site.css b/projects/hibernate-maven-plugin-2.0.0/css/site.css deleted file mode 100644 index 055e7e2..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/css/site.css +++ /dev/null @@ -1 +0,0 @@ -/* You can override this file with your own styles */ \ No newline at end of file diff --git a/projects/hibernate-maven-plugin-2.0.0/debugging.html b/projects/hibernate-maven-plugin-2.0.0/debugging.html deleted file mode 100644 index ec83cf2..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/debugging.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - - - - - juplo - Hibernate Maven Plugin - Enable Debug-Output - - - - - - - - - - - -
- - -
-
-

Enable Debug-Output

- - - - -

- If you are new to hibernate-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 hibernate:create
- -

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

- -

- Unlike the majority of the maven-plugins, hibernate-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: hibernate-maven-plugin tends to be very chatty ;) -

- - -
-
- - -
-
- -
- - - diff --git a/projects/hibernate-maven-plugin-2.0.0/dependencies.html b/projects/hibernate-maven-plugin-2.0.0/dependencies.html deleted file mode 100644 index 18a412d..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/dependencies.html +++ /dev/null @@ -1,1980 +0,0 @@ - - - - - - - - - juplo - Hibernate Maven Plugin - Dependencies - - - - - - - - - - - -
- - -
-
-

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
de.juploscannotation1.0.4jar-
javax.eljavax.el-api3.0.0jarCDDL + GPLv2 with classpath exception
org.apache.mavenmaven-core3.3.3jarApache License, Version 2.0
org.apache.mavenmaven-plugin-api3.3.3jarApache License, Version 2.0
org.hibernatehibernate-core5.0.2.FinaljarGNU Lesser General Public License
org.hibernatehibernate-envers5.0.2.FinaljarGNU Lesser General Public License
org.hibernatehibernate-validator5.2.2.FinaljarApache License, Version 2.0
-
-

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
aopallianceaopalliance1.0-jarPublic Domain
com.fasterxmlclassmate1.1.0-jarThe Apache Software License, Version 2.0
com.google.guavaguava18.0-jarThe Apache Software License, Version 2.0
dom4jdom4j1.6.1-jar-
javax.annotationjsr250-api1.0-jarCOMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0
javax.enterprisecdi-api1.0-jarApache License, Version 2.0
javax.injectjavax.inject1-jarThe Apache Software License, Version 2.0
javax.validationvalidation-api1.1.0.Final-jarThe Apache Software License, Version 2.0
log4jlog4j1.2.14-jarThe Apache Software License, Version 2.0
org.apache.geronimo.specsgeronimo-jta_1.1_spec1.1.1-jarThe Apache Software License, Version 2.0
org.apache.mavenmaven-aether-provider3.3.3-jarApache License, Version 2.0
org.apache.mavenmaven-artifact3.3.3-jarApache License, Version 2.0
org.apache.mavenmaven-builder-support3.3.3-jarApache License, Version 2.0
org.apache.mavenmaven-model3.3.3-jarApache License, Version 2.0
org.apache.mavenmaven-model-builder3.3.3-jarApache License, Version 2.0
org.apache.mavenmaven-repository-metadata3.3.3-jarApache License, Version 2.0
org.apache.mavenmaven-settings3.3.3-jarApache License, Version 2.0
org.apache.mavenmaven-settings-builder3.3.3-jarApache License, Version 2.0
org.codehaus.plexusplexus-classworlds2.5.2-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.21-jarThe Apache Software License, Version 2.0
org.eclipse.aetheraether-api1.0.2.v20150114-jarEclipse Public License, Version 1.0
org.eclipse.aetheraether-impl1.0.2.v20150114-jarEclipse Public License, Version 1.0
org.eclipse.aetheraether-spi1.0.2.v20150114-jarEclipse Public License, Version 1.0
org.eclipse.aetheraether-util1.0.2.v20150114-jarEclipse Public License, Version 1.0
org.eclipse.sisuorg.eclipse.sisu.inject0.3.0-jarEclipse Public License, Version 1.0
org.eclipse.sisuorg.eclipse.sisu.plexus0.3.0-jarEclipse Public License, Version 1.0
org.hibernatehibernate-entitymanager5.0.2.Final-jarGNU Lesser General Public License
org.hibernate.commonhibernate-commons-annotations5.0.0.Final-jarGNU Lesser General Public License
org.hibernate.javax.persistencehibernate-jpa-2.1-api1.0.0.Final-jarEclipse Public License (EPL), Version 1.0-Eclipse Distribution License (EDL), Version 1.0
org.javassistjavassist3.18.1-GA-jarMPL 1.1-LGPL 2.1-Apache License 2.0
org.jbossjandex1.2.2.Final-jarAL 2.0
org.jboss.loggingjboss-logging3.3.0.Final-jarApache License, version 2.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-guice3.2.5no_aopjarThe Apache Software License, Version 2.0
xml-apisxml-apis1.0.b2-jarThe Apache Software License, Version 2.0
-
-

Project Dependency Graph

- -
-

Dependency Tree

-
-
-

Licenses

-

Apache License, version 2.0: JBoss Logging 3

-

Eclipse Public License (EPL), Version 1.0: Java Persistence API, Version 2.1

-

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

-

Public Domain: AOP alliance

-

GNU Lesser General Public License: Core Hibernate O/RM functionality, ENtity VERSioning support, Hibernate Commons Annotations, Hibernate JPA Support

-

Eclipse Distribution License (EDL), Version 1.0: Java Persistence API, Version 2.1

-

Eclipse Public License, Version 1.0: Aether API, Aether Implementation, Aether SPI, Aether Utilities, org.eclipse.sisu.inject, org.eclipse.sisu.plexus

-

Unknown: dom4j, scannotation

-

Apache License 2.0: Javassist

-

BSD License: AntLR Parser Generator

-

AL 2.0: Java Annotation Indexer

-

Apache License, Version 2.0: CDI APIs, Hibernate Validator Engine, Maven Aether Provider, Maven Artifact, Maven Builder Support, Maven Core, Maven Model, Maven Model Builder, Maven Plugin API, Maven Repository Metadata Model, Maven Settings, Maven Settings Builder

-

COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0: JSR-250 Common Annotations for the JavaTM Platform

-

LGPL 2.1: Javassist

-

CDDL + GPLv2 with classpath exception: Expression Language 3.0 API

-

MPL 1.1: Javassist

-

The Apache Software License, Version 2.0: Bean Validation API, ClassMate, Guava: Google Core Libraries for Java, Hibernate Maven Plugin, JTA 1.1, Log4j, Plexus :: Component Annotations, Plexus Classworlds, Plexus Interpolation API, Sisu Guice - Core Library, XML Commons External Components XML APIs, javax.inject, maven-plugin-log4j

-
-

Dependency File Details

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FilenameSizeEntriesClassesPackagesJDK RevDebug
antlr-2.7.7.jar434.85 kB239224121.2debug
aopalliance-1.0.jar4.36 kB15921.3debug
classmate-1.1.0.jar61.40 kB523741.6debug
guava-18.0.jar2.15 MB1,7191,690171.6debug
maven-plugin-log4j-1.0.1.jar3.64 kB12111.4debug
scannotation-1.0.4.jar19.79 kB231321.6debug
dom4j-1.6.1.jar306.54 kB208190141.3debug
jsr250-api-1.0.jar5.71 kB161121.5debug
javax.el-api-3.0.0.jar71.35 kB574611.6debug
cdi-api-1.0.jar43.86 kB927571.5debug
javax.inject-1.jar2.44 kB8611.5release
validation-api-1.1.0.Final.jar62.28 kB12210681.6debug
log4j-1.2.14.jar358.83 kB288256191.1debug
geronimo-jta_1.1_spec-1.1.1.jar15.65 kB301821.5debug
maven-aether-provider-3.3.3.jar64.79 kB432611.6debug
maven-artifact-3.3.3.jar53.80 kB5732111.6debug
maven-builder-support-3.3.3.jar14.61 kB241011.6debug
maven-core-3.3.3.jar617.07 kB489390561.6debug
maven-model-3.3.3.jar157.05 kB675031.6debug
maven-model-builder-3.3.3.jar172.28 kB154121161.6debug
maven-plugin-api-3.3.3.jar45.02 kB462561.6debug
maven-repository-metadata-3.3.3.jar25.35 kB25721.6debug
maven-settings-3.3.3.jar42.02 kB331721.6debug
maven-settings-builder-3.3.3.jar42.14 kB533251.6debug
plexus-classworlds-2.5.2.jar51.45 kB523751.6debug
plexus-component-annotations-1.5.5.jar4.11 kB15311.5release
plexus-interpolation-1.21.jar60.99 kB604461.5debug
aether-api-1.0.2.v20150114.jar133.13 kB149128111.5debug
aether-impl-1.0.2.v20150114.jar168.94 kB1149641.5debug
aether-spi-1.0.2.v20150114.jar29.99 kB543481.5debug
aether-util-1.0.2.v20150114.jar143.43 kB126101131.5debug
org.eclipse.sisu.inject-0.3.0.jar366.47 kB28726991.6debug
org.eclipse.sisu.plexus-0.3.0.jar200.59 kB196164201.6debug
hibernate-core-5.0.2.Final.jar5.29 MB4,0693,7762241.6debug
hibernate-entitymanager-5.0.2.Final.jar576.65 kB429390241.6debug
hibernate-envers-5.0.2.Final.jar397.65 kB319264371.6debug
hibernate-validator-5.2.2.Final.jar680.98 kB539452541.6debug
hibernate-commons-annotations-5.0.0.Final.jar73.35 kB806771.6debug
hibernate-jpa-2.1-api-1.0.0.Final.jar110.71 kB20720041.6debug
javassist-3.18.1-GA.jar697.46 kB414390171.6debug
jandex-1.2.2.Final.jar76.97 kB544411.6debug
jboss-logging-3.3.0.Final.jar65.24 kB604811.6debug
plexus-cipher-1.4.jar13.18 kB20611.4debug
plexus-sec-dispatcher-1.3.jar27.89 kB311331.4debug
sisu-guice-3.2.5-no_aop.jar390.30 kB33131681.6debug
xml-apis-1.0.b2.jar106.76 kB217184171.2release
TotalSizeEntriesClassesPackagesJDK RevDebug
4614.28 MB11,69510,4186701.643
compile: 46compile: 14.28 MBcompile: 11,695compile: 10,418compile: 670-compile: 43
-
-

Dependency Repository Locations

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Repo IDURLReleaseSnapshotBlacklisted
plexus.snapshotshttps://oss.sonatype.org/content/repositories/plexus-snapshots-Yes-
centralhttp://repo.maven.apache.org/maven2Yes--
codehaus-snapshotshttp://snapshots.repository.codehaus.org-YesYes
apache-snapshotshttp://people.apache.org/repo/m2-snapshot-repository-YesYes
snapshots.jboss.orghttp://snapshots.jboss.org/maven2-Yes-
sonatype-nexus-snapshotshttps://oss.sonatype.org/content/repositories/snapshots-Yes-
oss.sonatype.org/jboss-snapshotshttp://oss.sonatype.org/content/repositories/jboss-snapshots-Yes-
jvnet-nexus-snapshotshttps://maven.java.net/content/repositories/snapshots-Yes-
repository.jboss.orghttp://repository.jboss.org/maven2Yes--
apache-incubatorhttp://people.apache.org/repo/m2-incubating-repository/Yes-Yes
apache.snapshotshttp://repository.apache.org/snapshots-Yes-
-

Repository locations for each of the Dependencies.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Artifactplexus.snapshotscentralsnapshots.jboss.orgsonatype-nexus-snapshotsoss.sonatype.org/jboss-snapshotsjvnet-nexus-snapshotsrepository.jboss.orgapache.snapshots
antlr:antlr:jar:2.7.7------Found at http://repository.jboss.org/maven2-
aopalliance:aopalliance:jar:1.0------Found at http://repository.jboss.org/maven2-
com.fasterxml:classmate:jar:1.1.0--------
com.google.guava:guava:jar:18.0--------
com.pyx4j:maven-plugin-log4j:jar:1.0.1--------
de.juplo:scannotation:jar:1.0.4--------
dom4j:dom4j:jar:1.6.1------Found at http://repository.jboss.org/maven2-
javax.annotation:jsr250-api:jar:1.0------Found at http://repository.jboss.org/maven2-
javax.el:javax.el-api:jar:3.0.0--------
javax.enterprise:cdi-api:jar:1.0--------
javax.inject:javax.inject:jar:1--------
javax.validation:validation-api:jar:1.1.0.Final--------
log4j:log4j:jar:1.2.14------Found at http://repository.jboss.org/maven2-
org.apache.geronimo.specs:geronimo-jta_1.1_spec:jar:1.1.1--------
org.apache.maven:maven-aether-provider:jar:3.3.3--------
org.apache.maven:maven-artifact:jar:3.3.3--------
org.apache.maven:maven-builder-support:jar:3.3.3--------
org.apache.maven:maven-core:jar:3.3.3--------
org.apache.maven:maven-model:jar:3.3.3--------
org.apache.maven:maven-model-builder:jar:3.3.3--------
org.apache.maven:maven-plugin-api:jar:3.3.3--------
org.apache.maven:maven-repository-metadata:jar:3.3.3--------
org.apache.maven:maven-settings:jar:3.3.3--------
org.apache.maven:maven-settings-builder:jar:3.3.3--------
org.codehaus.plexus:plexus-classworlds:jar:2.5.2--------
org.codehaus.plexus:plexus-component-annotations:jar:1.5.5--------
org.codehaus.plexus:plexus-interpolation:jar:1.21--------
org.eclipse.aether:aether-api:jar:1.0.2.v20150114--------
org.eclipse.aether:aether-impl:jar:1.0.2.v20150114--------
org.eclipse.aether:aether-spi:jar:1.0.2.v20150114--------
org.eclipse.aether:aether-util:jar:1.0.2.v20150114--------
org.eclipse.sisu:org.eclipse.sisu.inject:jar:0.3.0--------
org.eclipse.sisu:org.eclipse.sisu.plexus:jar:0.3.0--------
org.hibernate:hibernate-core:jar:5.0.2.Final--------
org.hibernate:hibernate-entitymanager:jar:5.0.2.Final--------
org.hibernate:hibernate-envers:jar:5.0.2.Final--------
org.hibernate:hibernate-validator:jar:5.2.2.Final--------
org.hibernate.common:hibernate-commons-annotations:jar:5.0.0.Final--------
org.hibernate.javax.persistence:hibernate-jpa-2.1-api:jar:1.0.0.Final--------
org.javassist:javassist:jar:3.18.1-GA--------
org.jboss:jandex:jar:1.2.2.Final--------
org.jboss.logging:jboss-logging:jar:3.3.0.Final--------
org.sonatype.plexus:plexus-cipher:jar:1.4--------
org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3--------
org.sonatype.sisu:sisu-guice:jar:no_aop:3.2.5--------
xml-apis:xml-apis:jar:1.0.b2------Found at http://repository.jboss.org/maven2-
Totalplexus.snapshotscentralsnapshots.jboss.orgsonatype-nexus-snapshotsoss.sonatype.org/jboss-snapshotsjvnet-nexus-snapshotsrepository.jboss.orgapache.snapshots
46 (compile: 46)00000060
-
- -
- -
- - - diff --git a/projects/hibernate-maven-plugin-2.0.0/dependency-info.html b/projects/hibernate-maven-plugin-2.0.0/dependency-info.html deleted file mode 100644 index 1720e9d..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/dependency-info.html +++ /dev/null @@ -1,207 +0,0 @@ - - - - - - - - - juplo - Hibernate Maven Plugin - Dependency Information - - - - - - - - - - - -
- - -
-
-

Dependency Information

-
-

Dependency Information

-
-

Apache Maven

-
-
<dependency>
-  <groupId>de.juplo</groupId>
-  <artifactId>hibernate-maven-plugin</artifactId>
-  <version>2.0.0</version>
-  <type>maven-plugin</type>
-</dependency>
-
-

Apache Buildr

-
-
'de.juplo:hibernate-maven-plugin:maven-plugin:2.0.0'
-
-

Apache Ant

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

Groovy Grape

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

Grails

-
-
compile 'de.juplo:hibernate-maven-plugin:2.0.0'
-
-

Leiningen

-
-
[de.juplo/hibernate-maven-plugin "2.0.0"]
-
-

SBT

-
-
libraryDependencies += "de.juplo" %% "hibernate-maven-plugin" % "2.0.0"
-
- -
- -
- - - diff --git a/projects/hibernate-maven-plugin-2.0.0/distribution-management.html b/projects/hibernate-maven-plugin-2.0.0/distribution-management.html deleted file mode 100644 index 346dc0a..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/distribution-management.html +++ /dev/null @@ -1,178 +0,0 @@ - - - - - - - - - juplo - Hibernate Maven Plugin - Distribution Management - - - - - - - - - - - -
- - -
- - -
- -
- - - diff --git a/projects/hibernate-maven-plugin-2.0.0/drop-mojo.html b/projects/hibernate-maven-plugin-2.0.0/drop-mojo.html deleted file mode 100644 index 4394857..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/drop-mojo.html +++ /dev/null @@ -1,1044 +0,0 @@ - - - - - - - - - juplo - Hibernate Maven Plugin - Goal: DROP - - - - - - - - - - - -
- - -
-
-

Goal: DROP

- - -
-

hibernate:drop

- -

Full name:

- -

de.juplo:hibernate-maven-plugin:2.0.0:drop

- -

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
createNamespacesBoolean2.0Specifies whether to automatically create also the database -schema/catalog.
Default value is: false.
User property is: hibernate.hbm2dll.create_namespaces.
delimiterString1.0Delimiter in output-file. - -

Important: This configuration value can only be -configured through the pom.xml, or by the definition -of a system-property, because it is not known by Hibernate nor JPA -and, hence, not picked up from their configuration!


Default value is: ;.
User property is: hibernate.schema.delimiter.
dialectString1.0Hibernate dialect.
User property is: hibernate.dialect.
driverString1.0SQL-Driver name.
User property is: hibernate.connection.driver_class.
exportBoolean2.0Export the database-schma to the database. If set to -false, only the SQL-script is created and the database -is not touched. - -

Important: This configuration value can only be -configured through the pom.xml, or by the definition -of a system-property, because it is not known by Hibernate nor JPA -and, hence, not picked up from their configuration!


Default value is: true.
User property is: hibernate.schema.export.
forceboolean1.0Force execution - -

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

- -

skip takes precedence over force.

- -

Important: This configuration value can only be -configured through the pom.xml, or by the definition -of a system-property, because it is not known by Hibernate nor JPA -and, hence, not picked up from their configuration!


Default value is: false.
User property is: hibernate.schema.force.
formatBoolean1.0Format output-file.
User property is: hibernate.format_sql.
hibernateConfigString1.1.0Path to Hibernate configuration file (.cfg.xml). If this parameter -is specified, the plugin will try to load configuration values from -a file with the given path or a ressource on the classpath with the -given name. If both fails, the execution of the plugin will fail. - -

If this parameter is not set the plugin will load configuration -values from a ressource named hibernate.cfg.xml on the -classpath, if it is present, but will not fail if there is no such -ressource.

- -

During ressource-lookup, the test-classpath takes -precedence.

- -

Settings in this file will overwrite settings in the properties -file.


hibernatePropertiesString1.0Path to a file or name of a ressource with hibernate properties. If -this parameter is specified, the plugin will try to load -configuration values from a file with the given path or a ressource -on the classpath with the given name. If both fails, the execution -of the plugin will fail. - -

If this parameter is not set the plugin will load configuration -values from a ressource named hibernate.properties on -the classpath, if it is present, but will not fail if there is no -such ressource.

- -

During ressource-lookup, the test-classpath takes -precedence.


implicitNamingStrategyString2.0Implicit naming strategy
User property is: hibernate.implicit_naming_strategy.
mappingsString1.0.2List of Hibernate-Mapping-Files (XML). Multiple files can be -separated with white-spaces and/or commas.
User property is: hibernate.mapping.
outputDirectoryString1.0Classes-Directory to scan. - -

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

- -

Important: This configuration value can only be -configured through the pom.xml, or by the definition -of a system-property, because it is not known by Hibernate nor JPA -and, hence, not picked up from their configuration!


User property is: project.build.outputDirectory.
outputFileString1.0Output file. - -

If the specified filename is not absolut, the file will be -created relative to the project build directory -(project.build.directory).


Default value is: drop.sql.
User property is: hibernate.schema.export.drop.
passwordString1.0Database password
User property is: hibernate.connection.password.
persistenceUnitString1.1.0Name of the persistence-unit. If this parameter is specified, the -plugin will try to load configuration values from a -persistence-unit with the specified name. If no such -persistence-unit can be found, the plugin will throw an exception. - -

If this parameter is not set and there is only one -persistence-unit available, that unit will be used automatically. -But if this parameter is not set and there are multiple -persistence-units available on, the class-path, the execution of -the plugin will fail.

- -

Settings in this file will overwrite settings in the properties -or the configuration file.


physicalNamingStrategyString2.0Physical naming strategy
User property is: hibernate.physical_naming_strategy.
scanClassesBoolean2.0Wether the project should be scanned for annotated-classes, or not - -

This parameter is intended to allow overwriting of the parameter -exclude-unlisted-classes of a -persistence-unit. If not specified, it defaults to -true


User property is: hibernate.schema.scan.classes.
scanDependenciesString1.0.3Dependency-Scopes, that should be scanned for annotated classes. - -

By default, only dependencies in the scope compile -are scanned for annotated classes. Multiple scopes can be seperated -by white space or commas.

- -

If you do not want any dependencies to be scanned for annotated -classes, set this parameter to none.

- -

The plugin does not scan for annotated classes in transitive -dependencies. If some of your annotated classes are hidden in a -transitive dependency, you can simply add that dependency -explicitly.


Default value is: compile.
User property is: hibernate.schema.scan.dependencies.
scanTestClassesBoolean1.0.1Whether to scan the test-branch of the project for annotated -classes, or not. - -

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

- -

Important: This configuration value can only be -configured through the pom.xml, or by the definition -of a system-property, because it is not known by Hibernate nor JPA -and, hence, not picked up from their configuration!


Default value is: false.
User property is: hibernate.schema.scan.test_classes.
showBoolean1.0Show the generated SQL in the command-line output.
User property is: hibernate.show_sql.
skipboolean1.0Skip execution - -

If set to true, the execution is skipped.

- -

A skipped execution is signaled via the maven-property -${hibernate.schema.skipped}.

- -

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

- -

Important: This configuration value can only be -configured through the pom.xml, or by the definition -of a system-property, because it is not known by Hibernate nor JPA -and, hence, not picked up from their configuration!


Default value is: ${maven.test.skip}.
User property is: hibernate.schema.skip.
testOutputDirectoryString1.0.2Test-Classes-Directory to scan. - -

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

- -

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

- -

Important: This configuration value can only be -configured through the pom.xml, or by the definition -of a system-property, because it is not known by Hibernate nor JPA -and, hence, not picked up from their configuration!


User property is: project.build.testOutputDirectory.
urlString1.0Database URL.
User property is: hibernate.connection.url.
usernameString1.0Database username
User property is: hibernate.connection.username.
-
- -
-

Parameter Details

- -

createNamespaces:

- -
Specifies whether to automatically create also the database -schema/catalog.
- -
    - -
  • Type: java.lang.Boolean
  • - -
  • Since: 2.0
  • - -
  • Required: No
  • - -
  • User Property: hibernate.hbm2dll.create_namespaces
  • - -
  • Default: false
  • -

-

delimiter:

- -
Delimiter in output-file. - -

Important: This configuration value can only be -configured through the pom.xml, or by the definition -of a system-property, because it is not known by Hibernate nor JPA -and, hence, not picked up from their configuration!

- -
    - -
  • Type: java.lang.String
  • - -
  • Since: 1.0
  • - -
  • Required: No
  • - -
  • User Property: hibernate.schema.delimiter
  • - -
  • Default: ;
  • -

-

dialect:

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

-

driver:

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

-

export:

- -
Export the database-schma to the database. If set to -false, only the SQL-script is created and the database -is not touched. - -

Important: This configuration value can only be -configured through the pom.xml, or by the definition -of a system-property, because it is not known by Hibernate nor JPA -and, hence, not picked up from their configuration!

- -
    - -
  • Type: java.lang.Boolean
  • - -
  • Since: 2.0
  • - -
  • Required: No
  • - -
  • User Property: hibernate.schema.export
  • - -
  • Default: true
  • -

-

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.

- -

Important: This configuration value can only be -configured through the pom.xml, or by the definition -of a system-property, because it is not known by Hibernate nor JPA -and, hence, not picked up from their configuration!

- -
    - -
  • Type: boolean
  • - -
  • Since: 1.0
  • - -
  • Required: No
  • - -
  • User Property: hibernate.schema.force
  • - -
  • Default: false
  • -

-

format:

- -
Format output-file.
- -
    - -
  • Type: java.lang.Boolean
  • - -
  • Since: 1.0
  • - -
  • Required: No
  • - -
  • User Property: hibernate.format_sql
  • -

-

hibernateConfig:

- -
Path to Hibernate configuration file (.cfg.xml). If this parameter -is specified, the plugin will try to load configuration values from -a file with the given path or a ressource on the classpath with the -given name. If both fails, the execution of the plugin will fail. - -

If this parameter is not set the plugin will load configuration -values from a ressource named hibernate.cfg.xml on the -classpath, if it is present, but will not fail if there is no such -ressource.

- -

During ressource-lookup, the test-classpath takes -precedence.

- -

Settings in this file will overwrite settings in the properties -file.

- -
    - -
  • Type: java.lang.String
  • - -
  • Since: 1.1.0
  • - -
  • Required: No
  • -

-

hibernateProperties:

- -
Path to a file or name of a ressource with hibernate properties. If -this parameter is specified, the plugin will try to load -configuration values from a file with the given path or a ressource -on the classpath with the given name. If both fails, the execution -of the plugin will fail. - -

If this parameter is not set the plugin will load configuration -values from a ressource named hibernate.properties on -the classpath, if it is present, but will not fail if there is no -such ressource.

- -

During ressource-lookup, the test-classpath takes -precedence.

- -
    - -
  • Type: java.lang.String
  • - -
  • Since: 1.0
  • - -
  • Required: No
  • -

-

implicitNamingStrategy:

- -
Implicit naming strategy
- -
    - -
  • Type: java.lang.String
  • - -
  • Since: 2.0
  • - -
  • Required: No
  • - -
  • User Property: hibernate.implicit_naming_strategy
  • -

-

mappings:

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

-

outputDirectory:

- -
Classes-Directory to scan. - -

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

- -

Important: This configuration value can only be -configured through the pom.xml, or by the definition -of a system-property, because it is not known by Hibernate nor JPA -and, hence, not picked up from their configuration!

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

-

outputFile:

- -
Output file. - -

If the specified filename is not absolut, the file will be -created relative to the project build directory -(project.build.directory).

- -
    - -
  • Type: java.lang.String
  • - -
  • Since: 1.0
  • - -
  • Required: No
  • - -
  • User Property: hibernate.schema.export.drop
  • - -
  • Default: drop.sql
  • -

-

password:

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

-

persistenceUnit:

- -
Name of the persistence-unit. If this parameter is specified, the -plugin will try to load configuration values from a -persistence-unit with the specified name. If no such -persistence-unit can be found, the plugin will throw an exception. - -

If this parameter is not set and there is only one -persistence-unit available, that unit will be used automatically. -But if this parameter is not set and there are multiple -persistence-units available on, the class-path, the execution of -the plugin will fail.

- -

Settings in this file will overwrite settings in the properties -or the configuration file.

- -
    - -
  • Type: java.lang.String
  • - -
  • Since: 1.1.0
  • - -
  • Required: No
  • -

-

physicalNamingStrategy:

- -
Physical naming strategy
- -
    - -
  • Type: java.lang.String
  • - -
  • Since: 2.0
  • - -
  • Required: No
  • - -
  • User Property: hibernate.physical_naming_strategy
  • -

-

scanClasses:

- -
Wether the project should be scanned for annotated-classes, or not - -

This parameter is intended to allow overwriting of the parameter -exclude-unlisted-classes of a -persistence-unit. If not specified, it defaults to -true

- -
    - -
  • Type: java.lang.Boolean
  • - -
  • Since: 2.0
  • - -
  • Required: No
  • - -
  • User Property: hibernate.schema.scan.classes
  • -

-

scanDependencies:

- -
Dependency-Scopes, that should be scanned for annotated classes. - -

By default, only dependencies in the scope compile -are scanned for annotated classes. Multiple scopes can be seperated -by white space or commas.

- -

If you do not want any dependencies to be scanned for annotated -classes, set this parameter to none.

- -

The plugin does not scan for annotated classes in transitive -dependencies. If some of your annotated classes are hidden in a -transitive dependency, you can simply add that dependency -explicitly.

- -
    - -
  • Type: java.lang.String
  • - -
  • Since: 1.0.3
  • - -
  • Required: No
  • - -
  • User Property: hibernate.schema.scan.dependencies
  • - -
  • Default: compile
  • -

-

scanTestClasses:

- -
Whether to scan the test-branch of the project for annotated -classes, or not. - -

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

- -

Important: This configuration value can only be -configured through the pom.xml, or by the definition -of a system-property, because it is not known by Hibernate nor JPA -and, hence, not picked up from their configuration!

- -
    - -
  • Type: java.lang.Boolean
  • - -
  • Since: 1.0.1
  • - -
  • Required: No
  • - -
  • User Property: hibernate.schema.scan.test_classes
  • - -
  • Default: false
  • -

-

show:

- -
Show the generated SQL in the command-line output.
- -
    - -
  • Type: java.lang.Boolean
  • - -
  • Since: 1.0
  • - -
  • Required: No
  • - -
  • User Property: hibernate.show_sql
  • -

-

skip:

- -
Skip execution - -

If set to true, the execution is skipped.

- -

A skipped execution is signaled via the maven-property -${hibernate.schema.skipped}.

- -

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

- -

Important: This configuration value can only be -configured through the pom.xml, or by the definition -of a system-property, because it is not known by Hibernate nor JPA -and, hence, not picked up from their configuration!

- -
    - -
  • Type: boolean
  • - -
  • Since: 1.0
  • - -
  • Required: No
  • - -
  • User Property: hibernate.schema.skip
  • - -
  • Default: ${maven.test.skip}
  • -

-

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!

- -

Important: This configuration value can only be -configured through the pom.xml, or by the definition -of a system-property, because it is not known by Hibernate nor JPA -and, hence, not picked up from their configuration!

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

-

url:

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

-

username:

- -
Database username
- -
    - -
  • Type: java.lang.String
  • - -
  • Since: 1.0
  • - -
  • Required: No
  • - -
  • User Property: hibernate.connection.username
  • -
-
-
- - -
-
- - -
-
- -
- - - diff --git a/projects/hibernate-maven-plugin-2.0.0/force.html b/projects/hibernate-maven-plugin-2.0.0/force.html deleted file mode 100644 index e550cad..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/force.html +++ /dev/null @@ -1,171 +0,0 @@ - - - - - - - - - juplo - Hibernate Maven Plugin - Force Exceution - - - - - - - - - - - -
- - -
-
-

Force Exceution

- - - - -

- The hibernate-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.schema.skipped} to true. - This may be helpful, because other plugins like - dbunit-plugin - may fail, when the execution is skipped. -

- -

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

- -
-
-<plugin>
-  <groupId>de.juplo</groupId>
-  <artifactId>hibernate-maven-plugin</artifactId>
-  <version>2.0.0</version>
-  <configuration>
-    <force>true</force>
-  </configuration>
-</plugin>
- -

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

- - -
-
- - -
-
- -
- - - diff --git a/projects/hibernate-maven-plugin-2.0.0/help-mojo.html b/projects/hibernate-maven-plugin-2.0.0/help-mojo.html deleted file mode 100644 index a485443..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/help-mojo.html +++ /dev/null @@ -1,277 +0,0 @@ - - - - - - - - - juplo - Hibernate Maven Plugin – hibernate:help - - - - - - - - - - - -
- - -
-
-

hibernate:help

- - -
-

hibernate:help

- -

Full name:

- -

de.juplo:hibernate-maven-plugin:2.0.0:help

- -

Description:

- -
Display help information on hibernate-maven-plugin.
-Call mvn hibernate: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
  • -
-
-
- - -
-
- - -
-
- -
- - - diff --git a/projects/hibernate-maven-plugin-2.0.0/images/close.gif b/projects/hibernate-maven-plugin-2.0.0/images/close.gif deleted file mode 100644 index 1c26bbc..0000000 Binary files a/projects/hibernate-maven-plugin-2.0.0/images/close.gif and /dev/null differ diff --git a/projects/hibernate-maven-plugin-2.0.0/images/external.png b/projects/hibernate-maven-plugin-2.0.0/images/external.png deleted file mode 100644 index 3f999fc..0000000 Binary files a/projects/hibernate-maven-plugin-2.0.0/images/external.png and /dev/null differ diff --git a/projects/hibernate-maven-plugin-2.0.0/images/icon_error_sml.gif b/projects/hibernate-maven-plugin-2.0.0/images/icon_error_sml.gif deleted file mode 100644 index 61132ef..0000000 Binary files a/projects/hibernate-maven-plugin-2.0.0/images/icon_error_sml.gif and /dev/null differ diff --git a/projects/hibernate-maven-plugin-2.0.0/images/icon_info_sml.gif b/projects/hibernate-maven-plugin-2.0.0/images/icon_info_sml.gif deleted file mode 100644 index c6cb9ad..0000000 Binary files a/projects/hibernate-maven-plugin-2.0.0/images/icon_info_sml.gif and /dev/null differ diff --git a/projects/hibernate-maven-plugin-2.0.0/images/icon_success_sml.gif b/projects/hibernate-maven-plugin-2.0.0/images/icon_success_sml.gif deleted file mode 100644 index 52e85a4..0000000 Binary files a/projects/hibernate-maven-plugin-2.0.0/images/icon_success_sml.gif and /dev/null differ diff --git a/projects/hibernate-maven-plugin-2.0.0/images/icon_warning_sml.gif b/projects/hibernate-maven-plugin-2.0.0/images/icon_warning_sml.gif deleted file mode 100644 index 873bbb5..0000000 Binary files a/projects/hibernate-maven-plugin-2.0.0/images/icon_warning_sml.gif and /dev/null differ diff --git a/projects/hibernate-maven-plugin-2.0.0/images/newwindow.png b/projects/hibernate-maven-plugin-2.0.0/images/newwindow.png deleted file mode 100644 index 6287f72..0000000 Binary files a/projects/hibernate-maven-plugin-2.0.0/images/newwindow.png and /dev/null differ diff --git a/projects/hibernate-maven-plugin-2.0.0/index.html b/projects/hibernate-maven-plugin-2.0.0/index.html deleted file mode 100644 index fb2d1c1..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/index.html +++ /dev/null @@ -1,224 +0,0 @@ - - - - - - - - - juplo - Hibernate Maven Plugin – - - - - - - - - - - - -
- - -
-
-

- - - - -

Hibernate Maven Plugin

- -
-

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

- -

- The hibernate-maven-plugin is a plugin for generating a database-schema - from your Hibernate-Mappings and create or update your database - accordingly. - Its main usage is to automatically create and populate a test-database - for unit-tests in cooperation with the - dbunit-maven-plugin. -

- -

- The plugin was designed with three main goals in mind: -

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

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

- -

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

- -

- Last but not least, in order to not slow down the development cycle, the - hibernate-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 hibernate-maven-plugin. -

-
-
-

Documentation

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

Releases

- - -
- -
-
- - -
-
- -
- - - diff --git a/projects/hibernate-maven-plugin-2.0.0/integration.html b/projects/hibernate-maven-plugin-2.0.0/integration.html deleted file mode 100644 index 064a16b..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/integration.html +++ /dev/null @@ -1,188 +0,0 @@ - - - - - - - - - juplo - Hibernate Maven Plugin - Continuous Integration - - - - - - - - - - - -
- - -
-
-

Continuous Integration

-
-

Overview

-

This project uses Continuum.

-
-

Access

-

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

-
-
-

Notifiers

-

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

- - - - - - - - -
TypeAddressConfiguration
mailkai@juplo.de-
-
- -
- -
- - - diff --git a/projects/hibernate-maven-plugin-2.0.0/issue-tracking.html b/projects/hibernate-maven-plugin-2.0.0/issue-tracking.html deleted file mode 100644 index bc2b6ea..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/issue-tracking.html +++ /dev/null @@ -1,179 +0,0 @@ - - - - - - - - - juplo - Hibernate 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. -

- - -
- -
- -
- - - diff --git a/projects/hibernate-maven-plugin-2.0.0/license.html b/projects/hibernate-maven-plugin-2.0.0/license.html deleted file mode 100644 index 127e648..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/license.html +++ /dev/null @@ -1,380 +0,0 @@ - - - - - - - - - juplo - Hibernate Maven Plugin - Project License - - - - - - - - - - - -
- - -
-
-

Project License

-
-

Overview

-

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

-
-

Project License

-
-

The Apache Software License, Version 2.0

-

A business-friendly OSS license

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

- - -
- -
- -
- - - diff --git a/projects/hibernate-maven-plugin-2.0.0/pitfalls.html b/projects/hibernate-maven-plugin-2.0.0/pitfalls.html deleted file mode 100644 index 6cf710d..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/pitfalls.html +++ /dev/null @@ -1,389 +0,0 @@ - - - - - - - - - juplo - Hibernate Maven Plugin - Known Pitfalls (FAQ) - - - - - - - - - - - -
- - -
-
-

Known Pitfalls (FAQ)

- - - - -
-

Annotated classes in dependencies are not found.

- -

- hibernate-maven-plugin by default scans dependencies in the scope - compile. You can configure it to scan dependencies in other - scopes as well. But it scans only direct dependencies. Transitive - dependencies are not scanned for annotated classes. If some of your - annotated classes are hidden in a transitive dependency, you can simply - add that dependency explicitly. -

-
-
-

hibernate-maven-plugin always needs a database-connection

- -

- The default-configuration exports the created schema to the configured - database. - Therefore, it needs a valid database-connection and fails, if none is - available. - If you do not need to export the created schema to a database, - you can set the property hibernate.schema.export to - false. - This can be achieved with the command-line parameter - -Dhibernate.schema.export=false or with the following - configuration: -

- -
-
-<configuration>
-  <export>false</export>
-</configuration>
- -

- But even when no database is to be created, hibernate always needs to know - the dialect. Hence, the plugin will still fail, if this parameter is also - 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 hibernate-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.H2Dialect
-[INFO]   hibernate.connection.url = jdbc:h2:file:./db
-[INFO]   hibernate.hbm2dll.create_namespaces = false
-[INFO]   hibernate.connection.driver_class = org.h2.Driver
-[INFO]   hibernate.format_sql = true
-[INFO] HHH000412: Hibernate Core {5.0.2.Final}
-[INFO] HHH000206: hibernate.properties not found
-[INFO] HHH000021: Bytecode provider name : javassist
-[INFO] Adding /home/kai/project/target/classes to the list of roots to scan...
-[INFO] Adding dependencies from scope compile to the list of roots to scan
-[INFO] Adding dependencies from scope org.hibernate:hibernate-core:jar:4.3.0.Final to the list of roots to scan
-[INFO] Adding annotated resource: de.juplo.tests.SimplestMavenHib4Test
-[INFO] ------------------------------------------------------------------------
-[INFO] BUILD FAILURE
-[INFO] ------------------------------------------------------------------------
-[INFO] Total time: 1.760s
-[INFO] Finished at: Mon Mar 07 19:06:54 CET 2016
-[INFO] Final Memory: 11M/215M
-[INFO] ------------------------------------------------------------------------
-[ERROR] Failed to execute goal de.juplo:hibernate-maven-plugin:2.0.0:drop (default) on project hibernate4-properties-test: Could not open the JDBC-connection: Unable to load class [org.h2.Driver]: Could not load requested class : org.h2.Driver -> [Help 1]
-[ERROR] 
-[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
-[ERROR] Re-run Maven using the -X switch to enable full debug logging.
-[ERROR] 
-[ERROR] For more information about the errors and possible solutions, please read the following articles:
-[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
- -

- 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>hibernate-maven-plugin</artifactId>
-  <version>2.0.0</version>
-  <executions>
-    <execution>
-      <goals>
-        <goal>drop</goal>
-        <goal>create</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 hibernate was skipped because nothing has changed

- -

- If hibernate-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 hibernate-maven-plugin has - skipped its excecution. -

- -

- A quick fix to this problem is, to force - hibernate-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, hibernate-maven-plugin signals a skipped - excecution by setting the maven property ${hibernate.schema.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 - hibernate-maven-plugin was skipped like this: -

- -
-
-<plugin>
-  <groupId>org.codehaus.mojo</groupId>
-  <artifactId>dbunit-maven-plugin</artifactId>
-  <configuration>
-    <skip>${hibernate.schema.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 hibernate-maven-plugin, because it cannot detect, that - the database needs to be recreated. - This happens, because the plugin will not recreate the database if neither - the configuration nor the annotated classes have changed, because an - unnecessary drop-create-cycle might take a long time. The plugin will - report that like this: -

- -
-
-[INFO] No modified annotated classes found and dialect unchanged.
-[INFO] Skipping schema generation!
- -

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

- -
-
-mvn hibernate:create -Dhibernate.schema.force=true
-
-
-

The hibernate:create goal is not executed, when tests are skipped

- -

- The hibernate-maven-plugin automatically skips its execution, when - maven.test.skip is set to true. If you need it to be always - executed, you can configure that explicitly like this: -

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

- Background-information for this design-decission can be found on the extra - page To skip or not to skip: that is the question... -

-
-
-

I do not want my dependencies to be scanned for hibernate annotations

- -

- If you do not want your dependencies to be scanned for hibernate annotations, - you can pass -Dhibernate.schema.scan.dependencies=none to maven - or set scanDependencies to none in the configuration - of the plugin like this: -

- -
-
-<plugin>
-  <groupId>de.juplo</groupId>
-  <artifactId>hibernate-maven-plugin</artifactId>
-  ...
-  <configuration>
-    <scanDependencies>none</scanDependencies>
-  </configuration>
-</plugin>
-
-
-

No annotated classes found

- -

- If you are working under Windows and get the error-message - No annotated classes found in directory C:\projects\X Y Z\path-to-project\target\classes, - but you are really sure, that there are annotated classes in that - directory, you are expiriencing a bug, in the scannotation-library, that - was closed in version 1.1.0 of the hibernate-maven-plugin. -

- -

- - You should consider to upgrade to the latest version of the plugin. - -

-
- -
-
- - -
-
- -
- - - diff --git a/projects/hibernate-maven-plugin-2.0.0/plugin-info.html b/projects/hibernate-maven-plugin-2.0.0/plugin-info.html deleted file mode 100644 index f57b2cf..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/plugin-info.html +++ /dev/null @@ -1,221 +0,0 @@ - - - - - - - - - juplo - Hibernate Maven Plugin - Plugin Documentation - - - - - - - - - - - -
- - -
-
-

Plugin Documentation

-
-

Plugin Documentation

-

Goals available for this plugin:

- - - - - - - - - - - - -
GoalDescription
hibernate:createGoal which extracts the hibernate-mapping-configuration and exports -an according SQL-database-schema.
hibernate:dropGoal which extracts the hibernate-mapping-configuration and exports -an according SQL-database-schema.
hibernate:helpDisplay help information on hibernate-maven-plugin.
-Call mvn hibernate: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>hibernate-maven-plugin</artifactId>
-          <version>2.0.0</version>
-        </plugin>
-        ...
-      </plugins>
-    </pluginManagement>
-    <!-- To use the plugin goals in your POM or parent POM -->
-    <plugins>
-      <plugin>
-        <groupId>de.juplo</groupId>
-        <artifactId>hibernate-maven-plugin</artifactId>
-        <version>2.0.0</version>
-      </plugin>
-      ...
-    </plugins>
-  </build>
-  ...
-</project>
-
-

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

-
-
- - -
-
- -
- - - diff --git a/projects/hibernate-maven-plugin-2.0.0/plugin-management.html b/projects/hibernate-maven-plugin-2.0.0/plugin-management.html deleted file mode 100644 index 9daabca..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/plugin-management.html +++ /dev/null @@ -1,195 +0,0 @@ - - - - - - - - - juplo - Hibernate Maven Plugin - Plugin Management - - - - - - - - - - - -
- - -
- - -
- -
- - - diff --git a/projects/hibernate-maven-plugin-2.0.0/plugins.html b/projects/hibernate-maven-plugin-2.0.0/plugins.html deleted file mode 100644 index 8b01f95..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/plugins.html +++ /dev/null @@ -1,266 +0,0 @@ - - - - - - - - - juplo - Hibernate Maven Plugin - Project Plugins - - - - - - - - - - - -
- - -
-
-

Project Plugins

-
-

Project Build Plugins

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
GroupIdArtifactIdVersion
org.apache.maven.pluginsmaven-clean-plugin2.5
org.apache.maven.pluginsmaven-compiler-plugin3.3
org.apache.maven.pluginsmaven-dependency-plugin2.10
org.apache.maven.pluginsmaven-deploy-plugin2.7
org.apache.maven.pluginsmaven-enforcer-plugin1.2
org.apache.maven.pluginsmaven-gpg-plugin1.1
org.apache.maven.pluginsmaven-install-plugin2.3
org.apache.maven.pluginsmaven-invoker-plugin1.10
org.apache.maven.pluginsmaven-jar-plugin2.2
org.apache.maven.pluginsmaven-javadoc-plugin2.7
org.apache.maven.pluginsmaven-plugin-plugin3.4
org.apache.maven.pluginsmaven-resources-plugin2.7
org.apache.maven.pluginsmaven-scm-plugin1.9.4
org.apache.maven.pluginsmaven-site-plugin3.4
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.11
org.apache.maven.pluginsmaven-javadoc-plugin2.7
org.apache.maven.pluginsmaven-jxr-plugin2.5
org.apache.maven.pluginsmaven-plugin-plugin3.4
org.apache.maven.pluginsmaven-pmd-plugin3.4
-
- -
- -
- - - diff --git a/projects/hibernate-maven-plugin-2.0.0/pmd.html b/projects/hibernate-maven-plugin-2.0.0/pmd.html deleted file mode 100644 index 0817509..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/pmd.html +++ /dev/null @@ -1,215 +0,0 @@ - - - - - - - - - juplo - Hibernate Maven Plugin - PMD - - - - - - - - - - - -
- - -
-
-

PMD

-
-

PMD Results

-

The following document contains the results of PMD 5.2.3.

-
-

Files

-
-

de/juplo/plugins/hibernate/AbstractSchemaMojo.java

- - - - - - - - - - - - -
ViolationLine
Too many static imports may lead to messy code11178
Avoid unused method parameters such as 'path'.970
Avoid using a branching statement as the last in a loop.1173
-
-

de/juplo/plugins/hibernate/ModificationTracker.java

- - - - - - -
ViolationLine
Unnecessary use of fully qualified name 'java.security.MessageDigest.getInstance' due to existing import 'java.security.MessageDigest'60
-
-

de/juplo/plugins/hibernate/SimpleConnectionProvider.java

- - - - - - - - - - - - - - - -
ViolationLine
Too many static imports may lead to messy code1249
Unnecessary use of fully qualified name 'java.sql.Driver' due to existing import 'java.sql.Driver'168
Unnecessary use of fully qualified name 'java.sql.Connection' due to existing import 'java.sql.Connection'180
Unnecessary use of fully qualified name 'java.util.Properties' due to existing import 'java.util.Properties'182
-
-

de/juplo/plugins/hibernate/HelpMojo.java

- - - - - - - - - - - - -
ViolationLine
Useless parentheses.241
Useless parentheses.286
Useless parentheses.296
-
-
- - -
-
- -
- - - diff --git a/projects/hibernate-maven-plugin-2.0.0/project-info.html b/projects/hibernate-maven-plugin-2.0.0/project-info.html deleted file mode 100644 index 81caac4..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/project-info.html +++ /dev/null @@ -1,214 +0,0 @@ - - - - - - - - - juplo - Hibernate Maven Plugin - Project Information - - - - - - - - - - - -
- - -
-
-

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-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.
-
- -
- -
- - - diff --git a/projects/hibernate-maven-plugin-2.0.0/project-reports.html b/projects/hibernate-maven-plugin-2.0.0/project-reports.html deleted file mode 100644 index 11f6c4b..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/project-reports.html +++ /dev/null @@ -1,181 +0,0 @@ - - - - - - - - - juplo - Hibernate Maven Plugin - Project Reports - - - - - - - - - - - -
- - -
-
-

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
Test JavaDocsTest JavaDoc API documentation.
JavaDocsJavaDoc API documentation.
Source XrefHTML based, cross-reference version of Java source code.
Test Source XrefHTML based, cross-reference version of Java test source code.
CPDDuplicate code detection.
PMDVerification of coding rules.
Plugin DocumentationThis report provides goals and parameters documentation of a plugin.
-
-
- - -
-
- -
- - - diff --git a/projects/hibernate-maven-plugin-2.0.0/project-summary.html b/projects/hibernate-maven-plugin-2.0.0/project-summary.html deleted file mode 100644 index b9c9aea..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/project-summary.html +++ /dev/null @@ -1,209 +0,0 @@ - - - - - - - - - juplo - Hibernate Maven Plugin - Project Summary - - - - - - - - - - - -
- - -
-
-

Project Summary

-
-

Project Summary

-
-

Project Information

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

Project Organization

-

This project does not belong to an organization.

-
-

Build Information

- - - - - - - - - - - - - - - - - - -
FieldValue
GroupIdde.juplo
ArtifactIdhibernate-maven-plugin
Version2.0.0
Typemaven-plugin
JDK Rev1.6
-
- -
- -
- - - diff --git a/projects/hibernate-maven-plugin-2.0.0/skip.html b/projects/hibernate-maven-plugin-2.0.0/skip.html deleted file mode 100644 index cbb3866..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/skip.html +++ /dev/null @@ -1,193 +0,0 @@ - - - - - - - - - juplo - Hibernate Maven Plugin - Skipping Execution - - - - - - - - - - - -
- - -
-
-

Skipping Execution

- - - - -

- In most use-cases, the hibernate-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 drop-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 - hibernate-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, - 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>hibernate-maven-plugin</artifactId>
-  ...
-  <configuration>
-    <skip>false</skip>
-  </configuration>
-</plugin>
- -

- Or, if you want the plugin 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>hibernate-maven-plugin</artifactId>
-  ...
-  <configuration>
-    <skip>${foo.bar}</skip>
-  </configuration>
-</plugin>
- -

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

- - -
-
- - -
-
- -
- - - diff --git a/projects/hibernate-maven-plugin-2.0.0/source-repository.html b/projects/hibernate-maven-plugin-2.0.0/source-repository.html deleted file mode 100644 index fe27531..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/source-repository.html +++ /dev/null @@ -1,189 +0,0 @@ - - - - - - - - - juplo - Hibernate Maven Plugin - Source Repository - - - - - - - - - - - -
- - -
-
-

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/hibernate-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/hibernate-maven-plugin
-
-

Access from behind a firewall

-

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

-
- -
- -
- - - diff --git a/projects/hibernate-maven-plugin-2.0.0/team-list.html b/projects/hibernate-maven-plugin-2.0.0/team-list.html deleted file mode 100644 index 8aaafc0..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/team-list.html +++ /dev/null @@ -1,261 +0,0 @@ - - - - - - - - - juplo - Hibernate Maven Plugin - Project Team - - - - - - - - - - - -
- - -
-
-

Project Team

-
-

The Team

-

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

-

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

-
-

Members

-

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

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

Contributors

-

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

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ImageNameEmail
Adriano Machadoadriano.m.machado@hotmail.com
Lorenzo Nicoralorenzo.nicora@nicus.it
Eduard Szenteeduard.szente@gmail.com
Stephen Johnsonstejohns@redhat.com
Victor Tataivtatai@gmail.com
Erik-Berndt Schepererik.berndt.scheper@gmail.com
Guido WimmelWimmel.Guido@swm.de
Joel Johnsonmrjoel@lixil.net
Paul K. Moorepaulkmoore@gmail.com
Mark Robinsonmark@mrobinson.ca
Claus Grafclausgraf@gmail.com
Joachim Van der Auwerajoachim@progs.be
Andreas Kuhtzandreas.kuhtz@gmail.com
-
- -
- -
- - - diff --git a/projects/hibernate-maven-plugin-2.0.0/testapidocs/allclasses-frame.html b/projects/hibernate-maven-plugin-2.0.0/testapidocs/allclasses-frame.html deleted file mode 100644 index 33b9b6b..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/testapidocs/allclasses-frame.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - -All Classes (Hibernate Maven Plugin 2.0.0 Test API) - - - - - -

All Classes

-
- -
- - diff --git a/projects/hibernate-maven-plugin-2.0.0/testapidocs/allclasses-noframe.html b/projects/hibernate-maven-plugin-2.0.0/testapidocs/allclasses-noframe.html deleted file mode 100644 index b333c91..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/testapidocs/allclasses-noframe.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - -All Classes (Hibernate Maven Plugin 2.0.0 Test API) - - - - - -

All Classes

-
- -
- - diff --git a/projects/hibernate-maven-plugin-2.0.0/testapidocs/constant-values.html b/projects/hibernate-maven-plugin-2.0.0/testapidocs/constant-values.html deleted file mode 100644 index 22d78f0..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/testapidocs/constant-values.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Constant Field Values (Hibernate Maven Plugin 2.0.0 Test API) - - - - - - - - -
- - - - - - - -
- - -
-

Constant Field Values

-

Contents

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

Copyright © 2016. All Rights Reserved.

- - diff --git a/projects/hibernate-maven-plugin-2.0.0/testapidocs/de/juplo/test/FileComparator.html b/projects/hibernate-maven-plugin-2.0.0/testapidocs/de/juplo/test/FileComparator.html deleted file mode 100644 index cb9ac01..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/testapidocs/de/juplo/test/FileComparator.html +++ /dev/null @@ -1,280 +0,0 @@ - - - - - - -FileComparator (Hibernate Maven Plugin 2.0.0 Test API) - - - - - - - - -
- - - - - - - -
- - - -
-
de.juplo.test
-

Class FileComparator

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

Copyright © 2016. All Rights Reserved.

- - diff --git a/projects/hibernate-maven-plugin-2.0.0/testapidocs/de/juplo/test/class-use/FileComparator.html b/projects/hibernate-maven-plugin-2.0.0/testapidocs/de/juplo/test/class-use/FileComparator.html deleted file mode 100644 index 8bc7ce5..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/testapidocs/de/juplo/test/class-use/FileComparator.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Uses of Class de.juplo.test.FileComparator (Hibernate Maven Plugin 2.0.0 Test API) - - - - - - - - -
- - - - - - - -
- - -
-

Uses of Class
de.juplo.test.FileComparator

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

Copyright © 2016. All Rights Reserved.

- - diff --git a/projects/hibernate-maven-plugin-2.0.0/testapidocs/de/juplo/test/package-frame.html b/projects/hibernate-maven-plugin-2.0.0/testapidocs/de/juplo/test/package-frame.html deleted file mode 100644 index 4717ab2..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/testapidocs/de/juplo/test/package-frame.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - -de.juplo.test (Hibernate Maven Plugin 2.0.0 Test API) - - - - - -

de.juplo.test

-
-

Classes

- -
- - diff --git a/projects/hibernate-maven-plugin-2.0.0/testapidocs/de/juplo/test/package-summary.html b/projects/hibernate-maven-plugin-2.0.0/testapidocs/de/juplo/test/package-summary.html deleted file mode 100644 index 25070f3..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/testapidocs/de/juplo/test/package-summary.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - -de.juplo.test (Hibernate Maven Plugin 2.0.0 Test API) - - - - - - - - -
- - - - - - - -
- - -
-

Package de.juplo.test

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

Copyright © 2016. All Rights Reserved.

- - diff --git a/projects/hibernate-maven-plugin-2.0.0/testapidocs/de/juplo/test/package-tree.html b/projects/hibernate-maven-plugin-2.0.0/testapidocs/de/juplo/test/package-tree.html deleted file mode 100644 index cc367b1..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/testapidocs/de/juplo/test/package-tree.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - -de.juplo.test Class Hierarchy (Hibernate Maven Plugin 2.0.0 Test API) - - - - - - - - -
- - - - - - - -
- - -
-

Hierarchy For Package de.juplo.test

-
-
-

Class Hierarchy

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

Copyright © 2016. All Rights Reserved.

- - diff --git a/projects/hibernate-maven-plugin-2.0.0/testapidocs/de/juplo/test/package-use.html b/projects/hibernate-maven-plugin-2.0.0/testapidocs/de/juplo/test/package-use.html deleted file mode 100644 index 424a0c3..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/testapidocs/de/juplo/test/package-use.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Uses of Package de.juplo.test (Hibernate Maven Plugin 2.0.0 Test API) - - - - - - - - -
- - - - - - - -
- - -
-

Uses of Package
de.juplo.test

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

Copyright © 2016. All Rights Reserved.

- - diff --git a/projects/hibernate-maven-plugin-2.0.0/testapidocs/deprecated-list.html b/projects/hibernate-maven-plugin-2.0.0/testapidocs/deprecated-list.html deleted file mode 100644 index a51349d..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/testapidocs/deprecated-list.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Deprecated List (Hibernate Maven Plugin 2.0.0 Test API) - - - - - - - - -
- - - - - - - -
- - -
-

Deprecated API

-

Contents

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

Copyright © 2016. All Rights Reserved.

- - diff --git a/projects/hibernate-maven-plugin-2.0.0/testapidocs/help-doc.html b/projects/hibernate-maven-plugin-2.0.0/testapidocs/help-doc.html deleted file mode 100644 index 7098ee5..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/testapidocs/help-doc.html +++ /dev/null @@ -1,225 +0,0 @@ - - - - - - -API Help (Hibernate Maven Plugin 2.0.0 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 © 2016. All Rights Reserved.

- - diff --git a/projects/hibernate-maven-plugin-2.0.0/testapidocs/index-all.html b/projects/hibernate-maven-plugin-2.0.0/testapidocs/index-all.html deleted file mode 100644 index d5e284b..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/testapidocs/index-all.html +++ /dev/null @@ -1,147 +0,0 @@ - - - - - - -Index (Hibernate Maven Plugin 2.0.0 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 © 2016. All Rights Reserved.

- - diff --git a/projects/hibernate-maven-plugin-2.0.0/testapidocs/index.html b/projects/hibernate-maven-plugin-2.0.0/testapidocs/index.html deleted file mode 100644 index 20ff671..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/testapidocs/index.html +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - -Hibernate Maven Plugin 2.0.0 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-2.0.0/testapidocs/options b/projects/hibernate-maven-plugin-2.0.0/testapidocs/options deleted file mode 100644 index cf2c184..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/testapidocs/options +++ /dev/null @@ -1,35 +0,0 @@ --classpath -'/home/kai/juplo/hibernate4-maven-plugin/target/checkout/target/classes:/home/kai/juplo/hibernate4-maven-plugin/target/checkout/target/test-classes:/home/kai/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar:/home/kai/.m2/repository/org/eclipse/sisu/org.eclipse.sisu.inject/0.3.0/org.eclipse.sisu.inject-0.3.0.jar:/home/kai/.m2/repository/org/eclipse/aether/aether-util/1.0.2.v20150114/aether-util-1.0.2.v20150114.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/hibernate/hibernate-entitymanager/5.0.2.Final/hibernate-entitymanager-5.0.2.Final.jar:/home/kai/.m2/repository/org/apache/maven/maven-core/3.3.3/maven-core-3.3.3.jar:/home/kai/.m2/repository/org/apache/maven/maven-model-builder/3.3.3/maven-model-builder-3.3.3.jar:/home/kai/.m2/repository/org/apache/maven/maven-settings-builder/3.3.3/maven-settings-builder-3.3.3.jar:/home/kai/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar:/home/kai/.m2/repository/javax/inject/javax.inject/1/javax.inject-1.jar:/home/kai/.m2/repository/org/codehaus/plexus/plexus-classworlds/2.5.2/plexus-classworlds-2.5.2.jar:/home/kai/.m2/repository/org/eclipse/aether/aether-spi/1.0.2.v20150114/aether-spi-1.0.2.v20150114.jar:/home/kai/.m2/repository/org/apache/maven/maven-builder-support/3.3.3/maven-builder-support-3.3.3.jar:/home/kai/.m2/repository/org/apache/maven/maven-repository-metadata/3.3.3/maven-repository-metadata-3.3.3.jar:/home/kai/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar:/home/kai/.m2/repository/org/hibernate/javax/persistence/hibernate-jpa-2.1-api/1.0.0.Final/hibernate-jpa-2.1-api-1.0.0.Final.jar:/home/kai/.m2/repository/de/juplo/scannotation/1.0.4/scannotation-1.0.4.jar:/home/kai/.m2/repository/javax/el/javax.el-api/3.0.0/javax.el-api-3.0.0.jar:/home/kai/.m2/repository/org/apache/geronimo/specs/geronimo-jta_1.1_spec/1.1.1/geronimo-jta_1.1_spec-1.1.1.jar:/home/kai/.m2/repository/javax/enterprise/cdi-api/1.0/cdi-api-1.0.jar:/home/kai/.m2/repository/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar:/home/kai/.m2/repository/org/javassist/javassist/3.18.1-GA/javassist-3.18.1-GA.jar:/home/kai/.m2/repository/org/eclipse/sisu/org.eclipse.sisu.plexus/0.3.0/org.eclipse.sisu.plexus-0.3.0.jar:/home/kai/.m2/repository/com/google/guava/guava/18.0/guava-18.0.jar:/home/kai/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar:/home/kai/.m2/repository/org/apache/maven/maven-model/3.3.3/maven-model-3.3.3.jar:/home/kai/.m2/repository/org/eclipse/aether/aether-api/1.0.2.v20150114/aether-api-1.0.2.v20150114.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/apache/maven/maven-settings/3.3.3/maven-settings-3.3.3.jar:/home/kai/.m2/repository/antlr/antlr/2.7.7/antlr-2.7.7.jar:/home/kai/.m2/repository/org/jboss/jandex/1.2.2.Final/jandex-1.2.2.Final.jar:/home/kai/.m2/repository/org/hibernate/hibernate-envers/5.0.2.Final/hibernate-envers-5.0.2.Final.jar:/home/kai/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar:/home/kai/.m2/repository/org/hibernate/common/hibernate-commons-annotations/5.0.0.Final/hibernate-commons-annotations-5.0.0.Final.jar:/home/kai/.m2/repository/org/hibernate/hibernate-validator/5.2.2.Final/hibernate-validator-5.2.2.Final.jar:/home/kai/.m2/repository/org/apache/maven/maven-aether-provider/3.3.3/maven-aether-provider-3.3.3.jar:/home/kai/.m2/repository/org/apache/maven/maven-plugin-api/3.3.3/maven-plugin-api-3.3.3.jar:/home/kai/.m2/repository/log4j/log4j/1.2.14/log4j-1.2.14.jar:/home/kai/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.21/plexus-interpolation-1.21.jar:/home/kai/.m2/repository/org/hibernate/hibernate-core/5.0.2.Final/hibernate-core-5.0.2.Final.jar:/home/kai/.m2/repository/org/apache/maven/maven-artifact/3.3.3/maven-artifact-3.3.3.jar:/home/kai/.m2/repository/com/fasterxml/classmate/1.1.0/classmate-1.1.0.jar:/home/kai/.m2/repository/org/sonatype/sisu/sisu-guice/3.2.5/sisu-guice-3.2.5-no_aop.jar:/home/kai/.m2/repository/javax/validation/validation-api/1.1.0.Final/validation-api-1.1.0.Final.jar:/home/kai/.m2/repository/org/eclipse/aether/aether-impl/1.0.2.v20150114/aether-impl-1.0.2.v20150114.jar:/home/kai/.m2/repository/org/jboss/logging/jboss-logging/3.3.0.Final/jboss-logging-3.3.0.Final.jar' --encoding -'UTF-8' --protected --sourcepath -'/home/kai/juplo/hibernate4-maven-plugin/target/checkout/src/test/java:/home/kai/juplo/hibernate4-maven-plugin/target/checkout/target/generated-test-sources/test-annotations' --Xdoclint:none --author --bottom -'Copyright © 2016. All Rights Reserved.' --charset -'UTF-8' --d -'/home/kai/juplo/hibernate4-maven-plugin/target/checkout/target/site/testapidocs' --docencoding -'UTF-8' --doctitle -'Hibernate Maven Plugin 2.0.0 Test API' --link -'http://java.sun.com/javase/6/docs/api' --tag -"goal:a:Goal:" --tag -"phase:a:Phase:" --tag -"threadSafe:a:Thread Safe:" --tag -"requiresDependencyResolution:a:Requires Dependency Resolution:" --tag -"requiresProject:a:Requires Project:" --use --version --windowtitle -'Hibernate Maven Plugin 2.0.0 Test API' \ No newline at end of file diff --git a/projects/hibernate-maven-plugin-2.0.0/testapidocs/overview-tree.html b/projects/hibernate-maven-plugin-2.0.0/testapidocs/overview-tree.html deleted file mode 100644 index 95c97c9..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/testapidocs/overview-tree.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - -Class Hierarchy (Hibernate Maven Plugin 2.0.0 Test API) - - - - - - - - -
- - - - - - - -
- - -
-

Hierarchy For All Packages

-Package Hierarchies: - -
-
-

Class Hierarchy

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

Copyright © 2016. All Rights Reserved.

- - diff --git a/projects/hibernate-maven-plugin-2.0.0/testapidocs/package-list b/projects/hibernate-maven-plugin-2.0.0/testapidocs/package-list deleted file mode 100644 index 4774195..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/testapidocs/package-list +++ /dev/null @@ -1 +0,0 @@ -de.juplo.test diff --git a/projects/hibernate-maven-plugin-2.0.0/testapidocs/packages b/projects/hibernate-maven-plugin-2.0.0/testapidocs/packages deleted file mode 100644 index 8fbea68..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/testapidocs/packages +++ /dev/null @@ -1 +0,0 @@ -de.juplo.test \ No newline at end of file diff --git a/projects/hibernate-maven-plugin-2.0.0/testapidocs/script.js b/projects/hibernate-maven-plugin-2.0.0/testapidocs/script.js deleted file mode 100644 index b346356..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/testapidocs/script.js +++ /dev/null @@ -1,30 +0,0 @@ -function show(type) -{ - count = 0; - for (var key in methods) { - var row = document.getElementById(key); - if ((methods[key] & type) != 0) { - row.style.display = ''; - row.className = (count++ % 2) ? rowColor : altColor; - } - else - row.style.display = 'none'; - } - updateTabs(type); -} - -function updateTabs(type) -{ - for (var value in tabs) { - var sNode = document.getElementById(tabs[value][0]); - var spanNode = sNode.firstChild; - if (value == type) { - sNode.className = activeTableTab; - spanNode.innerHTML = tabs[value][1]; - } - else { - sNode.className = tableTab; - spanNode.innerHTML = "" + tabs[value][1] + ""; - } - } -} diff --git a/projects/hibernate-maven-plugin-2.0.0/testapidocs/stylesheet.css b/projects/hibernate-maven-plugin-2.0.0/testapidocs/stylesheet.css deleted file mode 100644 index 98055b2..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/testapidocs/stylesheet.css +++ /dev/null @@ -1,574 +0,0 @@ -/* Javadoc style sheet */ -/* -Overall document style -*/ - -@import url('resources/fonts/dejavu.css'); - -body { - background-color:#ffffff; - color:#353833; - font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; - font-size:14px; - margin:0; -} -a:link, a:visited { - text-decoration:none; - color:#4A6782; -} -a:hover, a:focus { - text-decoration:none; - color:#bb7a2a; -} -a:active { - text-decoration:none; - color:#4A6782; -} -a[name] { - color:#353833; -} -a[name]:hover { - text-decoration:none; - color:#353833; -} -pre { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; -} -h1 { - font-size:20px; -} -h2 { - font-size:18px; -} -h3 { - font-size:16px; - font-style:italic; -} -h4 { - font-size:13px; -} -h5 { - font-size:12px; -} -h6 { - font-size:11px; -} -ul { - list-style-type:disc; -} -code, tt { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; - margin-top:8px; - line-height:1.4em; -} -dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; -} -table tr td dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - vertical-align:top; - padding-top:4px; -} -sup { - font-size:8px; -} -/* -Document title and Copyright styles -*/ -.clear { - clear:both; - height:0px; - overflow:hidden; -} -.aboutLanguage { - float:right; - padding:0px 21px; - font-size:11px; - z-index:200; - margin-top:-9px; -} -.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; - color:#ffffff; - padding:8px; - width:5em; - font-weight:bold; -} -/* -Navigation bar styles -*/ -.bar { - background-color:#4D7A97; - color:#FFFFFF; - padding:.8em .5em .4em .8em; - height:auto;/*height:1.8em;*/ - font-size:11px; - margin:0; -} -.topNav { - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.bottomNav { - margin-top:10px; - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.subNav { - background-color:#dee3e9; - float:left; - width:100%; - overflow:hidden; - font-size:12px; -} -.subNav div { - clear:left; - float:left; - padding:0 0 5px 6px; - text-transform:uppercase; -} -ul.navList, ul.subNavList { - float:left; - margin:0 25px 0 0; - padding:0; -} -ul.navList li{ - list-style:none; - float:left; - padding: 5px 6px; - text-transform:uppercase; -} -ul.subNavList li{ - list-style:none; - float:left; -} -.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { - color:#FFFFFF; - text-decoration:none; - text-transform:uppercase; -} -.topNav a:hover, .bottomNav a:hover { - text-decoration:none; - color:#bb7a2a; - text-transform:uppercase; -} -.navBarCell1Rev { - background-color:#F8981D; - color:#253441; - margin: auto 5px; -} -.skipNav { - position:absolute; - top:auto; - left:-9999px; - overflow:hidden; -} -/* -Page header and footer styles -*/ -.header, .footer { - clear:both; - margin:0 20px; - padding:5px 0 0 0; -} -.indexHeader { - margin:10px; - position:relative; -} -.indexHeader span{ - margin-right:15px; -} -.indexHeader h1 { - font-size:13px; -} -.title { - color:#2c4557; - margin:10px 0; -} -.subTitle { - margin:5px 0 0 0; -} -.header ul { - margin:0 0 15px 0; - padding:0; -} -.footer ul { - margin:20px 0 5px 0; -} -.header ul li, .footer ul li { - list-style:none; - font-size:13px; -} -/* -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:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList ul.blockList li.blockList h3 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 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:12px; -} -.indexContainer h2 { - font-size:13px; - padding:0 0 3px 0; -} -.indexContainer ul { - margin:0; - padding:0; -} -.indexContainer ul li { - list-style:none; - padding-top:2px; -} -.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { - font-size:12px; - font-weight:bold; - margin:10px 0 0 0; - color:#4E4E4E; -} -.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { - margin:5px 0 10px 0px; - font-size:14px; - font-family:'DejaVu Sans Mono',monospace; -} -.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:15px; - line-height:1.4; -} -ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { - padding:0px 20px 5px 10px; - border:1px solid #ededed; - background-color:#f8f8f8; -} -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:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { - margin-left:0; - padding-left:0; - padding-bottom:15px; - border:none; -} -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 -*/ -.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { - width:100%; - border-left:1px solid #EEE; - border-right:1px solid #EEE; - border-bottom:1px solid #EEE; -} -.overviewSummary, .memberSummary { - padding:0px; -} -.overviewSummary caption, .memberSummary caption, .typeSummary caption, -.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { - position:relative; - text-align:left; - background-repeat:no-repeat; - color:#253441; - font-weight:bold; - clear:none; - overflow:hidden; - padding:0px; - padding-top:10px; - padding-left:1px; - margin:0px; - white-space:pre; -} -.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, -.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, -.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, -.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, -.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, -.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, -.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, -.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { - color:#FFFFFF; -} -.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, -.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - padding-bottom:7px; - display:inline-block; - float:left; - background-color:#F8981D; - border: none; - height:16px; -} -.memberSummary caption span.activeTableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#F8981D; - height:16px; -} -.memberSummary caption span.tableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#4D7A97; - height:16px; -} -.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { - padding-top:0px; - padding-left:0px; - padding-right:0px; - background-image:none; - float:none; - display:inline; -} -.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, -.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { - display:none; - width:5px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .activeTableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .tableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - background-color:#4D7A97; - float:left; - -} -.overviewSummary td, .memberSummary td, .typeSummary td, -.useSummary td, .constantsSummary td, .deprecatedSummary td { - text-align:left; - padding:0px 0px 12px 10px; -} -th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, -td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ - vertical-align:top; - padding-right:0px; - padding-top:8px; - padding-bottom:3px; -} -th.colFirst, th.colLast, th.colOne, .constantsSummary th { - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} -td.colFirst, th.colFirst { - white-space:nowrap; - font-size:13px; -} -td.colLast, th.colLast { - font-size:13px; -} -td.colOne, th.colOne { - font-size:13px; -} -.overviewSummary td.colFirst, .overviewSummary th.colFirst, -.useSummary td.colFirst, .useSummary th.colFirst, -.overviewSummary td.colOne, .overviewSummary th.colOne, -.memberSummary td.colFirst, .memberSummary th.colFirst, -.memberSummary td.colOne, .memberSummary th.colOne, -.typeSummary td.colFirst{ - width:25%; - vertical-align:top; -} -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; -} -.tableSubHeadingColor { - background-color:#EEEEFF; -} -.altColor { - background-color:#FFFFFF; -} -.rowColor { - background-color:#EEEEEF; -} -/* -Content styles -*/ -.description pre { - margin-top:0; -} -.deprecatedContent { - margin:0; - padding:10px 0; -} -.docSummary { - padding:0; -} - -ul.blockList ul.blockList ul.blockList li.blockList h3 { - font-style:normal; -} - -div.block { - font-size:14px; - font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; -} - -td.colLast div { - padding-top:0px; -} - - -td.colLast a { - padding-bottom:3px; -} -/* -Formatting effect styles -*/ -.sourceLineNo { - color:green; - padding:0 30px 0 0; -} -h1.hidden { - visibility:hidden; - overflow:hidden; - font-size:10px; -} -.block { - display:block; - margin:3px 10px 2px 0px; - color:#474747; -} -.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, -.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, -.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { - font-weight:bold; -} -.deprecationComment, .emphasizedPhrase, .interfaceName { - font-style:italic; -} - -div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, -div.block div.block span.interfaceName { - font-style:normal; -} - -div.contentContainer ul.blockList li.blockList h2{ - padding-bottom:0px; -} diff --git a/projects/hibernate-maven-plugin-2.0.0/xref-test/allclasses-frame.html b/projects/hibernate-maven-plugin-2.0.0/xref-test/allclasses-frame.html deleted file mode 100644 index 8253aeb..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/xref-test/allclasses-frame.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - All Classes - - - - -

All Classes

- - - - - diff --git a/projects/hibernate-maven-plugin-2.0.0/xref-test/de/juplo/test/FileComparator.html b/projects/hibernate-maven-plugin-2.0.0/xref-test/de/juplo/test/FileComparator.html deleted file mode 100644 index 15fac22..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/xref-test/de/juplo/test/FileComparator.html +++ /dev/null @@ -1,70 +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/hibernate-maven-plugin-2.0.0/xref-test/de/juplo/test/package-frame.html b/projects/hibernate-maven-plugin-2.0.0/xref-test/de/juplo/test/package-frame.html deleted file mode 100644 index 9ea5ede..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/xref-test/de/juplo/test/package-frame.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - Hibernate Maven Plugin 2.0.0 Reference Package de.juplo.test - - - - -

- de.juplo.test -

- -

Classes

- - - - - \ No newline at end of file diff --git a/projects/hibernate-maven-plugin-2.0.0/xref-test/de/juplo/test/package-summary.html b/projects/hibernate-maven-plugin-2.0.0/xref-test/de/juplo/test/package-summary.html deleted file mode 100644 index d3e73e1..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/xref-test/de/juplo/test/package-summary.html +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - Hibernate Maven Plugin 2.0.0 Reference Package de.juplo.test - - - -
- -
-
- -
- -

Package de.juplo.test

- - - - - - - - - - - - -
Class Summary
- FileComparator -
- -
- -
-
- -
-
- - - \ No newline at end of file diff --git a/projects/hibernate-maven-plugin-2.0.0/xref-test/index.html b/projects/hibernate-maven-plugin-2.0.0/xref-test/index.html deleted file mode 100644 index cc2b557..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/xref-test/index.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - Hibernate Maven Plugin 2.0.0 Reference - - - - - - - - - <body> - <h1>Frame Alert</h1> - <p> - You don't have frames. Go <a href="overview-summary.html">here</a> - </p> - </body> - - - - diff --git a/projects/hibernate-maven-plugin-2.0.0/xref-test/overview-frame.html b/projects/hibernate-maven-plugin-2.0.0/xref-test/overview-frame.html deleted file mode 100644 index fbdb7d7..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/xref-test/overview-frame.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - Hibernate Maven Plugin 2.0.0 Reference - - - - -

- All Classes -

- -

Packages

- - - - - - diff --git a/projects/hibernate-maven-plugin-2.0.0/xref-test/overview-summary.html b/projects/hibernate-maven-plugin-2.0.0/xref-test/overview-summary.html deleted file mode 100644 index ba82dc5..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/xref-test/overview-summary.html +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - Hibernate Maven Plugin 2.0.0 Reference - - - -
- -
-
- -
- -

Hibernate Maven Plugin 2.0.0 Reference

- - - - - - - - - - - - -
Packages
- de.juplo.test -
- -
- -
-
- -
- -
- - - \ No newline at end of file diff --git a/projects/hibernate-maven-plugin-2.0.0/xref-test/stylesheet.css b/projects/hibernate-maven-plugin-2.0.0/xref-test/stylesheet.css deleted file mode 100644 index 89732f8..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/xref-test/stylesheet.css +++ /dev/null @@ -1,114 +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; -} - -#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-2.0.0/xref/allclasses-frame.html b/projects/hibernate-maven-plugin-2.0.0/xref/allclasses-frame.html deleted file mode 100644 index 563b5e9..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/xref/allclasses-frame.html +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - All Classes - - - - -

All Classes

- - - - - diff --git a/projects/hibernate-maven-plugin-2.0.0/xref/de/juplo/plugins/hibernate/AbstractSchemaMojo.html b/projects/hibernate-maven-plugin-2.0.0/xref/de/juplo/plugins/hibernate/AbstractSchemaMojo.html deleted file mode 100644 index 16fa7a9..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/xref/de/juplo/plugins/hibernate/AbstractSchemaMojo.html +++ /dev/null @@ -1,1191 +0,0 @@ - - - -AbstractSchemaMojo xref - - - -
View Javadoc
-1   package de.juplo.plugins.hibernate;
-2   
-3   
-4   import com.pyx4j.log4j.MavenLogAppender;
-5   import java.io.File;
-6   import java.io.FileInputStream;
-7   import java.io.IOException;
-8   import java.io.InputStream;
-9   import java.net.MalformedURLException;
-10  import java.net.URL;
-11  import java.security.NoSuchAlgorithmException;
-12  import java.util.Collections;
-13  import java.util.HashSet;
-14  import java.util.Iterator;
-15  import java.util.LinkedHashSet;
-16  import java.util.List;
-17  import java.util.Map;
-18  import java.util.Map.Entry;
-19  import java.util.Properties;
-20  import java.util.Set;
-21  import java.util.regex.Matcher;
-22  import java.util.regex.Pattern;
-23  import javax.persistence.Embeddable;
-24  import javax.persistence.Entity;
-25  import javax.persistence.MappedSuperclass;
-26  import javax.persistence.spi.PersistenceUnitTransactionType;
-27  import org.apache.maven.artifact.Artifact;
-28  import org.apache.maven.model.Resource;
-29  import org.apache.maven.plugin.AbstractMojo;
-30  import org.apache.maven.plugin.MojoExecutionException;
-31  import org.apache.maven.plugin.MojoFailureException;
-32  import org.apache.maven.project.MavenProject;
-33  import org.hibernate.boot.MetadataBuilder;
-34  import org.hibernate.boot.MetadataSources;
-35  import org.hibernate.boot.cfgxml.internal.ConfigLoader;
-36  import org.hibernate.boot.cfgxml.spi.LoadedConfig;
-37  import org.hibernate.boot.cfgxml.spi.MappingReference;
-38  import org.hibernate.boot.model.naming.ImplicitNamingStrategy;
-39  import org.hibernate.boot.model.naming.PhysicalNamingStrategy;
-40  import org.hibernate.boot.registry.BootstrapServiceRegistry;
-41  import org.hibernate.boot.registry.BootstrapServiceRegistryBuilder;
-42  import org.hibernate.boot.registry.StandardServiceRegistry;
-43  import org.hibernate.boot.registry.StandardServiceRegistryBuilder;
-44  import org.hibernate.boot.registry.classloading.spi.ClassLoaderService;
-45  import org.hibernate.boot.registry.classloading.spi.ClassLoadingException;
-46  import org.hibernate.boot.registry.selector.spi.StrategySelector;
-47  import org.hibernate.boot.spi.MetadataImplementor;
-48  import static org.hibernate.cfg.AvailableSettings.DIALECT;
-49  import static org.hibernate.cfg.AvailableSettings.DRIVER;
-50  import static org.hibernate.cfg.AvailableSettings.FORMAT_SQL;
-51  import static org.hibernate.cfg.AvailableSettings.HBM2DLL_CREATE_NAMESPACES;
-52  import static org.hibernate.cfg.AvailableSettings.IMPLICIT_NAMING_STRATEGY;
-53  import static org.hibernate.cfg.AvailableSettings.PASS;
-54  import static org.hibernate.cfg.AvailableSettings.PHYSICAL_NAMING_STRATEGY;
-55  import static org.hibernate.cfg.AvailableSettings.SHOW_SQL;
-56  import static org.hibernate.cfg.AvailableSettings.USER;
-57  import static org.hibernate.cfg.AvailableSettings.URL;
-58  import org.hibernate.engine.jdbc.connections.spi.ConnectionProvider;
-59  import org.hibernate.internal.util.config.ConfigurationException;
-60  import static org.hibernate.jpa.AvailableSettings.JDBC_DRIVER;
-61  import static org.hibernate.jpa.AvailableSettings.JDBC_PASSWORD;
-62  import static org.hibernate.jpa.AvailableSettings.JDBC_URL;
-63  import static org.hibernate.jpa.AvailableSettings.JDBC_USER;
-64  import org.hibernate.jpa.boot.internal.ParsedPersistenceXmlDescriptor;
-65  import org.hibernate.jpa.boot.internal.PersistenceXmlParser;
-66  import org.hibernate.jpa.boot.spi.ProviderChecker;
-67  import org.scannotation.AnnotationDB;
-68  
-69  
-70  /**
-71   * Baseclass with common attributes and methods.
-72   *
-73   * @phase process-classes
-74   * @threadSafe
-75   * @requiresDependencyResolution runtime
-76   */
-77  public abstract class AbstractSchemaMojo extends AbstractMojo
-78  {
-79    public final static String EXPORT = "hibernate.schema.export";
-80    public final static String DELIMITER = "hibernate.schema.delimiter";
-81    public final static String OUTPUTDIRECTORY = "project.build.outputDirectory";
-82    public final static String SCAN_CLASSES = "hibernate.schema.scan.classes";
-83    public final static String SCAN_DEPENDENCIES = "hibernate.schema.scan.dependencies";
-84    public final static String SCAN_TESTCLASSES = "hibernate.schema.scan.test_classes";
-85    public final static String TEST_OUTPUTDIRECTORY = "project.build.testOutputDirectory";
-86    public final static String SKIPPED = "hibernate.schema.skipped";
-87  
-88    private final static Pattern SPLIT = Pattern.compile("[^,\\s]+");
-89  
-90    private final Set<String> packages = new HashSet<String>();
-91  
-92    /**
-93     * The maven project.
-94     * <p>
-95     * Only needed internally.
-96     *
-97     * @parameter property="project"
-98     * @required
-99     * @readonly
-100    */
-101   private MavenProject project;
-102 
-103   /**
-104    * Build-directory.
-105    * <p>
-106    * Only needed internally.
-107    *
-108    * @parameter property="project.build.directory"
-109    * @required
-110    * @readonly
-111    */
-112   String buildDirectory;
-113 
-114 
-115   /** Parameters to configure the genaration of the SQL *********************/
-116 
-117   /**
-118    * Export the database-schma to the database.
-119    * If set to <code>false</code>, only the SQL-script is created and the
-120    * database is not touched.
-121    * <p>
-122    * <strong>Important:</strong>
-123    * This configuration value can only be configured through the
-124    * <code>pom.xml</code>, or by the definition of a system-property, because
-125    * it is not known by Hibernate nor JPA and, hence, not picked up from
-126    * their configuration!
-127    *
-128    * @parameter property="hibernate.schema.export" default-value="true"
-129    * @since 2.0
-130    */
-131   Boolean export;
-132 
-133   /**
-134    * Skip execution
-135    * <p>
-136    * If set to <code>true</code>, the execution is skipped.
-137    * <p>
-138    * A skipped execution is signaled via the maven-property
-139    * <code>${hibernate.schema.skipped}</code>.
-140    * <p>
-141    * The execution is skipped automatically, if no modified or newly added
-142    * annotated classes are found and the dialect was not changed.
-143    * <p>
-144    * <strong>Important:</strong>
-145    * This configuration value can only be configured through the
-146    * <code>pom.xml</code>, or by the definition of a system-property, because
-147    * it is not known by Hibernate nor JPA and, hence, not picked up from
-148    * their configuration!
-149    *
-150    * @parameter property="hibernate.schema.skip" default-value="${maven.test.skip}"
-151    * @since 1.0
-152    */
-153   private boolean skip;
-154 
-155   /**
-156    * Force execution
-157    * <p>
-158    * Force execution, even if no modified or newly added annotated classes
-159    * where found and the dialect was not changed.
-160    * <p>
-161    * <code>skip</code> takes precedence over <code>force</code>.
-162    * <p>
-163    * <strong>Important:</strong>
-164    * This configuration value can only be configured through the
-165    * <code>pom.xml</code>, or by the definition of a system-property, because
-166    * it is not known by Hibernate nor JPA and, hence, not picked up from
-167    * their configuration!
-168    *
-169    * @parameter property="hibernate.schema.force" default-value="false"
-170    * @since 1.0
-171    */
-172   private boolean force;
-173 
-174   /**
-175    * Hibernate dialect.
-176    *
-177    * @parameter property="hibernate.dialect"
-178    * @since 1.0
-179    */
-180   private String dialect;
-181 
-182   /**
-183    * Delimiter in output-file.
-184    * <p>
-185    * <strong>Important:</strong>
-186    * This configuration value can only be configured through the
-187    * <code>pom.xml</code>, or by the definition of a system-property, because
-188    * it is not known by Hibernate nor JPA and, hence, not picked up from
-189    * their configuration!
-190    *
-191    * @parameter property="hibernate.schema.delimiter" default-value=";"
-192    * @since 1.0
-193    */
-194   String delimiter;
-195 
-196   /**
-197    * Show the generated SQL in the command-line output.
-198    *
-199    * @parameter property="hibernate.show_sql"
-200    * @since 1.0
-201    */
-202   Boolean show;
-203 
-204   /**
-205    * Format output-file.
-206    *
-207    * @parameter property="hibernate.format_sql"
-208    * @since 1.0
-209    */
-210   Boolean format;
-211 
-212   /**
-213    * Specifies whether to automatically create also the database schema/catalog.
-214    *
-215    * @parameter property="hibernate.hbm2dll.create_namespaces" default-value="false"
-216    * @since 2.0
-217    */
-218   Boolean createNamespaces;
-219 
-220   /**
-221    * Implicit naming strategy
-222    *
-223    * @parameter property="hibernate.implicit_naming_strategy"
-224    * @since 2.0
-225    */
-226   private String implicitNamingStrategy;
-227 
-228   /**
-229    * Physical naming strategy
-230    *
-231    * @parameter property="hibernate.physical_naming_strategy"
-232    * @since 2.0
-233    */
-234   private String physicalNamingStrategy;
-235 
-236   /**
-237    * Wether the project should be scanned for annotated-classes, or not
-238    * <p>
-239    * This parameter is intended to allow overwriting of the parameter
-240    * <code>exclude-unlisted-classes</code> of a <code>persistence-unit</code>.
-241    * If not specified, it defaults to <code>true</code>
-242    *
-243    * @parameter property="hibernate.schema.scan.classes"
-244    * @since 2.0
-245    */
-246   private Boolean scanClasses;
-247 
-248   /**
-249    * Classes-Directory to scan.
-250    * <p>
-251    * This parameter defaults to the maven build-output-directory for classes.
-252    * Additionally, all dependencies are scanned for annotated classes.
-253    * <p>
-254    * <strong>Important:</strong>
-255    * This configuration value can only be configured through the
-256    * <code>pom.xml</code>, or by the definition of a system-property, because
-257    * it is not known by Hibernate nor JPA and, hence, not picked up from
-258    * their configuration!
-259    *
-260    * @parameter property="project.build.outputDirectory"
-261    * @since 1.0
-262    */
-263   private String outputDirectory;
-264 
-265   /**
-266    * Dependency-Scopes, that should be scanned for annotated classes.
-267    * <p>
-268    * By default, only dependencies in the scope <code>compile</code> are
-269    * scanned for annotated classes. Multiple scopes can be seperated by
-270    * white space or commas.
-271    * <p>
-272    * If you do not want any dependencies to be scanned for annotated
-273    * classes, set this parameter to <code>none</code>.
-274    * <p>
-275    * The plugin does not scan for annotated classes in transitive
-276    * dependencies. If some of your annotated classes are hidden in a
-277    * transitive dependency, you can simply add that dependency explicitly.
-278    *
-279    * @parameter property="hibernate.schema.scan.dependencies" default-value="compile"
-280    * @since 1.0.3
-281    */
-282   private String scanDependencies;
-283 
-284   /**
-285    * Whether to scan the test-branch of the project for annotated classes, or
-286    * not.
-287    * <p>
-288    * If this parameter is set to <code>true</code> the test-classes of the
-289    * artifact will be scanned for hibernate-annotated classes additionally.
-290    * <p>
-291    * <strong>Important:</strong>
-292    * This configuration value can only be configured through the
-293    * <code>pom.xml</code>, or by the definition of a system-property, because
-294    * it is not known by Hibernate nor JPA and, hence, not picked up from
-295    * their configuration!
-296    *
-297    * @parameter property="hibernate.schema.scan.test_classes" default-value="false"
-298    * @since 1.0.1
-299    */
-300   private Boolean scanTestClasses;
-301 
-302   /**
-303    * Test-Classes-Directory to scan.
-304    * <p>
-305    * This parameter defaults to the maven build-output-directory for
-306    * test-classes.
-307    * <p>
-308    * This parameter is only used, when <code>scanTestClasses</code> is set
-309    * to <code>true</code>!
-310    * <p>
-311    * <strong>Important:</strong>
-312    * This configuration value can only be configured through the
-313    * <code>pom.xml</code>, or by the definition of a system-property, because
-314    * it is not known by Hibernate nor JPA and, hence, not picked up from
-315    * their configuration!
-316    *
-317    * @parameter property="project.build.testOutputDirectory"
-318    * @since 1.0.2
-319    */
-320   private String testOutputDirectory;
-321 
-322 
-323   /** Conection parameters *************************************************/
-324 
-325   /**
-326    * SQL-Driver name.
-327    *
-328    * @parameter property="hibernate.connection.driver_class"
-329    * @since 1.0
-330    */
-331   private String driver;
-332 
-333   /**
-334    * Database URL.
-335    *
-336    * @parameter property="hibernate.connection.url"
-337    * @since 1.0
-338    */
-339   private String url;
-340 
-341   /**
-342    * Database username
-343    *
-344    * @parameter property="hibernate.connection.username"
-345    * @since 1.0
-346    */
-347   private String username;
-348 
-349   /**
-350    * Database password
-351    *
-352    * @parameter property="hibernate.connection.password"
-353    * @since 1.0
-354    */
-355   private String password;
-356 
-357 
-358   /** Parameters to locate configuration sources ****************************/
-359 
-360   /**
-361    * Path to a file or name of a ressource with hibernate properties.
-362    * If this parameter is specified, the plugin will try to load configuration
-363    * values from a file with the given path or a ressource on the classpath with
-364    * the given name. If both fails, the execution of the plugin will fail.
-365    * <p>
-366    * If this parameter is not set the plugin will load configuration values
-367    * from a ressource named <code>hibernate.properties</code> on the classpath,
-368    * if it is present, but will not fail if there is no such ressource.
-369    * <p>
-370    * During ressource-lookup, the test-classpath takes precedence.
-371    *
-372    * @parameter
-373    * @since 1.0
-374    */
-375   private String hibernateProperties;
-376 
-377   /**
-378    * Path to Hibernate configuration file (.cfg.xml).
-379    * If this parameter is specified, the plugin will try to load configuration
-380    * values from a file with the given path or a ressource on the classpath with
-381    * the given name. If both fails, the execution of the plugin will fail.
-382    * <p>
-383    * If this parameter is not set the plugin will load configuration values
-384    * from a ressource named <code>hibernate.cfg.xml</code> on the classpath,
-385    * if it is present, but will not fail if there is no such ressource.
-386    * <p>
-387    * During ressource-lookup, the test-classpath takes precedence.
-388    * <p>
-389    * Settings in this file will overwrite settings in the properties file.
-390    *
-391    * @parameter
-392    * @since 1.1.0
-393    */
-394   private String hibernateConfig;
-395 
-396   /**
-397    * Name of the persistence-unit.
-398    * If this parameter is specified, the plugin will try to load configuration
-399    * values from a persistence-unit with the specified name. If no such
-400    * persistence-unit can be found, the plugin will throw an exception.
-401    * <p>
-402    * If this parameter is not set and there is only one persistence-unit
-403    * available, that unit will be used automatically. But if this parameter is
-404    * not set and there are multiple persistence-units available on,
-405    * the class-path, the execution of the plugin will fail.
-406    * <p>
-407    * Settings in this file will overwrite settings in the properties or the
-408    * configuration file.
-409    *
-410    * @parameter
-411    * @since 1.1.0
-412    */
-413   private String persistenceUnit;
-414 
-415   /**
-416    * List of Hibernate-Mapping-Files (XML).
-417    * Multiple files can be separated with white-spaces and/or commas.
-418    *
-419    * @parameter property="hibernate.mapping"
-420    * @since 1.0.2
-421    */
-422   private String mappings;
-423 
-424 
-425 
-426   public final void execute(String filename)
-427     throws
-428       MojoFailureException,
-429       MojoExecutionException
-430   {
-431     if (skip)
-432     {
-433       getLog().info("Execution of hibernate-maven-plugin was skipped!");
-434       project.getProperties().setProperty(SKIPPED, "true");
-435       return;
-436     }
-437 
-438     ModificationTracker tracker;
-439     try
-440     {
-441       tracker = new ModificationTracker(buildDirectory, filename, getLog());
-442     }
-443     catch (NoSuchAlgorithmException e)
-444     {
-445       throw new MojoFailureException("Digest-Algorithm MD5 is missing!", e);
-446     }
-447 
-448     SimpleConnectionProvider connectionProvider =
-449         new SimpleConnectionProvider(getLog());
-450 
-451     try
-452     {
-453       /** Start extended logging */
-454       MavenLogAppender.startPluginLog(this);
-455 
-456       /** Load checksums for old mapping and configuration */
-457       tracker.load();
-458 
-459       /** Create the ClassLoader */
-460       MutableClassLoader classLoader = createClassLoader();
-461 
-462       /** Create a BootstrapServiceRegistry with the created ClassLoader */
-463       BootstrapServiceRegistry bootstrapServiceRegitry =
-464           new BootstrapServiceRegistryBuilder()
-465               .applyClassLoader(classLoader)
-466               .build();
-467       ClassLoaderService classLoaderService =
-468           bootstrapServiceRegitry.getService(ClassLoaderService.class);
-469 
-470       Properties properties = new Properties();
-471       ConfigLoader configLoader = new ConfigLoader(bootstrapServiceRegitry);
-472 
-473       /** Loading and merging configuration */
-474       properties.putAll(loadProperties(configLoader));
-475       LoadedConfig config = loadConfig(configLoader);
-476       if (config != null)
-477         properties.putAll(config.getConfigurationValues());
-478       ParsedPersistenceXmlDescriptor unit =
-479           loadPersistenceUnit(classLoaderService, properties);
-480       if (unit != null)
-481         properties.putAll(unit.getProperties());
-482 
-483       /** Overwriting/Completing configuration */
-484       configure(properties, tracker);
-485 
-486       /** Check configuration for modifications */
-487       if(tracker.track(properties))
-488         getLog().debug("Configuration has changed.");
-489       else
-490         getLog().debug("Configuration unchanged.");
-491 
-492       /** Configure Hibernate */
-493       StandardServiceRegistry serviceRegistry =
-494           new StandardServiceRegistryBuilder(bootstrapServiceRegitry)
-495               .applySettings(properties)
-496               .addService(ConnectionProvider.class, connectionProvider)
-497               .build();
-498       MetadataSources sources = new MetadataSources(serviceRegistry);
-499 
-500       /** Add the remaining class-path-elements */
-501       completeClassPath(classLoader);
-502 
-503       /** Apply mappings from hibernate-configuration, if present */
-504       if (config != null)
-505       {
-506         for (MappingReference mapping : config.getMappingReferences())
-507           mapping.apply(sources);
-508       }
-509 
-510       Set<String> classes;
-511       if (unit == null)
-512       {
-513         /** No persistent unit: default behaviour */
-514         if (scanClasses == null)
-515           scanClasses = true;
-516         Set<URL> urls = new HashSet<URL>();
-517         if (scanClasses)
-518           addRoot(urls, outputDirectory);
-519         if (scanTestClasses)
-520           addRoot(urls, testOutputDirectory);
-521         addDependencies(urls);
-522         classes = scanUrls(urls);
-523       }
-524       else
-525       {
-526         /** Follow configuration in persisten unit */
-527         if (scanClasses == null)
-528           scanClasses = !unit.isExcludeUnlistedClasses();
-529         Set<URL> urls = new HashSet<URL>();
-530         if (scanClasses)
-531         {
-532           /**
-533            * Scan the root of the persiten unit and configured jars for
-534            * annotated classes
-535            */
-536           urls.add(unit.getPersistenceUnitRootUrl());
-537           for (URL url : unit.getJarFileUrls())
-538             urls.add(url);
-539         }
-540         if (scanTestClasses)
-541           addRoot(urls, testOutputDirectory);
-542         classes = scanUrls(urls);
-543         for (String className : unit.getManagedClassNames())
-544           classes.add(className);
-545         /**
-546          * Add mappings from the default mapping-file
-547          * <code>META-INF/orm.xml</code>, if present
-548          */
-549         try
-550         {
-551           InputStream is = classLoader.getResourceAsStream("META-INF/orm.xml");
-552           if (is != null)
-553           {
-554             getLog().info("Adding default JPA-XML-mapping from META-INF/orm.xml");
-555             tracker.track("META-INF/orm.xml", is);
-556             sources.addResource("META-INF/orm.xml");
-557           }
-558           /**
-559            * Add mappings from files, that are explicitly configured in the
-560            * persistence unit
-561            */
-562           for (String mapping : unit.getMappingFileNames())
-563           {
-564             getLog().info("Adding explicitly configured mapping from " + mapping);
-565             tracker.track(mapping, classLoader.getResourceAsStream(mapping));
-566             sources.addResource(mapping);
-567           }
-568         }
-569         catch (IOException e)
-570         {
-571           throw new MojoFailureException("Error reading XML-mappings", e);
-572         }
-573       }
-574 
-575       /** Add the configured/collected annotated classes */
-576       for (String className : classes)
-577         addAnnotated(className, sources, classLoaderService, tracker);
-578 
-579       /** Add explicitly configured classes */
-580       addMappings(sources, tracker);
-581 
-582       /** Skip execution, if mapping and configuration is unchanged */
-583       if (!tracker.modified())
-584       {
-585         getLog().info(
-586             "Mapping and configuration unchanged."
-587             );
-588         if (force)
-589           getLog().info("Schema generation is forced!");
-590         else
-591         {
-592           getLog().info("Skipping schema generation!");
-593           project.getProperties().setProperty(SKIPPED, "true");
-594           return;
-595         }
-596       }
-597 
-598 
-599       /** Create a connection, if sufficient configuration infromation is available */
-600       connectionProvider.open(classLoaderService, properties);
-601 
-602       MetadataBuilder metadataBuilder = sources.getMetadataBuilder();
-603 
-604       StrategySelector strategySelector =
-605           serviceRegistry.getService(StrategySelector.class);
-606 
-607       if (properties.containsKey(IMPLICIT_NAMING_STRATEGY))
-608       {
-609         metadataBuilder.applyImplicitNamingStrategy(
-610             strategySelector.resolveStrategy(
-611                 ImplicitNamingStrategy.class,
-612                 properties.getProperty(IMPLICIT_NAMING_STRATEGY)
-613                 )
-614             );
-615       }
-616 
-617       if (properties.containsKey(PHYSICAL_NAMING_STRATEGY))
-618       {
-619         metadataBuilder.applyPhysicalNamingStrategy(
-620             strategySelector.resolveStrategy(
-621                 PhysicalNamingStrategy.class,
-622                 properties.getProperty(PHYSICAL_NAMING_STRATEGY)
-623                 )
-624             );
-625       }
-626 
-627       /**
-628        * Change class-loader of current thread.
-629        * This is necessary, because still not all parts of Hibernate 5 use
-630        * the newly introduced ClassLoaderService and will fail otherwise!
-631        */
-632       Thread thread = Thread.currentThread();
-633       ClassLoader contextClassLoader = thread.getContextClassLoader();
-634       try
-635       {
-636         thread.setContextClassLoader(classLoader);
-637         build((MetadataImplementor)metadataBuilder.build());
-638       }
-639       finally
-640       {
-641         thread.setContextClassLoader(contextClassLoader);
-642       }
-643     }
-644     catch (MojoExecutionException e)
-645     {
-646       tracker.failed();
-647       throw e;
-648     }
-649     catch (MojoFailureException e)
-650     {
-651       tracker.failed();
-652       throw e;
-653     }
-654     catch (RuntimeException e)
-655     {
-656       tracker.failed();
-657       throw e;
-658     }
-659     finally
-660     {
-661       /** Remember mappings and configuration */
-662       tracker.save();
-663 
-664       /** Close the connection - if one was opened */
-665       connectionProvider.close();
-666 
-667       /** Stop Log-Capturing */
-668       MavenLogAppender.endPluginLog(this);
-669     }
-670   }
-671 
-672 
-673   abstract void build(MetadataImplementor metadata)
-674     throws
-675       MojoFailureException,
-676       MojoExecutionException;
-677 
-678 
-679   private MutableClassLoader createClassLoader() throws MojoExecutionException
-680   {
-681     try
-682     {
-683       getLog().debug("Creating ClassLoader for project-dependencies...");
-684       LinkedHashSet<URL> urls = new LinkedHashSet<URL>();
-685       File file;
-686 
-687       file = new File(testOutputDirectory);
-688       if (!file.exists())
-689       {
-690         getLog().info("Creating test-output-directory: " + testOutputDirectory);
-691         file.mkdirs();
-692       }
-693       urls.add(file.toURI().toURL());
-694 
-695       file = new File(outputDirectory);
-696       if (!file.exists())
-697       {
-698         getLog().info("Creating output-directory: " + outputDirectory);
-699         file.mkdirs();
-700       }
-701       urls.add(file.toURI().toURL());
-702 
-703       return new MutableClassLoader(urls, getLog());
-704     }
-705     catch (Exception e)
-706     {
-707       getLog().error("Error while creating ClassLoader!", e);
-708       throw new MojoExecutionException(e.getMessage());
-709     }
-710   }
-711 
-712   private void completeClassPath(MutableClassLoader classLoader)
-713       throws
-714         MojoExecutionException
-715   {
-716     try
-717     {
-718       getLog().debug("Completing class-paths of the ClassLoader for project-dependencies...");
-719       List<String> classpathFiles = project.getCompileClasspathElements();
-720       if (scanTestClasses)
-721         classpathFiles.addAll(project.getTestClasspathElements());
-722       LinkedHashSet<URL> urls = new LinkedHashSet<URL>();
-723       for (String pathElement : classpathFiles)
-724       {
-725         getLog().debug("Dependency: " + pathElement);
-726         urls.add(new File(pathElement).toURI().toURL());
-727       }
-728       classLoader.add(urls);
-729     }
-730     catch (Exception e)
-731     {
-732       getLog().error("Error while creating ClassLoader!", e);
-733       throw new MojoExecutionException(e.getMessage());
-734     }
-735   }
-736 
-737   private Map loadProperties(ConfigLoader configLoader)
-738       throws
-739         MojoExecutionException
-740   {
-741     /** Try to read configuration from properties-file */
-742     if (hibernateProperties == null)
-743     {
-744       try
-745       {
-746         return configLoader.loadProperties("hibernate.properties");
-747       }
-748       catch (ConfigurationException e)
-749       {
-750         getLog().debug(e.getMessage());
-751         return Collections.EMPTY_MAP;
-752       }
-753     }
-754     else
-755     {
-756       try
-757       {
-758         File file = new File(hibernateProperties);
-759         if (file.exists())
-760         {
-761           getLog().info("Reading settings from file " + hibernateProperties + "...");
-762           return configLoader.loadProperties(file);
-763         }
-764         else
-765           return configLoader.loadProperties(hibernateProperties);
-766       }
-767       catch (ConfigurationException e)
-768       {
-769         getLog().error("Error while reading properties!", e);
-770         throw new MojoExecutionException(e.getMessage());
-771       }
-772     }
-773   }
-774 
-775   private LoadedConfig loadConfig(ConfigLoader configLoader)
-776       throws MojoExecutionException
-777   {
-778     /** Try to read configuration from configuration-file */
-779     if (hibernateConfig == null)
-780     {
-781       try
-782       {
-783         return configLoader.loadConfigXmlResource("hibernate.cfg.xml");
-784       }
-785       catch (ConfigurationException e)
-786       {
-787         getLog().debug(e.getMessage());
-788         return null;
-789       }
-790     }
-791     else
-792     {
-793       try
-794       {
-795         File file = new File(hibernateConfig);
-796         if (file.exists())
-797         {
-798           getLog().info("Reading configuration from file " + hibernateConfig + "...");
-799           return configLoader.loadConfigXmlFile(file);
-800         }
-801         else
-802         {
-803           return configLoader.loadConfigXmlResource(hibernateConfig);
-804         }
-805       }
-806       catch (ConfigurationException e)
-807       {
-808         getLog().error("Error while reading configuration!", e);
-809         throw new MojoExecutionException(e.getMessage());
-810       }
-811     }
-812   }
-813 
-814   private void configure(Properties properties, ModificationTracker tracker)
-815       throws MojoFailureException
-816   {
-817     /**
-818      * Special treatment for the configuration-value "export": if it is
-819      * switched to "true", the genearation fo the schema should be forced!
-820      */
-821     if (tracker.check(EXPORT, export.toString()) && export)
-822       tracker.touch();
-823 
-824     /**
-825      * Configure the generation of the SQL.
-826      * Overwrite values from properties-file if the configuration parameter is
-827      * known to Hibernate.
-828      */
-829     dialect = configure(properties, dialect, DIALECT);
-830     tracker.track(DELIMITER, delimiter); // << not reflected in hibernate configuration!
-831     format = configure(properties, format, FORMAT_SQL);
-832     createNamespaces = configure(properties, createNamespaces, HBM2DLL_CREATE_NAMESPACES);
-833     implicitNamingStrategy = configure(properties, implicitNamingStrategy, IMPLICIT_NAMING_STRATEGY);
-834     physicalNamingStrategy = configure(properties, physicalNamingStrategy, PHYSICAL_NAMING_STRATEGY);
-835     tracker.track(OUTPUTDIRECTORY, outputDirectory); // << not reflected in hibernate configuration!
-836     tracker.track(SCAN_DEPENDENCIES, scanDependencies); // << not reflected in hibernate configuration!
-837     tracker.track(SCAN_TESTCLASSES, scanTestClasses.toString()); // << not reflected in hibernate configuration!
-838     tracker.track(TEST_OUTPUTDIRECTORY, testOutputDirectory); // << not reflected in hibernate configuration!
-839 
-840     /**
-841      * Special treatment for the configuration-value "show": a change of its
-842      * configured value should not lead to a regeneration of the database
-843      * schama!
-844      */
-845     if (show == null)
-846       show = Boolean.valueOf(properties.getProperty(SHOW_SQL));
-847     else
-848       properties.setProperty(SHOW_SQL, show.toString());
-849 
-850     /**
-851      * Configure the connection parameters.
-852      * Overwrite values from properties-file.
-853      */
-854     driver = configure(properties, driver, DRIVER, JDBC_DRIVER);
-855     url = configure(properties, url, URL, JDBC_URL);
-856     username = configure(properties, username, USER, JDBC_USER);
-857     password = configure(properties, password, PASS, JDBC_PASSWORD);
-858 
-859     if (properties.isEmpty())
-860     {
-861       getLog().error("No properties set!");
-862       throw new MojoFailureException("Hibernate configuration is missing!");
-863     }
-864 
-865     getLog().info("Gathered hibernate-configuration (turn on debugging for details):");
-866     for (Entry<Object,Object> entry : properties.entrySet())
-867       getLog().info("  " + entry.getKey() + " = " + entry.getValue());
-868   }
-869 
-870   private String configure(
-871       Properties properties,
-872       String value,
-873       String key,
-874       String alternativeKey
-875       )
-876   {
-877     value = configure(properties, value, key);
-878     if (value == null)
-879       return properties.getProperty(alternativeKey);
-880 
-881     if (properties.containsKey(alternativeKey))
-882     {
-883       getLog().warn(
-884           "Ignoring property " + alternativeKey + "=" +
-885           properties.getProperty(alternativeKey) + " in favour for property " +
-886           key + "=" + properties.getProperty(key)
-887           );
-888       properties.remove(alternativeKey);
-889     }
-890     return properties.getProperty(alternativeKey);
-891   }
-892 
-893   private String configure(Properties properties, String value, String key)
-894   {
-895     if (value != null)
-896     {
-897       if (properties.containsKey(key))
-898         getLog().debug(
-899             "Overwriting property " + key + "=" + properties.getProperty(key) +
-900             " with the value " + value
-901             );
-902       else
-903         getLog().debug("Using the value " + value + " for property " + key);
-904       properties.setProperty(key, value);
-905     }
-906     return properties.getProperty(key);
-907   }
-908 
-909   private boolean configure(Properties properties, Boolean value, String key)
-910   {
-911     if (value != null)
-912     {
-913       if (properties.containsKey(key))
-914         getLog().debug(
-915             "Overwriting property " + key + "=" + properties.getProperty(key) +
-916             " with the value " + value
-917             );
-918       else
-919         getLog().debug("Using the value " + value + " for property " + key);
-920       properties.setProperty(key, value.toString());
-921     }
-922     return Boolean.valueOf(properties.getProperty(key));
-923   }
-924 
-925   private void addMappings(MetadataSources sources, ModificationTracker tracker)
-926       throws MojoFailureException
-927   {
-928     getLog().debug("Adding explicitly configured mappings...");
-929     if (mappings != null)
-930     {
-931       try
-932       {
-933         for (String filename : mappings.split("[\\s,]+"))
-934         {
-935           // First try the filename as absolute/relative path
-936           File file = new File(filename);
-937           if (!file.exists())
-938           {
-939             // If the file was not found, search for it in the resource-directories
-940             for (Resource resource : project.getResources())
-941             {
-942               file = new File(resource.getDirectory() + File.separator + filename);
-943               if (file.exists())
-944                 break;
-945             }
-946           }
-947           if (file.exists())
-948           {
-949             if (file.isDirectory())
-950               // TODO: add support to read all mappings under a directory
-951               throw new MojoFailureException(file.getAbsolutePath() + " is a directory");
-952             if (tracker.track(filename, new FileInputStream(file)))
-953               getLog().debug("Found new or modified mapping-file: " + filename);
-954             else
-955               getLog().debug("Mapping-file unchanged: " + filename);
-956 
-957             sources.addFile(file);
-958           }
-959           else
-960             throw new MojoFailureException("File " + filename + " could not be found in any of the configured resource-directories!");
-961         }
-962       }
-963       catch (IOException e)
-964       {
-965         throw new MojoFailureException("Cannot calculate MD5 sums!", e);
-966       }
-967     }
-968   }
-969 
-970   private void addRoot(Set<URL> urls, String path) throws MojoFailureException
-971   {
-972     try
-973     {
-974       File dir = new File(outputDirectory);
-975       if (dir.exists())
-976       {
-977         getLog().info("Adding " + dir.getAbsolutePath() + " to the list of roots to scan...");
-978         urls.add(dir.toURI().toURL());
-979       }
-980     }
-981     catch (MalformedURLException e)
-982     {
-983       getLog().error("error while adding the project-root to the list of roots to scan!", e);
-984       throw new MojoFailureException(e.getMessage());
-985     }
-986   }
-987 
-988   private void addDependencies(Set<URL> urls) throws MojoFailureException
-989   {
-990     try
-991     {
-992       if (scanDependencies != null)
-993       {
-994         Matcher matcher = SPLIT.matcher(scanDependencies);
-995         while (matcher.find())
-996         {
-997           getLog().info("Adding dependencies from scope " + matcher.group() + " to the list of roots to scan");
-998           for (Artifact artifact : project.getDependencyArtifacts())
-999           {
-1000             if (!artifact.getScope().equalsIgnoreCase(matcher.group()))
-1001               continue;
-1002             if (artifact.getFile() == null)
-1003             {
-1004               getLog().warn("Cannot add dependency " + artifact.getId() + ": no JAR-file available!");
-1005               continue;
-1006             }
-1007             getLog().info("Adding dependencies from scope " + artifact.getId() + " to the list of roots to scan");
-1008             urls.add(artifact.getFile().toURI().toURL());
-1009           }
-1010         }
-1011       }
-1012     }
-1013     catch (MalformedURLException e)
-1014     {
-1015       getLog().error("Error while adding dependencies to the list of roots to scan!", e);
-1016       throw new MojoFailureException(e.getMessage());
-1017     }
-1018   }
-1019 
-1020   private Set<String> scanUrls(Set<URL> scanRoots)
-1021       throws
-1022         MojoFailureException
-1023   {
-1024     try
-1025     {
-1026       AnnotationDB db = new AnnotationDB();
-1027       for (URL root : scanRoots)
-1028         db.scanArchives(root);
-1029 
-1030       Set<String> classes = new HashSet<String>();
-1031       if (db.getAnnotationIndex().containsKey(Entity.class.getName()))
-1032         classes.addAll(db.getAnnotationIndex().get(Entity.class.getName()));
-1033       if (db.getAnnotationIndex().containsKey(MappedSuperclass.class.getName()))
-1034         classes.addAll(db.getAnnotationIndex().get(MappedSuperclass.class.getName()));
-1035       if (db.getAnnotationIndex().containsKey(Embeddable.class.getName()))
-1036         classes.addAll(db.getAnnotationIndex().get(Embeddable.class.getName()));
-1037 
-1038       return classes;
-1039     }
-1040     catch (Exception e)
-1041     {
-1042       getLog().error("Error while scanning!", e);
-1043       throw new MojoFailureException(e.getMessage());
-1044     }
-1045   }
-1046 
-1047   private void addAnnotated(
-1048       String name,
-1049       MetadataSources sources,
-1050       ClassLoaderService classLoaderService,
-1051       ModificationTracker tracker
-1052       )
-1053       throws
-1054         MojoFailureException,
-1055         MojoExecutionException
-1056   {
-1057     try
-1058     {
-1059       getLog().info("Adding annotated resource: " + name);
-1060       String packageName;
-1061 
-1062       try
-1063       {
-1064         Class<?> annotatedClass = classLoaderService.classForName(name);
-1065         String resourceName = annotatedClass.getName();
-1066         resourceName =
-1067             resourceName.substring(
-1068                 resourceName.lastIndexOf(".") + 1,
-1069                 resourceName.length()
-1070                 ) + ".class";
-1071         InputStream is = annotatedClass.getResourceAsStream(resourceName);
-1072         if (tracker.track(name, is))
-1073           getLog().debug("New or modified class: " + name);
-1074         else
-1075           getLog().debug("Unchanged class: " + name);
-1076         sources.addAnnotatedClass(annotatedClass);
-1077         packageName = annotatedClass.getPackage().getName();
-1078       }
-1079       catch(ClassLoadingException e)
-1080       {
-1081         packageName = name;
-1082       }
-1083 
-1084       while (packageName != null)
-1085       {
-1086         if (packages.contains(packageName))
-1087           return;
-1088         String resource = packageName.replace('.', '/') + "/package-info.class";
-1089         InputStream is = classLoaderService.locateResourceStream(resource);
-1090         if (is == null)
-1091         {
-1092           // No compiled package-info available: no package-level annotations!
-1093           getLog().debug("Package " + packageName + " is not annotated.");
-1094         }
-1095         else
-1096         {
-1097           if (tracker.track(packageName, is))
-1098             getLog().debug("New or modified package: " + packageName);
-1099           else
-1100            getLog().debug("Unchanged package: " + packageName);
-1101           getLog().info("Adding annotations from package " + packageName);
-1102           sources.addPackage(packageName);
-1103         }
-1104         packages.add(packageName);
-1105         int i = packageName.lastIndexOf('.');
-1106         if (i < 0)
-1107           packageName = null;
-1108         else
-1109           packageName = packageName.substring(0,i);
-1110       }
-1111     }
-1112     catch (Exception e)
-1113     {
-1114       getLog().error("Error while adding the annotated class " + name, e);
-1115       throw new MojoFailureException(e.getMessage());
-1116     }
-1117   }
-1118 
-1119   private ParsedPersistenceXmlDescriptor loadPersistenceUnit(
-1120       ClassLoaderService classLoaderService,
-1121       Properties properties
-1122       )
-1123       throws
-1124         MojoFailureException
-1125   {
-1126     PersistenceXmlParser parser =
-1127         new PersistenceXmlParser(
-1128             classLoaderService,
-1129             PersistenceUnitTransactionType.RESOURCE_LOCAL
-1130              );
-1131 
-1132     List<ParsedPersistenceXmlDescriptor> units = parser.doResolve(properties);
-1133 
-1134     if (persistenceUnit == null)
-1135     {
-1136       switch (units.size())
-1137       {
-1138         case 0:
-1139           getLog().info("Found no META-INF/persistence.xml.");
-1140           return null;
-1141         case 1:
-1142           getLog().info("Using persistence-unit " + units.get(0).getName());
-1143           return units.get(0);
-1144         default:
-1145           StringBuilder builder = new StringBuilder();
-1146           builder.append("No name provided and multiple persistence units found: ");
-1147           Iterator<ParsedPersistenceXmlDescriptor> it = units.iterator();
-1148           builder.append(it.next().getName());
-1149           while (it.hasNext())
-1150           {
-1151             builder.append(", ");
-1152             builder.append(it.next().getName());
-1153           }
-1154           builder.append('.');
-1155           throw new MojoFailureException(builder.toString());
-1156       }
-1157     }
-1158 
-1159     for (ParsedPersistenceXmlDescriptor unit : units)
-1160     {
-1161       getLog().debug("Found persistence-unit " + unit.getName());
-1162       if (!unit.getName().equals(persistenceUnit))
-1163         continue;
-1164 
-1165       // See if we (Hibernate) are the persistence provider
-1166       if (!ProviderChecker.isProvider(unit, properties))
-1167       {
-1168         getLog().debug("Wrong provider: " + unit.getProviderClassName());
-1169         continue;
-1170       }
-1171 
-1172       getLog().info("Using persistence-unit " + unit.getName());
-1173       return unit;
-1174     }
-1175 
-1176     throw new MojoFailureException("Could not find persistence-unit " + persistenceUnit);
-1177   }
-1178 }
-
-
- - - diff --git a/projects/hibernate-maven-plugin-2.0.0/xref/de/juplo/plugins/hibernate/CreateMojo.html b/projects/hibernate-maven-plugin-2.0.0/xref/de/juplo/plugins/hibernate/CreateMojo.html deleted file mode 100644 index 133e6f8..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/xref/de/juplo/plugins/hibernate/CreateMojo.html +++ /dev/null @@ -1,113 +0,0 @@ - - - -CreateMojo xref - - - -
View Javadoc
-1   package de.juplo.plugins.hibernate;
-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 java.io.File;
-20  import org.apache.maven.plugin.MojoExecutionException;
-21  import org.apache.maven.plugin.MojoFailureException;
-22  import org.hibernate.boot.spi.MetadataImplementor;
-23  import org.hibernate.tool.hbm2ddl.SchemaExport;
-24  
-25  
-26  /**
-27   * Goal which extracts the hibernate-mapping-configuration and
-28   * exports an according SQL-database-schema.
-29   *
-30   * @goal create
-31   * @phase process-classes
-32   * @threadSafe
-33   * @requiresDependencyResolution runtime
-34   */
-35  public class CreateMojo extends AbstractSchemaMojo
-36  {
-37    /**
-38     * Output file.
-39     * <p>
-40     * If the specified filename is not absolut, the file will be created
-41     * relative to the project build directory
-42     * (<code>project.build.directory</code>).
-43     *
-44     * @parameter property="hibernate.schema.export.create" default-value="create.sql"
-45     * @since 1.0
-46     */
-47    private String outputFile;
-48  
-49  
-50    @Override
-51    public final void execute()
-52      throws
-53        MojoFailureException,
-54        MojoExecutionException
-55    {
-56      super.execute(outputFile);
-57    }
-58  
-59  
-60    @Override
-61    void build(MetadataImplementor metadata)
-62        throws
-63          MojoExecutionException,
-64          MojoFailureException
-65    {
-66      SchemaExport schemaExport = new SchemaExport(metadata, createNamespaces);
-67      schemaExport.setDelimiter(delimiter);
-68      schemaExport.setFormat(format);
-69  
-70      File output = new File(outputFile);
-71  
-72      if (!output.isAbsolute())
-73      {
-74        // Interpret relative file path relative to build directory
-75        output = new File(buildDirectory, outputFile);
-76        getLog().debug("Adjusted relative path, resulting path is " + output.getPath());
-77      }
-78  
-79      // Ensure that directory path for specified file exists
-80      File outFileParentDir = output.getParentFile();
-81      if (null != outFileParentDir && !outFileParentDir.exists())
-82      {
-83        try
-84        {
-85          getLog().info("Creating directory path for output file:" + outFileParentDir.getPath());
-86          outFileParentDir.mkdirs();
-87        }
-88        catch (Exception e)
-89        {
-90          getLog().error("Error creating directory path for output file: " + e.getLocalizedMessage());
-91        }
-92      }
-93  
-94      schemaExport.setOutputFile(output.getPath());
-95      schemaExport.execute(false, this.export, false, true);
-96  
-97      for (Object exception : schemaExport.getExceptions())
-98        getLog().error(exception.toString());
-99    }
-100 }
-
-
- - - diff --git a/projects/hibernate-maven-plugin-2.0.0/xref/de/juplo/plugins/hibernate/DropMojo.html b/projects/hibernate-maven-plugin-2.0.0/xref/de/juplo/plugins/hibernate/DropMojo.html deleted file mode 100644 index a4fb66e..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/xref/de/juplo/plugins/hibernate/DropMojo.html +++ /dev/null @@ -1,113 +0,0 @@ - - - -DropMojo xref - - - -
View Javadoc
-1   package de.juplo.plugins.hibernate;
-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 java.io.File;
-20  import org.apache.maven.plugin.MojoExecutionException;
-21  import org.apache.maven.plugin.MojoFailureException;
-22  import org.hibernate.boot.spi.MetadataImplementor;
-23  import org.hibernate.tool.hbm2ddl.SchemaExport;
-24  
-25  
-26  /**
-27   * Goal which extracts the hibernate-mapping-configuration and
-28   * exports an according SQL-database-schema.
-29   *
-30   * @goal drop
-31   * @phase process-classes
-32   * @threadSafe
-33   * @requiresDependencyResolution runtime
-34   */
-35  public class DropMojo extends AbstractSchemaMojo
-36  {
-37    /**
-38     * Output file.
-39     * <p>
-40     * If the specified filename is not absolut, the file will be created
-41     * relative to the project build directory
-42     * (<code>project.build.directory</code>).
-43     *
-44     * @parameter property="hibernate.schema.export.drop" default-value="drop.sql"
-45     * @since 1.0
-46     */
-47    private String outputFile;
-48  
-49  
-50    @Override
-51    public final void execute()
-52      throws
-53        MojoFailureException,
-54        MojoExecutionException
-55    {
-56      super.execute(outputFile);
-57    }
-58  
-59  
-60    @Override
-61    void build(MetadataImplementor metadata)
-62        throws
-63          MojoExecutionException,
-64          MojoFailureException
-65    {
-66      SchemaExport schemaExport = new SchemaExport(metadata, createNamespaces);
-67      schemaExport.setDelimiter(delimiter);
-68      schemaExport.setFormat(format);
-69  
-70      File output = new File(outputFile);
-71  
-72      if (!output.isAbsolute())
-73      {
-74        // Interpret relative file path relative to build directory
-75        output = new File(buildDirectory, outputFile);
-76        getLog().debug("Adjusted relative path, resulting path is " + output.getPath());
-77      }
-78  
-79      // Ensure that directory path for specified file exists
-80      File outFileParentDir = output.getParentFile();
-81      if (null != outFileParentDir && !outFileParentDir.exists())
-82      {
-83        try
-84        {
-85          getLog().info("Creating directory path for output file:" + outFileParentDir.getPath());
-86          outFileParentDir.mkdirs();
-87        }
-88        catch (Exception e)
-89        {
-90          getLog().error("Error creating directory path for output file: " + e.getLocalizedMessage());
-91        }
-92      }
-93  
-94      schemaExport.setOutputFile(output.getPath());
-95      schemaExport.execute(false, this.export, true, false);
-96  
-97      for (Object exception : schemaExport.getExceptions())
-98        getLog().error(exception.toString());
-99    }
-100 }
-
-
- - - diff --git a/projects/hibernate-maven-plugin-2.0.0/xref/de/juplo/plugins/hibernate/HelpMojo.html b/projects/hibernate-maven-plugin-2.0.0/xref/de/juplo/plugins/hibernate/HelpMojo.html deleted file mode 100644 index 217919c..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/xref/de/juplo/plugins/hibernate/HelpMojo.html +++ /dev/null @@ -1,467 +0,0 @@ - - - -HelpMojo xref - - - -
View Javadoc
-1   
-2   package de.juplo.plugins.hibernate;
-3   
-4   import org.apache.maven.plugin.AbstractMojo;
-5   import org.apache.maven.plugin.MojoExecutionException;
-6   
-7   import org.w3c.dom.Document;
-8   import org.w3c.dom.Element;
-9   import org.w3c.dom.Node;
-10  import org.w3c.dom.NodeList;
-11  import org.xml.sax.SAXException;
-12  
-13  import javax.xml.parsers.DocumentBuilder;
-14  import javax.xml.parsers.DocumentBuilderFactory;
-15  import javax.xml.parsers.ParserConfigurationException;
-16  import java.io.IOException;
-17  import java.io.InputStream;
-18  import java.util.ArrayList;
-19  import java.util.List;
-20  
-21  /**
-22   * Display help information on hibernate-maven-plugin.<br>
-23   * Call <code>mvn hibernate:help -Ddetail=true -Dgoal=&lt;goal-name&gt;</code> to display parameter details.
-24   * @author maven-plugin-tools
-25   * @goal help
-26   * @requiresProject false
-27   * @threadSafe
-28   */
-29  public class HelpMojo
-30      extends AbstractMojo
-31  {
-32      /**
-33       * If <code>true</code>, display all settable properties for each goal.
-34       *
-35       * @parameter property="detail" default-value="false"
-36       */
-37      private boolean detail;
-38  
-39      /**
-40       * The name of the goal for which to show help. If unspecified, all goals will be displayed.
-41       *
-42       * @parameter property="goal"
-43       */
-44      private java.lang.String goal;
-45  
-46      /**
-47       * The maximum length of a display line, should be positive.
-48       *
-49       * @parameter property="lineLength" default-value="80"
-50       */
-51      private int lineLength;
-52  
-53      /**
-54       * The number of spaces per indentation level, should be positive.
-55       *
-56       * @parameter property="indentSize" default-value="2"
-57       */
-58      private int indentSize;
-59  
-60      // groupId/artifactId/plugin-help.xml
-61      private static final String PLUGIN_HELP_PATH =
-62                      "/META-INF/maven/de.juplo/hibernate-maven-plugin/plugin-help.xml";
-63  
-64      private static final int DEFAULT_LINE_LENGTH = 80;
-65  
-66      private Document build()
-67          throws MojoExecutionException
-68      {
-69          getLog().debug( "load plugin-help.xml: " + PLUGIN_HELP_PATH );
-70          InputStream is = null;
-71          try
-72          {
-73              is = getClass().getResourceAsStream( PLUGIN_HELP_PATH );
-74              DocumentBuilderFactory dbFactory = DocumentBuilderFactory.newInstance();
-75              DocumentBuilder dBuilder = dbFactory.newDocumentBuilder();
-76              return dBuilder.parse( is );
-77          }
-78          catch ( IOException e )
-79          {
-80              throw new MojoExecutionException( e.getMessage(), e );
-81          }
-82          catch ( ParserConfigurationException e )
-83          {
-84              throw new MojoExecutionException( e.getMessage(), e );
-85          }
-86          catch ( SAXException e )
-87          {
-88              throw new MojoExecutionException( e.getMessage(), e );
-89          }
-90          finally
-91          {
-92              if ( is != null )
-93              {
-94                  try
-95                  {
-96                      is.close();
-97                  }
-98                  catch ( IOException e )
-99                  {
-100                     throw new MojoExecutionException( e.getMessage(), e );
-101                 }
-102             }
-103         }
-104     }
-105 
-106     /**
-107      * {@inheritDoc}
-108      */
-109     public void execute()
-110         throws MojoExecutionException
-111     {
-112         if ( lineLength <= 0 )
-113         {
-114             getLog().warn( "The parameter 'lineLength' should be positive, using '80' as default." );
-115             lineLength = DEFAULT_LINE_LENGTH;
-116         }
-117         if ( indentSize <= 0 )
-118         {
-119             getLog().warn( "The parameter 'indentSize' should be positive, using '2' as default." );
-120             indentSize = 2;
-121         }
-122 
-123         Document doc = build();
-124 
-125         StringBuilder sb = new StringBuilder();
-126         Node plugin = getSingleChild( doc, "plugin" );
-127 
-128 
-129         String name = getValue( plugin, "name" );
-130         String version = getValue( plugin, "version" );
-131         String id = getValue( plugin, "groupId" ) + ":" + getValue( plugin, "artifactId" ) + ":" + version;
-132         if ( isNotEmpty( name ) && !name.contains( id ) )
-133         {
-134             append( sb, name + " " + version, 0 );
-135         }
-136         else
-137         {
-138             if ( isNotEmpty( name ) )
-139             {
-140                 append( sb, name, 0 );
-141             }
-142             else
-143             {
-144                 append( sb, id, 0 );
-145             }
-146         }
-147         append( sb, getValue( plugin, "description" ), 1 );
-148         append( sb, "", 0 );
-149 
-150         //<goalPrefix>plugin</goalPrefix>
-151         String goalPrefix = getValue( plugin, "goalPrefix" );
-152 
-153         Node mojos1 = getSingleChild( plugin, "mojos" );
-154 
-155         List<Node> mojos = findNamedChild( mojos1, "mojo" );
-156 
-157         if ( goal == null || goal.length() <= 0 )
-158         {
-159             append( sb, "This plugin has " + mojos.size() + ( mojos.size() > 1 ? " goals:" : " goal:" ), 0 );
-160             append( sb, "", 0 );
-161         }
-162 
-163         for ( Node mojo : mojos )
-164         {
-165             writeGoal( sb, goalPrefix, (Element) mojo );
-166         }
-167 
-168         if ( getLog().isInfoEnabled() )
-169         {
-170             getLog().info( sb.toString() );
-171         }
-172     }
-173 
-174 
-175     private static boolean isNotEmpty( String string )
-176     {
-177         return string != null && string.length() > 0;
-178     }
-179 
-180     private String getValue( Node node, String elementName )
-181         throws MojoExecutionException
-182     {
-183         return getSingleChild( node, elementName ).getTextContent();
-184     }
-185 
-186     private Node getSingleChild( Node node, String elementName )
-187         throws MojoExecutionException
-188     {
-189         List<Node> namedChild = findNamedChild( node, elementName );
-190         if ( namedChild.isEmpty() )
-191         {
-192             throw new MojoExecutionException( "Could not find " + elementName + " in plugin-help.xml" );
-193         }
-194         if ( namedChild.size() > 1 )
-195         {
-196             throw new MojoExecutionException( "Multiple " + elementName + " in plugin-help.xml" );
-197         }
-198         return namedChild.get( 0 );
-199     }
-200 
-201     private List<Node> findNamedChild( Node node, String elementName )
-202     {
-203         List<Node> result = new ArrayList<Node>();
-204         NodeList childNodes = node.getChildNodes();
-205         for ( int i = 0; i < childNodes.getLength(); i++ )
-206         {
-207             Node item = childNodes.item( i );
-208             if ( elementName.equals( item.getNodeName() ) )
-209             {
-210                 result.add( item );
-211             }
-212         }
-213         return result;
-214     }
-215 
-216     private Node findSingleChild( Node node, String elementName )
-217         throws MojoExecutionException
-218     {
-219         List<Node> elementsByTagName = findNamedChild( node, elementName );
-220         if ( elementsByTagName.isEmpty() )
-221         {
-222             return null;
-223         }
-224         if ( elementsByTagName.size() > 1 )
-225         {
-226             throw new MojoExecutionException( "Multiple " + elementName + "in plugin-help.xml" );
-227         }
-228         return elementsByTagName.get( 0 );
-229     }
-230 
-231     private void writeGoal( StringBuilder sb, String goalPrefix, Element mojo )
-232         throws MojoExecutionException
-233     {
-234         String mojoGoal = getValue( mojo, "goal" );
-235         Node configurationElement = findSingleChild( mojo, "configuration" );
-236         Node description = findSingleChild( mojo, "description" );
-237         if ( goal == null || goal.length() <= 0 || mojoGoal.equals( goal ) )
-238         {
-239             append( sb, goalPrefix + ":" + mojoGoal, 0 );
-240             Node deprecated = findSingleChild( mojo, "deprecated" );
-241             if ( ( deprecated != null ) && isNotEmpty( deprecated.getTextContent() ) )
-242             {
-243                 append( sb, "Deprecated. " + deprecated.getTextContent(), 1 );
-244                 if ( detail && description != null )
-245                 {
-246                     append( sb, "", 0 );
-247                     append( sb, description.getTextContent(), 1 );
-248                 }
-249             }
-250             else if ( description != null )
-251             {
-252                 append( sb, description.getTextContent(), 1 );
-253             }
-254             append( sb, "", 0 );
-255 
-256             if ( detail )
-257             {
-258                 Node parametersNode = getSingleChild( mojo, "parameters" );
-259                 List<Node> parameters = findNamedChild( parametersNode, "parameter" );
-260                 append( sb, "Available parameters:", 1 );
-261                 append( sb, "", 0 );
-262 
-263                 for ( Node parameter : parameters )
-264                 {
-265                     writeParameter( sb, parameter, configurationElement );
-266                 }
-267             }
-268         }
-269     }
-270 
-271     private void writeParameter( StringBuilder sb, Node parameter, Node configurationElement )
-272         throws MojoExecutionException
-273     {
-274         String parameterName = getValue( parameter, "name" );
-275         String parameterDescription = getValue( parameter, "description" );
-276 
-277         Element fieldConfigurationElement = (Element) findSingleChild( configurationElement, parameterName );
-278 
-279         String parameterDefaultValue = "";
-280         if ( fieldConfigurationElement != null && fieldConfigurationElement.hasAttribute( "default-value" ) )
-281         {
-282             parameterDefaultValue = " (Default: " + fieldConfigurationElement.getAttribute( "default-value" ) + ")";
-283         }
-284         append( sb, parameterName + parameterDefaultValue, 2 );
-285         Node deprecated = findSingleChild( parameter, "deprecated" );
-286         if ( ( deprecated != null ) && isNotEmpty( deprecated.getTextContent() ) )
-287         {
-288             append( sb, "Deprecated. " + deprecated.getTextContent(), 3 );
-289             append( sb, "", 0 );
-290         }
-291         append( sb, parameterDescription, 3 );
-292         if ( "true".equals( getValue( parameter, "required" ) ) )
-293         {
-294             append( sb, "Required: Yes", 3 );
-295         }
-296         if ( ( fieldConfigurationElement != null ) && isNotEmpty( fieldConfigurationElement.getTextContent() ) )
-297         {
-298             String property = getPropertyFromExpression( fieldConfigurationElement.getTextContent() );
-299             append( sb, "User property: " + property, 3 );
-300         }
-301 
-302         append( sb, "", 0 );
-303     }
-304 
-305     /**
-306      * <p>Repeat a String <code>n</code> times to form a new string.</p>
-307      *
-308      * @param str    String to repeat
-309      * @param repeat number of times to repeat str
-310      * @return String with repeated String
-311      * @throws NegativeArraySizeException if <code>repeat < 0</code>
-312      * @throws NullPointerException       if str is <code>null</code>
-313      */
-314     private static String repeat( String str, int repeat )
-315     {
-316         StringBuilder buffer = new StringBuilder( repeat * str.length() );
-317 
-318         for ( int i = 0; i < repeat; i++ )
-319         {
-320             buffer.append( str );
-321         }
-322 
-323         return buffer.toString();
-324     }
-325 
-326     /**
-327      * Append a description to the buffer by respecting the indentSize and lineLength parameters.
-328      * <b>Note</b>: The last character is always a new line.
-329      *
-330      * @param sb          The buffer to append the description, not <code>null</code>.
-331      * @param description The description, not <code>null</code>.
-332      * @param indent      The base indentation level of each line, must not be negative.
-333      */
-334     private void append( StringBuilder sb, String description, int indent )
-335     {
-336         for ( String line : toLines( description, indent, indentSize, lineLength ) )
-337         {
-338             sb.append( line ).append( '\n' );
-339         }
-340     }
-341 
-342     /**
-343      * Splits the specified text into lines of convenient display length.
-344      *
-345      * @param text       The text to split into lines, must not be <code>null</code>.
-346      * @param indent     The base indentation level of each line, must not be negative.
-347      * @param indentSize The size of each indentation, must not be negative.
-348      * @param lineLength The length of the line, must not be negative.
-349      * @return The sequence of display lines, never <code>null</code>.
-350      * @throws NegativeArraySizeException if <code>indent < 0</code>
-351      */
-352     private static List<String> toLines( String text, int indent, int indentSize, int lineLength )
-353     {
-354         List<String> lines = new ArrayList<String>();
-355 
-356         String ind = repeat( "\t", indent );
-357 
-358         String[] plainLines = text.split( "(\r\n)|(\r)|(\n)" );
-359 
-360         for ( String plainLine : plainLines )
-361         {
-362             toLines( lines, ind + plainLine, indentSize, lineLength );
-363         }
-364 
-365         return lines;
-366     }
-367 
-368     /**
-369      * Adds the specified line to the output sequence, performing line wrapping if necessary.
-370      *
-371      * @param lines      The sequence of display lines, must not be <code>null</code>.
-372      * @param line       The line to add, must not be <code>null</code>.
-373      * @param indentSize The size of each indentation, must not be negative.
-374      * @param lineLength The length of the line, must not be negative.
-375      */
-376     private static void toLines( List<String> lines, String line, int indentSize, int lineLength )
-377     {
-378         int lineIndent = getIndentLevel( line );
-379         StringBuilder buf = new StringBuilder( 256 );
-380 
-381         String[] tokens = line.split( " +" );
-382 
-383         for ( String token : tokens )
-384         {
-385             if ( buf.length() > 0 )
-386             {
-387                 if ( buf.length() + token.length() >= lineLength )
-388                 {
-389                     lines.add( buf.toString() );
-390                     buf.setLength( 0 );
-391                     buf.append( repeat( " ", lineIndent * indentSize ) );
-392                 }
-393                 else
-394                 {
-395                     buf.append( ' ' );
-396                 }
-397             }
-398 
-399             for ( int j = 0; j < token.length(); j++ )
-400             {
-401                 char c = token.charAt( j );
-402                 if ( c == '\t' )
-403                 {
-404                     buf.append( repeat( " ", indentSize - buf.length() % indentSize ) );
-405                 }
-406                 else if ( c == '\u00A0' )
-407                 {
-408                     buf.append( ' ' );
-409                 }
-410                 else
-411                 {
-412                     buf.append( c );
-413                 }
-414             }
-415         }
-416         lines.add( buf.toString() );
-417     }
-418 
-419     /**
-420      * Gets the indentation level of the specified line.
-421      *
-422      * @param line The line whose indentation level should be retrieved, must not be <code>null</code>.
-423      * @return The indentation level of the line.
-424      */
-425     private static int getIndentLevel( String line )
-426     {
-427         int level = 0;
-428         for ( int i = 0; i < line.length() && line.charAt( i ) == '\t'; i++ )
-429         {
-430             level++;
-431         }
-432         for ( int i = level + 1; i <= level + 4 && i < line.length(); i++ )
-433         {
-434             if ( line.charAt( i ) == '\t' )
-435             {
-436                 level++;
-437                 break;
-438             }
-439         }
-440         return level;
-441     }
-442     
-443     private String getPropertyFromExpression( String expression )
-444     {
-445         if ( expression != null && expression.startsWith( "${" ) && expression.endsWith( "}" )
-446             && !expression.substring( 2 ).contains( "${" ) )
-447         {
-448             // expression="${xxx}" -> property="xxx"
-449             return expression.substring( 2, expression.length() - 1 );
-450         }
-451         // no property can be extracted
-452         return null;
-453     }
-454 }
-
-
- - - diff --git a/projects/hibernate-maven-plugin-2.0.0/xref/de/juplo/plugins/hibernate/ModificationTracker.html b/projects/hibernate-maven-plugin-2.0.0/xref/de/juplo/plugins/hibernate/ModificationTracker.html deleted file mode 100644 index 62bdd9c..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/xref/de/juplo/plugins/hibernate/ModificationTracker.html +++ /dev/null @@ -1,224 +0,0 @@ - - - -ModificationTracker xref - - - -
View Javadoc
-1   package de.juplo.plugins.hibernate;
-2   
-3   
-4   import java.io.File;
-5   import java.io.FileInputStream;
-6   import java.io.FileOutputStream;
-7   import java.io.IOException;
-8   import java.io.InputStream;
-9   import java.io.ObjectInputStream;
-10  import java.io.ObjectOutputStream;
-11  import java.math.BigInteger;
-12  import java.security.MessageDigest;
-13  import java.security.NoSuchAlgorithmException;
-14  import java.util.HashMap;
-15  import java.util.HashSet;
-16  import java.util.Map;
-17  import java.util.Properties;
-18  import java.util.Set;
-19  import org.apache.maven.plugin.logging.Log;
-20  
-21  
-22  
-23  /**
-24   *
-25   * @author Kai Moritz
-26   */
-27  public class ModificationTracker
-28  {
-29    private Map<String,String> properties;
-30    private Map<String,String> classes;
-31  
-32    private final Set<String> propertyNames;
-33    private final Set<String> classNames;
-34  
-35    private boolean modified = false;
-36    private boolean failed = false;
-37  
-38    private final File saved;
-39    private final MessageDigest digest;
-40    private final Log log;
-41  
-42  
-43    ModificationTracker(String buildDirectory, String filename, Log log)
-44        throws
-45          NoSuchAlgorithmException
-46    {
-47      propertyNames = new HashSet<String>();
-48      classNames = new HashSet<String>();
-49      File output = new File(filename + ".md5s");
-50      if (output.isAbsolute())
-51      {
-52        saved = output;
-53      }
-54      else
-55      {
-56        // Interpret relative file path relative to build directory
-57        saved = new File(buildDirectory, output.getPath());
-58        log.debug("Adjusted relative path, resulting path is " + saved.getPath());
-59      }
-60      digest = java.security.MessageDigest.getInstance("MD5");
-61      this.log = log;
-62    }
-63  
-64  
-65    private String calculate(InputStream is)
-66        throws
-67          IOException
-68    {
-69      byte[] buffer = new byte[1024*4]; // copy data in 4MB-chunks
-70      int i;
-71      while((i = is.read(buffer)) > -1)
-72        digest.update(buffer, 0, i);
-73      is.close();
-74      byte[] bytes = digest.digest();
-75      BigInteger bi = new BigInteger(1, bytes);
-76      return String.format("%0" + (bytes.length << 1) + "x", bi);
-77    }
-78  
-79    private boolean check(Map<String,String> values, String name, String value)
-80    {
-81      if (!values.containsKey(name) || !values.get(name).equals(value))
-82      {
-83        values.put(name, value);
-84        return true;
-85      }
-86      else
-87        return false;
-88    }
-89  
-90  
-91    boolean track(String name, InputStream is) throws IOException
-92    {
-93      boolean result = check(classes, name, calculate(is));
-94      classNames.add(name);
-95      modified |= result;
-96      return result;
-97    }
-98  
-99  
-100   boolean check(String name, String property)
-101   {
-102     propertyNames.add(name);
-103     return check(properties, name, property);
-104   }
-105 
-106   boolean track(String name, String property)
-107   {
-108     boolean result = check(name, property);
-109     modified |= result;
-110     return result;
-111   }
-112 
-113   boolean track(Properties properties)
-114   {
-115     boolean result = false;
-116     for (String name : properties.stringPropertyNames())
-117       result |= track(name, properties.getProperty(name));
-118     return result;
-119   }
-120 
-121 
-122   void touch()
-123   {
-124     modified = true;
-125   }
-126 
-127   boolean modified()
-128   {
-129     for (String property : new HashSet<String>(properties.keySet()))
-130       if (!propertyNames.contains(property))
-131       {
-132         modified = true;
-133         properties.remove(property);
-134       }
-135      for (String clazz : new HashSet<String>(classes.keySet()))
-136       if (!classNames.contains(clazz))
-137       {
-138         modified = true;
-139         classes.remove(clazz);
-140       }
-141     return modified;
-142   }
-143 
-144 
-145   void failed()
-146   {
-147     failed = true;
-148   }
-149 
-150 
-151   void load()
-152   {
-153     if (saved.isFile() && saved.length() > 0)
-154     {
-155       try
-156       {
-157         FileInputStream fis = new FileInputStream(saved);
-158         ObjectInputStream ois = new ObjectInputStream(fis);
-159         properties = (HashMap<String,String>)ois.readObject();
-160         classes = (HashMap<String,String>)ois.readObject();
-161         ois.close();
-162       }
-163       catch (Exception e)
-164       {
-165         properties = new HashMap<String,String>();
-166         classes = new HashMap<String,String>();
-167         log.warn("Cannot read md5s from saved: " + e);
-168       }
-169     }
-170     else
-171     {
-172       properties = new HashMap<String,String>();
-173       classes = new HashMap<String,String>();
-174       try
-175       {
-176         saved.createNewFile();
-177       }
-178       catch (IOException e)
-179       {
-180         log.debug("Cannot create file \"" + saved.getPath() + "\" for md5s: " + e);
-181       }
-182     }
-183   }
-184 
-185   void save()
-186   {
-187     if (failed)
-188     {
-189       saved.delete();
-190       return;
-191     }
-192 
-193     if (!modified)
-194       return;
-195 
-196     /** Write md5-sums for annotated classes to file */
-197     try
-198     {
-199       FileOutputStream fos = new FileOutputStream(saved);
-200       ObjectOutputStream oos = new ObjectOutputStream(fos);
-201       oos.writeObject(properties);
-202       oos.writeObject(classes);
-203       oos.close();
-204       fos.close();
-205     }
-206     catch (Exception e)
-207     {
-208       log.error("Cannot write md5-sums to file: " + e);
-209     }
-210   }  
-211 }
-
-
- - - diff --git a/projects/hibernate-maven-plugin-2.0.0/xref/de/juplo/plugins/hibernate/MutableClassLoader.html b/projects/hibernate-maven-plugin-2.0.0/xref/de/juplo/plugins/hibernate/MutableClassLoader.html deleted file mode 100644 index 6ac98c3..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/xref/de/juplo/plugins/hibernate/MutableClassLoader.html +++ /dev/null @@ -1,115 +0,0 @@ - - - -MutableClassLoader xref - - - -
View Javadoc
-1   package de.juplo.plugins.hibernate;
-2   
-3   import java.io.IOException;
-4   import java.io.InputStream;
-5   import java.net.URL;
-6   import java.net.URLClassLoader;
-7   import java.util.Arrays;
-8   import java.util.Enumeration;
-9   import java.util.LinkedHashSet;
-10  import org.apache.maven.plugin.logging.Log;
-11  
-12  
-13  /**
-14   *
-15   * @author kai
-16   */
-17  public class MutableClassLoader extends ClassLoader
-18  {
-19    private URLClassLoader loader;
-20    private Log log;
-21  
-22  
-23    public MutableClassLoader(LinkedHashSet<URL> urls, Log log)
-24    {
-25      if (log.isDebugEnabled())
-26        for (URL url : urls)
-27          log.debug(url.toString());
-28      loader =
-29          new URLClassLoader(
-30              urls.toArray(new URL[urls.size()]),
-31              getClass().getClassLoader()
-32              );
-33      this.log = log;
-34    }
-35  
-36  
-37    public MutableClassLoader add(LinkedHashSet<URL> urls)
-38    {
-39      LinkedHashSet<URL> old =
-40          new LinkedHashSet<URL>(Arrays.asList(loader.getURLs()));
-41      old.addAll(urls);
-42      if (log.isDebugEnabled())
-43        for (URL url : urls)
-44          log.debug(url.toString());
-45      loader =
-46          new URLClassLoader(
-47              old.toArray(new URL[urls.size()]),
-48              getClass().getClassLoader()
-49              );
-50      return this;
-51    }
-52  
-53  
-54    @Override
-55    public void clearAssertionStatus()
-56    {
-57      loader.clearAssertionStatus();
-58    }
-59  
-60    @Override
-61    public void setClassAssertionStatus(String className, boolean enabled)
-62    {
-63      loader.setClassAssertionStatus(className, enabled);
-64    }
-65  
-66    @Override
-67    public void setPackageAssertionStatus(String packageName, boolean enabled)
-68    {
-69      loader.setPackageAssertionStatus(packageName, enabled);
-70    }
-71  
-72    @Override
-73    public void setDefaultAssertionStatus(boolean enabled)
-74    {
-75      loader.setDefaultAssertionStatus(enabled);
-76    }
-77  
-78    @Override
-79    public InputStream getResourceAsStream(String name)
-80    {
-81      return loader.getResourceAsStream(name);
-82    }
-83  
-84    @Override
-85    public Enumeration<URL> getResources(String name) throws IOException
-86    {
-87      return loader.getResources(name);
-88    }
-89  
-90    @Override
-91    public URL getResource(String name)
-92    {
-93      return loader.getResource(name);
-94    }
-95  
-96    @Override
-97    public Class<?> loadClass(String name) throws ClassNotFoundException
-98    {
-99      return loader.loadClass(name);
-100   }
-101   
-102 }
-
-
- - - diff --git a/projects/hibernate-maven-plugin-2.0.0/xref/de/juplo/plugins/hibernate/SimpleConnectionProvider.html b/projects/hibernate-maven-plugin-2.0.0/xref/de/juplo/plugins/hibernate/SimpleConnectionProvider.html deleted file mode 100644 index a2553db..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/xref/de/juplo/plugins/hibernate/SimpleConnectionProvider.html +++ /dev/null @@ -1,262 +0,0 @@ - - - -SimpleConnectionProvider xref - - - -
View Javadoc
-1   package de.juplo.plugins.hibernate;
-2   
-3   import java.sql.Connection;
-4   import java.sql.Driver;
-5   import java.sql.DriverManager;
-6   import java.sql.DriverPropertyInfo;
-7   import java.sql.SQLException;
-8   import java.sql.SQLFeatureNotSupportedException;
-9   import java.util.Properties;
-10  import java.util.logging.Logger;
-11  import org.apache.maven.plugin.MojoFailureException;
-12  import org.apache.maven.plugin.logging.Log;
-13  import static org.eclipse.aether.repository.AuthenticationContext.PASSWORD;
-14  import static org.eclipse.aether.repository.AuthenticationContext.USERNAME;
-15  import org.hibernate.boot.registry.classloading.spi.ClassLoaderService;
-16  import static org.hibernate.cfg.AvailableSettings.DRIVER;
-17  import static org.hibernate.cfg.AvailableSettings.PASS;
-18  import static org.hibernate.cfg.AvailableSettings.URL;
-19  import static org.hibernate.cfg.AvailableSettings.USER;
-20  import org.hibernate.engine.jdbc.connections.spi.ConnectionProvider;
-21  import static org.hibernate.jpa.AvailableSettings.JDBC_DRIVER;
-22  import static org.hibernate.jpa.AvailableSettings.JDBC_PASSWORD;
-23  import static org.hibernate.jpa.AvailableSettings.JDBC_URL;
-24  import static org.hibernate.jpa.AvailableSettings.JDBC_USER;
-25  
-26  /**
-27   *
-28   * @author Kai Moritz
-29   */
-30  class SimpleConnectionProvider implements ConnectionProvider
-31  {
-32    private final Log log;
-33  
-34    private Connection connection;
-35  
-36  
-37    SimpleConnectionProvider(Log log)
-38    {
-39      this.log = log;
-40    }
-41  
-42  
-43    void open(ClassLoaderService classLoaderService, Properties properties)
-44        throws
-45          MojoFailureException
-46    {
-47  
-48      String driver = (String)
-49          (properties.containsKey(DRIVER)
-50              ? properties.getProperty(DRIVER)
-51              : properties.getProperty(JDBC_DRIVER)
-52              );
-53      String url = (String)
-54          (properties.containsKey(URL)
-55              ? properties.getProperty(URL)
-56              : properties.getProperty(JDBC_URL)
-57              );
-58      String user = (String)
-59          (properties.containsKey(USER)
-60              ? properties.getProperty(USER)
-61              : properties.getProperty(JDBC_USER)
-62              );
-63      String password = (String)
-64          (properties.containsKey(PASS)
-65              ? properties.getProperty(PASS)
-66              : properties.getProperty(JDBC_PASSWORD)
-67              );
-68  
-69      if (driver == null || url == null || user == null)
-70      {
-71        log.info("No connection opened, because connection information is incomplete");
-72        log.info("Driver-Class: " + driver);
-73        log.info("URL: " + url);
-74        log.info("User: " + user);
-75        return;
-76      }
-77  
-78      try
-79      {
-80        Class driverClass = classLoaderService.classForName(driver);
-81  
-82        log.debug("Registering JDBC-driver " + driverClass.getName());
-83        DriverManager
-84            .registerDriver(new DriverProxy((Driver) driverClass.newInstance()));
-85  
-86        log.debug(
-87            "Opening JDBC-connection to " + properties.getProperty(URL) +
-88            " as " + properties.getProperty(USERNAME) +
-89            " with password " + properties.getProperty(PASSWORD)
-90            );
-91      
-92        connection = DriverManager.getConnection(url, user, password);
-93      }
-94      catch (Exception e)
-95      {
-96        throw new MojoFailureException("Could not open the JDBC-connection", e);
-97      }
-98    }
-99  
-100   void close()
-101   {
-102     if (connection == null)
-103       return;
-104 
-105     log.debug("Closing the JDBC-connection.");
-106     try
-107     {
-108       connection.close();
-109     }
-110     catch (SQLException e)
-111     {
-112       log.error("Error while closing the JDBC-connection: " + e.getMessage());
-113     }
-114   }
-115 
-116   @Override
-117   public Connection getConnection() throws SQLException
-118   {
-119     log.debug("Connection aquired.");
-120 
-121     if (connection == null)
-122       throw new SQLException("No connection available, because of insufficient connection information!");
-123 
-124     return connection;
-125   }
-126 
-127   @Override
-128   public void closeConnection(Connection conn) throws SQLException
-129   {
-130     log.debug("Connection released");
-131   }
-132 
-133   @Override
-134   public boolean supportsAggressiveRelease()
-135   {
-136     return false;
-137   }
-138 
-139   @Override
-140   public boolean isUnwrappableAs(Class unwrapType)
-141   {
-142     return false;
-143   }
-144 
-145   @Override
-146   public <T> T unwrap(Class<T> unwrapType)
-147   {
-148     throw new UnsupportedOperationException("Not supported.");
-149   }
-150 
-151   /**
-152    * Needed, because DriverManager won't pick up drivers, that were not
-153    * loaded by the system-classloader!
-154    * See:
-155    * http://stackoverflow.com/questions/288828/how-to-use-a-jdbc-driver-fromodifiedm-an-arbitrary-location
-156    */
-157   static final class DriverProxy implements Driver
-158   {
-159     private final Driver target;
-160 
-161     DriverProxy(Driver target)
-162     {
-163       if (target == null)
-164         throw new NullPointerException();
-165       this.target = target;
-166     }
-167 
-168     public java.sql.Driver getTarget()
-169     {
-170       return target;
-171     }
-172 
-173     @Override
-174     public boolean acceptsURL(String url) throws SQLException
-175     {
-176       return target.acceptsURL(url);
-177     }
-178 
-179     @Override
-180     public java.sql.Connection connect(
-181         String url,
-182         java.util.Properties info
-183       )
-184       throws
-185         SQLException
-186     {
-187       return target.connect(url, info);
-188     }
-189 
-190     @Override
-191     public int getMajorVersion()
-192     {
-193       return target.getMajorVersion();
-194     }
-195 
-196     @Override
-197     public int getMinorVersion()
-198     {
-199       return target.getMinorVersion();
-200     }
-201 
-202     @Override
-203     public DriverPropertyInfo[] getPropertyInfo(
-204         String url,
-205         Properties info
-206       )
-207       throws
-208         SQLException
-209     {
-210       return target.getPropertyInfo(url, info);
-211     }
-212 
-213     @Override
-214     public boolean jdbcCompliant()
-215     {
-216       return target.jdbcCompliant();
-217     }
-218 
-219     /**
-220      * This Method cannot be annotated with @Override, becaus the plugin
-221      * will not compile then under Java 1.6!
-222      */
-223     public Logger getParentLogger() throws SQLFeatureNotSupportedException
-224     {
-225       throw new SQLFeatureNotSupportedException("Not supported, for backward-compatibility with Java 1.6");
-226     }
-227 
-228     @Override
-229     public String toString()
-230     {
-231       return "Proxy: " + target;
-232     }
-233 
-234     @Override
-235     public int hashCode()
-236     {
-237       return target.hashCode();
-238     }
-239 
-240     @Override
-241     public boolean equals(Object obj)
-242     {
-243       if (!(obj instanceof DriverProxy))
-244         return false;
-245       DriverProxy other = (DriverProxy) obj;
-246       return this.target.equals(other.target);
-247     }
-248   }
-249 }
-
-
- - - diff --git a/projects/hibernate-maven-plugin-2.0.0/xref/de/juplo/plugins/hibernate/package-frame.html b/projects/hibernate-maven-plugin-2.0.0/xref/de/juplo/plugins/hibernate/package-frame.html deleted file mode 100644 index 8816bf8..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/xref/de/juplo/plugins/hibernate/package-frame.html +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - Hibernate Maven Plugin 2.0.0 Reference Package de.juplo.plugins.hibernate - - - - -

- de.juplo.plugins.hibernate -

- -

Classes

- - - - - \ No newline at end of file diff --git a/projects/hibernate-maven-plugin-2.0.0/xref/de/juplo/plugins/hibernate/package-summary.html b/projects/hibernate-maven-plugin-2.0.0/xref/de/juplo/plugins/hibernate/package-summary.html deleted file mode 100644 index 543f54a..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/xref/de/juplo/plugins/hibernate/package-summary.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - Hibernate Maven Plugin 2.0.0 Reference Package de.juplo.plugins.hibernate - - - -
- -
-
- -
- -

Package de.juplo.plugins.hibernate

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Class Summary
- AbstractSchemaMojo -
- CreateMojo -
- DriverProxy -
- DropMojo -
- HelpMojo -
- ModificationTracker -
- MutableClassLoader -
- SimpleConnectionProvider -
- -
- -
-
- -
-
- - - \ No newline at end of file diff --git a/projects/hibernate-maven-plugin-2.0.0/xref/index.html b/projects/hibernate-maven-plugin-2.0.0/xref/index.html deleted file mode 100644 index cc2b557..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/xref/index.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - Hibernate Maven Plugin 2.0.0 Reference - - - - - - - - - <body> - <h1>Frame Alert</h1> - <p> - You don't have frames. Go <a href="overview-summary.html">here</a> - </p> - </body> - - - - diff --git a/projects/hibernate-maven-plugin-2.0.0/xref/overview-frame.html b/projects/hibernate-maven-plugin-2.0.0/xref/overview-frame.html deleted file mode 100644 index 51ab616..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/xref/overview-frame.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - Hibernate Maven Plugin 2.0.0 Reference - - - - -

- All Classes -

- -

Packages

- - - - - - diff --git a/projects/hibernate-maven-plugin-2.0.0/xref/overview-summary.html b/projects/hibernate-maven-plugin-2.0.0/xref/overview-summary.html deleted file mode 100644 index 654b147..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/xref/overview-summary.html +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - Hibernate Maven Plugin 2.0.0 Reference - - - -
- -
-
- -
- -

Hibernate Maven Plugin 2.0.0 Reference

- - - - - - - - - - - - -
Packages
- de.juplo.plugins.hibernate -
- -
- -
-
- -
- -
- - - \ No newline at end of file diff --git a/projects/hibernate-maven-plugin-2.0.0/xref/stylesheet.css b/projects/hibernate-maven-plugin-2.0.0/xref/stylesheet.css deleted file mode 100644 index 89732f8..0000000 --- a/projects/hibernate-maven-plugin-2.0.0/xref/stylesheet.css +++ /dev/null @@ -1,114 +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; -} - -#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/2.0.0/apidocs/allclasses-frame.html b/projects/hibernate-maven-plugin/2.0.0/apidocs/allclasses-frame.html new file mode 100644 index 0000000..7e65251 --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/apidocs/allclasses-frame.html @@ -0,0 +1,25 @@ + + + + + + +All Classes (Hibernate Maven Plugin 2.0.0 API) + + + + + +

All Classes

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

All Classes

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

Constant Field Values

+

Contents

+ +
+
+ + +

de.juplo.*

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

Copyright © 2016. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/2.0.0/apidocs/de/juplo/plugins/hibernate/AbstractSchemaMojo.html b/projects/hibernate-maven-plugin/2.0.0/apidocs/de/juplo/plugins/hibernate/AbstractSchemaMojo.html new file mode 100644 index 0000000..222ae01 --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/apidocs/de/juplo/plugins/hibernate/AbstractSchemaMojo.html @@ -0,0 +1,479 @@ + + + + + + +AbstractSchemaMojo (Hibernate Maven Plugin 2.0.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
de.juplo.plugins.hibernate
+

Class AbstractSchemaMojo

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
    +
    +
    +
    Direct Known Subclasses:
    +
    CreateMojo, DropMojo
    +
    +
    +
    +
    public abstract class AbstractSchemaMojo
    +extends org.apache.maven.plugin.AbstractMojo
    +
    Baseclass with common attributes and methods.
    +
    +
    Phase:
    +
    process-classes
    +
    Thread Safe:
    +
    Requires Dependency Resolution:
    +
    runtime
    +
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/2.0.0/apidocs/de/juplo/plugins/hibernate/CreateMojo.html b/projects/hibernate-maven-plugin/2.0.0/apidocs/de/juplo/plugins/hibernate/CreateMojo.html new file mode 100644 index 0000000..9aca7dd --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/apidocs/de/juplo/plugins/hibernate/CreateMojo.html @@ -0,0 +1,339 @@ + + + + + + +CreateMojo (Hibernate Maven Plugin 2.0.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
de.juplo.plugins.hibernate
+

Class CreateMojo

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
    +
    +
    +
    +
    public class CreateMojo
    +extends AbstractSchemaMojo
    +
    Goal which extracts the hibernate-mapping-configuration and + exports an according SQL-database-schema.
    +
    +
    Goal:
    +
    create
    +
    Phase:
    +
    process-classes
    +
    Thread Safe:
    +
    Requires Dependency Resolution:
    +
    runtime
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CreateMojo

        +
        public CreateMojo()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        execute

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

Copyright © 2016. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/2.0.0/apidocs/de/juplo/plugins/hibernate/DropMojo.html b/projects/hibernate-maven-plugin/2.0.0/apidocs/de/juplo/plugins/hibernate/DropMojo.html new file mode 100644 index 0000000..55b1938 --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/apidocs/de/juplo/plugins/hibernate/DropMojo.html @@ -0,0 +1,339 @@ + + + + + + +DropMojo (Hibernate Maven Plugin 2.0.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
de.juplo.plugins.hibernate
+

Class DropMojo

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
    +
    +
    +
    +
    public class DropMojo
    +extends AbstractSchemaMojo
    +
    Goal which extracts the hibernate-mapping-configuration and + exports an according SQL-database-schema.
    +
    +
    Goal:
    +
    drop
    +
    Phase:
    +
    process-classes
    +
    Thread Safe:
    +
    Requires Dependency Resolution:
    +
    runtime
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        DropMojo

        +
        public DropMojo()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        execute

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

Copyright © 2016. All Rights Reserved.

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

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 hibernate-maven-plugin.
    + Call mvn hibernate:help -Ddetail=true -Dgoal=<goal-name> to display parameter details.
    +
    +
    Author:
    +
    maven-plugin-tools
    +
    Goal:
    +
    help
    +
    Thread Safe:
    +
    Requires Project:
    +
    false
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        HelpMojo

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

      Method Detail

      + + + +
        +
      • +

        execute

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

Copyright © 2016. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/2.0.0/apidocs/de/juplo/plugins/hibernate/ModificationTracker.html b/projects/hibernate-maven-plugin/2.0.0/apidocs/de/juplo/plugins/hibernate/ModificationTracker.html new file mode 100644 index 0000000..2bcd13c --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/apidocs/de/juplo/plugins/hibernate/ModificationTracker.html @@ -0,0 +1,201 @@ + + + + + + +ModificationTracker (Hibernate Maven Plugin 2.0.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
de.juplo.plugins.hibernate
+

Class ModificationTracker

+
+
+ +
+
    +
  • +
    +
    +
    public class ModificationTracker
    +extends Object
    +
    +
    Author:
    +
    Kai Moritz
    +
    +
  • +
+
+
+ +
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/2.0.0/apidocs/de/juplo/plugins/hibernate/MutableClassLoader.html b/projects/hibernate-maven-plugin/2.0.0/apidocs/de/juplo/plugins/hibernate/MutableClassLoader.html new file mode 100644 index 0000000..3d9f915 --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/apidocs/de/juplo/plugins/hibernate/MutableClassLoader.html @@ -0,0 +1,435 @@ + + + + + + +MutableClassLoader (Hibernate Maven Plugin 2.0.0 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
de.juplo.plugins.hibernate
+

Class MutableClassLoader

+
+
+ +
+
    +
  • +
    +
    +
    public class MutableClassLoader
    +extends ClassLoader
    +
    +
    Author:
    +
    kai
    +
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/2.0.0/apidocs/de/juplo/plugins/hibernate/class-use/AbstractSchemaMojo.html b/projects/hibernate-maven-plugin/2.0.0/apidocs/de/juplo/plugins/hibernate/class-use/AbstractSchemaMojo.html new file mode 100644 index 0000000..652bcc1 --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/apidocs/de/juplo/plugins/hibernate/class-use/AbstractSchemaMojo.html @@ -0,0 +1,159 @@ + + + + + + +Uses of Class de.juplo.plugins.hibernate.AbstractSchemaMojo (Hibernate Maven Plugin 2.0.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
de.juplo.plugins.hibernate.AbstractSchemaMojo

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

Copyright © 2016. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/2.0.0/apidocs/de/juplo/plugins/hibernate/class-use/CreateMojo.html b/projects/hibernate-maven-plugin/2.0.0/apidocs/de/juplo/plugins/hibernate/class-use/CreateMojo.html new file mode 100644 index 0000000..6e09afd --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/apidocs/de/juplo/plugins/hibernate/class-use/CreateMojo.html @@ -0,0 +1,124 @@ + + + + + + +Uses of Class de.juplo.plugins.hibernate.CreateMojo (Hibernate Maven Plugin 2.0.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
de.juplo.plugins.hibernate.CreateMojo

+
+
No usage of de.juplo.plugins.hibernate.CreateMojo
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/2.0.0/apidocs/de/juplo/plugins/hibernate/class-use/DropMojo.html b/projects/hibernate-maven-plugin/2.0.0/apidocs/de/juplo/plugins/hibernate/class-use/DropMojo.html new file mode 100644 index 0000000..e83a88e --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/apidocs/de/juplo/plugins/hibernate/class-use/DropMojo.html @@ -0,0 +1,124 @@ + + + + + + +Uses of Class de.juplo.plugins.hibernate.DropMojo (Hibernate Maven Plugin 2.0.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
de.juplo.plugins.hibernate.DropMojo

+
+
No usage of de.juplo.plugins.hibernate.DropMojo
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

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

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

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

Copyright © 2016. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/2.0.0/apidocs/de/juplo/plugins/hibernate/class-use/ModificationTracker.html b/projects/hibernate-maven-plugin/2.0.0/apidocs/de/juplo/plugins/hibernate/class-use/ModificationTracker.html new file mode 100644 index 0000000..9e35405 --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/apidocs/de/juplo/plugins/hibernate/class-use/ModificationTracker.html @@ -0,0 +1,124 @@ + + + + + + +Uses of Class de.juplo.plugins.hibernate.ModificationTracker (Hibernate Maven Plugin 2.0.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
de.juplo.plugins.hibernate.ModificationTracker

+
+
No usage of de.juplo.plugins.hibernate.ModificationTracker
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

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

Uses of Class
de.juplo.plugins.hibernate.MutableClassLoader

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

Copyright © 2016. All Rights Reserved.

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

de.juplo.plugins.hibernate

+
+

Classes

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

Package de.juplo.plugins.hibernate

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

Copyright © 2016. All Rights Reserved.

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

Hierarchy For Package de.juplo.plugins.hibernate

+
+
+

Class Hierarchy

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

Copyright © 2016. All Rights Reserved.

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

Uses of Package
de.juplo.plugins.hibernate

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

Copyright © 2016. All Rights Reserved.

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

Deprecated API

+

Contents

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

Copyright © 2016. All Rights Reserved.

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

How This API Document Is Organized

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

Copyright © 2016. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/2.0.0/apidocs/index-all.html b/projects/hibernate-maven-plugin/2.0.0/apidocs/index-all.html new file mode 100644 index 0000000..a59587e --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/apidocs/index-all.html @@ -0,0 +1,262 @@ + + + + + + +Index (Hibernate Maven Plugin 2.0.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
A C D E G H L M O S T  + + +

A

+
+
AbstractSchemaMojo - Class in de.juplo.plugins.hibernate
+
+
Baseclass with common attributes and methods.
+
+
AbstractSchemaMojo() - Constructor for class de.juplo.plugins.hibernate.AbstractSchemaMojo
+
 
+
add(LinkedHashSet<URL>) - Method in class de.juplo.plugins.hibernate.MutableClassLoader
+
 
+
+ + + +

C

+
+
clearAssertionStatus() - Method in class de.juplo.plugins.hibernate.MutableClassLoader
+
 
+
CreateMojo - Class in de.juplo.plugins.hibernate
+
+
Goal which extracts the hibernate-mapping-configuration and + exports an according SQL-database-schema.
+
+
CreateMojo() - Constructor for class de.juplo.plugins.hibernate.CreateMojo
+
 
+
+ + + +

D

+
+
de.juplo.plugins.hibernate - package de.juplo.plugins.hibernate
+
 
+
DELIMITER - Static variable in class de.juplo.plugins.hibernate.AbstractSchemaMojo
+
 
+
DropMojo - Class in de.juplo.plugins.hibernate
+
+
Goal which extracts the hibernate-mapping-configuration and + exports an according SQL-database-schema.
+
+
DropMojo() - Constructor for class de.juplo.plugins.hibernate.DropMojo
+
 
+
+ + + +

E

+
+
execute(String) - Method in class de.juplo.plugins.hibernate.AbstractSchemaMojo
+
 
+
execute() - Method in class de.juplo.plugins.hibernate.CreateMojo
+
 
+
execute() - Method in class de.juplo.plugins.hibernate.DropMojo
+
 
+
execute() - Method in class de.juplo.plugins.hibernate.HelpMojo
+
EXPORT - Static variable in class de.juplo.plugins.hibernate.AbstractSchemaMojo
+
 
+
+ + + +

G

+
+
getResource(String) - Method in class de.juplo.plugins.hibernate.MutableClassLoader
+
 
+
getResourceAsStream(String) - Method in class de.juplo.plugins.hibernate.MutableClassLoader
+
 
+
getResources(String) - Method in class de.juplo.plugins.hibernate.MutableClassLoader
+
 
+
+ + + +

H

+
+
HelpMojo - Class in de.juplo.plugins.hibernate
+
+
Display help information on hibernate-maven-plugin.
+
+
HelpMojo() - Constructor for class de.juplo.plugins.hibernate.HelpMojo
+
 
+
+ + + +

L

+
+
loadClass(String) - Method in class de.juplo.plugins.hibernate.MutableClassLoader
+
 
+
+ + + +

M

+
+
ModificationTracker - Class in de.juplo.plugins.hibernate
+
 
+
MutableClassLoader - Class in de.juplo.plugins.hibernate
+
 
+
MutableClassLoader(LinkedHashSet<URL>, Log) - Constructor for class de.juplo.plugins.hibernate.MutableClassLoader
+
 
+
+ + + +

O

+
+
OUTPUTDIRECTORY - Static variable in class de.juplo.plugins.hibernate.AbstractSchemaMojo
+
 
+
+ + + +

S

+
+
SCAN_CLASSES - Static variable in class de.juplo.plugins.hibernate.AbstractSchemaMojo
+
 
+
SCAN_DEPENDENCIES - Static variable in class de.juplo.plugins.hibernate.AbstractSchemaMojo
+
 
+
SCAN_TESTCLASSES - Static variable in class de.juplo.plugins.hibernate.AbstractSchemaMojo
+
 
+
setClassAssertionStatus(String, boolean) - Method in class de.juplo.plugins.hibernate.MutableClassLoader
+
 
+
setDefaultAssertionStatus(boolean) - Method in class de.juplo.plugins.hibernate.MutableClassLoader
+
 
+
setPackageAssertionStatus(String, boolean) - Method in class de.juplo.plugins.hibernate.MutableClassLoader
+
 
+
SKIPPED - Static variable in class de.juplo.plugins.hibernate.AbstractSchemaMojo
+
 
+
+ + + +

T

+
+
TEST_OUTPUTDIRECTORY - Static variable in class de.juplo.plugins.hibernate.AbstractSchemaMojo
+
 
+
+A C D E G H L M O S T 
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/2.0.0/apidocs/index.html b/projects/hibernate-maven-plugin/2.0.0/apidocs/index.html new file mode 100644 index 0000000..0d95ab8 --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/apidocs/index.html @@ -0,0 +1,72 @@ + + + + + + +Hibernate Maven Plugin 2.0.0 API + + + + + + +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<h2>Frame Alert</h2> +<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="de/juplo/plugins/hibernate/package-summary.html">Non-frame version</a>.</p> + + + diff --git a/projects/hibernate-maven-plugin/2.0.0/apidocs/options b/projects/hibernate-maven-plugin/2.0.0/apidocs/options new file mode 100644 index 0000000..cceba27 --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/apidocs/options @@ -0,0 +1,35 @@ +-classpath +'/home/kai/juplo/hibernate4-maven-plugin/target/checkout/target/classes:/home/kai/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar:/home/kai/.m2/repository/org/eclipse/sisu/org.eclipse.sisu.inject/0.3.0/org.eclipse.sisu.inject-0.3.0.jar:/home/kai/.m2/repository/org/eclipse/aether/aether-util/1.0.2.v20150114/aether-util-1.0.2.v20150114.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/hibernate/hibernate-entitymanager/5.0.2.Final/hibernate-entitymanager-5.0.2.Final.jar:/home/kai/.m2/repository/org/apache/maven/maven-core/3.3.3/maven-core-3.3.3.jar:/home/kai/.m2/repository/org/apache/maven/maven-model-builder/3.3.3/maven-model-builder-3.3.3.jar:/home/kai/.m2/repository/org/apache/maven/maven-settings-builder/3.3.3/maven-settings-builder-3.3.3.jar:/home/kai/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar:/home/kai/.m2/repository/javax/inject/javax.inject/1/javax.inject-1.jar:/home/kai/.m2/repository/org/codehaus/plexus/plexus-classworlds/2.5.2/plexus-classworlds-2.5.2.jar:/home/kai/.m2/repository/org/eclipse/aether/aether-spi/1.0.2.v20150114/aether-spi-1.0.2.v20150114.jar:/home/kai/.m2/repository/org/apache/maven/maven-builder-support/3.3.3/maven-builder-support-3.3.3.jar:/home/kai/.m2/repository/org/apache/maven/maven-repository-metadata/3.3.3/maven-repository-metadata-3.3.3.jar:/home/kai/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar:/home/kai/.m2/repository/org/hibernate/javax/persistence/hibernate-jpa-2.1-api/1.0.0.Final/hibernate-jpa-2.1-api-1.0.0.Final.jar:/home/kai/.m2/repository/de/juplo/scannotation/1.0.4/scannotation-1.0.4.jar:/home/kai/.m2/repository/javax/el/javax.el-api/3.0.0/javax.el-api-3.0.0.jar:/home/kai/.m2/repository/org/apache/geronimo/specs/geronimo-jta_1.1_spec/1.1.1/geronimo-jta_1.1_spec-1.1.1.jar:/home/kai/.m2/repository/javax/enterprise/cdi-api/1.0/cdi-api-1.0.jar:/home/kai/.m2/repository/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar:/home/kai/.m2/repository/org/javassist/javassist/3.18.1-GA/javassist-3.18.1-GA.jar:/home/kai/.m2/repository/org/eclipse/sisu/org.eclipse.sisu.plexus/0.3.0/org.eclipse.sisu.plexus-0.3.0.jar:/home/kai/.m2/repository/com/google/guava/guava/18.0/guava-18.0.jar:/home/kai/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar:/home/kai/.m2/repository/org/apache/maven/maven-model/3.3.3/maven-model-3.3.3.jar:/home/kai/.m2/repository/org/eclipse/aether/aether-api/1.0.2.v20150114/aether-api-1.0.2.v20150114.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/apache/maven/maven-settings/3.3.3/maven-settings-3.3.3.jar:/home/kai/.m2/repository/antlr/antlr/2.7.7/antlr-2.7.7.jar:/home/kai/.m2/repository/org/jboss/jandex/1.2.2.Final/jandex-1.2.2.Final.jar:/home/kai/.m2/repository/org/hibernate/hibernate-envers/5.0.2.Final/hibernate-envers-5.0.2.Final.jar:/home/kai/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar:/home/kai/.m2/repository/org/hibernate/common/hibernate-commons-annotations/5.0.0.Final/hibernate-commons-annotations-5.0.0.Final.jar:/home/kai/.m2/repository/org/hibernate/hibernate-validator/5.2.2.Final/hibernate-validator-5.2.2.Final.jar:/home/kai/.m2/repository/org/apache/maven/maven-aether-provider/3.3.3/maven-aether-provider-3.3.3.jar:/home/kai/.m2/repository/org/apache/maven/maven-plugin-api/3.3.3/maven-plugin-api-3.3.3.jar:/home/kai/.m2/repository/log4j/log4j/1.2.14/log4j-1.2.14.jar:/home/kai/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.21/plexus-interpolation-1.21.jar:/home/kai/.m2/repository/org/hibernate/hibernate-core/5.0.2.Final/hibernate-core-5.0.2.Final.jar:/home/kai/.m2/repository/org/apache/maven/maven-artifact/3.3.3/maven-artifact-3.3.3.jar:/home/kai/.m2/repository/com/fasterxml/classmate/1.1.0/classmate-1.1.0.jar:/home/kai/.m2/repository/org/sonatype/sisu/sisu-guice/3.2.5/sisu-guice-3.2.5-no_aop.jar:/home/kai/.m2/repository/javax/validation/validation-api/1.1.0.Final/validation-api-1.1.0.Final.jar:/home/kai/.m2/repository/org/eclipse/aether/aether-impl/1.0.2.v20150114/aether-impl-1.0.2.v20150114.jar:/home/kai/.m2/repository/org/jboss/logging/jboss-logging/3.3.0.Final/jboss-logging-3.3.0.Final.jar' +-encoding +'UTF-8' +-protected +-sourcepath +'/home/kai/juplo/hibernate4-maven-plugin/target/checkout/src/main/java:/home/kai/juplo/hibernate4-maven-plugin/target/checkout/target/generated-sources/plugin:/home/kai/juplo/hibernate4-maven-plugin/target/checkout/target/generated-sources/annotations' +-Xdoclint:none +-author +-bottom +'Copyright © 2016. All Rights Reserved.' +-charset +'UTF-8' +-d +'/home/kai/juplo/hibernate4-maven-plugin/target/checkout/target/site/apidocs' +-docencoding +'UTF-8' +-doctitle +'Hibernate Maven Plugin 2.0.0 API' +-link +'http://java.sun.com/javase/6/docs/api' +-tag +"goal:a:Goal:" +-tag +"phase:a:Phase:" +-tag +"threadSafe:a:Thread Safe:" +-tag +"requiresDependencyResolution:a:Requires Dependency Resolution:" +-tag +"requiresProject:a:Requires Project:" +-use +-version +-windowtitle +'Hibernate Maven Plugin 2.0.0 API' \ No newline at end of file diff --git a/projects/hibernate-maven-plugin/2.0.0/apidocs/overview-tree.html b/projects/hibernate-maven-plugin/2.0.0/apidocs/overview-tree.html new file mode 100644 index 0000000..abade77 --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/apidocs/overview-tree.html @@ -0,0 +1,153 @@ + + + + + + +Class Hierarchy (Hibernate Maven Plugin 2.0.0 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For All Packages

+Package Hierarchies: + +
+
+

Class Hierarchy

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

Copyright © 2016. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/2.0.0/apidocs/package-list b/projects/hibernate-maven-plugin/2.0.0/apidocs/package-list new file mode 100644 index 0000000..4e11658 --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/apidocs/package-list @@ -0,0 +1 @@ +de.juplo.plugins.hibernate diff --git a/projects/hibernate-maven-plugin/2.0.0/apidocs/packages b/projects/hibernate-maven-plugin/2.0.0/apidocs/packages new file mode 100644 index 0000000..0fe557a --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/apidocs/packages @@ -0,0 +1 @@ +de.juplo.plugins.hibernate \ No newline at end of file diff --git a/projects/hibernate-maven-plugin/2.0.0/apidocs/script.js b/projects/hibernate-maven-plugin/2.0.0/apidocs/script.js new file mode 100644 index 0000000..b346356 --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/apidocs/script.js @@ -0,0 +1,30 @@ +function show(type) +{ + count = 0; + for (var key in methods) { + var row = document.getElementById(key); + if ((methods[key] & type) != 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) +{ + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} diff --git a/projects/hibernate-maven-plugin/2.0.0/apidocs/stylesheet.css b/projects/hibernate-maven-plugin/2.0.0/apidocs/stylesheet.css new file mode 100644 index 0000000..98055b2 --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/apidocs/stylesheet.css @@ -0,0 +1,574 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ + +@import url('resources/fonts/dejavu.css'); + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4A6782; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.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; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.subNavList li{ + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader span{ + margin-right:15px; +} +.indexHeader h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* +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:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 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:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Sans Mono',monospace; +} +.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:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +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:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +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 +*/ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { + width:100%; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; + +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td { + text-align:left; + padding:0px 0px 12px 10px; +} +th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, +td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colLast, th.colOne, .constantsSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + white-space:nowrap; + font-size:13px; +} +td.colLast, th.colLast { + font-size:13px; +} +td.colOne, th.colOne { + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.useSummary td.colFirst, .useSummary th.colFirst, +.overviewSummary td.colOne, .overviewSummary th.colOne, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colOne, .memberSummary th.colOne, +.typeSummary td.colFirst{ + width:25%; + vertical-align:top; +} +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; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor { + background-color:#FFFFFF; +} +.rowColor { + background-color:#EEEEEF; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} + +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} + +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} + +td.colLast div { + padding-top:0px; +} + + +td.colLast a { + padding-bottom:3px; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, +.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, +.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} + +div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} + +div.contentContainer ul.blockList li.blockList h2{ + padding-bottom:0px; +} diff --git a/projects/hibernate-maven-plugin/2.0.0/configuration.html b/projects/hibernate-maven-plugin/2.0.0/configuration.html new file mode 100644 index 0000000..7746bcd --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/configuration.html @@ -0,0 +1,447 @@ + + + + + + + + + juplo - Hibernate Maven Plugin - Configuration Examples + + + + + + + + + + + +
+ + +
+
+

Configuration Examples

+ + + + +
+

Configuration Through A Configuration-File

+ +

+ The most simple way to configure the plugin is, to put all the + hibernate-configuration in a hibernate.properties- or + a hibernate.cfg.xml-file on your classpath or in the + persistence.xml-file of your JPA-configuration, just + like you would do, if you are not using the + hibernate-maven-plugin. +

+ +

+ 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>hibernate-maven-plugin</artifactId>
+  <version>2.0.0</version>
+  <executions>
+    <execution>
+      <goals>
+        <goal>create</goal>
+      </goals>
+    </execution>
+  </executions>
+</plugin>
+ +

+ This would create the configured database. + If you want it to be droped beforehand, you have to add the goal + drop: +

+ +
+
+<plugin>
+  <groupId>de.juplo</groupId>
+  <artifactId>hibernate-maven-plugin</artifactId>
+  <version>2.0.0</version>
+  <executions>
+    <execution>
+      <goals>
+        <goal>drop</goal>
+        <goal>create</goal>
+      </goals>
+    </execution>
+  </executions>
+</plugin>
+ +

+ A correspondin goal for the command update is missing in this + version, but we are planning to implement it in near feature. +

+ +

+ In order to let this configuration work, your configuration file must + contain a complete valid configuration for the database, that you want + to use. + A simple example hibernate.properties-file may look like this: +

+ +
+
+hibernate.dialect=org.hibernate.dialect.H2Dialect
+hibernate.connection.url=jdbc:h2:file:./target/db
+hibernate.connection.driver_class=org.h2.Driver
+hibernate.connection.username=sa
+hibernate.connection.password=
+ +

+ But be aware, that using this configuration-approach 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. + Because of that, + + you should never fire up this configuration on your production + system, or your database might be erased! + +

+ +

+ A better approach is, to specify a different url for testing like in the + following snippet: +

+ +
+
+<plugin>
+  <groupId>de.juplo</groupId>
+  <artifactId>hibernate-maven-plugin</artifactId>
+  <version>2.0.0</version>
+  <executions>
+    <execution>
+      <goals>
+        <goal>drop</goal>
+        <goal>create</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 goal create). + 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>hibernate-maven-plugin</artifactId>
+    <version>2.0.0</version>
+    <executions>
+      <execution>
+        <goals>
+          <goal>drop</goal>
+          <goal>create</goal>
+        </goals>
+      </execution>
+    </executions>
+    <configuration>
+      <url><![CDATA[jdbc:hsqldb:target/db/testdb;shutdown=true]]></url>
+    </configuration>
+  </plugin>
+
+<plugins>
+ +

+ This way, you can reuse the same properties to provide a + default-configurationthe, that is build into your application, and + overwrite the database-url, that is used during testing to prevent + accidential drops of your production database. +

+
+
+

Configuration through the plugin-configuration

+ +

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

+ +
    + +
  • driver
  • + +
  • dialect
  • + +
  • url
  • + +
  • username
  • + +
  • password
  • +
+ +

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

+ +
+
+<plugin>
+  <groupId>de.juplo</groupId>
+  <artifactId>hibernate-maven-plugin</artifactId>
+  <version>2.0.0</version>
+  <executions>
+    <execution>
+      <goals>
+        <goal>drop</goal>
+        <goal>create</goal>
+      </goals>
+    </execution>
+  </executions>
+  <configuration>
+    <driver>org.hsqldb.jdbcDriver</driver>
+    <dialect>org.hibernate.dialect.HSQLDialect</dialect>
+    <url><![CDATA[jdbc:hsqldb:target/db/fotos;shutdown=true]]></url>
+    <username>sa</username>
+    <password></password>
+  </configuration>
+</plugin>
+ +

+ The parameter hibernateProperties (name of the hibernate-properties-file + to use, defaults to hibernate.properties) can only be configured through + this approach. +

+ +

+ For more explanations, see the + Documentation of the goal create. +

+
+
+

Configuration-Method-Precedence

+ +

+ The configuration is gathered in a fix order: +

+ +
    + +
  1. hibernate.properties
  2. + +
  3. hibernate.cfg.xml
  4. + +
  5. persistence.xml
  6. + +
  7. maven-properties
  8. + +
  9. plugin-configuration
  10. +
+ +

+ If you are in doubt about where a configuration-value comes from, run + maven with the debug-output enabled: mvn -X hibernate:create + 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 need to overwrite plugin-configuration-values with + maven-properties, you can use maven-properties in the plugin-configuration: +

+ +
+
+<plugin>
+  <groupId>de.juplo</groupId>
+  <artifactId>hibernate-maven-plugin</artifactId>
+  <version>2.0.0</version>
+  <executions>
+    <execution>
+      <goals>
+        <goal>drop</goal>
+        <goal>create</goal>
+      </goals>
+    </execution>
+  </executions>
+  <configuration>
+    <password>${my-password-property}</password>
+  </configuration>
+</plugin>
+
+ +
+
+ + +
+
+ +
+ + + diff --git a/projects/hibernate-maven-plugin/2.0.0/cpd.html b/projects/hibernate-maven-plugin/2.0.0/cpd.html new file mode 100644 index 0000000..21b94b5 --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/cpd.html @@ -0,0 +1,231 @@ + + + + + + + + + juplo - Hibernate Maven Plugin - CPD + + + + + + + + + + + +
+ + +
+
+

CPD

+
+

CPD Results

+

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

+
+

Duplications

+ + + + + + + + + + +
FileLine
de/juplo/plugins/hibernate/CreateMojo.java35
de/juplo/plugins/hibernate/DropMojo.java35
+
+
public class CreateMojo extends AbstractSchemaMojo
+{
+  /**
+   * Output file.
+   * <p>
+   * If the specified filename is not absolut, the file will be created
+   * relative to the project build directory
+   * (<code>project.build.directory</code>).
+   *
+   * @parameter property="hibernate.schema.export.create" default-value="create.sql"
+   * @since 1.0
+   */
+  private String outputFile;
+
+
+  @Override
+  public final void execute()
+    throws
+      MojoFailureException,
+      MojoExecutionException
+  {
+    super.execute(outputFile);
+  }
+
+
+  @Override
+  void build(MetadataImplementor metadata)
+      throws
+        MojoExecutionException,
+        MojoFailureException
+  {
+    SchemaExport schemaExport = new SchemaExport(metadata, createNamespaces);
+    schemaExport.setDelimiter(delimiter);
+    schemaExport.setFormat(format);
+
+    File output = new File(outputFile);
+
+    if (!output.isAbsolute())
+    {
+      // Interpret relative file path relative to build directory
+      output = new File(buildDirectory, outputFile);
+      getLog().debug("Adjusted relative path, resulting path is " + output.getPath());
+    }
+
+    // Ensure that directory path for specified file exists
+    File outFileParentDir = output.getParentFile();
+    if (null != outFileParentDir && !outFileParentDir.exists())
+    {
+      try
+      {
+        getLog().info("Creating directory path for output file:" + outFileParentDir.getPath());
+        outFileParentDir.mkdirs();
+      }
+      catch (Exception e)
+      {
+        getLog().error("Error creating directory path for output file: " + e.getLocalizedMessage());
+      }
+    }
+
+    schemaExport.setOutputFile(output.getPath());
+    schemaExport.execute(false, this.export, false, true);
+
+
+ + +
+
+ +
+ + + diff --git a/projects/hibernate-maven-plugin/2.0.0/create-mojo.html b/projects/hibernate-maven-plugin/2.0.0/create-mojo.html new file mode 100644 index 0000000..d08749a --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/create-mojo.html @@ -0,0 +1,1044 @@ + + + + + + + + + juplo - Hibernate Maven Plugin - Goal: CREATE + + + + + + + + + + + +
+ + +
+
+

Goal: CREATE

+ + +
+

hibernate:create

+ +

Full name:

+ +

de.juplo:hibernate-maven-plugin:2.0.0:create

+ +

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
createNamespacesBoolean2.0Specifies whether to automatically create also the database +schema/catalog.
Default value is: false.
User property is: hibernate.hbm2dll.create_namespaces.
delimiterString1.0Delimiter in output-file. + +

Important: This configuration value can only be +configured through the pom.xml, or by the definition +of a system-property, because it is not known by Hibernate nor JPA +and, hence, not picked up from their configuration!


Default value is: ;.
User property is: hibernate.schema.delimiter.
dialectString1.0Hibernate dialect.
User property is: hibernate.dialect.
driverString1.0SQL-Driver name.
User property is: hibernate.connection.driver_class.
exportBoolean2.0Export the database-schma to the database. If set to +false, only the SQL-script is created and the database +is not touched. + +

Important: This configuration value can only be +configured through the pom.xml, or by the definition +of a system-property, because it is not known by Hibernate nor JPA +and, hence, not picked up from their configuration!


Default value is: true.
User property is: hibernate.schema.export.
forceboolean1.0Force execution + +

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

+ +

skip takes precedence over force.

+ +

Important: This configuration value can only be +configured through the pom.xml, or by the definition +of a system-property, because it is not known by Hibernate nor JPA +and, hence, not picked up from their configuration!


Default value is: false.
User property is: hibernate.schema.force.
formatBoolean1.0Format output-file.
User property is: hibernate.format_sql.
hibernateConfigString1.1.0Path to Hibernate configuration file (.cfg.xml). If this parameter +is specified, the plugin will try to load configuration values from +a file with the given path or a ressource on the classpath with the +given name. If both fails, the execution of the plugin will fail. + +

If this parameter is not set the plugin will load configuration +values from a ressource named hibernate.cfg.xml on the +classpath, if it is present, but will not fail if there is no such +ressource.

+ +

During ressource-lookup, the test-classpath takes +precedence.

+ +

Settings in this file will overwrite settings in the properties +file.


hibernatePropertiesString1.0Path to a file or name of a ressource with hibernate properties. If +this parameter is specified, the plugin will try to load +configuration values from a file with the given path or a ressource +on the classpath with the given name. If both fails, the execution +of the plugin will fail. + +

If this parameter is not set the plugin will load configuration +values from a ressource named hibernate.properties on +the classpath, if it is present, but will not fail if there is no +such ressource.

+ +

During ressource-lookup, the test-classpath takes +precedence.


implicitNamingStrategyString2.0Implicit naming strategy
User property is: hibernate.implicit_naming_strategy.
mappingsString1.0.2List of Hibernate-Mapping-Files (XML). Multiple files can be +separated with white-spaces and/or commas.
User property is: hibernate.mapping.
outputDirectoryString1.0Classes-Directory to scan. + +

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

+ +

Important: This configuration value can only be +configured through the pom.xml, or by the definition +of a system-property, because it is not known by Hibernate nor JPA +and, hence, not picked up from their configuration!


User property is: project.build.outputDirectory.
outputFileString1.0Output file. + +

If the specified filename is not absolut, the file will be +created relative to the project build directory +(project.build.directory).


Default value is: create.sql.
User property is: hibernate.schema.export.create.
passwordString1.0Database password
User property is: hibernate.connection.password.
persistenceUnitString1.1.0Name of the persistence-unit. If this parameter is specified, the +plugin will try to load configuration values from a +persistence-unit with the specified name. If no such +persistence-unit can be found, the plugin will throw an exception. + +

If this parameter is not set and there is only one +persistence-unit available, that unit will be used automatically. +But if this parameter is not set and there are multiple +persistence-units available on, the class-path, the execution of +the plugin will fail.

+ +

Settings in this file will overwrite settings in the properties +or the configuration file.


physicalNamingStrategyString2.0Physical naming strategy
User property is: hibernate.physical_naming_strategy.
scanClassesBoolean2.0Wether the project should be scanned for annotated-classes, or not + +

This parameter is intended to allow overwriting of the parameter +exclude-unlisted-classes of a +persistence-unit. If not specified, it defaults to +true


User property is: hibernate.schema.scan.classes.
scanDependenciesString1.0.3Dependency-Scopes, that should be scanned for annotated classes. + +

By default, only dependencies in the scope compile +are scanned for annotated classes. Multiple scopes can be seperated +by white space or commas.

+ +

If you do not want any dependencies to be scanned for annotated +classes, set this parameter to none.

+ +

The plugin does not scan for annotated classes in transitive +dependencies. If some of your annotated classes are hidden in a +transitive dependency, you can simply add that dependency +explicitly.


Default value is: compile.
User property is: hibernate.schema.scan.dependencies.
scanTestClassesBoolean1.0.1Whether to scan the test-branch of the project for annotated +classes, or not. + +

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

+ +

Important: This configuration value can only be +configured through the pom.xml, or by the definition +of a system-property, because it is not known by Hibernate nor JPA +and, hence, not picked up from their configuration!


Default value is: false.
User property is: hibernate.schema.scan.test_classes.
showBoolean1.0Show the generated SQL in the command-line output.
User property is: hibernate.show_sql.
skipboolean1.0Skip execution + +

If set to true, the execution is skipped.

+ +

A skipped execution is signaled via the maven-property +${hibernate.schema.skipped}.

+ +

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

+ +

Important: This configuration value can only be +configured through the pom.xml, or by the definition +of a system-property, because it is not known by Hibernate nor JPA +and, hence, not picked up from their configuration!


Default value is: ${maven.test.skip}.
User property is: hibernate.schema.skip.
testOutputDirectoryString1.0.2Test-Classes-Directory to scan. + +

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

+ +

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

+ +

Important: This configuration value can only be +configured through the pom.xml, or by the definition +of a system-property, because it is not known by Hibernate nor JPA +and, hence, not picked up from their configuration!


User property is: project.build.testOutputDirectory.
urlString1.0Database URL.
User property is: hibernate.connection.url.
usernameString1.0Database username
User property is: hibernate.connection.username.
+
+ +
+

Parameter Details

+ +

createNamespaces:

+ +
Specifies whether to automatically create also the database +schema/catalog.
+ +
    + +
  • Type: java.lang.Boolean
  • + +
  • Since: 2.0
  • + +
  • Required: No
  • + +
  • User Property: hibernate.hbm2dll.create_namespaces
  • + +
  • Default: false
  • +

+

delimiter:

+ +
Delimiter in output-file. + +

Important: This configuration value can only be +configured through the pom.xml, or by the definition +of a system-property, because it is not known by Hibernate nor JPA +and, hence, not picked up from their configuration!

+ +
    + +
  • Type: java.lang.String
  • + +
  • Since: 1.0
  • + +
  • Required: No
  • + +
  • User Property: hibernate.schema.delimiter
  • + +
  • Default: ;
  • +

+

dialect:

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

+

driver:

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

+

export:

+ +
Export the database-schma to the database. If set to +false, only the SQL-script is created and the database +is not touched. + +

Important: This configuration value can only be +configured through the pom.xml, or by the definition +of a system-property, because it is not known by Hibernate nor JPA +and, hence, not picked up from their configuration!

+ +
    + +
  • Type: java.lang.Boolean
  • + +
  • Since: 2.0
  • + +
  • Required: No
  • + +
  • User Property: hibernate.schema.export
  • + +
  • Default: true
  • +

+

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.

+ +

Important: This configuration value can only be +configured through the pom.xml, or by the definition +of a system-property, because it is not known by Hibernate nor JPA +and, hence, not picked up from their configuration!

+ +
    + +
  • Type: boolean
  • + +
  • Since: 1.0
  • + +
  • Required: No
  • + +
  • User Property: hibernate.schema.force
  • + +
  • Default: false
  • +

+

format:

+ +
Format output-file.
+ +
    + +
  • Type: java.lang.Boolean
  • + +
  • Since: 1.0
  • + +
  • Required: No
  • + +
  • User Property: hibernate.format_sql
  • +

+

hibernateConfig:

+ +
Path to Hibernate configuration file (.cfg.xml). If this parameter +is specified, the plugin will try to load configuration values from +a file with the given path or a ressource on the classpath with the +given name. If both fails, the execution of the plugin will fail. + +

If this parameter is not set the plugin will load configuration +values from a ressource named hibernate.cfg.xml on the +classpath, if it is present, but will not fail if there is no such +ressource.

+ +

During ressource-lookup, the test-classpath takes +precedence.

+ +

Settings in this file will overwrite settings in the properties +file.

+ +
    + +
  • Type: java.lang.String
  • + +
  • Since: 1.1.0
  • + +
  • Required: No
  • +

+

hibernateProperties:

+ +
Path to a file or name of a ressource with hibernate properties. If +this parameter is specified, the plugin will try to load +configuration values from a file with the given path or a ressource +on the classpath with the given name. If both fails, the execution +of the plugin will fail. + +

If this parameter is not set the plugin will load configuration +values from a ressource named hibernate.properties on +the classpath, if it is present, but will not fail if there is no +such ressource.

+ +

During ressource-lookup, the test-classpath takes +precedence.

+ +
    + +
  • Type: java.lang.String
  • + +
  • Since: 1.0
  • + +
  • Required: No
  • +

+

implicitNamingStrategy:

+ +
Implicit naming strategy
+ +
    + +
  • Type: java.lang.String
  • + +
  • Since: 2.0
  • + +
  • Required: No
  • + +
  • User Property: hibernate.implicit_naming_strategy
  • +

+

mappings:

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

+

outputDirectory:

+ +
Classes-Directory to scan. + +

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

+ +

Important: This configuration value can only be +configured through the pom.xml, or by the definition +of a system-property, because it is not known by Hibernate nor JPA +and, hence, not picked up from their configuration!

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

+

outputFile:

+ +
Output file. + +

If the specified filename is not absolut, the file will be +created relative to the project build directory +(project.build.directory).

+ +
    + +
  • Type: java.lang.String
  • + +
  • Since: 1.0
  • + +
  • Required: No
  • + +
  • User Property: hibernate.schema.export.create
  • + +
  • Default: create.sql
  • +

+

password:

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

+

persistenceUnit:

+ +
Name of the persistence-unit. If this parameter is specified, the +plugin will try to load configuration values from a +persistence-unit with the specified name. If no such +persistence-unit can be found, the plugin will throw an exception. + +

If this parameter is not set and there is only one +persistence-unit available, that unit will be used automatically. +But if this parameter is not set and there are multiple +persistence-units available on, the class-path, the execution of +the plugin will fail.

+ +

Settings in this file will overwrite settings in the properties +or the configuration file.

+ +
    + +
  • Type: java.lang.String
  • + +
  • Since: 1.1.0
  • + +
  • Required: No
  • +

+

physicalNamingStrategy:

+ +
Physical naming strategy
+ +
    + +
  • Type: java.lang.String
  • + +
  • Since: 2.0
  • + +
  • Required: No
  • + +
  • User Property: hibernate.physical_naming_strategy
  • +

+

scanClasses:

+ +
Wether the project should be scanned for annotated-classes, or not + +

This parameter is intended to allow overwriting of the parameter +exclude-unlisted-classes of a +persistence-unit. If not specified, it defaults to +true

+ +
    + +
  • Type: java.lang.Boolean
  • + +
  • Since: 2.0
  • + +
  • Required: No
  • + +
  • User Property: hibernate.schema.scan.classes
  • +

+

scanDependencies:

+ +
Dependency-Scopes, that should be scanned for annotated classes. + +

By default, only dependencies in the scope compile +are scanned for annotated classes. Multiple scopes can be seperated +by white space or commas.

+ +

If you do not want any dependencies to be scanned for annotated +classes, set this parameter to none.

+ +

The plugin does not scan for annotated classes in transitive +dependencies. If some of your annotated classes are hidden in a +transitive dependency, you can simply add that dependency +explicitly.

+ +
    + +
  • Type: java.lang.String
  • + +
  • Since: 1.0.3
  • + +
  • Required: No
  • + +
  • User Property: hibernate.schema.scan.dependencies
  • + +
  • Default: compile
  • +

+

scanTestClasses:

+ +
Whether to scan the test-branch of the project for annotated +classes, or not. + +

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

+ +

Important: This configuration value can only be +configured through the pom.xml, or by the definition +of a system-property, because it is not known by Hibernate nor JPA +and, hence, not picked up from their configuration!

+ +
    + +
  • Type: java.lang.Boolean
  • + +
  • Since: 1.0.1
  • + +
  • Required: No
  • + +
  • User Property: hibernate.schema.scan.test_classes
  • + +
  • Default: false
  • +

+

show:

+ +
Show the generated SQL in the command-line output.
+ +
    + +
  • Type: java.lang.Boolean
  • + +
  • Since: 1.0
  • + +
  • Required: No
  • + +
  • User Property: hibernate.show_sql
  • +

+

skip:

+ +
Skip execution + +

If set to true, the execution is skipped.

+ +

A skipped execution is signaled via the maven-property +${hibernate.schema.skipped}.

+ +

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

+ +

Important: This configuration value can only be +configured through the pom.xml, or by the definition +of a system-property, because it is not known by Hibernate nor JPA +and, hence, not picked up from their configuration!

+ +
    + +
  • Type: boolean
  • + +
  • Since: 1.0
  • + +
  • Required: No
  • + +
  • User Property: hibernate.schema.skip
  • + +
  • Default: ${maven.test.skip}
  • +

+

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!

+ +

Important: This configuration value can only be +configured through the pom.xml, or by the definition +of a system-property, because it is not known by Hibernate nor JPA +and, hence, not picked up from their configuration!

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

+

url:

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

+

username:

+ +
Database username
+ +
    + +
  • Type: java.lang.String
  • + +
  • Since: 1.0
  • + +
  • Required: No
  • + +
  • User Property: hibernate.connection.username
  • +
+
+
+ + +
+
+ + +
+
+ +
+ + + diff --git a/projects/hibernate-maven-plugin/2.0.0/css/maven-theme.css b/projects/hibernate-maven-plugin/2.0.0/css/maven-theme.css new file mode 100644 index 0000000..c982168 --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/css/maven-theme.css @@ -0,0 +1,141 @@ +body { + padding: 0px 0px 10px 0px; +} +body, td, select, input, li{ + font-family: Verdana, Helvetica, Arial, sans-serif; + font-size: 13px; +} +code{ + font-family: Courier, monospace; + font-size: 13px; +} +a { + text-decoration: none; +} +a:link { + color:#36a; +} +a:visited { + color:#47a; +} +a:active, a:hover { + color:#69c; +} +#legend li.externalLink { + background: url(../images/external.png) left top no-repeat; + padding-left: 18px; +} +a.externalLink, a.externalLink:link, a.externalLink:visited, a.externalLink:active, a.externalLink:hover { + background: url(../images/external.png) right center no-repeat; + padding-right: 18px; +} +#legend li.newWindow { + background: url(../images/newwindow.png) left top no-repeat; + padding-left: 18px; +} +a.newWindow, a.newWindow:link, a.newWindow:visited, a.newWindow:active, a.newWindow:hover { + background: url(../images/newwindow.png) right center no-repeat; + padding-right: 18px; +} +h2 { + padding: 4px 4px 4px 6px; + border: 1px solid #999; + color: #900; + background-color: #ddd; + font-weight:900; + font-size: x-large; +} +h3 { + padding: 4px 4px 4px 6px; + border: 1px solid #aaa; + color: #900; + background-color: #eee; + font-weight: normal; + font-size: large; +} +h4 { + padding: 4px 4px 4px 6px; + border: 1px solid #bbb; + color: #900; + background-color: #fff; + font-weight: normal; + font-size: large; +} +h5 { + padding: 4px 4px 4px 6px; + color: #900; + font-size: normal; +} +p { + line-height: 1.3em; + font-size: small; +} +#breadcrumbs { + border-top: 1px solid #aaa; + border-bottom: 1px solid #aaa; + background-color: #ccc; +} +#leftColumn { + margin: 10px 0 0 5px; + border: 1px solid #999; + background-color: #eee; +} +#navcolumn h5 { + font-size: smaller; + border-bottom: 1px solid #aaaaaa; + padding-top: 2px; + color: #000; +} + +table.bodyTable th { + color: white; + background-color: #bbb; + text-align: left; + font-weight: bold; +} + +table.bodyTable th, table.bodyTable td { + font-size: 1em; +} + +table.bodyTable tr.a { + background-color: #ddd; +} + +table.bodyTable tr.b { + background-color: #eee; +} + +.source { + border: 1px solid #999; +} +dl { + padding: 4px 4px 4px 6px; + border: 1px solid #aaa; + background-color: #ffc; +} +dt { + color: #900; +} +#organizationLogo img, #projectLogo img, #projectLogo span{ + margin: 8px; +} +#banner { + border-bottom: 1px solid #fff; +} +.errormark, .warningmark, .donemark, .infomark { + background: url(../images/icon_error_sml.gif) no-repeat; +} + +.warningmark { + background-image: url(../images/icon_warning_sml.gif); +} + +.donemark { + background-image: url(../images/icon_success_sml.gif); +} + +.infomark { + background-image: url(../images/icon_info_sml.gif); +} + diff --git a/projects/hibernate-maven-plugin/2.0.0/css/site.css b/projects/hibernate-maven-plugin/2.0.0/css/site.css new file mode 100644 index 0000000..055e7e2 --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/css/site.css @@ -0,0 +1 @@ +/* You can override this file with your own styles */ \ No newline at end of file diff --git a/projects/hibernate-maven-plugin/2.0.0/debugging.html b/projects/hibernate-maven-plugin/2.0.0/debugging.html new file mode 100644 index 0000000..ec83cf2 --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/debugging.html @@ -0,0 +1,161 @@ + + + + + + + + + juplo - Hibernate Maven Plugin - Enable Debug-Output + + + + + + + + + + + +
+ + +
+
+

Enable Debug-Output

+ + + + +

+ If you are new to hibernate-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 hibernate:create
+ +

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

+ +

+ Unlike the majority of the maven-plugins, hibernate-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: hibernate-maven-plugin tends to be very chatty ;) +

+ + +
+
+ + +
+
+ +
+ + + diff --git a/projects/hibernate-maven-plugin/2.0.0/dependencies.html b/projects/hibernate-maven-plugin/2.0.0/dependencies.html new file mode 100644 index 0000000..18a412d --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/dependencies.html @@ -0,0 +1,1980 @@ + + + + + + + + + juplo - Hibernate Maven Plugin - Dependencies + + + + + + + + + + + +
+ + +
+
+

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
de.juploscannotation1.0.4jar-
javax.eljavax.el-api3.0.0jarCDDL + GPLv2 with classpath exception
org.apache.mavenmaven-core3.3.3jarApache License, Version 2.0
org.apache.mavenmaven-plugin-api3.3.3jarApache License, Version 2.0
org.hibernatehibernate-core5.0.2.FinaljarGNU Lesser General Public License
org.hibernatehibernate-envers5.0.2.FinaljarGNU Lesser General Public License
org.hibernatehibernate-validator5.2.2.FinaljarApache License, Version 2.0
+
+

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
aopallianceaopalliance1.0-jarPublic Domain
com.fasterxmlclassmate1.1.0-jarThe Apache Software License, Version 2.0
com.google.guavaguava18.0-jarThe Apache Software License, Version 2.0
dom4jdom4j1.6.1-jar-
javax.annotationjsr250-api1.0-jarCOMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0
javax.enterprisecdi-api1.0-jarApache License, Version 2.0
javax.injectjavax.inject1-jarThe Apache Software License, Version 2.0
javax.validationvalidation-api1.1.0.Final-jarThe Apache Software License, Version 2.0
log4jlog4j1.2.14-jarThe Apache Software License, Version 2.0
org.apache.geronimo.specsgeronimo-jta_1.1_spec1.1.1-jarThe Apache Software License, Version 2.0
org.apache.mavenmaven-aether-provider3.3.3-jarApache License, Version 2.0
org.apache.mavenmaven-artifact3.3.3-jarApache License, Version 2.0
org.apache.mavenmaven-builder-support3.3.3-jarApache License, Version 2.0
org.apache.mavenmaven-model3.3.3-jarApache License, Version 2.0
org.apache.mavenmaven-model-builder3.3.3-jarApache License, Version 2.0
org.apache.mavenmaven-repository-metadata3.3.3-jarApache License, Version 2.0
org.apache.mavenmaven-settings3.3.3-jarApache License, Version 2.0
org.apache.mavenmaven-settings-builder3.3.3-jarApache License, Version 2.0
org.codehaus.plexusplexus-classworlds2.5.2-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.21-jarThe Apache Software License, Version 2.0
org.eclipse.aetheraether-api1.0.2.v20150114-jarEclipse Public License, Version 1.0
org.eclipse.aetheraether-impl1.0.2.v20150114-jarEclipse Public License, Version 1.0
org.eclipse.aetheraether-spi1.0.2.v20150114-jarEclipse Public License, Version 1.0
org.eclipse.aetheraether-util1.0.2.v20150114-jarEclipse Public License, Version 1.0
org.eclipse.sisuorg.eclipse.sisu.inject0.3.0-jarEclipse Public License, Version 1.0
org.eclipse.sisuorg.eclipse.sisu.plexus0.3.0-jarEclipse Public License, Version 1.0
org.hibernatehibernate-entitymanager5.0.2.Final-jarGNU Lesser General Public License
org.hibernate.commonhibernate-commons-annotations5.0.0.Final-jarGNU Lesser General Public License
org.hibernate.javax.persistencehibernate-jpa-2.1-api1.0.0.Final-jarEclipse Public License (EPL), Version 1.0-Eclipse Distribution License (EDL), Version 1.0
org.javassistjavassist3.18.1-GA-jarMPL 1.1-LGPL 2.1-Apache License 2.0
org.jbossjandex1.2.2.Final-jarAL 2.0
org.jboss.loggingjboss-logging3.3.0.Final-jarApache License, version 2.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-guice3.2.5no_aopjarThe Apache Software License, Version 2.0
xml-apisxml-apis1.0.b2-jarThe Apache Software License, Version 2.0
+
+

Project Dependency Graph

+ +
+

Dependency Tree

+
+
+

Licenses

+

Apache License, version 2.0: JBoss Logging 3

+

Eclipse Public License (EPL), Version 1.0: Java Persistence API, Version 2.1

+

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

+

Public Domain: AOP alliance

+

GNU Lesser General Public License: Core Hibernate O/RM functionality, ENtity VERSioning support, Hibernate Commons Annotations, Hibernate JPA Support

+

Eclipse Distribution License (EDL), Version 1.0: Java Persistence API, Version 2.1

+

Eclipse Public License, Version 1.0: Aether API, Aether Implementation, Aether SPI, Aether Utilities, org.eclipse.sisu.inject, org.eclipse.sisu.plexus

+

Unknown: dom4j, scannotation

+

Apache License 2.0: Javassist

+

BSD License: AntLR Parser Generator

+

AL 2.0: Java Annotation Indexer

+

Apache License, Version 2.0: CDI APIs, Hibernate Validator Engine, Maven Aether Provider, Maven Artifact, Maven Builder Support, Maven Core, Maven Model, Maven Model Builder, Maven Plugin API, Maven Repository Metadata Model, Maven Settings, Maven Settings Builder

+

COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0: JSR-250 Common Annotations for the JavaTM Platform

+

LGPL 2.1: Javassist

+

CDDL + GPLv2 with classpath exception: Expression Language 3.0 API

+

MPL 1.1: Javassist

+

The Apache Software License, Version 2.0: Bean Validation API, ClassMate, Guava: Google Core Libraries for Java, Hibernate Maven Plugin, JTA 1.1, Log4j, Plexus :: Component Annotations, Plexus Classworlds, Plexus Interpolation API, Sisu Guice - Core Library, XML Commons External Components XML APIs, javax.inject, maven-plugin-log4j

+
+

Dependency File Details

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FilenameSizeEntriesClassesPackagesJDK RevDebug
antlr-2.7.7.jar434.85 kB239224121.2debug
aopalliance-1.0.jar4.36 kB15921.3debug
classmate-1.1.0.jar61.40 kB523741.6debug
guava-18.0.jar2.15 MB1,7191,690171.6debug
maven-plugin-log4j-1.0.1.jar3.64 kB12111.4debug
scannotation-1.0.4.jar19.79 kB231321.6debug
dom4j-1.6.1.jar306.54 kB208190141.3debug
jsr250-api-1.0.jar5.71 kB161121.5debug
javax.el-api-3.0.0.jar71.35 kB574611.6debug
cdi-api-1.0.jar43.86 kB927571.5debug
javax.inject-1.jar2.44 kB8611.5release
validation-api-1.1.0.Final.jar62.28 kB12210681.6debug
log4j-1.2.14.jar358.83 kB288256191.1debug
geronimo-jta_1.1_spec-1.1.1.jar15.65 kB301821.5debug
maven-aether-provider-3.3.3.jar64.79 kB432611.6debug
maven-artifact-3.3.3.jar53.80 kB5732111.6debug
maven-builder-support-3.3.3.jar14.61 kB241011.6debug
maven-core-3.3.3.jar617.07 kB489390561.6debug
maven-model-3.3.3.jar157.05 kB675031.6debug
maven-model-builder-3.3.3.jar172.28 kB154121161.6debug
maven-plugin-api-3.3.3.jar45.02 kB462561.6debug
maven-repository-metadata-3.3.3.jar25.35 kB25721.6debug
maven-settings-3.3.3.jar42.02 kB331721.6debug
maven-settings-builder-3.3.3.jar42.14 kB533251.6debug
plexus-classworlds-2.5.2.jar51.45 kB523751.6debug
plexus-component-annotations-1.5.5.jar4.11 kB15311.5release
plexus-interpolation-1.21.jar60.99 kB604461.5debug
aether-api-1.0.2.v20150114.jar133.13 kB149128111.5debug
aether-impl-1.0.2.v20150114.jar168.94 kB1149641.5debug
aether-spi-1.0.2.v20150114.jar29.99 kB543481.5debug
aether-util-1.0.2.v20150114.jar143.43 kB126101131.5debug
org.eclipse.sisu.inject-0.3.0.jar366.47 kB28726991.6debug
org.eclipse.sisu.plexus-0.3.0.jar200.59 kB196164201.6debug
hibernate-core-5.0.2.Final.jar5.29 MB4,0693,7762241.6debug
hibernate-entitymanager-5.0.2.Final.jar576.65 kB429390241.6debug
hibernate-envers-5.0.2.Final.jar397.65 kB319264371.6debug
hibernate-validator-5.2.2.Final.jar680.98 kB539452541.6debug
hibernate-commons-annotations-5.0.0.Final.jar73.35 kB806771.6debug
hibernate-jpa-2.1-api-1.0.0.Final.jar110.71 kB20720041.6debug
javassist-3.18.1-GA.jar697.46 kB414390171.6debug
jandex-1.2.2.Final.jar76.97 kB544411.6debug
jboss-logging-3.3.0.Final.jar65.24 kB604811.6debug
plexus-cipher-1.4.jar13.18 kB20611.4debug
plexus-sec-dispatcher-1.3.jar27.89 kB311331.4debug
sisu-guice-3.2.5-no_aop.jar390.30 kB33131681.6debug
xml-apis-1.0.b2.jar106.76 kB217184171.2release
TotalSizeEntriesClassesPackagesJDK RevDebug
4614.28 MB11,69510,4186701.643
compile: 46compile: 14.28 MBcompile: 11,695compile: 10,418compile: 670-compile: 43
+
+

Dependency Repository Locations

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Repo IDURLReleaseSnapshotBlacklisted
plexus.snapshotshttps://oss.sonatype.org/content/repositories/plexus-snapshots-Yes-
centralhttp://repo.maven.apache.org/maven2Yes--
codehaus-snapshotshttp://snapshots.repository.codehaus.org-YesYes
apache-snapshotshttp://people.apache.org/repo/m2-snapshot-repository-YesYes
snapshots.jboss.orghttp://snapshots.jboss.org/maven2-Yes-
sonatype-nexus-snapshotshttps://oss.sonatype.org/content/repositories/snapshots-Yes-
oss.sonatype.org/jboss-snapshotshttp://oss.sonatype.org/content/repositories/jboss-snapshots-Yes-
jvnet-nexus-snapshotshttps://maven.java.net/content/repositories/snapshots-Yes-
repository.jboss.orghttp://repository.jboss.org/maven2Yes--
apache-incubatorhttp://people.apache.org/repo/m2-incubating-repository/Yes-Yes
apache.snapshotshttp://repository.apache.org/snapshots-Yes-
+

Repository locations for each of the Dependencies.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Artifactplexus.snapshotscentralsnapshots.jboss.orgsonatype-nexus-snapshotsoss.sonatype.org/jboss-snapshotsjvnet-nexus-snapshotsrepository.jboss.orgapache.snapshots
antlr:antlr:jar:2.7.7------Found at http://repository.jboss.org/maven2-
aopalliance:aopalliance:jar:1.0------Found at http://repository.jboss.org/maven2-
com.fasterxml:classmate:jar:1.1.0--------
com.google.guava:guava:jar:18.0--------
com.pyx4j:maven-plugin-log4j:jar:1.0.1--------
de.juplo:scannotation:jar:1.0.4--------
dom4j:dom4j:jar:1.6.1------Found at http://repository.jboss.org/maven2-
javax.annotation:jsr250-api:jar:1.0------Found at http://repository.jboss.org/maven2-
javax.el:javax.el-api:jar:3.0.0--------
javax.enterprise:cdi-api:jar:1.0--------
javax.inject:javax.inject:jar:1--------
javax.validation:validation-api:jar:1.1.0.Final--------
log4j:log4j:jar:1.2.14------Found at http://repository.jboss.org/maven2-
org.apache.geronimo.specs:geronimo-jta_1.1_spec:jar:1.1.1--------
org.apache.maven:maven-aether-provider:jar:3.3.3--------
org.apache.maven:maven-artifact:jar:3.3.3--------
org.apache.maven:maven-builder-support:jar:3.3.3--------
org.apache.maven:maven-core:jar:3.3.3--------
org.apache.maven:maven-model:jar:3.3.3--------
org.apache.maven:maven-model-builder:jar:3.3.3--------
org.apache.maven:maven-plugin-api:jar:3.3.3--------
org.apache.maven:maven-repository-metadata:jar:3.3.3--------
org.apache.maven:maven-settings:jar:3.3.3--------
org.apache.maven:maven-settings-builder:jar:3.3.3--------
org.codehaus.plexus:plexus-classworlds:jar:2.5.2--------
org.codehaus.plexus:plexus-component-annotations:jar:1.5.5--------
org.codehaus.plexus:plexus-interpolation:jar:1.21--------
org.eclipse.aether:aether-api:jar:1.0.2.v20150114--------
org.eclipse.aether:aether-impl:jar:1.0.2.v20150114--------
org.eclipse.aether:aether-spi:jar:1.0.2.v20150114--------
org.eclipse.aether:aether-util:jar:1.0.2.v20150114--------
org.eclipse.sisu:org.eclipse.sisu.inject:jar:0.3.0--------
org.eclipse.sisu:org.eclipse.sisu.plexus:jar:0.3.0--------
org.hibernate:hibernate-core:jar:5.0.2.Final--------
org.hibernate:hibernate-entitymanager:jar:5.0.2.Final--------
org.hibernate:hibernate-envers:jar:5.0.2.Final--------
org.hibernate:hibernate-validator:jar:5.2.2.Final--------
org.hibernate.common:hibernate-commons-annotations:jar:5.0.0.Final--------
org.hibernate.javax.persistence:hibernate-jpa-2.1-api:jar:1.0.0.Final--------
org.javassist:javassist:jar:3.18.1-GA--------
org.jboss:jandex:jar:1.2.2.Final--------
org.jboss.logging:jboss-logging:jar:3.3.0.Final--------
org.sonatype.plexus:plexus-cipher:jar:1.4--------
org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3--------
org.sonatype.sisu:sisu-guice:jar:no_aop:3.2.5--------
xml-apis:xml-apis:jar:1.0.b2------Found at http://repository.jboss.org/maven2-
Totalplexus.snapshotscentralsnapshots.jboss.orgsonatype-nexus-snapshotsoss.sonatype.org/jboss-snapshotsjvnet-nexus-snapshotsrepository.jboss.orgapache.snapshots
46 (compile: 46)00000060
+
+ +
+ +
+ + + diff --git a/projects/hibernate-maven-plugin/2.0.0/dependency-info.html b/projects/hibernate-maven-plugin/2.0.0/dependency-info.html new file mode 100644 index 0000000..1720e9d --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/dependency-info.html @@ -0,0 +1,207 @@ + + + + + + + + + juplo - Hibernate Maven Plugin - Dependency Information + + + + + + + + + + + +
+ + +
+
+

Dependency Information

+
+

Dependency Information

+
+

Apache Maven

+
+
<dependency>
+  <groupId>de.juplo</groupId>
+  <artifactId>hibernate-maven-plugin</artifactId>
+  <version>2.0.0</version>
+  <type>maven-plugin</type>
+</dependency>
+
+

Apache Buildr

+
+
'de.juplo:hibernate-maven-plugin:maven-plugin:2.0.0'
+
+

Apache Ant

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

Groovy Grape

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

Grails

+
+
compile 'de.juplo:hibernate-maven-plugin:2.0.0'
+
+

Leiningen

+
+
[de.juplo/hibernate-maven-plugin "2.0.0"]
+
+

SBT

+
+
libraryDependencies += "de.juplo" %% "hibernate-maven-plugin" % "2.0.0"
+
+ +
+ +
+ + + diff --git a/projects/hibernate-maven-plugin/2.0.0/distribution-management.html b/projects/hibernate-maven-plugin/2.0.0/distribution-management.html new file mode 100644 index 0000000..346dc0a --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/distribution-management.html @@ -0,0 +1,178 @@ + + + + + + + + + juplo - Hibernate Maven Plugin - Distribution Management + + + + + + + + + + + +
+ + +
+ + +
+ +
+ + + diff --git a/projects/hibernate-maven-plugin/2.0.0/drop-mojo.html b/projects/hibernate-maven-plugin/2.0.0/drop-mojo.html new file mode 100644 index 0000000..4394857 --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/drop-mojo.html @@ -0,0 +1,1044 @@ + + + + + + + + + juplo - Hibernate Maven Plugin - Goal: DROP + + + + + + + + + + + +
+ + +
+
+

Goal: DROP

+ + +
+

hibernate:drop

+ +

Full name:

+ +

de.juplo:hibernate-maven-plugin:2.0.0:drop

+ +

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
createNamespacesBoolean2.0Specifies whether to automatically create also the database +schema/catalog.
Default value is: false.
User property is: hibernate.hbm2dll.create_namespaces.
delimiterString1.0Delimiter in output-file. + +

Important: This configuration value can only be +configured through the pom.xml, or by the definition +of a system-property, because it is not known by Hibernate nor JPA +and, hence, not picked up from their configuration!


Default value is: ;.
User property is: hibernate.schema.delimiter.
dialectString1.0Hibernate dialect.
User property is: hibernate.dialect.
driverString1.0SQL-Driver name.
User property is: hibernate.connection.driver_class.
exportBoolean2.0Export the database-schma to the database. If set to +false, only the SQL-script is created and the database +is not touched. + +

Important: This configuration value can only be +configured through the pom.xml, or by the definition +of a system-property, because it is not known by Hibernate nor JPA +and, hence, not picked up from their configuration!


Default value is: true.
User property is: hibernate.schema.export.
forceboolean1.0Force execution + +

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

+ +

skip takes precedence over force.

+ +

Important: This configuration value can only be +configured through the pom.xml, or by the definition +of a system-property, because it is not known by Hibernate nor JPA +and, hence, not picked up from their configuration!


Default value is: false.
User property is: hibernate.schema.force.
formatBoolean1.0Format output-file.
User property is: hibernate.format_sql.
hibernateConfigString1.1.0Path to Hibernate configuration file (.cfg.xml). If this parameter +is specified, the plugin will try to load configuration values from +a file with the given path or a ressource on the classpath with the +given name. If both fails, the execution of the plugin will fail. + +

If this parameter is not set the plugin will load configuration +values from a ressource named hibernate.cfg.xml on the +classpath, if it is present, but will not fail if there is no such +ressource.

+ +

During ressource-lookup, the test-classpath takes +precedence.

+ +

Settings in this file will overwrite settings in the properties +file.


hibernatePropertiesString1.0Path to a file or name of a ressource with hibernate properties. If +this parameter is specified, the plugin will try to load +configuration values from a file with the given path or a ressource +on the classpath with the given name. If both fails, the execution +of the plugin will fail. + +

If this parameter is not set the plugin will load configuration +values from a ressource named hibernate.properties on +the classpath, if it is present, but will not fail if there is no +such ressource.

+ +

During ressource-lookup, the test-classpath takes +precedence.


implicitNamingStrategyString2.0Implicit naming strategy
User property is: hibernate.implicit_naming_strategy.
mappingsString1.0.2List of Hibernate-Mapping-Files (XML). Multiple files can be +separated with white-spaces and/or commas.
User property is: hibernate.mapping.
outputDirectoryString1.0Classes-Directory to scan. + +

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

+ +

Important: This configuration value can only be +configured through the pom.xml, or by the definition +of a system-property, because it is not known by Hibernate nor JPA +and, hence, not picked up from their configuration!


User property is: project.build.outputDirectory.
outputFileString1.0Output file. + +

If the specified filename is not absolut, the file will be +created relative to the project build directory +(project.build.directory).


Default value is: drop.sql.
User property is: hibernate.schema.export.drop.
passwordString1.0Database password
User property is: hibernate.connection.password.
persistenceUnitString1.1.0Name of the persistence-unit. If this parameter is specified, the +plugin will try to load configuration values from a +persistence-unit with the specified name. If no such +persistence-unit can be found, the plugin will throw an exception. + +

If this parameter is not set and there is only one +persistence-unit available, that unit will be used automatically. +But if this parameter is not set and there are multiple +persistence-units available on, the class-path, the execution of +the plugin will fail.

+ +

Settings in this file will overwrite settings in the properties +or the configuration file.


physicalNamingStrategyString2.0Physical naming strategy
User property is: hibernate.physical_naming_strategy.
scanClassesBoolean2.0Wether the project should be scanned for annotated-classes, or not + +

This parameter is intended to allow overwriting of the parameter +exclude-unlisted-classes of a +persistence-unit. If not specified, it defaults to +true


User property is: hibernate.schema.scan.classes.
scanDependenciesString1.0.3Dependency-Scopes, that should be scanned for annotated classes. + +

By default, only dependencies in the scope compile +are scanned for annotated classes. Multiple scopes can be seperated +by white space or commas.

+ +

If you do not want any dependencies to be scanned for annotated +classes, set this parameter to none.

+ +

The plugin does not scan for annotated classes in transitive +dependencies. If some of your annotated classes are hidden in a +transitive dependency, you can simply add that dependency +explicitly.


Default value is: compile.
User property is: hibernate.schema.scan.dependencies.
scanTestClassesBoolean1.0.1Whether to scan the test-branch of the project for annotated +classes, or not. + +

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

+ +

Important: This configuration value can only be +configured through the pom.xml, or by the definition +of a system-property, because it is not known by Hibernate nor JPA +and, hence, not picked up from their configuration!


Default value is: false.
User property is: hibernate.schema.scan.test_classes.
showBoolean1.0Show the generated SQL in the command-line output.
User property is: hibernate.show_sql.
skipboolean1.0Skip execution + +

If set to true, the execution is skipped.

+ +

A skipped execution is signaled via the maven-property +${hibernate.schema.skipped}.

+ +

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

+ +

Important: This configuration value can only be +configured through the pom.xml, or by the definition +of a system-property, because it is not known by Hibernate nor JPA +and, hence, not picked up from their configuration!


Default value is: ${maven.test.skip}.
User property is: hibernate.schema.skip.
testOutputDirectoryString1.0.2Test-Classes-Directory to scan. + +

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

+ +

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

+ +

Important: This configuration value can only be +configured through the pom.xml, or by the definition +of a system-property, because it is not known by Hibernate nor JPA +and, hence, not picked up from their configuration!


User property is: project.build.testOutputDirectory.
urlString1.0Database URL.
User property is: hibernate.connection.url.
usernameString1.0Database username
User property is: hibernate.connection.username.
+
+ +
+

Parameter Details

+ +

createNamespaces:

+ +
Specifies whether to automatically create also the database +schema/catalog.
+ +
    + +
  • Type: java.lang.Boolean
  • + +
  • Since: 2.0
  • + +
  • Required: No
  • + +
  • User Property: hibernate.hbm2dll.create_namespaces
  • + +
  • Default: false
  • +

+

delimiter:

+ +
Delimiter in output-file. + +

Important: This configuration value can only be +configured through the pom.xml, or by the definition +of a system-property, because it is not known by Hibernate nor JPA +and, hence, not picked up from their configuration!

+ +
    + +
  • Type: java.lang.String
  • + +
  • Since: 1.0
  • + +
  • Required: No
  • + +
  • User Property: hibernate.schema.delimiter
  • + +
  • Default: ;
  • +

+

dialect:

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

+

driver:

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

+

export:

+ +
Export the database-schma to the database. If set to +false, only the SQL-script is created and the database +is not touched. + +

Important: This configuration value can only be +configured through the pom.xml, or by the definition +of a system-property, because it is not known by Hibernate nor JPA +and, hence, not picked up from their configuration!

+ +
    + +
  • Type: java.lang.Boolean
  • + +
  • Since: 2.0
  • + +
  • Required: No
  • + +
  • User Property: hibernate.schema.export
  • + +
  • Default: true
  • +

+

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.

+ +

Important: This configuration value can only be +configured through the pom.xml, or by the definition +of a system-property, because it is not known by Hibernate nor JPA +and, hence, not picked up from their configuration!

+ +
    + +
  • Type: boolean
  • + +
  • Since: 1.0
  • + +
  • Required: No
  • + +
  • User Property: hibernate.schema.force
  • + +
  • Default: false
  • +

+

format:

+ +
Format output-file.
+ +
    + +
  • Type: java.lang.Boolean
  • + +
  • Since: 1.0
  • + +
  • Required: No
  • + +
  • User Property: hibernate.format_sql
  • +

+

hibernateConfig:

+ +
Path to Hibernate configuration file (.cfg.xml). If this parameter +is specified, the plugin will try to load configuration values from +a file with the given path or a ressource on the classpath with the +given name. If both fails, the execution of the plugin will fail. + +

If this parameter is not set the plugin will load configuration +values from a ressource named hibernate.cfg.xml on the +classpath, if it is present, but will not fail if there is no such +ressource.

+ +

During ressource-lookup, the test-classpath takes +precedence.

+ +

Settings in this file will overwrite settings in the properties +file.

+ +
    + +
  • Type: java.lang.String
  • + +
  • Since: 1.1.0
  • + +
  • Required: No
  • +

+

hibernateProperties:

+ +
Path to a file or name of a ressource with hibernate properties. If +this parameter is specified, the plugin will try to load +configuration values from a file with the given path or a ressource +on the classpath with the given name. If both fails, the execution +of the plugin will fail. + +

If this parameter is not set the plugin will load configuration +values from a ressource named hibernate.properties on +the classpath, if it is present, but will not fail if there is no +such ressource.

+ +

During ressource-lookup, the test-classpath takes +precedence.

+ +
    + +
  • Type: java.lang.String
  • + +
  • Since: 1.0
  • + +
  • Required: No
  • +

+

implicitNamingStrategy:

+ +
Implicit naming strategy
+ +
    + +
  • Type: java.lang.String
  • + +
  • Since: 2.0
  • + +
  • Required: No
  • + +
  • User Property: hibernate.implicit_naming_strategy
  • +

+

mappings:

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

+

outputDirectory:

+ +
Classes-Directory to scan. + +

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

+ +

Important: This configuration value can only be +configured through the pom.xml, or by the definition +of a system-property, because it is not known by Hibernate nor JPA +and, hence, not picked up from their configuration!

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

+

outputFile:

+ +
Output file. + +

If the specified filename is not absolut, the file will be +created relative to the project build directory +(project.build.directory).

+ +
    + +
  • Type: java.lang.String
  • + +
  • Since: 1.0
  • + +
  • Required: No
  • + +
  • User Property: hibernate.schema.export.drop
  • + +
  • Default: drop.sql
  • +

+

password:

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

+

persistenceUnit:

+ +
Name of the persistence-unit. If this parameter is specified, the +plugin will try to load configuration values from a +persistence-unit with the specified name. If no such +persistence-unit can be found, the plugin will throw an exception. + +

If this parameter is not set and there is only one +persistence-unit available, that unit will be used automatically. +But if this parameter is not set and there are multiple +persistence-units available on, the class-path, the execution of +the plugin will fail.

+ +

Settings in this file will overwrite settings in the properties +or the configuration file.

+ +
    + +
  • Type: java.lang.String
  • + +
  • Since: 1.1.0
  • + +
  • Required: No
  • +

+

physicalNamingStrategy:

+ +
Physical naming strategy
+ +
    + +
  • Type: java.lang.String
  • + +
  • Since: 2.0
  • + +
  • Required: No
  • + +
  • User Property: hibernate.physical_naming_strategy
  • +

+

scanClasses:

+ +
Wether the project should be scanned for annotated-classes, or not + +

This parameter is intended to allow overwriting of the parameter +exclude-unlisted-classes of a +persistence-unit. If not specified, it defaults to +true

+ +
    + +
  • Type: java.lang.Boolean
  • + +
  • Since: 2.0
  • + +
  • Required: No
  • + +
  • User Property: hibernate.schema.scan.classes
  • +

+

scanDependencies:

+ +
Dependency-Scopes, that should be scanned for annotated classes. + +

By default, only dependencies in the scope compile +are scanned for annotated classes. Multiple scopes can be seperated +by white space or commas.

+ +

If you do not want any dependencies to be scanned for annotated +classes, set this parameter to none.

+ +

The plugin does not scan for annotated classes in transitive +dependencies. If some of your annotated classes are hidden in a +transitive dependency, you can simply add that dependency +explicitly.

+ +
    + +
  • Type: java.lang.String
  • + +
  • Since: 1.0.3
  • + +
  • Required: No
  • + +
  • User Property: hibernate.schema.scan.dependencies
  • + +
  • Default: compile
  • +

+

scanTestClasses:

+ +
Whether to scan the test-branch of the project for annotated +classes, or not. + +

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

+ +

Important: This configuration value can only be +configured through the pom.xml, or by the definition +of a system-property, because it is not known by Hibernate nor JPA +and, hence, not picked up from their configuration!

+ +
    + +
  • Type: java.lang.Boolean
  • + +
  • Since: 1.0.1
  • + +
  • Required: No
  • + +
  • User Property: hibernate.schema.scan.test_classes
  • + +
  • Default: false
  • +

+

show:

+ +
Show the generated SQL in the command-line output.
+ +
    + +
  • Type: java.lang.Boolean
  • + +
  • Since: 1.0
  • + +
  • Required: No
  • + +
  • User Property: hibernate.show_sql
  • +

+

skip:

+ +
Skip execution + +

If set to true, the execution is skipped.

+ +

A skipped execution is signaled via the maven-property +${hibernate.schema.skipped}.

+ +

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

+ +

Important: This configuration value can only be +configured through the pom.xml, or by the definition +of a system-property, because it is not known by Hibernate nor JPA +and, hence, not picked up from their configuration!

+ +
    + +
  • Type: boolean
  • + +
  • Since: 1.0
  • + +
  • Required: No
  • + +
  • User Property: hibernate.schema.skip
  • + +
  • Default: ${maven.test.skip}
  • +

+

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!

+ +

Important: This configuration value can only be +configured through the pom.xml, or by the definition +of a system-property, because it is not known by Hibernate nor JPA +and, hence, not picked up from their configuration!

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

+

url:

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

+

username:

+ +
Database username
+ +
    + +
  • Type: java.lang.String
  • + +
  • Since: 1.0
  • + +
  • Required: No
  • + +
  • User Property: hibernate.connection.username
  • +
+
+
+ + +
+
+ + +
+
+ +
+ + + diff --git a/projects/hibernate-maven-plugin/2.0.0/force.html b/projects/hibernate-maven-plugin/2.0.0/force.html new file mode 100644 index 0000000..e550cad --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/force.html @@ -0,0 +1,171 @@ + + + + + + + + + juplo - Hibernate Maven Plugin - Force Exceution + + + + + + + + + + + +
+ + +
+
+

Force Exceution

+ + + + +

+ The hibernate-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.schema.skipped} to true. + This may be helpful, because other plugins like + dbunit-plugin + may fail, when the execution is skipped. +

+ +

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

+ +
+
+<plugin>
+  <groupId>de.juplo</groupId>
+  <artifactId>hibernate-maven-plugin</artifactId>
+  <version>2.0.0</version>
+  <configuration>
+    <force>true</force>
+  </configuration>
+</plugin>
+ +

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

+ + +
+
+ + +
+
+ +
+ + + diff --git a/projects/hibernate-maven-plugin/2.0.0/help-mojo.html b/projects/hibernate-maven-plugin/2.0.0/help-mojo.html new file mode 100644 index 0000000..a485443 --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/help-mojo.html @@ -0,0 +1,277 @@ + + + + + + + + + juplo - Hibernate Maven Plugin – hibernate:help + + + + + + + + + + + +
+ + +
+
+

hibernate:help

+ + +
+

hibernate:help

+ +

Full name:

+ +

de.juplo:hibernate-maven-plugin:2.0.0:help

+ +

Description:

+ +
Display help information on hibernate-maven-plugin.
+Call mvn hibernate: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
  • +
+
+
+ + +
+
+ + +
+
+ +
+ + + diff --git a/projects/hibernate-maven-plugin/2.0.0/images/close.gif b/projects/hibernate-maven-plugin/2.0.0/images/close.gif new file mode 100644 index 0000000..1c26bbc Binary files /dev/null and b/projects/hibernate-maven-plugin/2.0.0/images/close.gif differ diff --git a/projects/hibernate-maven-plugin/2.0.0/images/external.png b/projects/hibernate-maven-plugin/2.0.0/images/external.png new file mode 100644 index 0000000..3f999fc Binary files /dev/null and b/projects/hibernate-maven-plugin/2.0.0/images/external.png differ diff --git a/projects/hibernate-maven-plugin/2.0.0/images/icon_error_sml.gif b/projects/hibernate-maven-plugin/2.0.0/images/icon_error_sml.gif new file mode 100644 index 0000000..61132ef Binary files /dev/null and b/projects/hibernate-maven-plugin/2.0.0/images/icon_error_sml.gif differ diff --git a/projects/hibernate-maven-plugin/2.0.0/images/icon_info_sml.gif b/projects/hibernate-maven-plugin/2.0.0/images/icon_info_sml.gif new file mode 100644 index 0000000..c6cb9ad Binary files /dev/null and b/projects/hibernate-maven-plugin/2.0.0/images/icon_info_sml.gif differ diff --git a/projects/hibernate-maven-plugin/2.0.0/images/icon_success_sml.gif b/projects/hibernate-maven-plugin/2.0.0/images/icon_success_sml.gif new file mode 100644 index 0000000..52e85a4 Binary files /dev/null and b/projects/hibernate-maven-plugin/2.0.0/images/icon_success_sml.gif differ diff --git a/projects/hibernate-maven-plugin/2.0.0/images/icon_warning_sml.gif b/projects/hibernate-maven-plugin/2.0.0/images/icon_warning_sml.gif new file mode 100644 index 0000000..873bbb5 Binary files /dev/null and b/projects/hibernate-maven-plugin/2.0.0/images/icon_warning_sml.gif differ diff --git a/projects/hibernate-maven-plugin/2.0.0/images/newwindow.png b/projects/hibernate-maven-plugin/2.0.0/images/newwindow.png new file mode 100644 index 0000000..6287f72 Binary files /dev/null and b/projects/hibernate-maven-plugin/2.0.0/images/newwindow.png differ diff --git a/projects/hibernate-maven-plugin/2.0.0/index.html b/projects/hibernate-maven-plugin/2.0.0/index.html new file mode 100644 index 0000000..fb2d1c1 --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/index.html @@ -0,0 +1,224 @@ + + + + + + + + + juplo - Hibernate Maven Plugin – + + + + + + + + + + + +
+ + +
+
+

+ + + + +

Hibernate Maven Plugin

+ +
+

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

+ +

+ The hibernate-maven-plugin is a plugin for generating a database-schema + from your Hibernate-Mappings and create or update your database + accordingly. + Its main usage is to automatically create and populate a test-database + for unit-tests in cooperation with the + dbunit-maven-plugin. +

+ +

+ The plugin was designed with three main goals in mind: +

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

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

+ +

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

+ +

+ Last but not least, in order to not slow down the development cycle, the + hibernate-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 hibernate-maven-plugin. +

+
+
+

Documentation

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

Releases

+ + +
+ +
+
+ + +
+
+ +
+ + + diff --git a/projects/hibernate-maven-plugin/2.0.0/integration.html b/projects/hibernate-maven-plugin/2.0.0/integration.html new file mode 100644 index 0000000..064a16b --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/integration.html @@ -0,0 +1,188 @@ + + + + + + + + + juplo - Hibernate Maven Plugin - Continuous Integration + + + + + + + + + + + +
+ + +
+
+

Continuous Integration

+
+

Overview

+

This project uses Continuum.

+
+

Access

+

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

+
+
+

Notifiers

+

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

+ + + + + + + + +
TypeAddressConfiguration
mailkai@juplo.de-
+
+ +
+ +
+ + + diff --git a/projects/hibernate-maven-plugin/2.0.0/issue-tracking.html b/projects/hibernate-maven-plugin/2.0.0/issue-tracking.html new file mode 100644 index 0000000..bc2b6ea --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/issue-tracking.html @@ -0,0 +1,179 @@ + + + + + + + + + juplo - Hibernate 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. +

+ + +
+ +
+ +
+ + + diff --git a/projects/hibernate-maven-plugin/2.0.0/license.html b/projects/hibernate-maven-plugin/2.0.0/license.html new file mode 100644 index 0000000..127e648 --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/license.html @@ -0,0 +1,380 @@ + + + + + + + + + juplo - Hibernate Maven Plugin - Project License + + + + + + + + + + + +
+ + +
+
+

Project License

+
+

Overview

+

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

+
+

Project License

+
+

The Apache Software License, Version 2.0

+

A business-friendly OSS license

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

+ + +
+ +
+ +
+ + + diff --git a/projects/hibernate-maven-plugin/2.0.0/pitfalls.html b/projects/hibernate-maven-plugin/2.0.0/pitfalls.html new file mode 100644 index 0000000..6cf710d --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/pitfalls.html @@ -0,0 +1,389 @@ + + + + + + + + + juplo - Hibernate Maven Plugin - Known Pitfalls (FAQ) + + + + + + + + + + + +
+ + +
+
+

Known Pitfalls (FAQ)

+ + + + +
+

Annotated classes in dependencies are not found.

+ +

+ hibernate-maven-plugin by default scans dependencies in the scope + compile. You can configure it to scan dependencies in other + scopes as well. But it scans only direct dependencies. Transitive + dependencies are not scanned for annotated classes. If some of your + annotated classes are hidden in a transitive dependency, you can simply + add that dependency explicitly. +

+
+
+

hibernate-maven-plugin always needs a database-connection

+ +

+ The default-configuration exports the created schema to the configured + database. + Therefore, it needs a valid database-connection and fails, if none is + available. + If you do not need to export the created schema to a database, + you can set the property hibernate.schema.export to + false. + This can be achieved with the command-line parameter + -Dhibernate.schema.export=false or with the following + configuration: +

+ +
+
+<configuration>
+  <export>false</export>
+</configuration>
+ +

+ But even when no database is to be created, hibernate always needs to know + the dialect. Hence, the plugin will still fail, if this parameter is also + 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 hibernate-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.H2Dialect
+[INFO]   hibernate.connection.url = jdbc:h2:file:./db
+[INFO]   hibernate.hbm2dll.create_namespaces = false
+[INFO]   hibernate.connection.driver_class = org.h2.Driver
+[INFO]   hibernate.format_sql = true
+[INFO] HHH000412: Hibernate Core {5.0.2.Final}
+[INFO] HHH000206: hibernate.properties not found
+[INFO] HHH000021: Bytecode provider name : javassist
+[INFO] Adding /home/kai/project/target/classes to the list of roots to scan...
+[INFO] Adding dependencies from scope compile to the list of roots to scan
+[INFO] Adding dependencies from scope org.hibernate:hibernate-core:jar:4.3.0.Final to the list of roots to scan
+[INFO] Adding annotated resource: de.juplo.tests.SimplestMavenHib4Test
+[INFO] ------------------------------------------------------------------------
+[INFO] BUILD FAILURE
+[INFO] ------------------------------------------------------------------------
+[INFO] Total time: 1.760s
+[INFO] Finished at: Mon Mar 07 19:06:54 CET 2016
+[INFO] Final Memory: 11M/215M
+[INFO] ------------------------------------------------------------------------
+[ERROR] Failed to execute goal de.juplo:hibernate-maven-plugin:2.0.0:drop (default) on project hibernate4-properties-test: Could not open the JDBC-connection: Unable to load class [org.h2.Driver]: Could not load requested class : org.h2.Driver -> [Help 1]
+[ERROR] 
+[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
+[ERROR] Re-run Maven using the -X switch to enable full debug logging.
+[ERROR] 
+[ERROR] For more information about the errors and possible solutions, please read the following articles:
+[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
+ +

+ 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>hibernate-maven-plugin</artifactId>
+  <version>2.0.0</version>
+  <executions>
+    <execution>
+      <goals>
+        <goal>drop</goal>
+        <goal>create</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 hibernate was skipped because nothing has changed

+ +

+ If hibernate-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 hibernate-maven-plugin has + skipped its excecution. +

+ +

+ A quick fix to this problem is, to force + hibernate-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, hibernate-maven-plugin signals a skipped + excecution by setting the maven property ${hibernate.schema.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 + hibernate-maven-plugin was skipped like this: +

+ +
+
+<plugin>
+  <groupId>org.codehaus.mojo</groupId>
+  <artifactId>dbunit-maven-plugin</artifactId>
+  <configuration>
+    <skip>${hibernate.schema.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 hibernate-maven-plugin, because it cannot detect, that + the database needs to be recreated. + This happens, because the plugin will not recreate the database if neither + the configuration nor the annotated classes have changed, because an + unnecessary drop-create-cycle might take a long time. The plugin will + report that like this: +

+ +
+
+[INFO] No modified annotated classes found and dialect unchanged.
+[INFO] Skipping schema generation!
+ +

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

+ +
+
+mvn hibernate:create -Dhibernate.schema.force=true
+
+
+

The hibernate:create goal is not executed, when tests are skipped

+ +

+ The hibernate-maven-plugin automatically skips its execution, when + maven.test.skip is set to true. If you need it to be always + executed, you can configure that explicitly like this: +

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

+ Background-information for this design-decission can be found on the extra + page To skip or not to skip: that is the question... +

+
+
+

I do not want my dependencies to be scanned for hibernate annotations

+ +

+ If you do not want your dependencies to be scanned for hibernate annotations, + you can pass -Dhibernate.schema.scan.dependencies=none to maven + or set scanDependencies to none in the configuration + of the plugin like this: +

+ +
+
+<plugin>
+  <groupId>de.juplo</groupId>
+  <artifactId>hibernate-maven-plugin</artifactId>
+  ...
+  <configuration>
+    <scanDependencies>none</scanDependencies>
+  </configuration>
+</plugin>
+
+
+

No annotated classes found

+ +

+ If you are working under Windows and get the error-message + No annotated classes found in directory C:\projects\X Y Z\path-to-project\target\classes, + but you are really sure, that there are annotated classes in that + directory, you are expiriencing a bug, in the scannotation-library, that + was closed in version 1.1.0 of the hibernate-maven-plugin. +

+ +

+ + You should consider to upgrade to the latest version of the plugin. + +

+
+ +
+
+ + +
+
+ +
+ + + diff --git a/projects/hibernate-maven-plugin/2.0.0/plugin-info.html b/projects/hibernate-maven-plugin/2.0.0/plugin-info.html new file mode 100644 index 0000000..f57b2cf --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/plugin-info.html @@ -0,0 +1,221 @@ + + + + + + + + + juplo - Hibernate Maven Plugin - Plugin Documentation + + + + + + + + + + + +
+ + +
+
+

Plugin Documentation

+
+

Plugin Documentation

+

Goals available for this plugin:

+ + + + + + + + + + + + +
GoalDescription
hibernate:createGoal which extracts the hibernate-mapping-configuration and exports +an according SQL-database-schema.
hibernate:dropGoal which extracts the hibernate-mapping-configuration and exports +an according SQL-database-schema.
hibernate:helpDisplay help information on hibernate-maven-plugin.
+Call mvn hibernate: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>hibernate-maven-plugin</artifactId>
+          <version>2.0.0</version>
+        </plugin>
+        ...
+      </plugins>
+    </pluginManagement>
+    <!-- To use the plugin goals in your POM or parent POM -->
+    <plugins>
+      <plugin>
+        <groupId>de.juplo</groupId>
+        <artifactId>hibernate-maven-plugin</artifactId>
+        <version>2.0.0</version>
+      </plugin>
+      ...
+    </plugins>
+  </build>
+  ...
+</project>
+
+

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

+
+
+ + +
+
+ +
+ + + diff --git a/projects/hibernate-maven-plugin/2.0.0/plugin-management.html b/projects/hibernate-maven-plugin/2.0.0/plugin-management.html new file mode 100644 index 0000000..9daabca --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/plugin-management.html @@ -0,0 +1,195 @@ + + + + + + + + + juplo - Hibernate Maven Plugin - Plugin Management + + + + + + + + + + + +
+ + +
+ + +
+ +
+ + + diff --git a/projects/hibernate-maven-plugin/2.0.0/plugins.html b/projects/hibernate-maven-plugin/2.0.0/plugins.html new file mode 100644 index 0000000..8b01f95 --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/plugins.html @@ -0,0 +1,266 @@ + + + + + + + + + juplo - Hibernate Maven Plugin - Project Plugins + + + + + + + + + + + +
+ + +
+
+

Project Plugins

+
+

Project Build Plugins

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GroupIdArtifactIdVersion
org.apache.maven.pluginsmaven-clean-plugin2.5
org.apache.maven.pluginsmaven-compiler-plugin3.3
org.apache.maven.pluginsmaven-dependency-plugin2.10
org.apache.maven.pluginsmaven-deploy-plugin2.7
org.apache.maven.pluginsmaven-enforcer-plugin1.2
org.apache.maven.pluginsmaven-gpg-plugin1.1
org.apache.maven.pluginsmaven-install-plugin2.3
org.apache.maven.pluginsmaven-invoker-plugin1.10
org.apache.maven.pluginsmaven-jar-plugin2.2
org.apache.maven.pluginsmaven-javadoc-plugin2.7
org.apache.maven.pluginsmaven-plugin-plugin3.4
org.apache.maven.pluginsmaven-resources-plugin2.7
org.apache.maven.pluginsmaven-scm-plugin1.9.4
org.apache.maven.pluginsmaven-site-plugin3.4
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.11
org.apache.maven.pluginsmaven-javadoc-plugin2.7
org.apache.maven.pluginsmaven-jxr-plugin2.5
org.apache.maven.pluginsmaven-plugin-plugin3.4
org.apache.maven.pluginsmaven-pmd-plugin3.4
+
+ +
+ +
+ + + diff --git a/projects/hibernate-maven-plugin/2.0.0/pmd.html b/projects/hibernate-maven-plugin/2.0.0/pmd.html new file mode 100644 index 0000000..0817509 --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/pmd.html @@ -0,0 +1,215 @@ + + + + + + + + + juplo - Hibernate Maven Plugin - PMD + + + + + + + + + + + +
+ + +
+
+

PMD

+
+

PMD Results

+

The following document contains the results of PMD 5.2.3.

+
+

Files

+
+

de/juplo/plugins/hibernate/AbstractSchemaMojo.java

+ + + + + + + + + + + + +
ViolationLine
Too many static imports may lead to messy code11178
Avoid unused method parameters such as 'path'.970
Avoid using a branching statement as the last in a loop.1173
+
+

de/juplo/plugins/hibernate/ModificationTracker.java

+ + + + + + +
ViolationLine
Unnecessary use of fully qualified name 'java.security.MessageDigest.getInstance' due to existing import 'java.security.MessageDigest'60
+
+

de/juplo/plugins/hibernate/SimpleConnectionProvider.java

+ + + + + + + + + + + + + + + +
ViolationLine
Too many static imports may lead to messy code1249
Unnecessary use of fully qualified name 'java.sql.Driver' due to existing import 'java.sql.Driver'168
Unnecessary use of fully qualified name 'java.sql.Connection' due to existing import 'java.sql.Connection'180
Unnecessary use of fully qualified name 'java.util.Properties' due to existing import 'java.util.Properties'182
+
+

de/juplo/plugins/hibernate/HelpMojo.java

+ + + + + + + + + + + + +
ViolationLine
Useless parentheses.241
Useless parentheses.286
Useless parentheses.296
+
+
+ + +
+
+ +
+ + + diff --git a/projects/hibernate-maven-plugin/2.0.0/project-info.html b/projects/hibernate-maven-plugin/2.0.0/project-info.html new file mode 100644 index 0000000..81caac4 --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/project-info.html @@ -0,0 +1,214 @@ + + + + + + + + + juplo - Hibernate Maven Plugin - Project Information + + + + + + + + + + + +
+ + +
+
+

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-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.
+
+ +
+ +
+ + + diff --git a/projects/hibernate-maven-plugin/2.0.0/project-reports.html b/projects/hibernate-maven-plugin/2.0.0/project-reports.html new file mode 100644 index 0000000..11f6c4b --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/project-reports.html @@ -0,0 +1,181 @@ + + + + + + + + + juplo - Hibernate Maven Plugin - Project Reports + + + + + + + + + + + +
+ + +
+
+

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
Test JavaDocsTest JavaDoc API documentation.
JavaDocsJavaDoc API documentation.
Source XrefHTML based, cross-reference version of Java source code.
Test Source XrefHTML based, cross-reference version of Java test source code.
CPDDuplicate code detection.
PMDVerification of coding rules.
Plugin DocumentationThis report provides goals and parameters documentation of a plugin.
+
+
+ + +
+
+ +
+ + + diff --git a/projects/hibernate-maven-plugin/2.0.0/project-summary.html b/projects/hibernate-maven-plugin/2.0.0/project-summary.html new file mode 100644 index 0000000..b9c9aea --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/project-summary.html @@ -0,0 +1,209 @@ + + + + + + + + + juplo - Hibernate Maven Plugin - Project Summary + + + + + + + + + + + +
+ + +
+
+

Project Summary

+
+

Project Summary

+
+

Project Information

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

Project Organization

+

This project does not belong to an organization.

+
+

Build Information

+ + + + + + + + + + + + + + + + + + +
FieldValue
GroupIdde.juplo
ArtifactIdhibernate-maven-plugin
Version2.0.0
Typemaven-plugin
JDK Rev1.6
+
+ +
+ +
+ + + diff --git a/projects/hibernate-maven-plugin/2.0.0/skip.html b/projects/hibernate-maven-plugin/2.0.0/skip.html new file mode 100644 index 0000000..cbb3866 --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/skip.html @@ -0,0 +1,193 @@ + + + + + + + + + juplo - Hibernate Maven Plugin - Skipping Execution + + + + + + + + + + + +
+ + +
+
+

Skipping Execution

+ + + + +

+ In most use-cases, the hibernate-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 drop-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 + hibernate-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, + 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>hibernate-maven-plugin</artifactId>
+  ...
+  <configuration>
+    <skip>false</skip>
+  </configuration>
+</plugin>
+ +

+ Or, if you want the plugin 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>hibernate-maven-plugin</artifactId>
+  ...
+  <configuration>
+    <skip>${foo.bar}</skip>
+  </configuration>
+</plugin>
+ +

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

+ + +
+
+ + +
+
+ +
+ + + diff --git a/projects/hibernate-maven-plugin/2.0.0/source-repository.html b/projects/hibernate-maven-plugin/2.0.0/source-repository.html new file mode 100644 index 0000000..fe27531 --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/source-repository.html @@ -0,0 +1,189 @@ + + + + + + + + + juplo - Hibernate Maven Plugin - Source Repository + + + + + + + + + + + +
+ + +
+
+

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/hibernate-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/hibernate-maven-plugin
+
+

Access from behind a firewall

+

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

+
+ +
+ +
+ + + diff --git a/projects/hibernate-maven-plugin/2.0.0/team-list.html b/projects/hibernate-maven-plugin/2.0.0/team-list.html new file mode 100644 index 0000000..8aaafc0 --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/team-list.html @@ -0,0 +1,261 @@ + + + + + + + + + juplo - Hibernate Maven Plugin - Project Team + + + + + + + + + + + +
+ + +
+
+

Project Team

+
+

The Team

+

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

+

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

+
+

Members

+

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

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

Contributors

+

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

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ImageNameEmail
Adriano Machadoadriano.m.machado@hotmail.com
Lorenzo Nicoralorenzo.nicora@nicus.it
Eduard Szenteeduard.szente@gmail.com
Stephen Johnsonstejohns@redhat.com
Victor Tataivtatai@gmail.com
Erik-Berndt Schepererik.berndt.scheper@gmail.com
Guido WimmelWimmel.Guido@swm.de
Joel Johnsonmrjoel@lixil.net
Paul K. Moorepaulkmoore@gmail.com
Mark Robinsonmark@mrobinson.ca
Claus Grafclausgraf@gmail.com
Joachim Van der Auwerajoachim@progs.be
Andreas Kuhtzandreas.kuhtz@gmail.com
+
+ +
+ +
+ + + diff --git a/projects/hibernate-maven-plugin/2.0.0/testapidocs/allclasses-frame.html b/projects/hibernate-maven-plugin/2.0.0/testapidocs/allclasses-frame.html new file mode 100644 index 0000000..33b9b6b --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/testapidocs/allclasses-frame.html @@ -0,0 +1,20 @@ + + + + + + +All Classes (Hibernate Maven Plugin 2.0.0 Test API) + + + + + +

All Classes

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

All Classes

+
+ +
+ + diff --git a/projects/hibernate-maven-plugin/2.0.0/testapidocs/constant-values.html b/projects/hibernate-maven-plugin/2.0.0/testapidocs/constant-values.html new file mode 100644 index 0000000..22d78f0 --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/testapidocs/constant-values.html @@ -0,0 +1,124 @@ + + + + + + +Constant Field Values (Hibernate Maven Plugin 2.0.0 Test API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Constant Field Values

+

Contents

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

Copyright © 2016. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/2.0.0/testapidocs/de/juplo/test/FileComparator.html b/projects/hibernate-maven-plugin/2.0.0/testapidocs/de/juplo/test/FileComparator.html new file mode 100644 index 0000000..cb9ac01 --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/testapidocs/de/juplo/test/FileComparator.html @@ -0,0 +1,280 @@ + + + + + + +FileComparator (Hibernate Maven Plugin 2.0.0 Test API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
de.juplo.test
+

Class FileComparator

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

Copyright © 2016. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/2.0.0/testapidocs/de/juplo/test/class-use/FileComparator.html b/projects/hibernate-maven-plugin/2.0.0/testapidocs/de/juplo/test/class-use/FileComparator.html new file mode 100644 index 0000000..8bc7ce5 --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/testapidocs/de/juplo/test/class-use/FileComparator.html @@ -0,0 +1,124 @@ + + + + + + +Uses of Class de.juplo.test.FileComparator (Hibernate Maven Plugin 2.0.0 Test API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
de.juplo.test.FileComparator

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

Copyright © 2016. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/2.0.0/testapidocs/de/juplo/test/package-frame.html b/projects/hibernate-maven-plugin/2.0.0/testapidocs/de/juplo/test/package-frame.html new file mode 100644 index 0000000..4717ab2 --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/testapidocs/de/juplo/test/package-frame.html @@ -0,0 +1,21 @@ + + + + + + +de.juplo.test (Hibernate Maven Plugin 2.0.0 Test API) + + + + + +

de.juplo.test

+
+

Classes

+ +
+ + diff --git a/projects/hibernate-maven-plugin/2.0.0/testapidocs/de/juplo/test/package-summary.html b/projects/hibernate-maven-plugin/2.0.0/testapidocs/de/juplo/test/package-summary.html new file mode 100644 index 0000000..25070f3 --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/testapidocs/de/juplo/test/package-summary.html @@ -0,0 +1,142 @@ + + + + + + +de.juplo.test (Hibernate Maven Plugin 2.0.0 Test API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Package de.juplo.test

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

Copyright © 2016. All Rights Reserved.

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

Hierarchy For Package de.juplo.test

+
+
+

Class Hierarchy

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

Copyright © 2016. All Rights Reserved.

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

Uses of Package
de.juplo.test

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

Copyright © 2016. All Rights Reserved.

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

Deprecated API

+

Contents

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

Copyright © 2016. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/2.0.0/testapidocs/help-doc.html b/projects/hibernate-maven-plugin/2.0.0/testapidocs/help-doc.html new file mode 100644 index 0000000..7098ee5 --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/testapidocs/help-doc.html @@ -0,0 +1,225 @@ + + + + + + +API Help (Hibernate Maven Plugin 2.0.0 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 © 2016. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/2.0.0/testapidocs/index-all.html b/projects/hibernate-maven-plugin/2.0.0/testapidocs/index-all.html new file mode 100644 index 0000000..d5e284b --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/testapidocs/index-all.html @@ -0,0 +1,147 @@ + + + + + + +Index (Hibernate Maven Plugin 2.0.0 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 © 2016. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/2.0.0/testapidocs/index.html b/projects/hibernate-maven-plugin/2.0.0/testapidocs/index.html new file mode 100644 index 0000000..20ff671 --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/testapidocs/index.html @@ -0,0 +1,72 @@ + + + + + + +Hibernate Maven Plugin 2.0.0 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/2.0.0/testapidocs/options b/projects/hibernate-maven-plugin/2.0.0/testapidocs/options new file mode 100644 index 0000000..cf2c184 --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/testapidocs/options @@ -0,0 +1,35 @@ +-classpath +'/home/kai/juplo/hibernate4-maven-plugin/target/checkout/target/classes:/home/kai/juplo/hibernate4-maven-plugin/target/checkout/target/test-classes:/home/kai/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar:/home/kai/.m2/repository/org/eclipse/sisu/org.eclipse.sisu.inject/0.3.0/org.eclipse.sisu.inject-0.3.0.jar:/home/kai/.m2/repository/org/eclipse/aether/aether-util/1.0.2.v20150114/aether-util-1.0.2.v20150114.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/hibernate/hibernate-entitymanager/5.0.2.Final/hibernate-entitymanager-5.0.2.Final.jar:/home/kai/.m2/repository/org/apache/maven/maven-core/3.3.3/maven-core-3.3.3.jar:/home/kai/.m2/repository/org/apache/maven/maven-model-builder/3.3.3/maven-model-builder-3.3.3.jar:/home/kai/.m2/repository/org/apache/maven/maven-settings-builder/3.3.3/maven-settings-builder-3.3.3.jar:/home/kai/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar:/home/kai/.m2/repository/javax/inject/javax.inject/1/javax.inject-1.jar:/home/kai/.m2/repository/org/codehaus/plexus/plexus-classworlds/2.5.2/plexus-classworlds-2.5.2.jar:/home/kai/.m2/repository/org/eclipse/aether/aether-spi/1.0.2.v20150114/aether-spi-1.0.2.v20150114.jar:/home/kai/.m2/repository/org/apache/maven/maven-builder-support/3.3.3/maven-builder-support-3.3.3.jar:/home/kai/.m2/repository/org/apache/maven/maven-repository-metadata/3.3.3/maven-repository-metadata-3.3.3.jar:/home/kai/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar:/home/kai/.m2/repository/org/hibernate/javax/persistence/hibernate-jpa-2.1-api/1.0.0.Final/hibernate-jpa-2.1-api-1.0.0.Final.jar:/home/kai/.m2/repository/de/juplo/scannotation/1.0.4/scannotation-1.0.4.jar:/home/kai/.m2/repository/javax/el/javax.el-api/3.0.0/javax.el-api-3.0.0.jar:/home/kai/.m2/repository/org/apache/geronimo/specs/geronimo-jta_1.1_spec/1.1.1/geronimo-jta_1.1_spec-1.1.1.jar:/home/kai/.m2/repository/javax/enterprise/cdi-api/1.0/cdi-api-1.0.jar:/home/kai/.m2/repository/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar:/home/kai/.m2/repository/org/javassist/javassist/3.18.1-GA/javassist-3.18.1-GA.jar:/home/kai/.m2/repository/org/eclipse/sisu/org.eclipse.sisu.plexus/0.3.0/org.eclipse.sisu.plexus-0.3.0.jar:/home/kai/.m2/repository/com/google/guava/guava/18.0/guava-18.0.jar:/home/kai/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar:/home/kai/.m2/repository/org/apache/maven/maven-model/3.3.3/maven-model-3.3.3.jar:/home/kai/.m2/repository/org/eclipse/aether/aether-api/1.0.2.v20150114/aether-api-1.0.2.v20150114.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/apache/maven/maven-settings/3.3.3/maven-settings-3.3.3.jar:/home/kai/.m2/repository/antlr/antlr/2.7.7/antlr-2.7.7.jar:/home/kai/.m2/repository/org/jboss/jandex/1.2.2.Final/jandex-1.2.2.Final.jar:/home/kai/.m2/repository/org/hibernate/hibernate-envers/5.0.2.Final/hibernate-envers-5.0.2.Final.jar:/home/kai/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar:/home/kai/.m2/repository/org/hibernate/common/hibernate-commons-annotations/5.0.0.Final/hibernate-commons-annotations-5.0.0.Final.jar:/home/kai/.m2/repository/org/hibernate/hibernate-validator/5.2.2.Final/hibernate-validator-5.2.2.Final.jar:/home/kai/.m2/repository/org/apache/maven/maven-aether-provider/3.3.3/maven-aether-provider-3.3.3.jar:/home/kai/.m2/repository/org/apache/maven/maven-plugin-api/3.3.3/maven-plugin-api-3.3.3.jar:/home/kai/.m2/repository/log4j/log4j/1.2.14/log4j-1.2.14.jar:/home/kai/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.21/plexus-interpolation-1.21.jar:/home/kai/.m2/repository/org/hibernate/hibernate-core/5.0.2.Final/hibernate-core-5.0.2.Final.jar:/home/kai/.m2/repository/org/apache/maven/maven-artifact/3.3.3/maven-artifact-3.3.3.jar:/home/kai/.m2/repository/com/fasterxml/classmate/1.1.0/classmate-1.1.0.jar:/home/kai/.m2/repository/org/sonatype/sisu/sisu-guice/3.2.5/sisu-guice-3.2.5-no_aop.jar:/home/kai/.m2/repository/javax/validation/validation-api/1.1.0.Final/validation-api-1.1.0.Final.jar:/home/kai/.m2/repository/org/eclipse/aether/aether-impl/1.0.2.v20150114/aether-impl-1.0.2.v20150114.jar:/home/kai/.m2/repository/org/jboss/logging/jboss-logging/3.3.0.Final/jboss-logging-3.3.0.Final.jar' +-encoding +'UTF-8' +-protected +-sourcepath +'/home/kai/juplo/hibernate4-maven-plugin/target/checkout/src/test/java:/home/kai/juplo/hibernate4-maven-plugin/target/checkout/target/generated-test-sources/test-annotations' +-Xdoclint:none +-author +-bottom +'Copyright © 2016. All Rights Reserved.' +-charset +'UTF-8' +-d +'/home/kai/juplo/hibernate4-maven-plugin/target/checkout/target/site/testapidocs' +-docencoding +'UTF-8' +-doctitle +'Hibernate Maven Plugin 2.0.0 Test API' +-link +'http://java.sun.com/javase/6/docs/api' +-tag +"goal:a:Goal:" +-tag +"phase:a:Phase:" +-tag +"threadSafe:a:Thread Safe:" +-tag +"requiresDependencyResolution:a:Requires Dependency Resolution:" +-tag +"requiresProject:a:Requires Project:" +-use +-version +-windowtitle +'Hibernate Maven Plugin 2.0.0 Test API' \ No newline at end of file diff --git a/projects/hibernate-maven-plugin/2.0.0/testapidocs/overview-tree.html b/projects/hibernate-maven-plugin/2.0.0/testapidocs/overview-tree.html new file mode 100644 index 0000000..95c97c9 --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/testapidocs/overview-tree.html @@ -0,0 +1,137 @@ + + + + + + +Class Hierarchy (Hibernate Maven Plugin 2.0.0 Test API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For All Packages

+Package Hierarchies: + +
+
+

Class Hierarchy

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

Copyright © 2016. All Rights Reserved.

+ + diff --git a/projects/hibernate-maven-plugin/2.0.0/testapidocs/package-list b/projects/hibernate-maven-plugin/2.0.0/testapidocs/package-list new file mode 100644 index 0000000..4774195 --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/testapidocs/package-list @@ -0,0 +1 @@ +de.juplo.test diff --git a/projects/hibernate-maven-plugin/2.0.0/testapidocs/packages b/projects/hibernate-maven-plugin/2.0.0/testapidocs/packages new file mode 100644 index 0000000..8fbea68 --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/testapidocs/packages @@ -0,0 +1 @@ +de.juplo.test \ No newline at end of file diff --git a/projects/hibernate-maven-plugin/2.0.0/testapidocs/script.js b/projects/hibernate-maven-plugin/2.0.0/testapidocs/script.js new file mode 100644 index 0000000..b346356 --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/testapidocs/script.js @@ -0,0 +1,30 @@ +function show(type) +{ + count = 0; + for (var key in methods) { + var row = document.getElementById(key); + if ((methods[key] & type) != 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) +{ + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} diff --git a/projects/hibernate-maven-plugin/2.0.0/testapidocs/stylesheet.css b/projects/hibernate-maven-plugin/2.0.0/testapidocs/stylesheet.css new file mode 100644 index 0000000..98055b2 --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/testapidocs/stylesheet.css @@ -0,0 +1,574 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ + +@import url('resources/fonts/dejavu.css'); + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4A6782; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.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; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.subNavList li{ + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader span{ + margin-right:15px; +} +.indexHeader h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* +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:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 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:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Sans Mono',monospace; +} +.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:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +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:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +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 +*/ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { + width:100%; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; + +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td { + text-align:left; + padding:0px 0px 12px 10px; +} +th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, +td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colLast, th.colOne, .constantsSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + white-space:nowrap; + font-size:13px; +} +td.colLast, th.colLast { + font-size:13px; +} +td.colOne, th.colOne { + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.useSummary td.colFirst, .useSummary th.colFirst, +.overviewSummary td.colOne, .overviewSummary th.colOne, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colOne, .memberSummary th.colOne, +.typeSummary td.colFirst{ + width:25%; + vertical-align:top; +} +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; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor { + background-color:#FFFFFF; +} +.rowColor { + background-color:#EEEEEF; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} + +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} + +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} + +td.colLast div { + padding-top:0px; +} + + +td.colLast a { + padding-bottom:3px; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, +.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, +.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} + +div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} + +div.contentContainer ul.blockList li.blockList h2{ + padding-bottom:0px; +} diff --git a/projects/hibernate-maven-plugin/2.0.0/xref-test/allclasses-frame.html b/projects/hibernate-maven-plugin/2.0.0/xref-test/allclasses-frame.html new file mode 100644 index 0000000..8253aeb --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/xref-test/allclasses-frame.html @@ -0,0 +1,20 @@ + + + + + + All Classes + + + + +

All Classes

+ + + + + diff --git a/projects/hibernate-maven-plugin/2.0.0/xref-test/de/juplo/test/FileComparator.html b/projects/hibernate-maven-plugin/2.0.0/xref-test/de/juplo/test/FileComparator.html new file mode 100644 index 0000000..15fac22 --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/xref-test/de/juplo/test/FileComparator.html @@ -0,0 +1,70 @@ + + + +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/2.0.0/xref-test/de/juplo/test/package-frame.html b/projects/hibernate-maven-plugin/2.0.0/xref-test/de/juplo/test/package-frame.html new file mode 100644 index 0000000..9ea5ede --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/xref-test/de/juplo/test/package-frame.html @@ -0,0 +1,24 @@ + + + + + + Hibernate Maven Plugin 2.0.0 Reference Package de.juplo.test + + + + +

+ de.juplo.test +

+ +

Classes

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

Package de.juplo.test

+ + + + + + + + + + + + +
Class Summary
+ FileComparator +
+ +
+ +
+
+ +
+
+ + + \ No newline at end of file diff --git a/projects/hibernate-maven-plugin/2.0.0/xref-test/index.html b/projects/hibernate-maven-plugin/2.0.0/xref-test/index.html new file mode 100644 index 0000000..cc2b557 --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/xref-test/index.html @@ -0,0 +1,25 @@ + + + + + + + Hibernate Maven Plugin 2.0.0 Reference + + + + + + + + + <body> + <h1>Frame Alert</h1> + <p> + You don't have frames. Go <a href="overview-summary.html">here</a> + </p> + </body> + + + + diff --git a/projects/hibernate-maven-plugin/2.0.0/xref-test/overview-frame.html b/projects/hibernate-maven-plugin/2.0.0/xref-test/overview-frame.html new file mode 100644 index 0000000..fbdb7d7 --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/xref-test/overview-frame.html @@ -0,0 +1,25 @@ + + + + + + Hibernate Maven Plugin 2.0.0 Reference + + + + +

+ All Classes +

+ +

Packages

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

Hibernate Maven Plugin 2.0.0 Reference

+ + + + + + + + + + + + +
Packages
+ de.juplo.test +
+ +
+ +
+
+ +
+ +
+ + + \ No newline at end of file diff --git a/projects/hibernate-maven-plugin/2.0.0/xref-test/stylesheet.css b/projects/hibernate-maven-plugin/2.0.0/xref-test/stylesheet.css new file mode 100644 index 0000000..89732f8 --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/xref-test/stylesheet.css @@ -0,0 +1,114 @@ +/* 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; +} + +#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/2.0.0/xref/allclasses-frame.html b/projects/hibernate-maven-plugin/2.0.0/xref/allclasses-frame.html new file mode 100644 index 0000000..563b5e9 --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/xref/allclasses-frame.html @@ -0,0 +1,41 @@ + + + + + + All Classes + + + + +

All Classes

+ + + + + diff --git a/projects/hibernate-maven-plugin/2.0.0/xref/de/juplo/plugins/hibernate/AbstractSchemaMojo.html b/projects/hibernate-maven-plugin/2.0.0/xref/de/juplo/plugins/hibernate/AbstractSchemaMojo.html new file mode 100644 index 0000000..16fa7a9 --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/xref/de/juplo/plugins/hibernate/AbstractSchemaMojo.html @@ -0,0 +1,1191 @@ + + + +AbstractSchemaMojo xref + + + +
View Javadoc
+1   package de.juplo.plugins.hibernate;
+2   
+3   
+4   import com.pyx4j.log4j.MavenLogAppender;
+5   import java.io.File;
+6   import java.io.FileInputStream;
+7   import java.io.IOException;
+8   import java.io.InputStream;
+9   import java.net.MalformedURLException;
+10  import java.net.URL;
+11  import java.security.NoSuchAlgorithmException;
+12  import java.util.Collections;
+13  import java.util.HashSet;
+14  import java.util.Iterator;
+15  import java.util.LinkedHashSet;
+16  import java.util.List;
+17  import java.util.Map;
+18  import java.util.Map.Entry;
+19  import java.util.Properties;
+20  import java.util.Set;
+21  import java.util.regex.Matcher;
+22  import java.util.regex.Pattern;
+23  import javax.persistence.Embeddable;
+24  import javax.persistence.Entity;
+25  import javax.persistence.MappedSuperclass;
+26  import javax.persistence.spi.PersistenceUnitTransactionType;
+27  import org.apache.maven.artifact.Artifact;
+28  import org.apache.maven.model.Resource;
+29  import org.apache.maven.plugin.AbstractMojo;
+30  import org.apache.maven.plugin.MojoExecutionException;
+31  import org.apache.maven.plugin.MojoFailureException;
+32  import org.apache.maven.project.MavenProject;
+33  import org.hibernate.boot.MetadataBuilder;
+34  import org.hibernate.boot.MetadataSources;
+35  import org.hibernate.boot.cfgxml.internal.ConfigLoader;
+36  import org.hibernate.boot.cfgxml.spi.LoadedConfig;
+37  import org.hibernate.boot.cfgxml.spi.MappingReference;
+38  import org.hibernate.boot.model.naming.ImplicitNamingStrategy;
+39  import org.hibernate.boot.model.naming.PhysicalNamingStrategy;
+40  import org.hibernate.boot.registry.BootstrapServiceRegistry;
+41  import org.hibernate.boot.registry.BootstrapServiceRegistryBuilder;
+42  import org.hibernate.boot.registry.StandardServiceRegistry;
+43  import org.hibernate.boot.registry.StandardServiceRegistryBuilder;
+44  import org.hibernate.boot.registry.classloading.spi.ClassLoaderService;
+45  import org.hibernate.boot.registry.classloading.spi.ClassLoadingException;
+46  import org.hibernate.boot.registry.selector.spi.StrategySelector;
+47  import org.hibernate.boot.spi.MetadataImplementor;
+48  import static org.hibernate.cfg.AvailableSettings.DIALECT;
+49  import static org.hibernate.cfg.AvailableSettings.DRIVER;
+50  import static org.hibernate.cfg.AvailableSettings.FORMAT_SQL;
+51  import static org.hibernate.cfg.AvailableSettings.HBM2DLL_CREATE_NAMESPACES;
+52  import static org.hibernate.cfg.AvailableSettings.IMPLICIT_NAMING_STRATEGY;
+53  import static org.hibernate.cfg.AvailableSettings.PASS;
+54  import static org.hibernate.cfg.AvailableSettings.PHYSICAL_NAMING_STRATEGY;
+55  import static org.hibernate.cfg.AvailableSettings.SHOW_SQL;
+56  import static org.hibernate.cfg.AvailableSettings.USER;
+57  import static org.hibernate.cfg.AvailableSettings.URL;
+58  import org.hibernate.engine.jdbc.connections.spi.ConnectionProvider;
+59  import org.hibernate.internal.util.config.ConfigurationException;
+60  import static org.hibernate.jpa.AvailableSettings.JDBC_DRIVER;
+61  import static org.hibernate.jpa.AvailableSettings.JDBC_PASSWORD;
+62  import static org.hibernate.jpa.AvailableSettings.JDBC_URL;
+63  import static org.hibernate.jpa.AvailableSettings.JDBC_USER;
+64  import org.hibernate.jpa.boot.internal.ParsedPersistenceXmlDescriptor;
+65  import org.hibernate.jpa.boot.internal.PersistenceXmlParser;
+66  import org.hibernate.jpa.boot.spi.ProviderChecker;
+67  import org.scannotation.AnnotationDB;
+68  
+69  
+70  /**
+71   * Baseclass with common attributes and methods.
+72   *
+73   * @phase process-classes
+74   * @threadSafe
+75   * @requiresDependencyResolution runtime
+76   */
+77  public abstract class AbstractSchemaMojo extends AbstractMojo
+78  {
+79    public final static String EXPORT = "hibernate.schema.export";
+80    public final static String DELIMITER = "hibernate.schema.delimiter";
+81    public final static String OUTPUTDIRECTORY = "project.build.outputDirectory";
+82    public final static String SCAN_CLASSES = "hibernate.schema.scan.classes";
+83    public final static String SCAN_DEPENDENCIES = "hibernate.schema.scan.dependencies";
+84    public final static String SCAN_TESTCLASSES = "hibernate.schema.scan.test_classes";
+85    public final static String TEST_OUTPUTDIRECTORY = "project.build.testOutputDirectory";
+86    public final static String SKIPPED = "hibernate.schema.skipped";
+87  
+88    private final static Pattern SPLIT = Pattern.compile("[^,\\s]+");
+89  
+90    private final Set<String> packages = new HashSet<String>();
+91  
+92    /**
+93     * The maven project.
+94     * <p>
+95     * Only needed internally.
+96     *
+97     * @parameter property="project"
+98     * @required
+99     * @readonly
+100    */
+101   private MavenProject project;
+102 
+103   /**
+104    * Build-directory.
+105    * <p>
+106    * Only needed internally.
+107    *
+108    * @parameter property="project.build.directory"
+109    * @required
+110    * @readonly
+111    */
+112   String buildDirectory;
+113 
+114 
+115   /** Parameters to configure the genaration of the SQL *********************/
+116 
+117   /**
+118    * Export the database-schma to the database.
+119    * If set to <code>false</code>, only the SQL-script is created and the
+120    * database is not touched.
+121    * <p>
+122    * <strong>Important:</strong>
+123    * This configuration value can only be configured through the
+124    * <code>pom.xml</code>, or by the definition of a system-property, because
+125    * it is not known by Hibernate nor JPA and, hence, not picked up from
+126    * their configuration!
+127    *
+128    * @parameter property="hibernate.schema.export" default-value="true"
+129    * @since 2.0
+130    */
+131   Boolean export;
+132 
+133   /**
+134    * Skip execution
+135    * <p>
+136    * If set to <code>true</code>, the execution is skipped.
+137    * <p>
+138    * A skipped execution is signaled via the maven-property
+139    * <code>${hibernate.schema.skipped}</code>.
+140    * <p>
+141    * The execution is skipped automatically, if no modified or newly added
+142    * annotated classes are found and the dialect was not changed.
+143    * <p>
+144    * <strong>Important:</strong>
+145    * This configuration value can only be configured through the
+146    * <code>pom.xml</code>, or by the definition of a system-property, because
+147    * it is not known by Hibernate nor JPA and, hence, not picked up from
+148    * their configuration!
+149    *
+150    * @parameter property="hibernate.schema.skip" default-value="${maven.test.skip}"
+151    * @since 1.0
+152    */
+153   private boolean skip;
+154 
+155   /**
+156    * Force execution
+157    * <p>
+158    * Force execution, even if no modified or newly added annotated classes
+159    * where found and the dialect was not changed.
+160    * <p>
+161    * <code>skip</code> takes precedence over <code>force</code>.
+162    * <p>
+163    * <strong>Important:</strong>
+164    * This configuration value can only be configured through the
+165    * <code>pom.xml</code>, or by the definition of a system-property, because
+166    * it is not known by Hibernate nor JPA and, hence, not picked up from
+167    * their configuration!
+168    *
+169    * @parameter property="hibernate.schema.force" default-value="false"
+170    * @since 1.0
+171    */
+172   private boolean force;
+173 
+174   /**
+175    * Hibernate dialect.
+176    *
+177    * @parameter property="hibernate.dialect"
+178    * @since 1.0
+179    */
+180   private String dialect;
+181 
+182   /**
+183    * Delimiter in output-file.
+184    * <p>
+185    * <strong>Important:</strong>
+186    * This configuration value can only be configured through the
+187    * <code>pom.xml</code>, or by the definition of a system-property, because
+188    * it is not known by Hibernate nor JPA and, hence, not picked up from
+189    * their configuration!
+190    *
+191    * @parameter property="hibernate.schema.delimiter" default-value=";"
+192    * @since 1.0
+193    */
+194   String delimiter;
+195 
+196   /**
+197    * Show the generated SQL in the command-line output.
+198    *
+199    * @parameter property="hibernate.show_sql"
+200    * @since 1.0
+201    */
+202   Boolean show;
+203 
+204   /**
+205    * Format output-file.
+206    *
+207    * @parameter property="hibernate.format_sql"
+208    * @since 1.0
+209    */
+210   Boolean format;
+211 
+212   /**
+213    * Specifies whether to automatically create also the database schema/catalog.
+214    *
+215    * @parameter property="hibernate.hbm2dll.create_namespaces" default-value="false"
+216    * @since 2.0
+217    */
+218   Boolean createNamespaces;
+219 
+220   /**
+221    * Implicit naming strategy
+222    *
+223    * @parameter property="hibernate.implicit_naming_strategy"
+224    * @since 2.0
+225    */
+226   private String implicitNamingStrategy;
+227 
+228   /**
+229    * Physical naming strategy
+230    *
+231    * @parameter property="hibernate.physical_naming_strategy"
+232    * @since 2.0
+233    */
+234   private String physicalNamingStrategy;
+235 
+236   /**
+237    * Wether the project should be scanned for annotated-classes, or not
+238    * <p>
+239    * This parameter is intended to allow overwriting of the parameter
+240    * <code>exclude-unlisted-classes</code> of a <code>persistence-unit</code>.
+241    * If not specified, it defaults to <code>true</code>
+242    *
+243    * @parameter property="hibernate.schema.scan.classes"
+244    * @since 2.0
+245    */
+246   private Boolean scanClasses;
+247 
+248   /**
+249    * Classes-Directory to scan.
+250    * <p>
+251    * This parameter defaults to the maven build-output-directory for classes.
+252    * Additionally, all dependencies are scanned for annotated classes.
+253    * <p>
+254    * <strong>Important:</strong>
+255    * This configuration value can only be configured through the
+256    * <code>pom.xml</code>, or by the definition of a system-property, because
+257    * it is not known by Hibernate nor JPA and, hence, not picked up from
+258    * their configuration!
+259    *
+260    * @parameter property="project.build.outputDirectory"
+261    * @since 1.0
+262    */
+263   private String outputDirectory;
+264 
+265   /**
+266    * Dependency-Scopes, that should be scanned for annotated classes.
+267    * <p>
+268    * By default, only dependencies in the scope <code>compile</code> are
+269    * scanned for annotated classes. Multiple scopes can be seperated by
+270    * white space or commas.
+271    * <p>
+272    * If you do not want any dependencies to be scanned for annotated
+273    * classes, set this parameter to <code>none</code>.
+274    * <p>
+275    * The plugin does not scan for annotated classes in transitive
+276    * dependencies. If some of your annotated classes are hidden in a
+277    * transitive dependency, you can simply add that dependency explicitly.
+278    *
+279    * @parameter property="hibernate.schema.scan.dependencies" default-value="compile"
+280    * @since 1.0.3
+281    */
+282   private String scanDependencies;
+283 
+284   /**
+285    * Whether to scan the test-branch of the project for annotated classes, or
+286    * not.
+287    * <p>
+288    * If this parameter is set to <code>true</code> the test-classes of the
+289    * artifact will be scanned for hibernate-annotated classes additionally.
+290    * <p>
+291    * <strong>Important:</strong>
+292    * This configuration value can only be configured through the
+293    * <code>pom.xml</code>, or by the definition of a system-property, because
+294    * it is not known by Hibernate nor JPA and, hence, not picked up from
+295    * their configuration!
+296    *
+297    * @parameter property="hibernate.schema.scan.test_classes" default-value="false"
+298    * @since 1.0.1
+299    */
+300   private Boolean scanTestClasses;
+301 
+302   /**
+303    * Test-Classes-Directory to scan.
+304    * <p>
+305    * This parameter defaults to the maven build-output-directory for
+306    * test-classes.
+307    * <p>
+308    * This parameter is only used, when <code>scanTestClasses</code> is set
+309    * to <code>true</code>!
+310    * <p>
+311    * <strong>Important:</strong>
+312    * This configuration value can only be configured through the
+313    * <code>pom.xml</code>, or by the definition of a system-property, because
+314    * it is not known by Hibernate nor JPA and, hence, not picked up from
+315    * their configuration!
+316    *
+317    * @parameter property="project.build.testOutputDirectory"
+318    * @since 1.0.2
+319    */
+320   private String testOutputDirectory;
+321 
+322 
+323   /** Conection parameters *************************************************/
+324 
+325   /**
+326    * SQL-Driver name.
+327    *
+328    * @parameter property="hibernate.connection.driver_class"
+329    * @since 1.0
+330    */
+331   private String driver;
+332 
+333   /**
+334    * Database URL.
+335    *
+336    * @parameter property="hibernate.connection.url"
+337    * @since 1.0
+338    */
+339   private String url;
+340 
+341   /**
+342    * Database username
+343    *
+344    * @parameter property="hibernate.connection.username"
+345    * @since 1.0
+346    */
+347   private String username;
+348 
+349   /**
+350    * Database password
+351    *
+352    * @parameter property="hibernate.connection.password"
+353    * @since 1.0
+354    */
+355   private String password;
+356 
+357 
+358   /** Parameters to locate configuration sources ****************************/
+359 
+360   /**
+361    * Path to a file or name of a ressource with hibernate properties.
+362    * If this parameter is specified, the plugin will try to load configuration
+363    * values from a file with the given path or a ressource on the classpath with
+364    * the given name. If both fails, the execution of the plugin will fail.
+365    * <p>
+366    * If this parameter is not set the plugin will load configuration values
+367    * from a ressource named <code>hibernate.properties</code> on the classpath,
+368    * if it is present, but will not fail if there is no such ressource.
+369    * <p>
+370    * During ressource-lookup, the test-classpath takes precedence.
+371    *
+372    * @parameter
+373    * @since 1.0
+374    */
+375   private String hibernateProperties;
+376 
+377   /**
+378    * Path to Hibernate configuration file (.cfg.xml).
+379    * If this parameter is specified, the plugin will try to load configuration
+380    * values from a file with the given path or a ressource on the classpath with
+381    * the given name. If both fails, the execution of the plugin will fail.
+382    * <p>
+383    * If this parameter is not set the plugin will load configuration values
+384    * from a ressource named <code>hibernate.cfg.xml</code> on the classpath,
+385    * if it is present, but will not fail if there is no such ressource.
+386    * <p>
+387    * During ressource-lookup, the test-classpath takes precedence.
+388    * <p>
+389    * Settings in this file will overwrite settings in the properties file.
+390    *
+391    * @parameter
+392    * @since 1.1.0
+393    */
+394   private String hibernateConfig;
+395 
+396   /**
+397    * Name of the persistence-unit.
+398    * If this parameter is specified, the plugin will try to load configuration
+399    * values from a persistence-unit with the specified name. If no such
+400    * persistence-unit can be found, the plugin will throw an exception.
+401    * <p>
+402    * If this parameter is not set and there is only one persistence-unit
+403    * available, that unit will be used automatically. But if this parameter is
+404    * not set and there are multiple persistence-units available on,
+405    * the class-path, the execution of the plugin will fail.
+406    * <p>
+407    * Settings in this file will overwrite settings in the properties or the
+408    * configuration file.
+409    *
+410    * @parameter
+411    * @since 1.1.0
+412    */
+413   private String persistenceUnit;
+414 
+415   /**
+416    * List of Hibernate-Mapping-Files (XML).
+417    * Multiple files can be separated with white-spaces and/or commas.
+418    *
+419    * @parameter property="hibernate.mapping"
+420    * @since 1.0.2
+421    */
+422   private String mappings;
+423 
+424 
+425 
+426   public final void execute(String filename)
+427     throws
+428       MojoFailureException,
+429       MojoExecutionException
+430   {
+431     if (skip)
+432     {
+433       getLog().info("Execution of hibernate-maven-plugin was skipped!");
+434       project.getProperties().setProperty(SKIPPED, "true");
+435       return;
+436     }
+437 
+438     ModificationTracker tracker;
+439     try
+440     {
+441       tracker = new ModificationTracker(buildDirectory, filename, getLog());
+442     }
+443     catch (NoSuchAlgorithmException e)
+444     {
+445       throw new MojoFailureException("Digest-Algorithm MD5 is missing!", e);
+446     }
+447 
+448     SimpleConnectionProvider connectionProvider =
+449         new SimpleConnectionProvider(getLog());
+450 
+451     try
+452     {
+453       /** Start extended logging */
+454       MavenLogAppender.startPluginLog(this);
+455 
+456       /** Load checksums for old mapping and configuration */
+457       tracker.load();
+458 
+459       /** Create the ClassLoader */
+460       MutableClassLoader classLoader = createClassLoader();
+461 
+462       /** Create a BootstrapServiceRegistry with the created ClassLoader */
+463       BootstrapServiceRegistry bootstrapServiceRegitry =
+464           new BootstrapServiceRegistryBuilder()
+465               .applyClassLoader(classLoader)
+466               .build();
+467       ClassLoaderService classLoaderService =
+468           bootstrapServiceRegitry.getService(ClassLoaderService.class);
+469 
+470       Properties properties = new Properties();
+471       ConfigLoader configLoader = new ConfigLoader(bootstrapServiceRegitry);
+472 
+473       /** Loading and merging configuration */
+474       properties.putAll(loadProperties(configLoader));
+475       LoadedConfig config = loadConfig(configLoader);
+476       if (config != null)
+477         properties.putAll(config.getConfigurationValues());
+478       ParsedPersistenceXmlDescriptor unit =
+479           loadPersistenceUnit(classLoaderService, properties);
+480       if (unit != null)
+481         properties.putAll(unit.getProperties());
+482 
+483       /** Overwriting/Completing configuration */
+484       configure(properties, tracker);
+485 
+486       /** Check configuration for modifications */
+487       if(tracker.track(properties))
+488         getLog().debug("Configuration has changed.");
+489       else
+490         getLog().debug("Configuration unchanged.");
+491 
+492       /** Configure Hibernate */
+493       StandardServiceRegistry serviceRegistry =
+494           new StandardServiceRegistryBuilder(bootstrapServiceRegitry)
+495               .applySettings(properties)
+496               .addService(ConnectionProvider.class, connectionProvider)
+497               .build();
+498       MetadataSources sources = new MetadataSources(serviceRegistry);
+499 
+500       /** Add the remaining class-path-elements */
+501       completeClassPath(classLoader);
+502 
+503       /** Apply mappings from hibernate-configuration, if present */
+504       if (config != null)
+505       {
+506         for (MappingReference mapping : config.getMappingReferences())
+507           mapping.apply(sources);
+508       }
+509 
+510       Set<String> classes;
+511       if (unit == null)
+512       {
+513         /** No persistent unit: default behaviour */
+514         if (scanClasses == null)
+515           scanClasses = true;
+516         Set<URL> urls = new HashSet<URL>();
+517         if (scanClasses)
+518           addRoot(urls, outputDirectory);
+519         if (scanTestClasses)
+520           addRoot(urls, testOutputDirectory);
+521         addDependencies(urls);
+522         classes = scanUrls(urls);
+523       }
+524       else
+525       {
+526         /** Follow configuration in persisten unit */
+527         if (scanClasses == null)
+528           scanClasses = !unit.isExcludeUnlistedClasses();
+529         Set<URL> urls = new HashSet<URL>();
+530         if (scanClasses)
+531         {
+532           /**
+533            * Scan the root of the persiten unit and configured jars for
+534            * annotated classes
+535            */
+536           urls.add(unit.getPersistenceUnitRootUrl());
+537           for (URL url : unit.getJarFileUrls())
+538             urls.add(url);
+539         }
+540         if (scanTestClasses)
+541           addRoot(urls, testOutputDirectory);
+542         classes = scanUrls(urls);
+543         for (String className : unit.getManagedClassNames())
+544           classes.add(className);
+545         /**
+546          * Add mappings from the default mapping-file
+547          * <code>META-INF/orm.xml</code>, if present
+548          */
+549         try
+550         {
+551           InputStream is = classLoader.getResourceAsStream("META-INF/orm.xml");
+552           if (is != null)
+553           {
+554             getLog().info("Adding default JPA-XML-mapping from META-INF/orm.xml");
+555             tracker.track("META-INF/orm.xml", is);
+556             sources.addResource("META-INF/orm.xml");
+557           }
+558           /**
+559            * Add mappings from files, that are explicitly configured in the
+560            * persistence unit
+561            */
+562           for (String mapping : unit.getMappingFileNames())
+563           {
+564             getLog().info("Adding explicitly configured mapping from " + mapping);
+565             tracker.track(mapping, classLoader.getResourceAsStream(mapping));
+566             sources.addResource(mapping);
+567           }
+568         }
+569         catch (IOException e)
+570         {
+571           throw new MojoFailureException("Error reading XML-mappings", e);
+572         }
+573       }
+574 
+575       /** Add the configured/collected annotated classes */
+576       for (String className : classes)
+577         addAnnotated(className, sources, classLoaderService, tracker);
+578 
+579       /** Add explicitly configured classes */
+580       addMappings(sources, tracker);
+581 
+582       /** Skip execution, if mapping and configuration is unchanged */
+583       if (!tracker.modified())
+584       {
+585         getLog().info(
+586             "Mapping and configuration unchanged."
+587             );
+588         if (force)
+589           getLog().info("Schema generation is forced!");
+590         else
+591         {
+592           getLog().info("Skipping schema generation!");
+593           project.getProperties().setProperty(SKIPPED, "true");
+594           return;
+595         }
+596       }
+597 
+598 
+599       /** Create a connection, if sufficient configuration infromation is available */
+600       connectionProvider.open(classLoaderService, properties);
+601 
+602       MetadataBuilder metadataBuilder = sources.getMetadataBuilder();
+603 
+604       StrategySelector strategySelector =
+605           serviceRegistry.getService(StrategySelector.class);
+606 
+607       if (properties.containsKey(IMPLICIT_NAMING_STRATEGY))
+608       {
+609         metadataBuilder.applyImplicitNamingStrategy(
+610             strategySelector.resolveStrategy(
+611                 ImplicitNamingStrategy.class,
+612                 properties.getProperty(IMPLICIT_NAMING_STRATEGY)
+613                 )
+614             );
+615       }
+616 
+617       if (properties.containsKey(PHYSICAL_NAMING_STRATEGY))
+618       {
+619         metadataBuilder.applyPhysicalNamingStrategy(
+620             strategySelector.resolveStrategy(
+621                 PhysicalNamingStrategy.class,
+622                 properties.getProperty(PHYSICAL_NAMING_STRATEGY)
+623                 )
+624             );
+625       }
+626 
+627       /**
+628        * Change class-loader of current thread.
+629        * This is necessary, because still not all parts of Hibernate 5 use
+630        * the newly introduced ClassLoaderService and will fail otherwise!
+631        */
+632       Thread thread = Thread.currentThread();
+633       ClassLoader contextClassLoader = thread.getContextClassLoader();
+634       try
+635       {
+636         thread.setContextClassLoader(classLoader);
+637         build((MetadataImplementor)metadataBuilder.build());
+638       }
+639       finally
+640       {
+641         thread.setContextClassLoader(contextClassLoader);
+642       }
+643     }
+644     catch (MojoExecutionException e)
+645     {
+646       tracker.failed();
+647       throw e;
+648     }
+649     catch (MojoFailureException e)
+650     {
+651       tracker.failed();
+652       throw e;
+653     }
+654     catch (RuntimeException e)
+655     {
+656       tracker.failed();
+657       throw e;
+658     }
+659     finally
+660     {
+661       /** Remember mappings and configuration */
+662       tracker.save();
+663 
+664       /** Close the connection - if one was opened */
+665       connectionProvider.close();
+666 
+667       /** Stop Log-Capturing */
+668       MavenLogAppender.endPluginLog(this);
+669     }
+670   }
+671 
+672 
+673   abstract void build(MetadataImplementor metadata)
+674     throws
+675       MojoFailureException,
+676       MojoExecutionException;
+677 
+678 
+679   private MutableClassLoader createClassLoader() throws MojoExecutionException
+680   {
+681     try
+682     {
+683       getLog().debug("Creating ClassLoader for project-dependencies...");
+684       LinkedHashSet<URL> urls = new LinkedHashSet<URL>();
+685       File file;
+686 
+687       file = new File(testOutputDirectory);
+688       if (!file.exists())
+689       {
+690         getLog().info("Creating test-output-directory: " + testOutputDirectory);
+691         file.mkdirs();
+692       }
+693       urls.add(file.toURI().toURL());
+694 
+695       file = new File(outputDirectory);
+696       if (!file.exists())
+697       {
+698         getLog().info("Creating output-directory: " + outputDirectory);
+699         file.mkdirs();
+700       }
+701       urls.add(file.toURI().toURL());
+702 
+703       return new MutableClassLoader(urls, getLog());
+704     }
+705     catch (Exception e)
+706     {
+707       getLog().error("Error while creating ClassLoader!", e);
+708       throw new MojoExecutionException(e.getMessage());
+709     }
+710   }
+711 
+712   private void completeClassPath(MutableClassLoader classLoader)
+713       throws
+714         MojoExecutionException
+715   {
+716     try
+717     {
+718       getLog().debug("Completing class-paths of the ClassLoader for project-dependencies...");
+719       List<String> classpathFiles = project.getCompileClasspathElements();
+720       if (scanTestClasses)
+721         classpathFiles.addAll(project.getTestClasspathElements());
+722       LinkedHashSet<URL> urls = new LinkedHashSet<URL>();
+723       for (String pathElement : classpathFiles)
+724       {
+725         getLog().debug("Dependency: " + pathElement);
+726         urls.add(new File(pathElement).toURI().toURL());
+727       }
+728       classLoader.add(urls);
+729     }
+730     catch (Exception e)
+731     {
+732       getLog().error("Error while creating ClassLoader!", e);
+733       throw new MojoExecutionException(e.getMessage());
+734     }
+735   }
+736 
+737   private Map loadProperties(ConfigLoader configLoader)
+738       throws
+739         MojoExecutionException
+740   {
+741     /** Try to read configuration from properties-file */
+742     if (hibernateProperties == null)
+743     {
+744       try
+745       {
+746         return configLoader.loadProperties("hibernate.properties");
+747       }
+748       catch (ConfigurationException e)
+749       {
+750         getLog().debug(e.getMessage());
+751         return Collections.EMPTY_MAP;
+752       }
+753     }
+754     else
+755     {
+756       try
+757       {
+758         File file = new File(hibernateProperties);
+759         if (file.exists())
+760         {
+761           getLog().info("Reading settings from file " + hibernateProperties + "...");
+762           return configLoader.loadProperties(file);
+763         }
+764         else
+765           return configLoader.loadProperties(hibernateProperties);
+766       }
+767       catch (ConfigurationException e)
+768       {
+769         getLog().error("Error while reading properties!", e);
+770         throw new MojoExecutionException(e.getMessage());
+771       }
+772     }
+773   }
+774 
+775   private LoadedConfig loadConfig(ConfigLoader configLoader)
+776       throws MojoExecutionException
+777   {
+778     /** Try to read configuration from configuration-file */
+779     if (hibernateConfig == null)
+780     {
+781       try
+782       {
+783         return configLoader.loadConfigXmlResource("hibernate.cfg.xml");
+784       }
+785       catch (ConfigurationException e)
+786       {
+787         getLog().debug(e.getMessage());
+788         return null;
+789       }
+790     }
+791     else
+792     {
+793       try
+794       {
+795         File file = new File(hibernateConfig);
+796         if (file.exists())
+797         {
+798           getLog().info("Reading configuration from file " + hibernateConfig + "...");
+799           return configLoader.loadConfigXmlFile(file);
+800         }
+801         else
+802         {
+803           return configLoader.loadConfigXmlResource(hibernateConfig);
+804         }
+805       }
+806       catch (ConfigurationException e)
+807       {
+808         getLog().error("Error while reading configuration!", e);
+809         throw new MojoExecutionException(e.getMessage());
+810       }
+811     }
+812   }
+813 
+814   private void configure(Properties properties, ModificationTracker tracker)
+815       throws MojoFailureException
+816   {
+817     /**
+818      * Special treatment for the configuration-value "export": if it is
+819      * switched to "true", the genearation fo the schema should be forced!
+820      */
+821     if (tracker.check(EXPORT, export.toString()) && export)
+822       tracker.touch();
+823 
+824     /**
+825      * Configure the generation of the SQL.
+826      * Overwrite values from properties-file if the configuration parameter is
+827      * known to Hibernate.
+828      */
+829     dialect = configure(properties, dialect, DIALECT);
+830     tracker.track(DELIMITER, delimiter); // << not reflected in hibernate configuration!
+831     format = configure(properties, format, FORMAT_SQL);
+832     createNamespaces = configure(properties, createNamespaces, HBM2DLL_CREATE_NAMESPACES);
+833     implicitNamingStrategy = configure(properties, implicitNamingStrategy, IMPLICIT_NAMING_STRATEGY);
+834     physicalNamingStrategy = configure(properties, physicalNamingStrategy, PHYSICAL_NAMING_STRATEGY);
+835     tracker.track(OUTPUTDIRECTORY, outputDirectory); // << not reflected in hibernate configuration!
+836     tracker.track(SCAN_DEPENDENCIES, scanDependencies); // << not reflected in hibernate configuration!
+837     tracker.track(SCAN_TESTCLASSES, scanTestClasses.toString()); // << not reflected in hibernate configuration!
+838     tracker.track(TEST_OUTPUTDIRECTORY, testOutputDirectory); // << not reflected in hibernate configuration!
+839 
+840     /**
+841      * Special treatment for the configuration-value "show": a change of its
+842      * configured value should not lead to a regeneration of the database
+843      * schama!
+844      */
+845     if (show == null)
+846       show = Boolean.valueOf(properties.getProperty(SHOW_SQL));
+847     else
+848       properties.setProperty(SHOW_SQL, show.toString());
+849 
+850     /**
+851      * Configure the connection parameters.
+852      * Overwrite values from properties-file.
+853      */
+854     driver = configure(properties, driver, DRIVER, JDBC_DRIVER);
+855     url = configure(properties, url, URL, JDBC_URL);
+856     username = configure(properties, username, USER, JDBC_USER);
+857     password = configure(properties, password, PASS, JDBC_PASSWORD);
+858 
+859     if (properties.isEmpty())
+860     {
+861       getLog().error("No properties set!");
+862       throw new MojoFailureException("Hibernate configuration is missing!");
+863     }
+864 
+865     getLog().info("Gathered hibernate-configuration (turn on debugging for details):");
+866     for (Entry<Object,Object> entry : properties.entrySet())
+867       getLog().info("  " + entry.getKey() + " = " + entry.getValue());
+868   }
+869 
+870   private String configure(
+871       Properties properties,
+872       String value,
+873       String key,
+874       String alternativeKey
+875       )
+876   {
+877     value = configure(properties, value, key);
+878     if (value == null)
+879       return properties.getProperty(alternativeKey);
+880 
+881     if (properties.containsKey(alternativeKey))
+882     {
+883       getLog().warn(
+884           "Ignoring property " + alternativeKey + "=" +
+885           properties.getProperty(alternativeKey) + " in favour for property " +
+886           key + "=" + properties.getProperty(key)
+887           );
+888       properties.remove(alternativeKey);
+889     }
+890     return properties.getProperty(alternativeKey);
+891   }
+892 
+893   private String configure(Properties properties, String value, String key)
+894   {
+895     if (value != null)
+896     {
+897       if (properties.containsKey(key))
+898         getLog().debug(
+899             "Overwriting property " + key + "=" + properties.getProperty(key) +
+900             " with the value " + value
+901             );
+902       else
+903         getLog().debug("Using the value " + value + " for property " + key);
+904       properties.setProperty(key, value);
+905     }
+906     return properties.getProperty(key);
+907   }
+908 
+909   private boolean configure(Properties properties, Boolean value, String key)
+910   {
+911     if (value != null)
+912     {
+913       if (properties.containsKey(key))
+914         getLog().debug(
+915             "Overwriting property " + key + "=" + properties.getProperty(key) +
+916             " with the value " + value
+917             );
+918       else
+919         getLog().debug("Using the value " + value + " for property " + key);
+920       properties.setProperty(key, value.toString());
+921     }
+922     return Boolean.valueOf(properties.getProperty(key));
+923   }
+924 
+925   private void addMappings(MetadataSources sources, ModificationTracker tracker)
+926       throws MojoFailureException
+927   {
+928     getLog().debug("Adding explicitly configured mappings...");
+929     if (mappings != null)
+930     {
+931       try
+932       {
+933         for (String filename : mappings.split("[\\s,]+"))
+934         {
+935           // First try the filename as absolute/relative path
+936           File file = new File(filename);
+937           if (!file.exists())
+938           {
+939             // If the file was not found, search for it in the resource-directories
+940             for (Resource resource : project.getResources())
+941             {
+942               file = new File(resource.getDirectory() + File.separator + filename);
+943               if (file.exists())
+944                 break;
+945             }
+946           }
+947           if (file.exists())
+948           {
+949             if (file.isDirectory())
+950               // TODO: add support to read all mappings under a directory
+951               throw new MojoFailureException(file.getAbsolutePath() + " is a directory");
+952             if (tracker.track(filename, new FileInputStream(file)))
+953               getLog().debug("Found new or modified mapping-file: " + filename);
+954             else
+955               getLog().debug("Mapping-file unchanged: " + filename);
+956 
+957             sources.addFile(file);
+958           }
+959           else
+960             throw new MojoFailureException("File " + filename + " could not be found in any of the configured resource-directories!");
+961         }
+962       }
+963       catch (IOException e)
+964       {
+965         throw new MojoFailureException("Cannot calculate MD5 sums!", e);
+966       }
+967     }
+968   }
+969 
+970   private void addRoot(Set<URL> urls, String path) throws MojoFailureException
+971   {
+972     try
+973     {
+974       File dir = new File(outputDirectory);
+975       if (dir.exists())
+976       {
+977         getLog().info("Adding " + dir.getAbsolutePath() + " to the list of roots to scan...");
+978         urls.add(dir.toURI().toURL());
+979       }
+980     }
+981     catch (MalformedURLException e)
+982     {
+983       getLog().error("error while adding the project-root to the list of roots to scan!", e);
+984       throw new MojoFailureException(e.getMessage());
+985     }
+986   }
+987 
+988   private void addDependencies(Set<URL> urls) throws MojoFailureException
+989   {
+990     try
+991     {
+992       if (scanDependencies != null)
+993       {
+994         Matcher matcher = SPLIT.matcher(scanDependencies);
+995         while (matcher.find())
+996         {
+997           getLog().info("Adding dependencies from scope " + matcher.group() + " to the list of roots to scan");
+998           for (Artifact artifact : project.getDependencyArtifacts())
+999           {
+1000             if (!artifact.getScope().equalsIgnoreCase(matcher.group()))
+1001               continue;
+1002             if (artifact.getFile() == null)
+1003             {
+1004               getLog().warn("Cannot add dependency " + artifact.getId() + ": no JAR-file available!");
+1005               continue;
+1006             }
+1007             getLog().info("Adding dependencies from scope " + artifact.getId() + " to the list of roots to scan");
+1008             urls.add(artifact.getFile().toURI().toURL());
+1009           }
+1010         }
+1011       }
+1012     }
+1013     catch (MalformedURLException e)
+1014     {
+1015       getLog().error("Error while adding dependencies to the list of roots to scan!", e);
+1016       throw new MojoFailureException(e.getMessage());
+1017     }
+1018   }
+1019 
+1020   private Set<String> scanUrls(Set<URL> scanRoots)
+1021       throws
+1022         MojoFailureException
+1023   {
+1024     try
+1025     {
+1026       AnnotationDB db = new AnnotationDB();
+1027       for (URL root : scanRoots)
+1028         db.scanArchives(root);
+1029 
+1030       Set<String> classes = new HashSet<String>();
+1031       if (db.getAnnotationIndex().containsKey(Entity.class.getName()))
+1032         classes.addAll(db.getAnnotationIndex().get(Entity.class.getName()));
+1033       if (db.getAnnotationIndex().containsKey(MappedSuperclass.class.getName()))
+1034         classes.addAll(db.getAnnotationIndex().get(MappedSuperclass.class.getName()));
+1035       if (db.getAnnotationIndex().containsKey(Embeddable.class.getName()))
+1036         classes.addAll(db.getAnnotationIndex().get(Embeddable.class.getName()));
+1037 
+1038       return classes;
+1039     }
+1040     catch (Exception e)
+1041     {
+1042       getLog().error("Error while scanning!", e);
+1043       throw new MojoFailureException(e.getMessage());
+1044     }
+1045   }
+1046 
+1047   private void addAnnotated(
+1048       String name,
+1049       MetadataSources sources,
+1050       ClassLoaderService classLoaderService,
+1051       ModificationTracker tracker
+1052       )
+1053       throws
+1054         MojoFailureException,
+1055         MojoExecutionException
+1056   {
+1057     try
+1058     {
+1059       getLog().info("Adding annotated resource: " + name);
+1060       String packageName;
+1061 
+1062       try
+1063       {
+1064         Class<?> annotatedClass = classLoaderService.classForName(name);
+1065         String resourceName = annotatedClass.getName();
+1066         resourceName =
+1067             resourceName.substring(
+1068                 resourceName.lastIndexOf(".") + 1,
+1069                 resourceName.length()
+1070                 ) + ".class";
+1071         InputStream is = annotatedClass.getResourceAsStream(resourceName);
+1072         if (tracker.track(name, is))
+1073           getLog().debug("New or modified class: " + name);
+1074         else
+1075           getLog().debug("Unchanged class: " + name);
+1076         sources.addAnnotatedClass(annotatedClass);
+1077         packageName = annotatedClass.getPackage().getName();
+1078       }
+1079       catch(ClassLoadingException e)
+1080       {
+1081         packageName = name;
+1082       }
+1083 
+1084       while (packageName != null)
+1085       {
+1086         if (packages.contains(packageName))
+1087           return;
+1088         String resource = packageName.replace('.', '/') + "/package-info.class";
+1089         InputStream is = classLoaderService.locateResourceStream(resource);
+1090         if (is == null)
+1091         {
+1092           // No compiled package-info available: no package-level annotations!
+1093           getLog().debug("Package " + packageName + " is not annotated.");
+1094         }
+1095         else
+1096         {
+1097           if (tracker.track(packageName, is))
+1098             getLog().debug("New or modified package: " + packageName);
+1099           else
+1100            getLog().debug("Unchanged package: " + packageName);
+1101           getLog().info("Adding annotations from package " + packageName);
+1102           sources.addPackage(packageName);
+1103         }
+1104         packages.add(packageName);
+1105         int i = packageName.lastIndexOf('.');
+1106         if (i < 0)
+1107           packageName = null;
+1108         else
+1109           packageName = packageName.substring(0,i);
+1110       }
+1111     }
+1112     catch (Exception e)
+1113     {
+1114       getLog().error("Error while adding the annotated class " + name, e);
+1115       throw new MojoFailureException(e.getMessage());
+1116     }
+1117   }
+1118 
+1119   private ParsedPersistenceXmlDescriptor loadPersistenceUnit(
+1120       ClassLoaderService classLoaderService,
+1121       Properties properties
+1122       )
+1123       throws
+1124         MojoFailureException
+1125   {
+1126     PersistenceXmlParser parser =
+1127         new PersistenceXmlParser(
+1128             classLoaderService,
+1129             PersistenceUnitTransactionType.RESOURCE_LOCAL
+1130              );
+1131 
+1132     List<ParsedPersistenceXmlDescriptor> units = parser.doResolve(properties);
+1133 
+1134     if (persistenceUnit == null)
+1135     {
+1136       switch (units.size())
+1137       {
+1138         case 0:
+1139           getLog().info("Found no META-INF/persistence.xml.");
+1140           return null;
+1141         case 1:
+1142           getLog().info("Using persistence-unit " + units.get(0).getName());
+1143           return units.get(0);
+1144         default:
+1145           StringBuilder builder = new StringBuilder();
+1146           builder.append("No name provided and multiple persistence units found: ");
+1147           Iterator<ParsedPersistenceXmlDescriptor> it = units.iterator();
+1148           builder.append(it.next().getName());
+1149           while (it.hasNext())
+1150           {
+1151             builder.append(", ");
+1152             builder.append(it.next().getName());
+1153           }
+1154           builder.append('.');
+1155           throw new MojoFailureException(builder.toString());
+1156       }
+1157     }
+1158 
+1159     for (ParsedPersistenceXmlDescriptor unit : units)
+1160     {
+1161       getLog().debug("Found persistence-unit " + unit.getName());
+1162       if (!unit.getName().equals(persistenceUnit))
+1163         continue;
+1164 
+1165       // See if we (Hibernate) are the persistence provider
+1166       if (!ProviderChecker.isProvider(unit, properties))
+1167       {
+1168         getLog().debug("Wrong provider: " + unit.getProviderClassName());
+1169         continue;
+1170       }
+1171 
+1172       getLog().info("Using persistence-unit " + unit.getName());
+1173       return unit;
+1174     }
+1175 
+1176     throw new MojoFailureException("Could not find persistence-unit " + persistenceUnit);
+1177   }
+1178 }
+
+
+ + + diff --git a/projects/hibernate-maven-plugin/2.0.0/xref/de/juplo/plugins/hibernate/CreateMojo.html b/projects/hibernate-maven-plugin/2.0.0/xref/de/juplo/plugins/hibernate/CreateMojo.html new file mode 100644 index 0000000..133e6f8 --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/xref/de/juplo/plugins/hibernate/CreateMojo.html @@ -0,0 +1,113 @@ + + + +CreateMojo xref + + + +
View Javadoc
+1   package de.juplo.plugins.hibernate;
+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 java.io.File;
+20  import org.apache.maven.plugin.MojoExecutionException;
+21  import org.apache.maven.plugin.MojoFailureException;
+22  import org.hibernate.boot.spi.MetadataImplementor;
+23  import org.hibernate.tool.hbm2ddl.SchemaExport;
+24  
+25  
+26  /**
+27   * Goal which extracts the hibernate-mapping-configuration and
+28   * exports an according SQL-database-schema.
+29   *
+30   * @goal create
+31   * @phase process-classes
+32   * @threadSafe
+33   * @requiresDependencyResolution runtime
+34   */
+35  public class CreateMojo extends AbstractSchemaMojo
+36  {
+37    /**
+38     * Output file.
+39     * <p>
+40     * If the specified filename is not absolut, the file will be created
+41     * relative to the project build directory
+42     * (<code>project.build.directory</code>).
+43     *
+44     * @parameter property="hibernate.schema.export.create" default-value="create.sql"
+45     * @since 1.0
+46     */
+47    private String outputFile;
+48  
+49  
+50    @Override
+51    public final void execute()
+52      throws
+53        MojoFailureException,
+54        MojoExecutionException
+55    {
+56      super.execute(outputFile);
+57    }
+58  
+59  
+60    @Override
+61    void build(MetadataImplementor metadata)
+62        throws
+63          MojoExecutionException,
+64          MojoFailureException
+65    {
+66      SchemaExport schemaExport = new SchemaExport(metadata, createNamespaces);
+67      schemaExport.setDelimiter(delimiter);
+68      schemaExport.setFormat(format);
+69  
+70      File output = new File(outputFile);
+71  
+72      if (!output.isAbsolute())
+73      {
+74        // Interpret relative file path relative to build directory
+75        output = new File(buildDirectory, outputFile);
+76        getLog().debug("Adjusted relative path, resulting path is " + output.getPath());
+77      }
+78  
+79      // Ensure that directory path for specified file exists
+80      File outFileParentDir = output.getParentFile();
+81      if (null != outFileParentDir && !outFileParentDir.exists())
+82      {
+83        try
+84        {
+85          getLog().info("Creating directory path for output file:" + outFileParentDir.getPath());
+86          outFileParentDir.mkdirs();
+87        }
+88        catch (Exception e)
+89        {
+90          getLog().error("Error creating directory path for output file: " + e.getLocalizedMessage());
+91        }
+92      }
+93  
+94      schemaExport.setOutputFile(output.getPath());
+95      schemaExport.execute(false, this.export, false, true);
+96  
+97      for (Object exception : schemaExport.getExceptions())
+98        getLog().error(exception.toString());
+99    }
+100 }
+
+
+ + + diff --git a/projects/hibernate-maven-plugin/2.0.0/xref/de/juplo/plugins/hibernate/DropMojo.html b/projects/hibernate-maven-plugin/2.0.0/xref/de/juplo/plugins/hibernate/DropMojo.html new file mode 100644 index 0000000..a4fb66e --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/xref/de/juplo/plugins/hibernate/DropMojo.html @@ -0,0 +1,113 @@ + + + +DropMojo xref + + + +
View Javadoc
+1   package de.juplo.plugins.hibernate;
+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 java.io.File;
+20  import org.apache.maven.plugin.MojoExecutionException;
+21  import org.apache.maven.plugin.MojoFailureException;
+22  import org.hibernate.boot.spi.MetadataImplementor;
+23  import org.hibernate.tool.hbm2ddl.SchemaExport;
+24  
+25  
+26  /**
+27   * Goal which extracts the hibernate-mapping-configuration and
+28   * exports an according SQL-database-schema.
+29   *
+30   * @goal drop
+31   * @phase process-classes
+32   * @threadSafe
+33   * @requiresDependencyResolution runtime
+34   */
+35  public class DropMojo extends AbstractSchemaMojo
+36  {
+37    /**
+38     * Output file.
+39     * <p>
+40     * If the specified filename is not absolut, the file will be created
+41     * relative to the project build directory
+42     * (<code>project.build.directory</code>).
+43     *
+44     * @parameter property="hibernate.schema.export.drop" default-value="drop.sql"
+45     * @since 1.0
+46     */
+47    private String outputFile;
+48  
+49  
+50    @Override
+51    public final void execute()
+52      throws
+53        MojoFailureException,
+54        MojoExecutionException
+55    {
+56      super.execute(outputFile);
+57    }
+58  
+59  
+60    @Override
+61    void build(MetadataImplementor metadata)
+62        throws
+63          MojoExecutionException,
+64          MojoFailureException
+65    {
+66      SchemaExport schemaExport = new SchemaExport(metadata, createNamespaces);
+67      schemaExport.setDelimiter(delimiter);
+68      schemaExport.setFormat(format);
+69  
+70      File output = new File(outputFile);
+71  
+72      if (!output.isAbsolute())
+73      {
+74        // Interpret relative file path relative to build directory
+75        output = new File(buildDirectory, outputFile);
+76        getLog().debug("Adjusted relative path, resulting path is " + output.getPath());
+77      }
+78  
+79      // Ensure that directory path for specified file exists
+80      File outFileParentDir = output.getParentFile();
+81      if (null != outFileParentDir && !outFileParentDir.exists())
+82      {
+83        try
+84        {
+85          getLog().info("Creating directory path for output file:" + outFileParentDir.getPath());
+86          outFileParentDir.mkdirs();
+87        }
+88        catch (Exception e)
+89        {
+90          getLog().error("Error creating directory path for output file: " + e.getLocalizedMessage());
+91        }
+92      }
+93  
+94      schemaExport.setOutputFile(output.getPath());
+95      schemaExport.execute(false, this.export, true, false);
+96  
+97      for (Object exception : schemaExport.getExceptions())
+98        getLog().error(exception.toString());
+99    }
+100 }
+
+
+ + + diff --git a/projects/hibernate-maven-plugin/2.0.0/xref/de/juplo/plugins/hibernate/HelpMojo.html b/projects/hibernate-maven-plugin/2.0.0/xref/de/juplo/plugins/hibernate/HelpMojo.html new file mode 100644 index 0000000..217919c --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/xref/de/juplo/plugins/hibernate/HelpMojo.html @@ -0,0 +1,467 @@ + + + +HelpMojo xref + + + +
View Javadoc
+1   
+2   package de.juplo.plugins.hibernate;
+3   
+4   import org.apache.maven.plugin.AbstractMojo;
+5   import org.apache.maven.plugin.MojoExecutionException;
+6   
+7   import org.w3c.dom.Document;
+8   import org.w3c.dom.Element;
+9   import org.w3c.dom.Node;
+10  import org.w3c.dom.NodeList;
+11  import org.xml.sax.SAXException;
+12  
+13  import javax.xml.parsers.DocumentBuilder;
+14  import javax.xml.parsers.DocumentBuilderFactory;
+15  import javax.xml.parsers.ParserConfigurationException;
+16  import java.io.IOException;
+17  import java.io.InputStream;
+18  import java.util.ArrayList;
+19  import java.util.List;
+20  
+21  /**
+22   * Display help information on hibernate-maven-plugin.<br>
+23   * Call <code>mvn hibernate:help -Ddetail=true -Dgoal=&lt;goal-name&gt;</code> to display parameter details.
+24   * @author maven-plugin-tools
+25   * @goal help
+26   * @requiresProject false
+27   * @threadSafe
+28   */
+29  public class HelpMojo
+30      extends AbstractMojo
+31  {
+32      /**
+33       * If <code>true</code>, display all settable properties for each goal.
+34       *
+35       * @parameter property="detail" default-value="false"
+36       */
+37      private boolean detail;
+38  
+39      /**
+40       * The name of the goal for which to show help. If unspecified, all goals will be displayed.
+41       *
+42       * @parameter property="goal"
+43       */
+44      private java.lang.String goal;
+45  
+46      /**
+47       * The maximum length of a display line, should be positive.
+48       *
+49       * @parameter property="lineLength" default-value="80"
+50       */
+51      private int lineLength;
+52  
+53      /**
+54       * The number of spaces per indentation level, should be positive.
+55       *
+56       * @parameter property="indentSize" default-value="2"
+57       */
+58      private int indentSize;
+59  
+60      // groupId/artifactId/plugin-help.xml
+61      private static final String PLUGIN_HELP_PATH =
+62                      "/META-INF/maven/de.juplo/hibernate-maven-plugin/plugin-help.xml";
+63  
+64      private static final int DEFAULT_LINE_LENGTH = 80;
+65  
+66      private Document build()
+67          throws MojoExecutionException
+68      {
+69          getLog().debug( "load plugin-help.xml: " + PLUGIN_HELP_PATH );
+70          InputStream is = null;
+71          try
+72          {
+73              is = getClass().getResourceAsStream( PLUGIN_HELP_PATH );
+74              DocumentBuilderFactory dbFactory = DocumentBuilderFactory.newInstance();
+75              DocumentBuilder dBuilder = dbFactory.newDocumentBuilder();
+76              return dBuilder.parse( is );
+77          }
+78          catch ( IOException e )
+79          {
+80              throw new MojoExecutionException( e.getMessage(), e );
+81          }
+82          catch ( ParserConfigurationException e )
+83          {
+84              throw new MojoExecutionException( e.getMessage(), e );
+85          }
+86          catch ( SAXException e )
+87          {
+88              throw new MojoExecutionException( e.getMessage(), e );
+89          }
+90          finally
+91          {
+92              if ( is != null )
+93              {
+94                  try
+95                  {
+96                      is.close();
+97                  }
+98                  catch ( IOException e )
+99                  {
+100                     throw new MojoExecutionException( e.getMessage(), e );
+101                 }
+102             }
+103         }
+104     }
+105 
+106     /**
+107      * {@inheritDoc}
+108      */
+109     public void execute()
+110         throws MojoExecutionException
+111     {
+112         if ( lineLength <= 0 )
+113         {
+114             getLog().warn( "The parameter 'lineLength' should be positive, using '80' as default." );
+115             lineLength = DEFAULT_LINE_LENGTH;
+116         }
+117         if ( indentSize <= 0 )
+118         {
+119             getLog().warn( "The parameter 'indentSize' should be positive, using '2' as default." );
+120             indentSize = 2;
+121         }
+122 
+123         Document doc = build();
+124 
+125         StringBuilder sb = new StringBuilder();
+126         Node plugin = getSingleChild( doc, "plugin" );
+127 
+128 
+129         String name = getValue( plugin, "name" );
+130         String version = getValue( plugin, "version" );
+131         String id = getValue( plugin, "groupId" ) + ":" + getValue( plugin, "artifactId" ) + ":" + version;
+132         if ( isNotEmpty( name ) && !name.contains( id ) )
+133         {
+134             append( sb, name + " " + version, 0 );
+135         }
+136         else
+137         {
+138             if ( isNotEmpty( name ) )
+139             {
+140                 append( sb, name, 0 );
+141             }
+142             else
+143             {
+144                 append( sb, id, 0 );
+145             }
+146         }
+147         append( sb, getValue( plugin, "description" ), 1 );
+148         append( sb, "", 0 );
+149 
+150         //<goalPrefix>plugin</goalPrefix>
+151         String goalPrefix = getValue( plugin, "goalPrefix" );
+152 
+153         Node mojos1 = getSingleChild( plugin, "mojos" );
+154 
+155         List<Node> mojos = findNamedChild( mojos1, "mojo" );
+156 
+157         if ( goal == null || goal.length() <= 0 )
+158         {
+159             append( sb, "This plugin has " + mojos.size() + ( mojos.size() > 1 ? " goals:" : " goal:" ), 0 );
+160             append( sb, "", 0 );
+161         }
+162 
+163         for ( Node mojo : mojos )
+164         {
+165             writeGoal( sb, goalPrefix, (Element) mojo );
+166         }
+167 
+168         if ( getLog().isInfoEnabled() )
+169         {
+170             getLog().info( sb.toString() );
+171         }
+172     }
+173 
+174 
+175     private static boolean isNotEmpty( String string )
+176     {
+177         return string != null && string.length() > 0;
+178     }
+179 
+180     private String getValue( Node node, String elementName )
+181         throws MojoExecutionException
+182     {
+183         return getSingleChild( node, elementName ).getTextContent();
+184     }
+185 
+186     private Node getSingleChild( Node node, String elementName )
+187         throws MojoExecutionException
+188     {
+189         List<Node> namedChild = findNamedChild( node, elementName );
+190         if ( namedChild.isEmpty() )
+191         {
+192             throw new MojoExecutionException( "Could not find " + elementName + " in plugin-help.xml" );
+193         }
+194         if ( namedChild.size() > 1 )
+195         {
+196             throw new MojoExecutionException( "Multiple " + elementName + " in plugin-help.xml" );
+197         }
+198         return namedChild.get( 0 );
+199     }
+200 
+201     private List<Node> findNamedChild( Node node, String elementName )
+202     {
+203         List<Node> result = new ArrayList<Node>();
+204         NodeList childNodes = node.getChildNodes();
+205         for ( int i = 0; i < childNodes.getLength(); i++ )
+206         {
+207             Node item = childNodes.item( i );
+208             if ( elementName.equals( item.getNodeName() ) )
+209             {
+210                 result.add( item );
+211             }
+212         }
+213         return result;
+214     }
+215 
+216     private Node findSingleChild( Node node, String elementName )
+217         throws MojoExecutionException
+218     {
+219         List<Node> elementsByTagName = findNamedChild( node, elementName );
+220         if ( elementsByTagName.isEmpty() )
+221         {
+222             return null;
+223         }
+224         if ( elementsByTagName.size() > 1 )
+225         {
+226             throw new MojoExecutionException( "Multiple " + elementName + "in plugin-help.xml" );
+227         }
+228         return elementsByTagName.get( 0 );
+229     }
+230 
+231     private void writeGoal( StringBuilder sb, String goalPrefix, Element mojo )
+232         throws MojoExecutionException
+233     {
+234         String mojoGoal = getValue( mojo, "goal" );
+235         Node configurationElement = findSingleChild( mojo, "configuration" );
+236         Node description = findSingleChild( mojo, "description" );
+237         if ( goal == null || goal.length() <= 0 || mojoGoal.equals( goal ) )
+238         {
+239             append( sb, goalPrefix + ":" + mojoGoal, 0 );
+240             Node deprecated = findSingleChild( mojo, "deprecated" );
+241             if ( ( deprecated != null ) && isNotEmpty( deprecated.getTextContent() ) )
+242             {
+243                 append( sb, "Deprecated. " + deprecated.getTextContent(), 1 );
+244                 if ( detail && description != null )
+245                 {
+246                     append( sb, "", 0 );
+247                     append( sb, description.getTextContent(), 1 );
+248                 }
+249             }
+250             else if ( description != null )
+251             {
+252                 append( sb, description.getTextContent(), 1 );
+253             }
+254             append( sb, "", 0 );
+255 
+256             if ( detail )
+257             {
+258                 Node parametersNode = getSingleChild( mojo, "parameters" );
+259                 List<Node> parameters = findNamedChild( parametersNode, "parameter" );
+260                 append( sb, "Available parameters:", 1 );
+261                 append( sb, "", 0 );
+262 
+263                 for ( Node parameter : parameters )
+264                 {
+265                     writeParameter( sb, parameter, configurationElement );
+266                 }
+267             }
+268         }
+269     }
+270 
+271     private void writeParameter( StringBuilder sb, Node parameter, Node configurationElement )
+272         throws MojoExecutionException
+273     {
+274         String parameterName = getValue( parameter, "name" );
+275         String parameterDescription = getValue( parameter, "description" );
+276 
+277         Element fieldConfigurationElement = (Element) findSingleChild( configurationElement, parameterName );
+278 
+279         String parameterDefaultValue = "";
+280         if ( fieldConfigurationElement != null && fieldConfigurationElement.hasAttribute( "default-value" ) )
+281         {
+282             parameterDefaultValue = " (Default: " + fieldConfigurationElement.getAttribute( "default-value" ) + ")";
+283         }
+284         append( sb, parameterName + parameterDefaultValue, 2 );
+285         Node deprecated = findSingleChild( parameter, "deprecated" );
+286         if ( ( deprecated != null ) && isNotEmpty( deprecated.getTextContent() ) )
+287         {
+288             append( sb, "Deprecated. " + deprecated.getTextContent(), 3 );
+289             append( sb, "", 0 );
+290         }
+291         append( sb, parameterDescription, 3 );
+292         if ( "true".equals( getValue( parameter, "required" ) ) )
+293         {
+294             append( sb, "Required: Yes", 3 );
+295         }
+296         if ( ( fieldConfigurationElement != null ) && isNotEmpty( fieldConfigurationElement.getTextContent() ) )
+297         {
+298             String property = getPropertyFromExpression( fieldConfigurationElement.getTextContent() );
+299             append( sb, "User property: " + property, 3 );
+300         }
+301 
+302         append( sb, "", 0 );
+303     }
+304 
+305     /**
+306      * <p>Repeat a String <code>n</code> times to form a new string.</p>
+307      *
+308      * @param str    String to repeat
+309      * @param repeat number of times to repeat str
+310      * @return String with repeated String
+311      * @throws NegativeArraySizeException if <code>repeat < 0</code>
+312      * @throws NullPointerException       if str is <code>null</code>
+313      */
+314     private static String repeat( String str, int repeat )
+315     {
+316         StringBuilder buffer = new StringBuilder( repeat * str.length() );
+317 
+318         for ( int i = 0; i < repeat; i++ )
+319         {
+320             buffer.append( str );
+321         }
+322 
+323         return buffer.toString();
+324     }
+325 
+326     /**
+327      * Append a description to the buffer by respecting the indentSize and lineLength parameters.
+328      * <b>Note</b>: The last character is always a new line.
+329      *
+330      * @param sb          The buffer to append the description, not <code>null</code>.
+331      * @param description The description, not <code>null</code>.
+332      * @param indent      The base indentation level of each line, must not be negative.
+333      */
+334     private void append( StringBuilder sb, String description, int indent )
+335     {
+336         for ( String line : toLines( description, indent, indentSize, lineLength ) )
+337         {
+338             sb.append( line ).append( '\n' );
+339         }
+340     }
+341 
+342     /**
+343      * Splits the specified text into lines of convenient display length.
+344      *
+345      * @param text       The text to split into lines, must not be <code>null</code>.
+346      * @param indent     The base indentation level of each line, must not be negative.
+347      * @param indentSize The size of each indentation, must not be negative.
+348      * @param lineLength The length of the line, must not be negative.
+349      * @return The sequence of display lines, never <code>null</code>.
+350      * @throws NegativeArraySizeException if <code>indent < 0</code>
+351      */
+352     private static List<String> toLines( String text, int indent, int indentSize, int lineLength )
+353     {
+354         List<String> lines = new ArrayList<String>();
+355 
+356         String ind = repeat( "\t", indent );
+357 
+358         String[] plainLines = text.split( "(\r\n)|(\r)|(\n)" );
+359 
+360         for ( String plainLine : plainLines )
+361         {
+362             toLines( lines, ind + plainLine, indentSize, lineLength );
+363         }
+364 
+365         return lines;
+366     }
+367 
+368     /**
+369      * Adds the specified line to the output sequence, performing line wrapping if necessary.
+370      *
+371      * @param lines      The sequence of display lines, must not be <code>null</code>.
+372      * @param line       The line to add, must not be <code>null</code>.
+373      * @param indentSize The size of each indentation, must not be negative.
+374      * @param lineLength The length of the line, must not be negative.
+375      */
+376     private static void toLines( List<String> lines, String line, int indentSize, int lineLength )
+377     {
+378         int lineIndent = getIndentLevel( line );
+379         StringBuilder buf = new StringBuilder( 256 );
+380 
+381         String[] tokens = line.split( " +" );
+382 
+383         for ( String token : tokens )
+384         {
+385             if ( buf.length() > 0 )
+386             {
+387                 if ( buf.length() + token.length() >= lineLength )
+388                 {
+389                     lines.add( buf.toString() );
+390                     buf.setLength( 0 );
+391                     buf.append( repeat( " ", lineIndent * indentSize ) );
+392                 }
+393                 else
+394                 {
+395                     buf.append( ' ' );
+396                 }
+397             }
+398 
+399             for ( int j = 0; j < token.length(); j++ )
+400             {
+401                 char c = token.charAt( j );
+402                 if ( c == '\t' )
+403                 {
+404                     buf.append( repeat( " ", indentSize - buf.length() % indentSize ) );
+405                 }
+406                 else if ( c == '\u00A0' )
+407                 {
+408                     buf.append( ' ' );
+409                 }
+410                 else
+411                 {
+412                     buf.append( c );
+413                 }
+414             }
+415         }
+416         lines.add( buf.toString() );
+417     }
+418 
+419     /**
+420      * Gets the indentation level of the specified line.
+421      *
+422      * @param line The line whose indentation level should be retrieved, must not be <code>null</code>.
+423      * @return The indentation level of the line.
+424      */
+425     private static int getIndentLevel( String line )
+426     {
+427         int level = 0;
+428         for ( int i = 0; i < line.length() && line.charAt( i ) == '\t'; i++ )
+429         {
+430             level++;
+431         }
+432         for ( int i = level + 1; i <= level + 4 && i < line.length(); i++ )
+433         {
+434             if ( line.charAt( i ) == '\t' )
+435             {
+436                 level++;
+437                 break;
+438             }
+439         }
+440         return level;
+441     }
+442     
+443     private String getPropertyFromExpression( String expression )
+444     {
+445         if ( expression != null && expression.startsWith( "${" ) && expression.endsWith( "}" )
+446             && !expression.substring( 2 ).contains( "${" ) )
+447         {
+448             // expression="${xxx}" -> property="xxx"
+449             return expression.substring( 2, expression.length() - 1 );
+450         }
+451         // no property can be extracted
+452         return null;
+453     }
+454 }
+
+
+ + + diff --git a/projects/hibernate-maven-plugin/2.0.0/xref/de/juplo/plugins/hibernate/ModificationTracker.html b/projects/hibernate-maven-plugin/2.0.0/xref/de/juplo/plugins/hibernate/ModificationTracker.html new file mode 100644 index 0000000..62bdd9c --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/xref/de/juplo/plugins/hibernate/ModificationTracker.html @@ -0,0 +1,224 @@ + + + +ModificationTracker xref + + + +
View Javadoc
+1   package de.juplo.plugins.hibernate;
+2   
+3   
+4   import java.io.File;
+5   import java.io.FileInputStream;
+6   import java.io.FileOutputStream;
+7   import java.io.IOException;
+8   import java.io.InputStream;
+9   import java.io.ObjectInputStream;
+10  import java.io.ObjectOutputStream;
+11  import java.math.BigInteger;
+12  import java.security.MessageDigest;
+13  import java.security.NoSuchAlgorithmException;
+14  import java.util.HashMap;
+15  import java.util.HashSet;
+16  import java.util.Map;
+17  import java.util.Properties;
+18  import java.util.Set;
+19  import org.apache.maven.plugin.logging.Log;
+20  
+21  
+22  
+23  /**
+24   *
+25   * @author Kai Moritz
+26   */
+27  public class ModificationTracker
+28  {
+29    private Map<String,String> properties;
+30    private Map<String,String> classes;
+31  
+32    private final Set<String> propertyNames;
+33    private final Set<String> classNames;
+34  
+35    private boolean modified = false;
+36    private boolean failed = false;
+37  
+38    private final File saved;
+39    private final MessageDigest digest;
+40    private final Log log;
+41  
+42  
+43    ModificationTracker(String buildDirectory, String filename, Log log)
+44        throws
+45          NoSuchAlgorithmException
+46    {
+47      propertyNames = new HashSet<String>();
+48      classNames = new HashSet<String>();
+49      File output = new File(filename + ".md5s");
+50      if (output.isAbsolute())
+51      {
+52        saved = output;
+53      }
+54      else
+55      {
+56        // Interpret relative file path relative to build directory
+57        saved = new File(buildDirectory, output.getPath());
+58        log.debug("Adjusted relative path, resulting path is " + saved.getPath());
+59      }
+60      digest = java.security.MessageDigest.getInstance("MD5");
+61      this.log = log;
+62    }
+63  
+64  
+65    private String calculate(InputStream is)
+66        throws
+67          IOException
+68    {
+69      byte[] buffer = new byte[1024*4]; // copy data in 4MB-chunks
+70      int i;
+71      while((i = is.read(buffer)) > -1)
+72        digest.update(buffer, 0, i);
+73      is.close();
+74      byte[] bytes = digest.digest();
+75      BigInteger bi = new BigInteger(1, bytes);
+76      return String.format("%0" + (bytes.length << 1) + "x", bi);
+77    }
+78  
+79    private boolean check(Map<String,String> values, String name, String value)
+80    {
+81      if (!values.containsKey(name) || !values.get(name).equals(value))
+82      {
+83        values.put(name, value);
+84        return true;
+85      }
+86      else
+87        return false;
+88    }
+89  
+90  
+91    boolean track(String name, InputStream is) throws IOException
+92    {
+93      boolean result = check(classes, name, calculate(is));
+94      classNames.add(name);
+95      modified |= result;
+96      return result;
+97    }
+98  
+99  
+100   boolean check(String name, String property)
+101   {
+102     propertyNames.add(name);
+103     return check(properties, name, property);
+104   }
+105 
+106   boolean track(String name, String property)
+107   {
+108     boolean result = check(name, property);
+109     modified |= result;
+110     return result;
+111   }
+112 
+113   boolean track(Properties properties)
+114   {
+115     boolean result = false;
+116     for (String name : properties.stringPropertyNames())
+117       result |= track(name, properties.getProperty(name));
+118     return result;
+119   }
+120 
+121 
+122   void touch()
+123   {
+124     modified = true;
+125   }
+126 
+127   boolean modified()
+128   {
+129     for (String property : new HashSet<String>(properties.keySet()))
+130       if (!propertyNames.contains(property))
+131       {
+132         modified = true;
+133         properties.remove(property);
+134       }
+135      for (String clazz : new HashSet<String>(classes.keySet()))
+136       if (!classNames.contains(clazz))
+137       {
+138         modified = true;
+139         classes.remove(clazz);
+140       }
+141     return modified;
+142   }
+143 
+144 
+145   void failed()
+146   {
+147     failed = true;
+148   }
+149 
+150 
+151   void load()
+152   {
+153     if (saved.isFile() && saved.length() > 0)
+154     {
+155       try
+156       {
+157         FileInputStream fis = new FileInputStream(saved);
+158         ObjectInputStream ois = new ObjectInputStream(fis);
+159         properties = (HashMap<String,String>)ois.readObject();
+160         classes = (HashMap<String,String>)ois.readObject();
+161         ois.close();
+162       }
+163       catch (Exception e)
+164       {
+165         properties = new HashMap<String,String>();
+166         classes = new HashMap<String,String>();
+167         log.warn("Cannot read md5s from saved: " + e);
+168       }
+169     }
+170     else
+171     {
+172       properties = new HashMap<String,String>();
+173       classes = new HashMap<String,String>();
+174       try
+175       {
+176         saved.createNewFile();
+177       }
+178       catch (IOException e)
+179       {
+180         log.debug("Cannot create file \"" + saved.getPath() + "\" for md5s: " + e);
+181       }
+182     }
+183   }
+184 
+185   void save()
+186   {
+187     if (failed)
+188     {
+189       saved.delete();
+190       return;
+191     }
+192 
+193     if (!modified)
+194       return;
+195 
+196     /** Write md5-sums for annotated classes to file */
+197     try
+198     {
+199       FileOutputStream fos = new FileOutputStream(saved);
+200       ObjectOutputStream oos = new ObjectOutputStream(fos);
+201       oos.writeObject(properties);
+202       oos.writeObject(classes);
+203       oos.close();
+204       fos.close();
+205     }
+206     catch (Exception e)
+207     {
+208       log.error("Cannot write md5-sums to file: " + e);
+209     }
+210   }  
+211 }
+
+
+ + + diff --git a/projects/hibernate-maven-plugin/2.0.0/xref/de/juplo/plugins/hibernate/MutableClassLoader.html b/projects/hibernate-maven-plugin/2.0.0/xref/de/juplo/plugins/hibernate/MutableClassLoader.html new file mode 100644 index 0000000..6ac98c3 --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/xref/de/juplo/plugins/hibernate/MutableClassLoader.html @@ -0,0 +1,115 @@ + + + +MutableClassLoader xref + + + +
View Javadoc
+1   package de.juplo.plugins.hibernate;
+2   
+3   import java.io.IOException;
+4   import java.io.InputStream;
+5   import java.net.URL;
+6   import java.net.URLClassLoader;
+7   import java.util.Arrays;
+8   import java.util.Enumeration;
+9   import java.util.LinkedHashSet;
+10  import org.apache.maven.plugin.logging.Log;
+11  
+12  
+13  /**
+14   *
+15   * @author kai
+16   */
+17  public class MutableClassLoader extends ClassLoader
+18  {
+19    private URLClassLoader loader;
+20    private Log log;
+21  
+22  
+23    public MutableClassLoader(LinkedHashSet<URL> urls, Log log)
+24    {
+25      if (log.isDebugEnabled())
+26        for (URL url : urls)
+27          log.debug(url.toString());
+28      loader =
+29          new URLClassLoader(
+30              urls.toArray(new URL[urls.size()]),
+31              getClass().getClassLoader()
+32              );
+33      this.log = log;
+34    }
+35  
+36  
+37    public MutableClassLoader add(LinkedHashSet<URL> urls)
+38    {
+39      LinkedHashSet<URL> old =
+40          new LinkedHashSet<URL>(Arrays.asList(loader.getURLs()));
+41      old.addAll(urls);
+42      if (log.isDebugEnabled())
+43        for (URL url : urls)
+44          log.debug(url.toString());
+45      loader =
+46          new URLClassLoader(
+47              old.toArray(new URL[urls.size()]),
+48              getClass().getClassLoader()
+49              );
+50      return this;
+51    }
+52  
+53  
+54    @Override
+55    public void clearAssertionStatus()
+56    {
+57      loader.clearAssertionStatus();
+58    }
+59  
+60    @Override
+61    public void setClassAssertionStatus(String className, boolean enabled)
+62    {
+63      loader.setClassAssertionStatus(className, enabled);
+64    }
+65  
+66    @Override
+67    public void setPackageAssertionStatus(String packageName, boolean enabled)
+68    {
+69      loader.setPackageAssertionStatus(packageName, enabled);
+70    }
+71  
+72    @Override
+73    public void setDefaultAssertionStatus(boolean enabled)
+74    {
+75      loader.setDefaultAssertionStatus(enabled);
+76    }
+77  
+78    @Override
+79    public InputStream getResourceAsStream(String name)
+80    {
+81      return loader.getResourceAsStream(name);
+82    }
+83  
+84    @Override
+85    public Enumeration<URL> getResources(String name) throws IOException
+86    {
+87      return loader.getResources(name);
+88    }
+89  
+90    @Override
+91    public URL getResource(String name)
+92    {
+93      return loader.getResource(name);
+94    }
+95  
+96    @Override
+97    public Class<?> loadClass(String name) throws ClassNotFoundException
+98    {
+99      return loader.loadClass(name);
+100   }
+101   
+102 }
+
+
+ + + diff --git a/projects/hibernate-maven-plugin/2.0.0/xref/de/juplo/plugins/hibernate/SimpleConnectionProvider.html b/projects/hibernate-maven-plugin/2.0.0/xref/de/juplo/plugins/hibernate/SimpleConnectionProvider.html new file mode 100644 index 0000000..a2553db --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/xref/de/juplo/plugins/hibernate/SimpleConnectionProvider.html @@ -0,0 +1,262 @@ + + + +SimpleConnectionProvider xref + + + +
View Javadoc
+1   package de.juplo.plugins.hibernate;
+2   
+3   import java.sql.Connection;
+4   import java.sql.Driver;
+5   import java.sql.DriverManager;
+6   import java.sql.DriverPropertyInfo;
+7   import java.sql.SQLException;
+8   import java.sql.SQLFeatureNotSupportedException;
+9   import java.util.Properties;
+10  import java.util.logging.Logger;
+11  import org.apache.maven.plugin.MojoFailureException;
+12  import org.apache.maven.plugin.logging.Log;
+13  import static org.eclipse.aether.repository.AuthenticationContext.PASSWORD;
+14  import static org.eclipse.aether.repository.AuthenticationContext.USERNAME;
+15  import org.hibernate.boot.registry.classloading.spi.ClassLoaderService;
+16  import static org.hibernate.cfg.AvailableSettings.DRIVER;
+17  import static org.hibernate.cfg.AvailableSettings.PASS;
+18  import static org.hibernate.cfg.AvailableSettings.URL;
+19  import static org.hibernate.cfg.AvailableSettings.USER;
+20  import org.hibernate.engine.jdbc.connections.spi.ConnectionProvider;
+21  import static org.hibernate.jpa.AvailableSettings.JDBC_DRIVER;
+22  import static org.hibernate.jpa.AvailableSettings.JDBC_PASSWORD;
+23  import static org.hibernate.jpa.AvailableSettings.JDBC_URL;
+24  import static org.hibernate.jpa.AvailableSettings.JDBC_USER;
+25  
+26  /**
+27   *
+28   * @author Kai Moritz
+29   */
+30  class SimpleConnectionProvider implements ConnectionProvider
+31  {
+32    private final Log log;
+33  
+34    private Connection connection;
+35  
+36  
+37    SimpleConnectionProvider(Log log)
+38    {
+39      this.log = log;
+40    }
+41  
+42  
+43    void open(ClassLoaderService classLoaderService, Properties properties)
+44        throws
+45          MojoFailureException
+46    {
+47  
+48      String driver = (String)
+49          (properties.containsKey(DRIVER)
+50              ? properties.getProperty(DRIVER)
+51              : properties.getProperty(JDBC_DRIVER)
+52              );
+53      String url = (String)
+54          (properties.containsKey(URL)
+55              ? properties.getProperty(URL)
+56              : properties.getProperty(JDBC_URL)
+57              );
+58      String user = (String)
+59          (properties.containsKey(USER)
+60              ? properties.getProperty(USER)
+61              : properties.getProperty(JDBC_USER)
+62              );
+63      String password = (String)
+64          (properties.containsKey(PASS)
+65              ? properties.getProperty(PASS)
+66              : properties.getProperty(JDBC_PASSWORD)
+67              );
+68  
+69      if (driver == null || url == null || user == null)
+70      {
+71        log.info("No connection opened, because connection information is incomplete");
+72        log.info("Driver-Class: " + driver);
+73        log.info("URL: " + url);
+74        log.info("User: " + user);
+75        return;
+76      }
+77  
+78      try
+79      {
+80        Class driverClass = classLoaderService.classForName(driver);
+81  
+82        log.debug("Registering JDBC-driver " + driverClass.getName());
+83        DriverManager
+84            .registerDriver(new DriverProxy((Driver) driverClass.newInstance()));
+85  
+86        log.debug(
+87            "Opening JDBC-connection to " + properties.getProperty(URL) +
+88            " as " + properties.getProperty(USERNAME) +
+89            " with password " + properties.getProperty(PASSWORD)
+90            );
+91      
+92        connection = DriverManager.getConnection(url, user, password);
+93      }
+94      catch (Exception e)
+95      {
+96        throw new MojoFailureException("Could not open the JDBC-connection", e);
+97      }
+98    }
+99  
+100   void close()
+101   {
+102     if (connection == null)
+103       return;
+104 
+105     log.debug("Closing the JDBC-connection.");
+106     try
+107     {
+108       connection.close();
+109     }
+110     catch (SQLException e)
+111     {
+112       log.error("Error while closing the JDBC-connection: " + e.getMessage());
+113     }
+114   }
+115 
+116   @Override
+117   public Connection getConnection() throws SQLException
+118   {
+119     log.debug("Connection aquired.");
+120 
+121     if (connection == null)
+122       throw new SQLException("No connection available, because of insufficient connection information!");
+123 
+124     return connection;
+125   }
+126 
+127   @Override
+128   public void closeConnection(Connection conn) throws SQLException
+129   {
+130     log.debug("Connection released");
+131   }
+132 
+133   @Override
+134   public boolean supportsAggressiveRelease()
+135   {
+136     return false;
+137   }
+138 
+139   @Override
+140   public boolean isUnwrappableAs(Class unwrapType)
+141   {
+142     return false;
+143   }
+144 
+145   @Override
+146   public <T> T unwrap(Class<T> unwrapType)
+147   {
+148     throw new UnsupportedOperationException("Not supported.");
+149   }
+150 
+151   /**
+152    * Needed, because DriverManager won't pick up drivers, that were not
+153    * loaded by the system-classloader!
+154    * See:
+155    * http://stackoverflow.com/questions/288828/how-to-use-a-jdbc-driver-fromodifiedm-an-arbitrary-location
+156    */
+157   static final class DriverProxy implements Driver
+158   {
+159     private final Driver target;
+160 
+161     DriverProxy(Driver target)
+162     {
+163       if (target == null)
+164         throw new NullPointerException();
+165       this.target = target;
+166     }
+167 
+168     public java.sql.Driver getTarget()
+169     {
+170       return target;
+171     }
+172 
+173     @Override
+174     public boolean acceptsURL(String url) throws SQLException
+175     {
+176       return target.acceptsURL(url);
+177     }
+178 
+179     @Override
+180     public java.sql.Connection connect(
+181         String url,
+182         java.util.Properties info
+183       )
+184       throws
+185         SQLException
+186     {
+187       return target.connect(url, info);
+188     }
+189 
+190     @Override
+191     public int getMajorVersion()
+192     {
+193       return target.getMajorVersion();
+194     }
+195 
+196     @Override
+197     public int getMinorVersion()
+198     {
+199       return target.getMinorVersion();
+200     }
+201 
+202     @Override
+203     public DriverPropertyInfo[] getPropertyInfo(
+204         String url,
+205         Properties info
+206       )
+207       throws
+208         SQLException
+209     {
+210       return target.getPropertyInfo(url, info);
+211     }
+212 
+213     @Override
+214     public boolean jdbcCompliant()
+215     {
+216       return target.jdbcCompliant();
+217     }
+218 
+219     /**
+220      * This Method cannot be annotated with @Override, becaus the plugin
+221      * will not compile then under Java 1.6!
+222      */
+223     public Logger getParentLogger() throws SQLFeatureNotSupportedException
+224     {
+225       throw new SQLFeatureNotSupportedException("Not supported, for backward-compatibility with Java 1.6");
+226     }
+227 
+228     @Override
+229     public String toString()
+230     {
+231       return "Proxy: " + target;
+232     }
+233 
+234     @Override
+235     public int hashCode()
+236     {
+237       return target.hashCode();
+238     }
+239 
+240     @Override
+241     public boolean equals(Object obj)
+242     {
+243       if (!(obj instanceof DriverProxy))
+244         return false;
+245       DriverProxy other = (DriverProxy) obj;
+246       return this.target.equals(other.target);
+247     }
+248   }
+249 }
+
+
+ + + diff --git a/projects/hibernate-maven-plugin/2.0.0/xref/de/juplo/plugins/hibernate/package-frame.html b/projects/hibernate-maven-plugin/2.0.0/xref/de/juplo/plugins/hibernate/package-frame.html new file mode 100644 index 0000000..8816bf8 --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/xref/de/juplo/plugins/hibernate/package-frame.html @@ -0,0 +1,45 @@ + + + + + + Hibernate Maven Plugin 2.0.0 Reference Package de.juplo.plugins.hibernate + + + + +

+ de.juplo.plugins.hibernate +

+ +

Classes

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

Package de.juplo.plugins.hibernate

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Class Summary
+ AbstractSchemaMojo +
+ CreateMojo +
+ DriverProxy +
+ DropMojo +
+ HelpMojo +
+ ModificationTracker +
+ MutableClassLoader +
+ SimpleConnectionProvider +
+ +
+ +
+
+ +
+
+ + + \ No newline at end of file diff --git a/projects/hibernate-maven-plugin/2.0.0/xref/index.html b/projects/hibernate-maven-plugin/2.0.0/xref/index.html new file mode 100644 index 0000000..cc2b557 --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/xref/index.html @@ -0,0 +1,25 @@ + + + + + + + Hibernate Maven Plugin 2.0.0 Reference + + + + + + + + + <body> + <h1>Frame Alert</h1> + <p> + You don't have frames. Go <a href="overview-summary.html">here</a> + </p> + </body> + + + + diff --git a/projects/hibernate-maven-plugin/2.0.0/xref/overview-frame.html b/projects/hibernate-maven-plugin/2.0.0/xref/overview-frame.html new file mode 100644 index 0000000..51ab616 --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/xref/overview-frame.html @@ -0,0 +1,25 @@ + + + + + + Hibernate Maven Plugin 2.0.0 Reference + + + + +

+ All Classes +

+ +

Packages

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

Hibernate Maven Plugin 2.0.0 Reference

+ + + + + + + + + + + + +
Packages
+ de.juplo.plugins.hibernate +
+ +
+ +
+
+ +
+ +
+ + + \ No newline at end of file diff --git a/projects/hibernate-maven-plugin/2.0.0/xref/stylesheet.css b/projects/hibernate-maven-plugin/2.0.0/xref/stylesheet.css new file mode 100644 index 0000000..89732f8 --- /dev/null +++ b/projects/hibernate-maven-plugin/2.0.0/xref/stylesheet.css @@ -0,0 +1,114 @@ +/* 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; +} + +#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; +}