Configuration Examples
Configuration through a hibernate.properties-File
@@ -404,21 +25,24 @@
Doing so, the only additionally configuration needed, to activat the plugin
is the following entry in the plugins-section of your pom.xml:
-<plugin> - <groupId>de.juplo</groupId> - <artifactId>hibernate4-maven-plugin</artifactId> - <version>1.1.0</version> - <executions> - <execution> - <goals> - <goal>export</goal> - </goals> - </execution> - </executions> -</plugin>
But be aware, that in this case the database-url, that is @@ -435,33 +59,36 @@ A better approach is, to specify a different url for testing like in the following snippet:
- --<plugin> - <groupId>de.juplo</groupId> - <artifactId>hibernate4-maven-plugin</artifactId> - <version>1.1.0</version> - <executions> - <execution> - <goals> - <goal>export</goal> - </goals> - </execution> - </executions> - <configuration> - <url><![CDATA[jdbc:mysql://localhost/test-db]]></url> - </configuration> -</plugin>
Configuration properties, that are set in the configuration-section
of the plugin-configuration cannnot be overwritten elsewere (for details
- see Configuration-Method-Precedence).
+ 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
@@ -497,40 +124,50 @@ 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> + +++{{< highlight guess >}} +++ ... -<plugins> +org.hsqldb.jdbcDriver +org.hibernate.dialect.HSQLDialect ++ sa ++ ... - <plugin> - <groupId>de.juplo</groupId> - <artifactId>hibernate4-maven-plugin</artifactId> - <version>1.1.0</version> - <executions> - <execution> - <goals> - <goal>export</goal> - </goals> - </execution> - </executions> - <configuration> - <url><![CDATA[jdbc:hsqldb:target/db/testdb;shutdown=true]]></url> - </configuration> - </plugin> + + -<plugins>de.juplo +hibernate4-maven-plugin +1.1.0 ++ ++ ++ +export ++ ++ + +{{< /highlight >}}
+ 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
@@ -556,28 +193,31 @@ The equivalent of the configuration from the last section would look like this: - --<plugin> - <groupId>de.juplo</groupId> - <artifactId>hibernate4-maven-plugin</artifactId> - <version>1.1.0</version> - <executions> - <execution> - <goals> - <goal>export</goal> - </goals> - </execution> - </executions> - <configuration> - <driverClassName>org.hsqldb.jdbcDriver</driverClassName> - <hibernateDialect>org.hibernate.dialect.HSQLDialect</hibernateDialect> - <url><![CDATA[jdbc:hsqldb:target/db/fotos;shutdown=true]]></url> - <username>sa</username> - <password></password> - </configuration> -</plugin>
The parameter hibernateProperties (name of the hibernate-properties-file @@ -589,8 +229,8 @@ For more explanations, see the Documentation of the export-Mojo.
-Configuration-Method-Precedence
+Configuration-Method-Precedence
The configuration is gathered in a fix order: @@ -623,271 +263,57 @@ 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>hibernate4-maven-plugin</artifactId>
- <version>1.1.0</version>
- <executions>
- <execution>
- <goals>
- <goal>export</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <password>${my-password-property}</password>
- </configuration>
-</plugin>-
Page Structure as JSON
-
-{
- "_titles": {
- "/projects/hibernate-maven-plugin/1.1.0/index.html": "Hibernate 4 Maven Plugin",
- "/projects/hibernate-maven-plugin/1.1.0/ci-management.html": "CI Management",
- "/projects/hibernate-maven-plugin/1.1.0/dependencies.html": "Dependencies",
- "/projects/hibernate-maven-plugin/1.1.0/dependency-info.html": "Maven Coordinates",
- "/projects/hibernate-maven-plugin/1.1.0/distribution-management.html": "Distribution Management",
- "/projects/hibernate-maven-plugin/1.1.0/licenses.html": "Licenses",
- "/projects/hibernate-maven-plugin/1.1.0/plugin-management.html": "Plugin Management",
- "/projects/hibernate-maven-plugin/1.1.0/plugins.html": "Plugins",
- "/projects/hibernate-maven-plugin/1.1.0/scm.html": "Source Code Management",
- "/projects/hibernate-maven-plugin/1.1.0/summary.html": "Summary",
- "/projects/hibernate-maven-plugin/1.1.0/team.html": "Team",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html": "Project Information",
- "/projects/hibernate-maven-plugin/1.1.0/testapidocs/index.html": "Test JavaDocs",
- "/projects/hibernate-maven-plugin/1.1.0/apidocs/index.html": "JavaDocs",
- "/projects/hibernate-maven-plugin/1.1.0/xref/index.html": "Source Xref",
- "/projects/hibernate-maven-plugin/1.1.0/xref-test/index.html": "Test Source Xref",
- "/projects/hibernate-maven-plugin/1.1.0/pmd.html": "PMD",
- "/projects/hibernate-maven-plugin/1.1.0/plugin-info.html": "Plugin Documentation",
- "/projects/hibernate-maven-plugin/1.1.0/project-reports.html": "Project Reports",
- "/projects/hibernate-maven-plugin/1.1.0/index.html?about": "Overview",
- "/projects/hibernate-maven-plugin/1.1.0/configuration.html": "Configuration Examples",
- "/projects/hibernate-maven-plugin/1.1.0/export-mojo.html": "Parameter Documentation",
- "/projects/hibernate-maven-plugin/1.1.0/debugging.html": "Enable Debug-Output",
- "/projects/hibernate-maven-plugin/1.1.0/skip.html": "Skipping Execution",
- "/projects/hibernate-maven-plugin/1.1.0/force.html": "Force Exceution",
- "/projects/hibernate-maven-plugin/1.1.0/pitfalls.html": "Known Pitfalls (FAQ)"
- },
- "_childs": {
- "/projects/hibernate-maven-plugin/1.1.0/index.html": [
- "/projects/hibernate-maven-plugin/1.1.0/index.html?about",
- "/projects/hibernate-maven-plugin/1.1.0/configuration.html",
- "/projects/hibernate-maven-plugin/1.1.0/export-mojo.html",
- "/projects/hibernate-maven-plugin/1.1.0/debugging.html",
- "/projects/hibernate-maven-plugin/1.1.0/skip.html",
- "/projects/hibernate-maven-plugin/1.1.0/force.html",
- "/projects/hibernate-maven-plugin/1.1.0/pitfalls.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html": [
- "/projects/hibernate-maven-plugin/1.1.0/ci-management.html",
- "/projects/hibernate-maven-plugin/1.1.0/dependencies.html",
- "/projects/hibernate-maven-plugin/1.1.0/dependency-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/distribution-management.html",
- "/projects/hibernate-maven-plugin/1.1.0/licenses.html",
- "/projects/hibernate-maven-plugin/1.1.0/plugin-management.html",
- "/projects/hibernate-maven-plugin/1.1.0/plugins.html",
- "/projects/hibernate-maven-plugin/1.1.0/scm.html",
- "/projects/hibernate-maven-plugin/1.1.0/summary.html",
- "/projects/hibernate-maven-plugin/1.1.0/team.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/project-reports.html": [
- "/projects/hibernate-maven-plugin/1.1.0/testapidocs/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/apidocs/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/xref/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/xref-test/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/pmd.html",
- "/projects/hibernate-maven-plugin/1.1.0/plugin-info.html"
- ]
- },
- "_crumbs": {
- "/projects/hibernate-maven-plugin/1.1.0/index.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/ci-management.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/ci-management.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/dependencies.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/dependencies.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/dependency-info.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/dependency-info.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/distribution-management.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/distribution-management.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/licenses.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/licenses.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/plugin-management.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/plugin-management.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/plugins.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/plugins.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/scm.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/scm.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/summary.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/summary.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/team.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/team.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/testapidocs/index.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-reports.html",
- "/projects/hibernate-maven-plugin/1.1.0/testapidocs/index.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/apidocs/index.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-reports.html",
- "/projects/hibernate-maven-plugin/1.1.0/apidocs/index.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/xref/index.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-reports.html",
- "/projects/hibernate-maven-plugin/1.1.0/xref/index.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/xref-test/index.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-reports.html",
- "/projects/hibernate-maven-plugin/1.1.0/xref-test/index.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/pmd.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-reports.html",
- "/projects/hibernate-maven-plugin/1.1.0/pmd.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/plugin-info.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-reports.html",
- "/projects/hibernate-maven-plugin/1.1.0/plugin-info.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/project-reports.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-reports.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/index.html?about": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html?about"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/configuration.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/configuration.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/export-mojo.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/export-mojo.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/debugging.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/debugging.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/skip.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/skip.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/force.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/force.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/pitfalls.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/pitfalls.html"
- ]
- },
- "_canonical": {
- "/projects/hibernate-maven-plugin/1.1.0/index.html": "/hibernate-maven-plugin/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/ci-management.html": "/hibernate-maven-plugin/ci-management.html",
- "/projects/hibernate-maven-plugin/1.1.0/dependencies.html": "/hibernate-maven-plugin/dependencies.html",
- "/projects/hibernate-maven-plugin/1.1.0/dependency-info.html": "/hibernate-maven-plugin/dependency-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/distribution-management.html": "/hibernate-maven-plugin/distribution-management.html",
- "/projects/hibernate-maven-plugin/1.1.0/licenses.html": "/hibernate-maven-plugin/licenses.html",
- "/projects/hibernate-maven-plugin/1.1.0/plugin-management.html": "/hibernate-maven-plugin/plugin-management.html",
- "/projects/hibernate-maven-plugin/1.1.0/plugins.html": "/hibernate-maven-plugin/plugins.html",
- "/projects/hibernate-maven-plugin/1.1.0/scm.html": "/hibernate-maven-plugin/scm.html",
- "/projects/hibernate-maven-plugin/1.1.0/summary.html": "/hibernate-maven-plugin/summary.html",
- "/projects/hibernate-maven-plugin/1.1.0/team.html": "/hibernate-maven-plugin/team.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html": "/hibernate-maven-plugin/project-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/testapidocs/index.html": "/hibernate-maven-plugin/testapidocs/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/apidocs/index.html": "/hibernate-maven-plugin/apidocs/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/xref/index.html": "/hibernate-maven-plugin/xref/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/xref-test/index.html": "/hibernate-maven-plugin/xref-test/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/pmd.html": "/hibernate-maven-plugin/pmd.html",
- "/projects/hibernate-maven-plugin/1.1.0/plugin-info.html": "/hibernate-maven-plugin/plugin-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-reports.html": "/hibernate-maven-plugin/project-reports.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html?about": "/hibernate-maven-plugin/index.html?about",
- "/projects/hibernate-maven-plugin/1.1.0/configuration.html": "/hibernate-maven-plugin/configuration.html",
- "/projects/hibernate-maven-plugin/1.1.0/export-mojo.html": "/hibernate-maven-plugin/export-mojo.html",
- "/projects/hibernate-maven-plugin/1.1.0/debugging.html": "/hibernate-maven-plugin/debugging.html",
- "/projects/hibernate-maven-plugin/1.1.0/skip.html": "/hibernate-maven-plugin/skip.html",
- "/projects/hibernate-maven-plugin/1.1.0/force.html": "/hibernate-maven-plugin/force.html",
- "/projects/hibernate-maven-plugin/1.1.0/pitfalls.html": "/hibernate-maven-plugin/pitfalls.html"
- }
-}
-
- All Pages
--
-
-
- Hibernate 4 Maven Plugin
- CI Management
- Dependencies
- Maven Coordinates
- Distribution Management
- Licenses
- Plugin Management
- Plugins
- Source Code Management
- Summary
- Team
- Project Information
- Test JavaDocs
- JavaDocs
- Source Xref
- Test Source Xref
- PMD
- Plugin Documentation
- Project Reports
- Overview
- Configuration Examples
- Parameter Documentation
- Enable Debug-Output
- Skipping Execution
- Force Exceution
- Known Pitfalls (FAQ)
URI
--
-
- site:
/projects/hibernate-maven-plugin/1.1.0/debugging.html
- - canonical:
/hibernate-maven-plugin/debugging.html
- - relative:
debugging.html
-
Path
--
- --
Enable Debugging-Output
If you are new to hibernate4-maven-plugin, in many cases, the
@@ -398,10 +20,13 @@
enabled.
For example, by executing:
-mvn -X compile hibernate4:export
(The compile might be necessary, because hibernate4-maven-plugin
@@ -417,253 +42,36 @@ mvn -X compile hibernate4:export
But be warned: hibernate4-maven-plugin tends to be very chatty ;)
-
Page Structure as JSON
-
-{
- "_titles": {
- "/projects/hibernate-maven-plugin/1.1.0/index.html": "Hibernate 4 Maven Plugin",
- "/projects/hibernate-maven-plugin/1.1.0/ci-management.html": "CI Management",
- "/projects/hibernate-maven-plugin/1.1.0/dependencies.html": "Dependencies",
- "/projects/hibernate-maven-plugin/1.1.0/dependency-info.html": "Maven Coordinates",
- "/projects/hibernate-maven-plugin/1.1.0/distribution-management.html": "Distribution Management",
- "/projects/hibernate-maven-plugin/1.1.0/licenses.html": "Licenses",
- "/projects/hibernate-maven-plugin/1.1.0/plugin-management.html": "Plugin Management",
- "/projects/hibernate-maven-plugin/1.1.0/plugins.html": "Plugins",
- "/projects/hibernate-maven-plugin/1.1.0/scm.html": "Source Code Management",
- "/projects/hibernate-maven-plugin/1.1.0/summary.html": "Summary",
- "/projects/hibernate-maven-plugin/1.1.0/team.html": "Team",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html": "Project Information",
- "/projects/hibernate-maven-plugin/1.1.0/testapidocs/index.html": "Test JavaDocs",
- "/projects/hibernate-maven-plugin/1.1.0/apidocs/index.html": "JavaDocs",
- "/projects/hibernate-maven-plugin/1.1.0/xref/index.html": "Source Xref",
- "/projects/hibernate-maven-plugin/1.1.0/xref-test/index.html": "Test Source Xref",
- "/projects/hibernate-maven-plugin/1.1.0/pmd.html": "PMD",
- "/projects/hibernate-maven-plugin/1.1.0/plugin-info.html": "Plugin Documentation",
- "/projects/hibernate-maven-plugin/1.1.0/project-reports.html": "Project Reports",
- "/projects/hibernate-maven-plugin/1.1.0/index.html?about": "Overview",
- "/projects/hibernate-maven-plugin/1.1.0/configuration.html": "Configuration Examples",
- "/projects/hibernate-maven-plugin/1.1.0/export-mojo.html": "Parameter Documentation",
- "/projects/hibernate-maven-plugin/1.1.0/debugging.html": "Enable Debug-Output",
- "/projects/hibernate-maven-plugin/1.1.0/skip.html": "Skipping Execution",
- "/projects/hibernate-maven-plugin/1.1.0/force.html": "Force Exceution",
- "/projects/hibernate-maven-plugin/1.1.0/pitfalls.html": "Known Pitfalls (FAQ)"
- },
- "_childs": {
- "/projects/hibernate-maven-plugin/1.1.0/index.html": [
- "/projects/hibernate-maven-plugin/1.1.0/index.html?about",
- "/projects/hibernate-maven-plugin/1.1.0/configuration.html",
- "/projects/hibernate-maven-plugin/1.1.0/export-mojo.html",
- "/projects/hibernate-maven-plugin/1.1.0/debugging.html",
- "/projects/hibernate-maven-plugin/1.1.0/skip.html",
- "/projects/hibernate-maven-plugin/1.1.0/force.html",
- "/projects/hibernate-maven-plugin/1.1.0/pitfalls.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html": [
- "/projects/hibernate-maven-plugin/1.1.0/ci-management.html",
- "/projects/hibernate-maven-plugin/1.1.0/dependencies.html",
- "/projects/hibernate-maven-plugin/1.1.0/dependency-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/distribution-management.html",
- "/projects/hibernate-maven-plugin/1.1.0/licenses.html",
- "/projects/hibernate-maven-plugin/1.1.0/plugin-management.html",
- "/projects/hibernate-maven-plugin/1.1.0/plugins.html",
- "/projects/hibernate-maven-plugin/1.1.0/scm.html",
- "/projects/hibernate-maven-plugin/1.1.0/summary.html",
- "/projects/hibernate-maven-plugin/1.1.0/team.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/project-reports.html": [
- "/projects/hibernate-maven-plugin/1.1.0/testapidocs/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/apidocs/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/xref/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/xref-test/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/pmd.html",
- "/projects/hibernate-maven-plugin/1.1.0/plugin-info.html"
- ]
- },
- "_crumbs": {
- "/projects/hibernate-maven-plugin/1.1.0/index.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/ci-management.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/ci-management.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/dependencies.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/dependencies.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/dependency-info.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/dependency-info.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/distribution-management.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/distribution-management.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/licenses.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/licenses.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/plugin-management.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/plugin-management.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/plugins.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/plugins.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/scm.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/scm.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/summary.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/summary.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/team.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/team.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/testapidocs/index.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-reports.html",
- "/projects/hibernate-maven-plugin/1.1.0/testapidocs/index.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/apidocs/index.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-reports.html",
- "/projects/hibernate-maven-plugin/1.1.0/apidocs/index.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/xref/index.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-reports.html",
- "/projects/hibernate-maven-plugin/1.1.0/xref/index.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/xref-test/index.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-reports.html",
- "/projects/hibernate-maven-plugin/1.1.0/xref-test/index.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/pmd.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-reports.html",
- "/projects/hibernate-maven-plugin/1.1.0/pmd.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/plugin-info.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-reports.html",
- "/projects/hibernate-maven-plugin/1.1.0/plugin-info.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/project-reports.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-reports.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/index.html?about": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html?about"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/configuration.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/configuration.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/export-mojo.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/export-mojo.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/debugging.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/debugging.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/skip.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/skip.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/force.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/force.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/pitfalls.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/pitfalls.html"
- ]
- },
- "_canonical": {
- "/projects/hibernate-maven-plugin/1.1.0/index.html": "/hibernate-maven-plugin/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/ci-management.html": "/hibernate-maven-plugin/ci-management.html",
- "/projects/hibernate-maven-plugin/1.1.0/dependencies.html": "/hibernate-maven-plugin/dependencies.html",
- "/projects/hibernate-maven-plugin/1.1.0/dependency-info.html": "/hibernate-maven-plugin/dependency-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/distribution-management.html": "/hibernate-maven-plugin/distribution-management.html",
- "/projects/hibernate-maven-plugin/1.1.0/licenses.html": "/hibernate-maven-plugin/licenses.html",
- "/projects/hibernate-maven-plugin/1.1.0/plugin-management.html": "/hibernate-maven-plugin/plugin-management.html",
- "/projects/hibernate-maven-plugin/1.1.0/plugins.html": "/hibernate-maven-plugin/plugins.html",
- "/projects/hibernate-maven-plugin/1.1.0/scm.html": "/hibernate-maven-plugin/scm.html",
- "/projects/hibernate-maven-plugin/1.1.0/summary.html": "/hibernate-maven-plugin/summary.html",
- "/projects/hibernate-maven-plugin/1.1.0/team.html": "/hibernate-maven-plugin/team.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html": "/hibernate-maven-plugin/project-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/testapidocs/index.html": "/hibernate-maven-plugin/testapidocs/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/apidocs/index.html": "/hibernate-maven-plugin/apidocs/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/xref/index.html": "/hibernate-maven-plugin/xref/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/xref-test/index.html": "/hibernate-maven-plugin/xref-test/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/pmd.html": "/hibernate-maven-plugin/pmd.html",
- "/projects/hibernate-maven-plugin/1.1.0/plugin-info.html": "/hibernate-maven-plugin/plugin-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-reports.html": "/hibernate-maven-plugin/project-reports.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html?about": "/hibernate-maven-plugin/index.html?about",
- "/projects/hibernate-maven-plugin/1.1.0/configuration.html": "/hibernate-maven-plugin/configuration.html",
- "/projects/hibernate-maven-plugin/1.1.0/export-mojo.html": "/hibernate-maven-plugin/export-mojo.html",
- "/projects/hibernate-maven-plugin/1.1.0/debugging.html": "/hibernate-maven-plugin/debugging.html",
- "/projects/hibernate-maven-plugin/1.1.0/skip.html": "/hibernate-maven-plugin/skip.html",
- "/projects/hibernate-maven-plugin/1.1.0/force.html": "/hibernate-maven-plugin/force.html",
- "/projects/hibernate-maven-plugin/1.1.0/pitfalls.html": "/hibernate-maven-plugin/pitfalls.html"
- }
-}
-
- All Pages
--
-
-
- Hibernate 4 Maven Plugin
- CI Management
- Dependencies
- Maven Coordinates
- Distribution Management
- Licenses
- Plugin Management
- Plugins
- Source Code Management
- Summary
- Team
- Project Information
- Test JavaDocs
- JavaDocs
- Source Xref
- Test Source Xref
- PMD
- Plugin Documentation
- Project Reports
- Overview
- Configuration Examples
- Parameter Documentation
- Enable Debug-Output
- Skipping Execution
- Force Exceution
- Known Pitfalls (FAQ)
URI
--
-
- site:
/projects/hibernate-maven-plugin/1.1.0/force.html
- - canonical:
/hibernate-maven-plugin/force.html
- - relative:
force.html
-
Path
--
- --
Force Execution
The hibernate4-maven-plugin computes MD5-sums for all found annotated
@@ -411,269 +33,55 @@
you can force it to do so, if you set the parameter force to
true:
-<plugin> - <groupId>de.juplo</groupId> - <artifactId>hibernate4-maven-plugin</artifactId> - <version>1.1.0</version> - <configuration> - <force>true</force> - </configuration> -</plugin>
Or you may specify -Dhibernate.export.force=true at the command line,
if you want to force hibernate4-maven-plugin only once.
-
Page Structure as JSON
-
-{
- "_titles": {
- "/projects/hibernate-maven-plugin/1.1.0/index.html": "Hibernate 4 Maven Plugin",
- "/projects/hibernate-maven-plugin/1.1.0/ci-management.html": "CI Management",
- "/projects/hibernate-maven-plugin/1.1.0/dependencies.html": "Dependencies",
- "/projects/hibernate-maven-plugin/1.1.0/dependency-info.html": "Maven Coordinates",
- "/projects/hibernate-maven-plugin/1.1.0/distribution-management.html": "Distribution Management",
- "/projects/hibernate-maven-plugin/1.1.0/licenses.html": "Licenses",
- "/projects/hibernate-maven-plugin/1.1.0/plugin-management.html": "Plugin Management",
- "/projects/hibernate-maven-plugin/1.1.0/plugins.html": "Plugins",
- "/projects/hibernate-maven-plugin/1.1.0/scm.html": "Source Code Management",
- "/projects/hibernate-maven-plugin/1.1.0/summary.html": "Summary",
- "/projects/hibernate-maven-plugin/1.1.0/team.html": "Team",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html": "Project Information",
- "/projects/hibernate-maven-plugin/1.1.0/testapidocs/index.html": "Test JavaDocs",
- "/projects/hibernate-maven-plugin/1.1.0/apidocs/index.html": "JavaDocs",
- "/projects/hibernate-maven-plugin/1.1.0/xref/index.html": "Source Xref",
- "/projects/hibernate-maven-plugin/1.1.0/xref-test/index.html": "Test Source Xref",
- "/projects/hibernate-maven-plugin/1.1.0/pmd.html": "PMD",
- "/projects/hibernate-maven-plugin/1.1.0/plugin-info.html": "Plugin Documentation",
- "/projects/hibernate-maven-plugin/1.1.0/project-reports.html": "Project Reports",
- "/projects/hibernate-maven-plugin/1.1.0/index.html?about": "Overview",
- "/projects/hibernate-maven-plugin/1.1.0/configuration.html": "Configuration Examples",
- "/projects/hibernate-maven-plugin/1.1.0/export-mojo.html": "Parameter Documentation",
- "/projects/hibernate-maven-plugin/1.1.0/debugging.html": "Enable Debug-Output",
- "/projects/hibernate-maven-plugin/1.1.0/skip.html": "Skipping Execution",
- "/projects/hibernate-maven-plugin/1.1.0/force.html": "Force Exceution",
- "/projects/hibernate-maven-plugin/1.1.0/pitfalls.html": "Known Pitfalls (FAQ)"
- },
- "_childs": {
- "/projects/hibernate-maven-plugin/1.1.0/index.html": [
- "/projects/hibernate-maven-plugin/1.1.0/index.html?about",
- "/projects/hibernate-maven-plugin/1.1.0/configuration.html",
- "/projects/hibernate-maven-plugin/1.1.0/export-mojo.html",
- "/projects/hibernate-maven-plugin/1.1.0/debugging.html",
- "/projects/hibernate-maven-plugin/1.1.0/skip.html",
- "/projects/hibernate-maven-plugin/1.1.0/force.html",
- "/projects/hibernate-maven-plugin/1.1.0/pitfalls.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html": [
- "/projects/hibernate-maven-plugin/1.1.0/ci-management.html",
- "/projects/hibernate-maven-plugin/1.1.0/dependencies.html",
- "/projects/hibernate-maven-plugin/1.1.0/dependency-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/distribution-management.html",
- "/projects/hibernate-maven-plugin/1.1.0/licenses.html",
- "/projects/hibernate-maven-plugin/1.1.0/plugin-management.html",
- "/projects/hibernate-maven-plugin/1.1.0/plugins.html",
- "/projects/hibernate-maven-plugin/1.1.0/scm.html",
- "/projects/hibernate-maven-plugin/1.1.0/summary.html",
- "/projects/hibernate-maven-plugin/1.1.0/team.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/project-reports.html": [
- "/projects/hibernate-maven-plugin/1.1.0/testapidocs/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/apidocs/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/xref/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/xref-test/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/pmd.html",
- "/projects/hibernate-maven-plugin/1.1.0/plugin-info.html"
- ]
- },
- "_crumbs": {
- "/projects/hibernate-maven-plugin/1.1.0/index.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/ci-management.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/ci-management.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/dependencies.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/dependencies.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/dependency-info.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/dependency-info.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/distribution-management.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/distribution-management.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/licenses.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/licenses.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/plugin-management.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/plugin-management.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/plugins.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/plugins.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/scm.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/scm.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/summary.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/summary.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/team.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/team.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/testapidocs/index.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-reports.html",
- "/projects/hibernate-maven-plugin/1.1.0/testapidocs/index.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/apidocs/index.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-reports.html",
- "/projects/hibernate-maven-plugin/1.1.0/apidocs/index.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/xref/index.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-reports.html",
- "/projects/hibernate-maven-plugin/1.1.0/xref/index.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/xref-test/index.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-reports.html",
- "/projects/hibernate-maven-plugin/1.1.0/xref-test/index.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/pmd.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-reports.html",
- "/projects/hibernate-maven-plugin/1.1.0/pmd.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/plugin-info.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-reports.html",
- "/projects/hibernate-maven-plugin/1.1.0/plugin-info.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/project-reports.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-reports.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/index.html?about": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html?about"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/configuration.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/configuration.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/export-mojo.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/export-mojo.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/debugging.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/debugging.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/skip.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/skip.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/force.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/force.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/pitfalls.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/pitfalls.html"
- ]
- },
- "_canonical": {
- "/projects/hibernate-maven-plugin/1.1.0/index.html": "/hibernate-maven-plugin/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/ci-management.html": "/hibernate-maven-plugin/ci-management.html",
- "/projects/hibernate-maven-plugin/1.1.0/dependencies.html": "/hibernate-maven-plugin/dependencies.html",
- "/projects/hibernate-maven-plugin/1.1.0/dependency-info.html": "/hibernate-maven-plugin/dependency-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/distribution-management.html": "/hibernate-maven-plugin/distribution-management.html",
- "/projects/hibernate-maven-plugin/1.1.0/licenses.html": "/hibernate-maven-plugin/licenses.html",
- "/projects/hibernate-maven-plugin/1.1.0/plugin-management.html": "/hibernate-maven-plugin/plugin-management.html",
- "/projects/hibernate-maven-plugin/1.1.0/plugins.html": "/hibernate-maven-plugin/plugins.html",
- "/projects/hibernate-maven-plugin/1.1.0/scm.html": "/hibernate-maven-plugin/scm.html",
- "/projects/hibernate-maven-plugin/1.1.0/summary.html": "/hibernate-maven-plugin/summary.html",
- "/projects/hibernate-maven-plugin/1.1.0/team.html": "/hibernate-maven-plugin/team.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html": "/hibernate-maven-plugin/project-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/testapidocs/index.html": "/hibernate-maven-plugin/testapidocs/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/apidocs/index.html": "/hibernate-maven-plugin/apidocs/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/xref/index.html": "/hibernate-maven-plugin/xref/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/xref-test/index.html": "/hibernate-maven-plugin/xref-test/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/pmd.html": "/hibernate-maven-plugin/pmd.html",
- "/projects/hibernate-maven-plugin/1.1.0/plugin-info.html": "/hibernate-maven-plugin/plugin-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-reports.html": "/hibernate-maven-plugin/project-reports.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html?about": "/hibernate-maven-plugin/index.html?about",
- "/projects/hibernate-maven-plugin/1.1.0/configuration.html": "/hibernate-maven-plugin/configuration.html",
- "/projects/hibernate-maven-plugin/1.1.0/export-mojo.html": "/hibernate-maven-plugin/export-mojo.html",
- "/projects/hibernate-maven-plugin/1.1.0/debugging.html": "/hibernate-maven-plugin/debugging.html",
- "/projects/hibernate-maven-plugin/1.1.0/skip.html": "/hibernate-maven-plugin/skip.html",
- "/projects/hibernate-maven-plugin/1.1.0/force.html": "/hibernate-maven-plugin/force.html",
- "/projects/hibernate-maven-plugin/1.1.0/pitfalls.html": "/hibernate-maven-plugin/pitfalls.html"
- }
-}
-
- All Pages
--
-
-
- Hibernate 4 Maven Plugin
- CI Management
- Dependencies
- Maven Coordinates
- Distribution Management
- Licenses
- Plugin Management
- Plugins
- Source Code Management
- Summary
- Team
- Project Information
- Test JavaDocs
- JavaDocs
- Source Xref
- Test Source Xref
- PMD
- Plugin Documentation
- Project Reports
- Overview
- Configuration Examples
- Parameter Documentation
- Enable Debug-Output
- Skipping Execution
- Force Exceution
- Known Pitfalls (FAQ)
URI
--
-
- site:
/projects/hibernate-maven-plugin/1.1.0/pitfalls.html
- - canonical:
/hibernate-maven-plugin/pitfalls.html
- - relative:
pitfalls.html
-
Path
--
- --
Known Pitfalls (FAQ)
Annotated classes in dependencies are not found.
@@ -400,7 +21,7 @@ annotated classes are hidden in a transitive dependency, you can simply add that dependency explicitly.
-hibernate4-maven-plugin always needs a database-connection
@@ -410,18 +31,21 @@
This can be achieved with the command-line parameter
-Dhibernate.export.target=SCRIPT or with the following configuration:
-<configuration> - <target>SCRIPT</target> -</configuration>
But even when no database is to be created, hibernate always needs to know the dialect. Hence, the plugin will fail if this parameter is missing!
-Dependency for driver-class XYZ is missing
@@ -435,9 +59,10 @@ Since it will not be able to see the needed dependency, it will fail with an error-message like:
- -+ +++{{< highlight guess >}} [INFO] Gathered hibernate-configuration (turn on debugging for details): [INFO] hibernate.connection.username = sa [INFO] hibernate.connection.password = @@ -455,7 +80,9 @@ [INFO] Total time: 2 seconds [INFO] Finished at: Thu Nov 29 11:31:14 CET 2012 [INFO] Final Memory: 32M/342M -[INFO] ------------------------------------------------------------------------+[INFO] ------------------------------------------------------------------------ + +{{< /highlight >}}
A quick workaround for this error would be, to delete the runtime-constraint @@ -466,28 +93,31 @@ A much cleaner way is, to (additionally) ad the dependency, to the plugin-definition:
- --<plugin> - <groupId>de.juplo</groupId> - <artifactId>hibernate4-maven-plugin</artifactId> - <version>1.1.0</version> - <executions> - <execution> - <goals> - <goal>export</goal> - </goals> - </execution> - </executions> - <dependencies> - <dependency> - <groupId>org.hsqldb</groupId> - <artifactId>hsqldb</artifactId> - <version>2.2.8</version> - </dependency> - </dependencies> -</plugin>
This is also the best way, if you use a different jdbc-driver for @@ -495,8 +125,8 @@ Because otherwise, this dependency will unnecessarily bloat the runtime-dependencies of your project.
-DBUnit fails after execution of hibernate4 was skipped because nothing has changed
+DBUnit fails after execution of hibernate was skipped because nothing has changed
If hibernate4-maven-plugin skips its excecution, this may lead to errors in @@ -523,17 +153,20 @@ For example, the dbunit-plugin can be configured to skip its excecution, if hibernate4-maven-plugin was skipped like this:
- -
-<plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>dbunit-maven-plugin</artifactId>
- <configuration>
- <skip>${hibernate.export.skipped}</skip>
- </configuration>
-</plugin>The database will not be recreated after a manual drop/clean
@@ -545,45 +178,54 @@ unnecessary drop-create-cycle might take a long time. The plugin will report that like this:
- -+ +++{{< highlight guess >}} [INFO] No modified annotated classes found and dialect unchanged. -[INFO] Skipping schema generation!+[INFO] Skipping schema generation! + +{{< /highlight >}}
If one always uses mvn clean for cleanup, this will not happen.
Otherwise the recreation must be forced:
-mvn hibernate4:export -Dhibernate.export.force=true
The hibernate4:export goal is not executed, when tests are skipped
+ +The hibernate:create goal is not executed, when tests are skipped
The hibernate4-maven-plugin automatically skips its execution, when
maven.test.skip is set to true. If you need it to be always
executed, you can configure that explicitly like this:
-<plugin> - <groupId>de.juplo</groupId> - <artifactId>hibernate4-maven-plugin</artifactId> + +++{{< highlight guess >}} +++ de.juplo +hibernate4-maven-plugin ... - <configuration> - <skip>false</skip> - </configuration> -</plugin>+ + + +{{< /highlight >}}false +
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
@@ -592,18 +234,21 @@ mvn hibernate4:export -Dhibernate.export.force=true
scanDependencies to none in the configuration
of the plugin like this:
-
--<plugin> - <groupId>de.juplo</groupId> - <artifactId>hibernate4-maven-plugin</artifactId> + +++{{< highlight guess >}} +-+ de.juplo +hibernate4-maven-plugin ... - <configuration> - <scanDependencies>none</scanDependencies> - </configuration> -</plugin>+ + + + +{{< /highlight >}}none +
No annotated classes found
@@ -618,254 +263,37 @@ mvn hibernate4:export -Dhibernate.export.force=true You should consider to upgrade to that version of the plugin. -
--
Page Structure as JSON
-
-{
- "_titles": {
- "/projects/hibernate-maven-plugin/1.1.0/index.html": "Hibernate 4 Maven Plugin",
- "/projects/hibernate-maven-plugin/1.1.0/ci-management.html": "CI Management",
- "/projects/hibernate-maven-plugin/1.1.0/dependencies.html": "Dependencies",
- "/projects/hibernate-maven-plugin/1.1.0/dependency-info.html": "Maven Coordinates",
- "/projects/hibernate-maven-plugin/1.1.0/distribution-management.html": "Distribution Management",
- "/projects/hibernate-maven-plugin/1.1.0/licenses.html": "Licenses",
- "/projects/hibernate-maven-plugin/1.1.0/plugin-management.html": "Plugin Management",
- "/projects/hibernate-maven-plugin/1.1.0/plugins.html": "Plugins",
- "/projects/hibernate-maven-plugin/1.1.0/scm.html": "Source Code Management",
- "/projects/hibernate-maven-plugin/1.1.0/summary.html": "Summary",
- "/projects/hibernate-maven-plugin/1.1.0/team.html": "Team",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html": "Project Information",
- "/projects/hibernate-maven-plugin/1.1.0/testapidocs/index.html": "Test JavaDocs",
- "/projects/hibernate-maven-plugin/1.1.0/apidocs/index.html": "JavaDocs",
- "/projects/hibernate-maven-plugin/1.1.0/xref/index.html": "Source Xref",
- "/projects/hibernate-maven-plugin/1.1.0/xref-test/index.html": "Test Source Xref",
- "/projects/hibernate-maven-plugin/1.1.0/pmd.html": "PMD",
- "/projects/hibernate-maven-plugin/1.1.0/plugin-info.html": "Plugin Documentation",
- "/projects/hibernate-maven-plugin/1.1.0/project-reports.html": "Project Reports",
- "/projects/hibernate-maven-plugin/1.1.0/index.html?about": "Overview",
- "/projects/hibernate-maven-plugin/1.1.0/configuration.html": "Configuration Examples",
- "/projects/hibernate-maven-plugin/1.1.0/export-mojo.html": "Parameter Documentation",
- "/projects/hibernate-maven-plugin/1.1.0/debugging.html": "Enable Debug-Output",
- "/projects/hibernate-maven-plugin/1.1.0/skip.html": "Skipping Execution",
- "/projects/hibernate-maven-plugin/1.1.0/force.html": "Force Exceution",
- "/projects/hibernate-maven-plugin/1.1.0/pitfalls.html": "Known Pitfalls (FAQ)"
- },
- "_childs": {
- "/projects/hibernate-maven-plugin/1.1.0/index.html": [
- "/projects/hibernate-maven-plugin/1.1.0/index.html?about",
- "/projects/hibernate-maven-plugin/1.1.0/configuration.html",
- "/projects/hibernate-maven-plugin/1.1.0/export-mojo.html",
- "/projects/hibernate-maven-plugin/1.1.0/debugging.html",
- "/projects/hibernate-maven-plugin/1.1.0/skip.html",
- "/projects/hibernate-maven-plugin/1.1.0/force.html",
- "/projects/hibernate-maven-plugin/1.1.0/pitfalls.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html": [
- "/projects/hibernate-maven-plugin/1.1.0/ci-management.html",
- "/projects/hibernate-maven-plugin/1.1.0/dependencies.html",
- "/projects/hibernate-maven-plugin/1.1.0/dependency-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/distribution-management.html",
- "/projects/hibernate-maven-plugin/1.1.0/licenses.html",
- "/projects/hibernate-maven-plugin/1.1.0/plugin-management.html",
- "/projects/hibernate-maven-plugin/1.1.0/plugins.html",
- "/projects/hibernate-maven-plugin/1.1.0/scm.html",
- "/projects/hibernate-maven-plugin/1.1.0/summary.html",
- "/projects/hibernate-maven-plugin/1.1.0/team.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/project-reports.html": [
- "/projects/hibernate-maven-plugin/1.1.0/testapidocs/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/apidocs/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/xref/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/xref-test/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/pmd.html",
- "/projects/hibernate-maven-plugin/1.1.0/plugin-info.html"
- ]
- },
- "_crumbs": {
- "/projects/hibernate-maven-plugin/1.1.0/index.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/ci-management.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/ci-management.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/dependencies.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/dependencies.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/dependency-info.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/dependency-info.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/distribution-management.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/distribution-management.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/licenses.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/licenses.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/plugin-management.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/plugin-management.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/plugins.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/plugins.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/scm.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/scm.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/summary.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/summary.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/team.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/team.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/testapidocs/index.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-reports.html",
- "/projects/hibernate-maven-plugin/1.1.0/testapidocs/index.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/apidocs/index.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-reports.html",
- "/projects/hibernate-maven-plugin/1.1.0/apidocs/index.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/xref/index.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-reports.html",
- "/projects/hibernate-maven-plugin/1.1.0/xref/index.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/xref-test/index.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-reports.html",
- "/projects/hibernate-maven-plugin/1.1.0/xref-test/index.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/pmd.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-reports.html",
- "/projects/hibernate-maven-plugin/1.1.0/pmd.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/plugin-info.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-reports.html",
- "/projects/hibernate-maven-plugin/1.1.0/plugin-info.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/project-reports.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-reports.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/index.html?about": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html?about"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/configuration.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/configuration.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/export-mojo.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/export-mojo.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/debugging.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/debugging.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/skip.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/skip.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/force.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/force.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/pitfalls.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/pitfalls.html"
- ]
- },
- "_canonical": {
- "/projects/hibernate-maven-plugin/1.1.0/index.html": "/hibernate-maven-plugin/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/ci-management.html": "/hibernate-maven-plugin/ci-management.html",
- "/projects/hibernate-maven-plugin/1.1.0/dependencies.html": "/hibernate-maven-plugin/dependencies.html",
- "/projects/hibernate-maven-plugin/1.1.0/dependency-info.html": "/hibernate-maven-plugin/dependency-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/distribution-management.html": "/hibernate-maven-plugin/distribution-management.html",
- "/projects/hibernate-maven-plugin/1.1.0/licenses.html": "/hibernate-maven-plugin/licenses.html",
- "/projects/hibernate-maven-plugin/1.1.0/plugin-management.html": "/hibernate-maven-plugin/plugin-management.html",
- "/projects/hibernate-maven-plugin/1.1.0/plugins.html": "/hibernate-maven-plugin/plugins.html",
- "/projects/hibernate-maven-plugin/1.1.0/scm.html": "/hibernate-maven-plugin/scm.html",
- "/projects/hibernate-maven-plugin/1.1.0/summary.html": "/hibernate-maven-plugin/summary.html",
- "/projects/hibernate-maven-plugin/1.1.0/team.html": "/hibernate-maven-plugin/team.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html": "/hibernate-maven-plugin/project-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/testapidocs/index.html": "/hibernate-maven-plugin/testapidocs/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/apidocs/index.html": "/hibernate-maven-plugin/apidocs/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/xref/index.html": "/hibernate-maven-plugin/xref/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/xref-test/index.html": "/hibernate-maven-plugin/xref-test/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/pmd.html": "/hibernate-maven-plugin/pmd.html",
- "/projects/hibernate-maven-plugin/1.1.0/plugin-info.html": "/hibernate-maven-plugin/plugin-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-reports.html": "/hibernate-maven-plugin/project-reports.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html?about": "/hibernate-maven-plugin/index.html?about",
- "/projects/hibernate-maven-plugin/1.1.0/configuration.html": "/hibernate-maven-plugin/configuration.html",
- "/projects/hibernate-maven-plugin/1.1.0/export-mojo.html": "/hibernate-maven-plugin/export-mojo.html",
- "/projects/hibernate-maven-plugin/1.1.0/debugging.html": "/hibernate-maven-plugin/debugging.html",
- "/projects/hibernate-maven-plugin/1.1.0/skip.html": "/hibernate-maven-plugin/skip.html",
- "/projects/hibernate-maven-plugin/1.1.0/force.html": "/hibernate-maven-plugin/force.html",
- "/projects/hibernate-maven-plugin/1.1.0/pitfalls.html": "/hibernate-maven-plugin/pitfalls.html"
- }
-}
-
- All Pages
--
-
-
- Hibernate 4 Maven Plugin
- CI Management
- Dependencies
- Maven Coordinates
- Distribution Management
- Licenses
- Plugin Management
- Plugins
- Source Code Management
- Summary
- Team
- Project Information
- Test JavaDocs
- JavaDocs
- Source Xref
- Test Source Xref
- PMD
- Plugin Documentation
- Project Reports
- Overview
- Configuration Examples
- Parameter Documentation
- Enable Debug-Output
- Skipping Execution
- Force Exceution
- Known Pitfalls (FAQ)
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
+| Document | +Description |
|---|---|
| CI Management | +This document lists the continuous integration management system of this project for building and testing code on a frequent, regular basis. |
| Dependencies | +This document lists the project's dependencies and provides information on each dependency. |
| Maven Coordinates | +This document describes how to include this project as a dependency using various dependency management tools. |
| Distribution Management | +This document provides informations on the distribution management of this project. |
| About | +Plugin for generating a database-schema from Hibernate-4-Mapping-Annotations |
| Licenses | +This document lists the project license(s). |
| Plugin Management | +This document lists the plugins that are defined through pluginManagement. |
| Plugins | +This document lists the build plugins and the report plugins used by this project. |
| Source Code Management | +This document lists ways to access the online source repository. |
| Summary | +This document lists other related information of this project |
| Team | +This document provides information on the members of this project. These are the individuals who have contributed to the project in one form or another. |
Overview
+This project uses Continuum.
Access
+The following is a link to the continuous integration system used by the project:
+Project Dependencies
compile
+The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:
+| GroupId | +ArtifactId | +Version | +Type | +Licenses |
|---|---|---|---|---|
| com.pyx4j | +maven-plugin-log4j | +1.0.1 | +jar | +The Apache Software License, Version 2.0 |
| de.juplo | +scannotation | +1.0.4 | +jar | +- |
| javax.el | +javax.el-api | +3.0.0 | +jar | +CDDL + GPLv2 with classpath exception |
| org.apache.maven | +maven-core | +3.3.3 | +jar | +Apache License, Version 2.0 |
| org.apache.maven | +maven-plugin-api | +3.3.3 | +jar | +Apache License, Version 2.0 |
| org.hibernate | +hibernate-core | +4.3.9.Final | +jar | +GNU Lesser General Public License |
| org.hibernate | +hibernate-envers | +4.3.9.Final | +jar | +GNU Lesser General Public License |
| org.hibernate | +hibernate-validator | +5.1.3.Final | +jar | +Apache 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:
+Project Dependency Graph
+ +Dependency Tree
+-
+
- de.juplo:hibernate4-maven-plugin:maven-plugin:1.1.0
+-
+
- org.apache.maven:maven-core:jar:3.3.3 (compile)
+-
+
- org.apache.maven:maven-model:jar:3.3.3 (compile)
+ - org.apache.maven:maven-settings:jar:3.3.3 (compile)
+ - org.apache.maven:maven-settings-builder:jar:3.3.3 (compile)
+-
+
- org.apache.maven:maven-builder-support:jar:3.3.3 (compile)
![[Information]](./images/icon_info_sml.gif)
+ - org.apache.maven:maven-builder-support:jar:3.3.3 (compile)
- org.apache.maven:maven-repository-metadata:jar:3.3.3 (compile)
+ - org.apache.maven:maven-artifact:jar:3.3.3 (compile)
+ - org.apache.maven:maven-model-builder:jar:3.3.3 (compile)
+-
+
- com.google.guava:guava:jar:18.0 (compile)
![[Information]](./images/icon_info_sml.gif)
+ - com.google.guava:guava:jar:18.0 (compile)
- org.apache.maven:maven-aether-provider:jar:3.3.3 (compile)
+-
+
- org.eclipse.aether:aether-spi:jar:1.0.2.v20150114 (compile)
![[Information]](./images/icon_info_sml.gif)
+ - org.eclipse.aether:aether-spi:jar:1.0.2.v20150114 (compile)
- org.eclipse.aether:aether-impl:jar:1.0.2.v20150114 (compile)
+ - org.eclipse.aether:aether-api:jar:1.0.2.v20150114 (compile)
+ - org.eclipse.aether:aether-util:jar:1.0.2.v20150114 (compile)
+ - org.eclipse.sisu:org.eclipse.sisu.plexus:jar:0.3.0 (compile)
+-
+
- javax.enterprise:cdi-api:jar:1.0 (compile)
+-
+
- javax.annotation:jsr250-api:jar:1.0 (compile)
![[Information]](./images/icon_info_sml.gif)
+ - javax.annotation:jsr250-api:jar:1.0 (compile)
- org.eclipse.sisu:org.eclipse.sisu.inject:jar:0.3.0 (compile)
![[Information]](./images/icon_info_sml.gif)
+ - javax.enterprise:cdi-api:jar:1.0 (compile)
- org.sonatype.sisu:sisu-guice:jar:no_aop:3.2.5 (compile)
+-
+
- javax.inject:javax.inject:jar:1 (compile)
+ - aopalliance:aopalliance:jar:1.0 (compile)
![[Information]](./images/icon_info_sml.gif)
+ - javax.inject:javax.inject:jar:1 (compile)
- org.codehaus.plexus:plexus-interpolation:jar:1.21 (compile)
+ - org.codehaus.plexus:plexus-classworlds:jar:2.5.2 (compile)
+ - org.codehaus.plexus:plexus-component-annotations:jar:1.5.5 (compile)
+ - org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3 (compile)
+-
+
- org.sonatype.plexus:plexus-cipher:jar:1.4 (compile)
![[Information]](./images/icon_info_sml.gif)
- org.sonatype.plexus:plexus-cipher:jar:1.4 (compile)
+ - org.apache.maven:maven-model:jar:3.3.3 (compile)
- org.apache.maven:maven-plugin-api:jar:3.3.3 (compile)
+ - org.hibernate:hibernate-core:jar:4.3.9.Final (compile)
+-
+
- org.jboss.logging:jboss-logging:jar:3.1.3.GA (compile)
+ - org.jboss.logging:jboss-logging-annotations:jar:1.2.0.Beta1 (compile)
+ - org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:jar:1.0.0.Final (compile)
+ - dom4j:dom4j:jar:1.6.1 (compile)
+-
+
- xml-apis:xml-apis:jar:1.0.b2 (compile)
![[Information]](./images/icon_info_sml.gif)
+ - xml-apis:xml-apis:jar:1.0.b2 (compile)
- org.hibernate.common:hibernate-commons-annotations:jar:4.0.5.Final (compile)
+ - org.hibernate.javax.persistence:hibernate-jpa-2.1-api:jar:1.0.0.Final (compile)
+ - org.javassist:javassist:jar:3.18.1-GA (compile)
+ - antlr:antlr:jar:2.7.7 (compile)
+ - org.jboss:jandex:jar:1.1.0.Final (compile)
![[Information]](./images/icon_info_sml.gif)
+ - org.jboss.logging:jboss-logging:jar:3.1.3.GA (compile)
- org.hibernate:hibernate-envers:jar:4.3.9.Final (compile)
+-
+
- org.hibernate:hibernate-entitymanager:jar:4.3.9.Final (compile)
![[Information]](./images/icon_info_sml.gif)
+ - org.hibernate:hibernate-entitymanager:jar:4.3.9.Final (compile)
- org.hibernate:hibernate-validator:jar:5.1.3.Final (compile)
+-
+
- javax.validation:validation-api:jar:1.1.0.Final (compile)
+ - com.fasterxml:classmate:jar:1.0.0 (compile)
![[Information]](./images/icon_info_sml.gif)
+ - javax.validation:validation-api:jar:1.1.0.Final (compile)
- javax.el:javax.el-api:jar:3.0.0 (compile)
+ - de.juplo:scannotation:jar:1.0.4 (compile)
+ - com.pyx4j:maven-plugin-log4j:jar:1.0.1 (compile)
+-
+
- log4j:log4j:jar:1.2.14 (compile)
![[Information]](./images/icon_info_sml.gif)
- log4j:log4j:jar:1.2.14 (compile)
- org.apache.maven:maven-core:jar:3.3.3 (compile)
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
+Common Development and Distribution License: Java Transaction API
+Public Domain: AOP alliance, JBoss Logging I18n Annotations
+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
+GNU General Public License, Version 2 with the Classpath Exception: Java Transaction API
+MPL 1.1: Javassist
+The Apache Software License, Version 2.0: Bean Validation API, ClassMate, Guava: Google Core Libraries for Java, Hibernate 4 Maven Plugin, 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
+| Filename | +Size | +Entries | +Classes | +Packages | +Java Version | +Debug Information |
|---|---|---|---|---|---|---|
| antlr-2.7.7.jar | +445.3 kB | +239 | +224 | +12 | +1.2 | +Yes |
| aopalliance-1.0.jar | +4.5 kB | +15 | +9 | +2 | +1.3 | +Yes |
| classmate-1.0.0.jar | +60.3 kB | +51 | +36 | +4 | +1.6 | +Yes |
| guava-18.0.jar | +2.3 MB | +1719 | +1690 | +17 | +1.6 | +Yes |
| maven-plugin-log4j-1.0.1.jar | +3.7 kB | +12 | +1 | +1 | +1.4 | +Yes |
| scannotation-1.0.4.jar | +20.3 kB | +23 | +13 | +2 | +1.6 | +Yes |
| dom4j-1.6.1.jar | +313.9 kB | +208 | +190 | +14 | +1.3 | +Yes |
| jsr250-api-1.0.jar | +5.8 kB | +16 | +11 | +2 | +1.5 | +Yes |
| javax.el-api-3.0.0.jar | +73.1 kB | +57 | +46 | +1 | +1.7 | +Yes |
| cdi-api-1.0.jar | +44.9 kB | +92 | +75 | +7 | +1.5 | +Yes |
| javax.inject-1.jar | +2.5 kB | +8 | +6 | +1 | +1.5 | +No |
| validation-api-1.1.0.Final.jar | +63.8 kB | +122 | +106 | +8 | +1.6 | +Yes |
| log4j-1.2.14.jar | +367.4 kB | +288 | +256 | +19 | +1.1 | +Yes |
| maven-aether-provider-3.3.3.jar | +66.3 kB | +43 | +26 | +1 | +1.7 | +Yes |
| maven-artifact-3.3.3.jar | +55.1 kB | +57 | +32 | +11 | +1.7 | +Yes |
| maven-builder-support-3.3.3.jar | +15 kB | +24 | +10 | +1 | +1.7 | +Yes |
| maven-core-3.3.3.jar | +631.9 kB | +489 | +390 | +56 | +1.7 | +Yes |
| maven-model-3.3.3.jar | +160.8 kB | +67 | +50 | +3 | +1.7 | +Yes |
| maven-model-builder-3.3.3.jar | +176.4 kB | +154 | +121 | +16 | +1.7 | +Yes |
| maven-plugin-api-3.3.3.jar | +46.1 kB | +46 | +25 | +6 | +1.7 | +Yes |
| maven-repository-metadata-3.3.3.jar | +26 kB | +25 | +7 | +2 | +1.7 | +Yes |
| maven-settings-3.3.3.jar | +43 kB | +33 | +17 | +2 | +1.7 | +Yes |
| maven-settings-builder-3.3.3.jar | +43.2 kB | +53 | +32 | +5 | +1.7 | +Yes |
| plexus-classworlds-2.5.2.jar | +52.7 kB | +52 | +37 | +5 | +1.6 | +Yes |
| plexus-component-annotations-1.5.5.jar | +4.2 kB | +15 | +3 | +1 | +1.5 | +No |
| plexus-interpolation-1.21.jar | +62.5 kB | +60 | +44 | +6 | +1.5 | +Yes |
| aether-api-1.0.2.v20150114.jar | +136.3 kB | +149 | +128 | +11 | +1.5 | +Yes |
| aether-impl-1.0.2.v20150114.jar | +173 kB | +114 | +96 | +4 | +1.5 | +Yes |
| aether-spi-1.0.2.v20150114.jar | +30.7 kB | +54 | +34 | +8 | +1.5 | +Yes |
| aether-util-1.0.2.v20150114.jar | +146.9 kB | +126 | +101 | +13 | +1.5 | +Yes |
| org.eclipse.sisu.inject-0.3.0.jar | +375.3 kB | +287 | +269 | +9 | +1.6 | +Yes |
| org.eclipse.sisu.plexus-0.3.0.jar | +205.4 kB | +196 | +164 | +20 | +1.6 | +Yes |
| hibernate-core-4.3.9.Final.jar | +5.3 MB | +3712 | +3463 | +201 | +1.6 | +Yes |
| hibernate-entitymanager-4.3.9.Final.jar | +647.6 kB | +486 | +443 | +27 | +1.6 | +Yes |
| hibernate-envers-4.3.9.Final.jar | +427.6 kB | +311 | +259 | +38 | +1.6 | +Yes |
| hibernate-validator-5.1.3.Final.jar | +634.3 kB | +483 | +410 | +41 | +1.6 | +Yes |
| hibernate-commons-annotations-4.0.5.Final.jar | +75.3 kB | +79 | +67 | +7 | +1.6 | +Yes |
| hibernate-jpa-2.1-api-1.0.0.Final.jar | +113.4 kB | +207 | +200 | +4 | +1.6 | +Yes |
| javassist-3.18.1-GA.jar | +714.2 kB | +414 | +390 | +17 | +1.6 | +Yes |
| jandex-1.1.0.Final.jar | +76.6 kB | +55 | +44 | +1 | +1.6 | +Yes |
| jboss-logging-3.1.3.GA.jar | +57.2 kB | +57 | +45 | +1 | +1.6 | +Yes |
| jboss-logging-annotations-1.2.0.Beta1.jar | +11.6 kB | +28 | +16 | +1 | +1.6 | +Yes |
| jboss-transaction-api_1.2_spec-1.0.0.Final.jar | +27.7 kB | +35 | +22 | +2 | +1.6 | +Yes |
| plexus-cipher-1.4.jar | +13.5 kB | +20 | +6 | +1 | +1.4 | +Yes |
| plexus-sec-dispatcher-1.3.jar | +28.6 kB | +31 | +13 | +3 | +1.4 | +Yes |
| sisu-guice-3.2.5-no_aop.jar | +399.7 kB | +331 | +316 | +8 | +1.6 | +Yes |
| xml-apis-1.0.b2.jar | +109.3 kB | +217 | +184 | +17 | +1.2 | +No |
| Total | +Size | +Entries | +Classes | +Packages | +Java Version | +Debug Information |
| 47 | +14.7 MB | +11360 | +10127 | +639 | +1.7 | +44 |
| compile: 47 | +compile: 14.7 MB | +compile: 11360 | +compile: 10127 | +compile: 639 | +1.7 | +compile: 44 |
Overview
+The following is the distribution management information used by this project.
Repository - sonatype-nexus-staging
https://oss.sonatype.org/service/local/staging/deploy/maven2/Snapshot Repository - sonatype-nexus-snapshots
https://oss.sonatype.org/content/repositories/snapshots/Site - www.juplo.de
+scp://juplo.de/var/www/juplo/hibernate4-maven-plugin-1.1.0
Overview
+Typically the licenses listed for the project are that of the project itself, and not of dependencies.
Project Licenses
The Apache Software License, Version 2.0
+A business-friendly OSS license
+Project Plugin Management
+| GroupId | +ArtifactId | +Version |
|---|---|---|
| org.apache.maven.plugins | +maven-antrun-plugin | +1.3 |
| org.apache.maven.plugins | +maven-assembly-plugin | +2.2-beta-5 |
| org.apache.maven.plugins | +maven-dependency-plugin | +2.8 |
| org.apache.maven.plugins | +maven-release-plugin | +2.1 |
Project Build Plugins
+| GroupId | +ArtifactId | +Version |
|---|---|---|
| org.apache.maven.plugins | +maven-clean-plugin | +2.5 |
| org.apache.maven.plugins | +maven-compiler-plugin | +3.3 |
| org.apache.maven.plugins | +maven-dependency-plugin | +2.10 |
| org.apache.maven.plugins | +maven-deploy-plugin | +2.7 |
| org.apache.maven.plugins | +maven-enforcer-plugin | +1.2 |
| org.apache.maven.plugins | +maven-install-plugin | +2.4 |
| org.apache.maven.plugins | +maven-invoker-plugin | +1.10 |
| org.apache.maven.plugins | +maven-jar-plugin | +2.4 |
| org.apache.maven.plugins | +maven-javadoc-plugin | +2.7 |
| org.apache.maven.plugins | +maven-plugin-plugin | +3.4 |
| org.apache.maven.plugins | +maven-resources-plugin | +2.7 |
| org.apache.maven.plugins | +maven-scm-plugin | +1.9.4 |
| org.apache.maven.plugins | +maven-site-plugin | +3.9.1 |
| org.apache.maven.plugins | +maven-source-plugin | +2.1.2 |
| org.apache.maven.plugins | +maven-surefire-plugin | +2.12.4 |
Project Report Plugins
+| GroupId | +ArtifactId | +Version |
|---|---|---|
| org.apache.maven.plugins | +maven-changes-plugin | +2.11 |
| org.apache.maven.plugins | +maven-javadoc-plugin | +2.7 |
| org.apache.maven.plugins | +maven-jxr-plugin | +2.5 |
| org.apache.maven.plugins | +maven-plugin-plugin | +3.4 |
| org.apache.maven.plugins | +maven-pmd-plugin | +3.4 |
| org.apache.maven.plugins | +maven-project-info-reports-plugin | +3.9.0 |
Overview
+This project uses Git to manage its source code. Instructions on Git use can be found at https://git-scm.com/doc.
Web Browser Access
+The following is a link to a browsable version of the source repository:
+Project Summary
Project Information
+| Field | +Value |
|---|---|
| Name | +Hibernate 4 Maven Plugin |
| Description | +Plugin for generating a database-schema from Hibernate-4-Mapping-Annotations |
| Homepage | +https://juplo.de/hibernate-maven-plugin/index.html |
Project Organization
+This project does not belong to an organization.
Build Information
+| Field | +Value |
|---|---|
| GroupId | +de.juplo |
| ArtifactId | +hibernate4-maven-plugin |
| Version | +1.1.0 |
| Type | +maven-plugin |
| Java Version | +1.6 |
Project 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 project 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.
+| Image | +Id | +Name | +|
|---|---|---|---|
| kai | +Kai Moritz | +kai@juplo.de |
Contributors
+The following additional people have contributed to this project through the way of suggestions, patches or documentation.
+| Image | +Name | +|
|---|---|---|
| Adriano Machado | +adriano.m.machado@hotmail.com | |
| Lorenzo Nicora | +lorenzo.nicora@nicus.it | |
| Eduard Szente | +eduard.szente@gmail.com | |
| Stephen Johnson | +stejohns@redhat.com | |
| Victor Tatai | +vtatai@gmail.com | |
| Erik-Berndt Scheper | +erik.berndt.scheper@gmail.com | |
| Guido Wimmel | +Wimmel.Guido@swm.de | |
| Joel Johnson | +mrjoel@lixil.net | |
| Paul K. Moore | +paulkmoore@gmail.com | |
| Mark Robinson | +mark@mrobinson.ca | |
| Claus Graf | +clausgraf@gmail.com | |
| Joachim Van der Auwera | +joachim@progs.be | |
| Andreas Kuhtz | +andreas.kuhtz@gmail.com |
Generated Reports
+This document provides an overview of the various reports that are automatically generated by Maven . Each report is briefly described below.
Overview
+| Document | +Description |
|---|---|
| Test JavaDocs | +Test JavaDoc API documentation. |
| JavaDocs | +JavaDoc API documentation. |
| Source Xref | +HTML based, cross-reference version of Java source code. |
| Test Source Xref | +HTML based, cross-reference version of Java test source code. |
| PMD | +Verification of coding rules. |
| Plugin Documentation | +This report provides goals and parameters documentation of a plugin. |
Plugin Documentation
+Goals available for this plugin:
+| Goal | +Description |
|---|---|
| hibernate4:export | +Goal which extracts the hibernate-mapping-configuration and exports +an according SQL-database-schema. |
| hibernate4:help | +Display help information on hibernate4-maven-plugin. +Call mvn hibernate4:help -Ddetail=true
+-Dgoal=<goal-name> to display parameter details. |
System Requirements
+The following specifies the minimum requirements to run this Maven plugin:
+| Maven | +2.0.6 |
| JDK | +1.6 |
| Memory | +No minimum requirement. |
| Disk Space | +No minimum requirement. |
Usage
+You should specify the version in your project's plugin configuration:
+For more information, see "Guide to Configuring Plug-ins"
hibernate4:export
+ +Full name:
+ +de.juplo:hibernate4-maven-plugin:1.1.0:export
+ +Description:
+ +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
+ +| Name | + +Type | + +Since | + +Description | +
|---|---|---|---|
| delimiter | + +String |
+
+1.0 |
+
+Delimiter in output-file. Default value is: ;.User property is: hibernate.export.schema.delimiter. |
+
| driverClassName | + +String |
+
+1.0 |
+
+SQL-Driver name. User property is: hibernate.connection.driver_class. |
+
| envers | + +boolean |
+
+1.0.3 |
+
+Generate envers schema for auditing tables. Default value is: true.User property is: hibernate.export.envers. |
+
| force | + +boolean |
+
+1.0 |
+
+Force execution
+
+ Force execution, even if no modified or newly added annotated +classes where found and the dialect was not changed. + +
Default value is: false.User property is: hibernate.export.force. |
+
| format | + +boolean |
+
+1.0 |
+
+Format output-file. Default value is: true.User property is: hibernate.export.schema.format. |
+
| hibernateConfig | + +String |
+
+1.1.0 |
+
+Path to Hibernate configuration file (.cfg.xml). Settings in this
+file will overwrite settings in the properties file. If this
+parameter is not set the plugin will try to load the configuration
+from a file hibernate.cfg.xml on the classpath. The
+test-classpath takes precedence. |
+
| hibernateDialect | + +String |
+
+1.0 |
+
+Hibernate dialect. User property is: hibernate.dialect. |
+
| hibernateMapping | + +String |
+
+1.0.2 |
+
+List of Hibernate-Mapping-Files (XML). Multiple files can be
+separated with white-spaces and/or commas. User property is: hibernate.mapping. |
+
| hibernateNamingStrategy | + +String |
+
+1.0.2 |
+
+Hibernate Naming Strategy User property is: hibernate.ejb.naming_strategy. |
+
| hibernateProperties | + +String |
+
+1.0 |
+
+Path to Hibernate properties file. If this parameter is not set the
+plugin will try to load the configuration from a file
+hibernate.properties on the classpath. The
+test-classpath takes precedence. |
+
| outputDirectory | + +String |
+
+1.0 |
+
+Classes-Directory to scan.
+
+ This parameter defaults to the maven build-output-directory for +classes. Additionally, all dependencies are scanned for annotated +classes. User property is: project.build.outputDirectory. |
+
| outputFile | + +String |
+
+1.0 |
+
+Output file. Default value is: ${project.build.directory}/schema.sql.User property is: hibernate.export.schema.filename. |
+
| password | + +String |
+
+1.0 |
+
+Database password User property is: hibernate.connection.password. |
+
| persistenceUnit | + +String |
+
+1.1.0 |
+
+Name of the persistence-unit. If there is only one persistence-unit
+available, that unit will be used automatically. Settings in this
+file will overwrite settings in the properties or the configuration
+file. |
+
| scanDependencies | + +String |
+
+1.0.3 |
+
+Dependency-Scopes, that should be scanned for annotated classes.
+
+ By default, only dependencies in the scope If you do not want any dependencies to be scanned for annotated
+classes, set this parameter to The plugin does not scan for annotated classes in transitive +dependencies. If some of your annotated classes are hidden in a +transitive dependency, you can simply add that dependency +explicitly. Default value is: compile.User property is: hibernate.export.scan_dependencies. |
+
| scanTestClasses | + +boolean |
+
+1.0.1 |
+
+Whether to scan test-classes too, or not.
+
+ If this parameter is set to Default value is: false.User property is: hibernate.export.scan_testclasses. |
+
| skip | + +boolean |
+
+1.0 |
+
+Skip execution
+
+ If set to A skipped execution is signaled via the maven-property
+ The execution is skipped automatically, if no modified or newly +added annotated classes are found and the dialect was not +changed. Default value is: ${maven.test.skip}.User property is: hibernate.skip. |
+
| target | + +String |
+
+1.0 |
+
+Target of execution:
+
+
Default value is: EXPORT.User property is: hibernate.export.target. |
+
| testOutputDirectory | + +String |
+
+1.0.2 |
+
+Test-Classes-Directory to scan.
+
+ This parameter defaults to the maven build-output-directory for +test-classes. + +This parameter is only used, when User property is: project.build.testOutputDirectory. |
+
| type | + +String |
+
+1.0 |
+
+Type of execution.
+
+
Default value is: BOTH.User property is: hibernate.export.type. |
+
| url | + +String |
+
+1.0 |
+
+Database URL. User property is: hibernate.connection.url. |
+
| username | + +String |
+
+1.0 |
+
+Database username User property is: hibernate.connection.username. |
+
Parameter Details
+ + + +-
+
+
- Type:
java.lang.String
+
+ - Since:
1.0
+
+ - Required:
No
+
+ - User Property:
hibernate.export.schema.delimiter
+
+ - Default:
;
+
+ + +
-
+
+
- Type:
java.lang.String
+
+ - Since:
1.0
+
+ - Required:
No
+
+ - User Property:
hibernate.connection.driver_class
+
+ + +
-
+
+
- Type:
boolean
+
+ - Since:
1.0.3
+
+ - Required:
No
+
+ - User Property:
hibernate.export.envers
+
+ - Default:
true
+
+ + +
Force execution, even if no modified or newly added annotated +classes where found and the dialect was not changed.
+ +skip takes precedence over force.
-
+
+
- Type:
boolean
+
+ - Since:
1.0
+
+ - Required:
No
+
+ - User Property:
hibernate.export.force
+
+ - Default:
false
+
+ + +
-
+
+
- Type:
boolean
+
+ - Since:
1.0
+
+ - Required:
No
+
+ - User Property:
hibernate.export.schema.format
+
+ - Default:
true
+
+ + +
hibernate.cfg.xml on the classpath. The
+test-classpath takes precedence.-
+
+
- Type:
java.lang.String
+
+ - Since:
1.1.0
+
+ - Required:
No
+
+ + +
-
+
+
- Type:
java.lang.String
+
+ - Since:
1.0
+
+ - Required:
No
+
+ - User Property:
hibernate.dialect
+
+ + +
-
+
+
- Type:
java.lang.String
+
+ - Since:
1.0.2
+
+ - Required:
No
+
+ - User Property:
hibernate.mapping
+
+ + +
-
+
+
- Type:
java.lang.String
+
+ - Since:
1.0.2
+
+ - Required:
No
+
+ - User Property:
hibernate.ejb.naming_strategy
+
+ + +
hibernate.properties on the classpath. The
+test-classpath takes precedence.-
+
+
- Type:
java.lang.String
+
+ - Since:
1.0
+
+ - Required:
No
+
+ + +
This parameter defaults to the maven build-output-directory for +classes. Additionally, all dependencies are scanned for annotated +classes.
-
+
+
- Type:
java.lang.String
+
+ - Since:
1.0
+
+ - Required:
No
+
+ - User Property:
project.build.outputDirectory
+
+ + +
-
+
+
- Type:
java.lang.String
+
+ - Since:
1.0
+
+ - Required:
No
+
+ - User Property:
hibernate.export.schema.filename
+
+ - Default:
${project.build.directory}/schema.sql
+
+ + +
-
+
+
- Type:
java.lang.String
+
+ - Since:
1.0
+
+ - Required:
No
+
+ - User Property:
hibernate.connection.password
+
+ + +
-
+
+
- Type:
java.lang.String
+
+ - Since:
1.1.0
+
+ - Required:
No
+
+ + +
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.export.scan_dependencies
+
+ - Default:
compile
+
+ + +
If this parameter is set to true the test-classes
+of the artifact will be scanned for hibernate-annotated classes
+additionally.
-
+
+
- Type:
boolean
+
+ - Since:
1.0.1
+
+ - Required:
No
+
+ - User Property:
hibernate.export.scan_testclasses
+
+ - Default:
false
+
+
skip:
+ +If set to true, the execution is skipped.
A skipped execution is signaled via the maven-property
+${hibernate.export.skipped}.
The execution is skipped automatically, if no modified or newly +added annotated classes are found and the dialect was not +changed.
-
+
+
- Type:
boolean
+
+ - Since:
1.0
+
+ - Required:
No
+
+ - User Property:
hibernate.skip
+
+ - Default:
${maven.test.skip}
+
+ + +
-
+
+
- NONE only export schema to SQL-script (forces +execution, signals skip) + +
- EXPORT create database +(DEFAULT!). forces execution, signals skip) + +
- SCRIPT export schema to SQL-script and print +it to STDOUT + +
- BOTH +
-
+
+
- Type:
java.lang.String
+
+ - Since:
1.0
+
+ - Required:
No
+
+ - User Property:
hibernate.export.target
+
+ - Default:
EXPORT
+
+ + +
This parameter defaults to the maven build-output-directory for +test-classes.
+ +This parameter is only used, when scanTestClasses
+is set to true!
-
+
+
- Type:
java.lang.String
+
+ - Since:
1.0.2
+
+ - Required:
No
+
+ - User Property:
project.build.testOutputDirectory
+
+
type:
+ +-
+
+
- NONE do nothing - just validate the +configuration + +
- CREATE create database-schema + +
- DROP drop database-schema + +
- BOTH (DEFAULT!) +
-
+
+
- Type:
java.lang.String
+
+ - Since:
1.0
+
+ - Required:
No
+
+ - User Property:
hibernate.export.type
+
+ - Default:
BOTH
+
+
url:
+ +-
+
+
- Type:
java.lang.String
+
+ - Since:
1.0
+
+ - Required:
No
+
+ - User Property:
hibernate.connection.url
+
+ + +
-
+
+
- Type:
java.lang.String
+
+ - Since:
1.0
+
+ - Required:
No
+
+ - User Property:
hibernate.connection.username
+
hibernate4:help
+ +Full name:
+ +de.juplo:hibernate4-maven-plugin:1.1.0:help
+ +Description:
+ ++Call
mvn hibernate4:help -Ddetail=true
+-Dgoal=<goal-name> to display parameter details.Attributes:
+ +-
+
+
- The goal is thread-safe and supports parallel builds. +
Optional Parameters
+ +| Name | + +Type | + +Since | + +Description | +
|---|---|---|---|
| detail | + +boolean |
+
+- |
+
+If true, display all settable properties for each
+goal.Default value is: false.User property is: detail. |
+
| goal | + +String |
+
+- |
+
+The name of the goal for which to show help. If unspecified, all
+goals will be displayed. User property is: goal. |
+
| indentSize | + +int |
+
+- |
+
+The number of spaces per indentation level, should be positive. Default value is: 2.User property is: indentSize. |
+
| lineLength | + +int |
+
+- |
+
+The maximum length of a display line, should be positive. Default value is: 80.User property is: lineLength. |
+
Parameter Details
+ + + +true, display all settable properties for each
+goal.-
+
+
- Type:
boolean
+
+ - Required:
No
+
+ - User Property:
detail
+
+ - Default:
false
+
+
goal:
+ +-
+
+
- Type:
java.lang.String
+
+ - Required:
No
+
+ - User Property:
goal
+
+ + +
-
+
+
- Type:
int
+
+ - Required:
No
+
+ - User Property:
indentSize
+
+ - Default:
2
+
+ + +
-
+
+
- Type:
int
+
+ - Required:
No
+
+ - User Property:
lineLength
+
+ - Default:
80
+
PMD Results
+The following document contains the results of PMD 5.2.3.
Files
de/juplo/plugins/hibernate4/Hbm2DdlMojo.java
+| Violation | +Line |
|---|---|
| Unnecessary use of fully qualified name 'java.security.MessageDigest.getInstance' due to existing import 'java.security.MessageDigest' | +527 |
| Unnecessary use of fully qualified name 'java.security.MessageDigest.getInstance' due to existing import 'java.security.MessageDigest' | +876 |
| Avoid using a branching statement as the last in a loop. | +1141 |
| Unnecessary use of fully qualified name 'java.sql.Driver' due to existing import 'java.sql.Driver' | +1226 |
| Unnecessary use of fully qualified name 'java.util.Properties' due to existing import 'java.util.Properties' | +1240 |
URI
--
-
- site:
/projects/hibernate-maven-plugin/1.1.0/skip.html
- - canonical:
/hibernate-maven-plugin/skip.html
- - relative:
skip.html
-
Path
--
- --
Skipping Execution
In most use-cases, the hibernate4-maven-plugin is used to create a
@@ -415,287 +37,76 @@
export-goal, even if the tests are skipped you can configure that explicitly,
by setting the configuration-parameter skip to false:
-<plugin> - <groupId>de.juplo</groupId> - <artifactId>hibernate4-maven-plugin</artifactId> + +++{{< highlight guess >}} +++ de.juplo +hibernate4-maven-plugin ... - <configuration> - <skip>false</skip> - </configuration> -</plugin>+ + + +{{< /highlight >}}false +
Or, if you want the export-goal to be executed by default and to be skipped
if you say so, you can bind the value of the configuration-parameter
skip to a custom property. For example:
-<plugin> - <groupId>de.juplo</groupId> - <artifactId>hibernate4-maven-plugin</artifactId> + +++{{< highlight guess >}} +++ de.juplo +hibernate4-maven-plugin ... - <configuration> - <skip>${foo.bar}</skip> - </configuration> -</plugin>+ + + +{{< /highlight >}}${foo.bar} +
This way, the export-goal would be skipped, if you set the property
foo.bar to true. For example, if you specify -Dfoo.bar=true
on the command-line.
-
Page Structure as JSON
-
-{
- "_titles": {
- "/projects/hibernate-maven-plugin/1.1.0/index.html": "Hibernate 4 Maven Plugin",
- "/projects/hibernate-maven-plugin/1.1.0/ci-management.html": "CI Management",
- "/projects/hibernate-maven-plugin/1.1.0/dependencies.html": "Dependencies",
- "/projects/hibernate-maven-plugin/1.1.0/dependency-info.html": "Maven Coordinates",
- "/projects/hibernate-maven-plugin/1.1.0/distribution-management.html": "Distribution Management",
- "/projects/hibernate-maven-plugin/1.1.0/licenses.html": "Licenses",
- "/projects/hibernate-maven-plugin/1.1.0/plugin-management.html": "Plugin Management",
- "/projects/hibernate-maven-plugin/1.1.0/plugins.html": "Plugins",
- "/projects/hibernate-maven-plugin/1.1.0/scm.html": "Source Code Management",
- "/projects/hibernate-maven-plugin/1.1.0/summary.html": "Summary",
- "/projects/hibernate-maven-plugin/1.1.0/team.html": "Team",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html": "Project Information",
- "/projects/hibernate-maven-plugin/1.1.0/testapidocs/index.html": "Test JavaDocs",
- "/projects/hibernate-maven-plugin/1.1.0/apidocs/index.html": "JavaDocs",
- "/projects/hibernate-maven-plugin/1.1.0/xref/index.html": "Source Xref",
- "/projects/hibernate-maven-plugin/1.1.0/xref-test/index.html": "Test Source Xref",
- "/projects/hibernate-maven-plugin/1.1.0/pmd.html": "PMD",
- "/projects/hibernate-maven-plugin/1.1.0/plugin-info.html": "Plugin Documentation",
- "/projects/hibernate-maven-plugin/1.1.0/project-reports.html": "Project Reports",
- "/projects/hibernate-maven-plugin/1.1.0/index.html?about": "Overview",
- "/projects/hibernate-maven-plugin/1.1.0/configuration.html": "Configuration Examples",
- "/projects/hibernate-maven-plugin/1.1.0/export-mojo.html": "Parameter Documentation",
- "/projects/hibernate-maven-plugin/1.1.0/debugging.html": "Enable Debug-Output",
- "/projects/hibernate-maven-plugin/1.1.0/skip.html": "Skipping Execution",
- "/projects/hibernate-maven-plugin/1.1.0/force.html": "Force Exceution",
- "/projects/hibernate-maven-plugin/1.1.0/pitfalls.html": "Known Pitfalls (FAQ)"
- },
- "_childs": {
- "/projects/hibernate-maven-plugin/1.1.0/index.html": [
- "/projects/hibernate-maven-plugin/1.1.0/index.html?about",
- "/projects/hibernate-maven-plugin/1.1.0/configuration.html",
- "/projects/hibernate-maven-plugin/1.1.0/export-mojo.html",
- "/projects/hibernate-maven-plugin/1.1.0/debugging.html",
- "/projects/hibernate-maven-plugin/1.1.0/skip.html",
- "/projects/hibernate-maven-plugin/1.1.0/force.html",
- "/projects/hibernate-maven-plugin/1.1.0/pitfalls.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html": [
- "/projects/hibernate-maven-plugin/1.1.0/ci-management.html",
- "/projects/hibernate-maven-plugin/1.1.0/dependencies.html",
- "/projects/hibernate-maven-plugin/1.1.0/dependency-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/distribution-management.html",
- "/projects/hibernate-maven-plugin/1.1.0/licenses.html",
- "/projects/hibernate-maven-plugin/1.1.0/plugin-management.html",
- "/projects/hibernate-maven-plugin/1.1.0/plugins.html",
- "/projects/hibernate-maven-plugin/1.1.0/scm.html",
- "/projects/hibernate-maven-plugin/1.1.0/summary.html",
- "/projects/hibernate-maven-plugin/1.1.0/team.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/project-reports.html": [
- "/projects/hibernate-maven-plugin/1.1.0/testapidocs/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/apidocs/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/xref/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/xref-test/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/pmd.html",
- "/projects/hibernate-maven-plugin/1.1.0/plugin-info.html"
- ]
- },
- "_crumbs": {
- "/projects/hibernate-maven-plugin/1.1.0/index.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/ci-management.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/ci-management.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/dependencies.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/dependencies.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/dependency-info.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/dependency-info.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/distribution-management.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/distribution-management.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/licenses.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/licenses.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/plugin-management.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/plugin-management.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/plugins.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/plugins.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/scm.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/scm.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/summary.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/summary.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/team.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/team.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/testapidocs/index.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-reports.html",
- "/projects/hibernate-maven-plugin/1.1.0/testapidocs/index.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/apidocs/index.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-reports.html",
- "/projects/hibernate-maven-plugin/1.1.0/apidocs/index.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/xref/index.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-reports.html",
- "/projects/hibernate-maven-plugin/1.1.0/xref/index.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/xref-test/index.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-reports.html",
- "/projects/hibernate-maven-plugin/1.1.0/xref-test/index.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/pmd.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-reports.html",
- "/projects/hibernate-maven-plugin/1.1.0/pmd.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/plugin-info.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-reports.html",
- "/projects/hibernate-maven-plugin/1.1.0/plugin-info.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/project-reports.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-reports.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/index.html?about": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html?about"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/configuration.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/configuration.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/export-mojo.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/export-mojo.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/debugging.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/debugging.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/skip.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/skip.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/force.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/force.html"
- ],
- "/projects/hibernate-maven-plugin/1.1.0/pitfalls.html": [
- "/index.html","/projects.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/pitfalls.html"
- ]
- },
- "_canonical": {
- "/projects/hibernate-maven-plugin/1.1.0/index.html": "/hibernate-maven-plugin/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/ci-management.html": "/hibernate-maven-plugin/ci-management.html",
- "/projects/hibernate-maven-plugin/1.1.0/dependencies.html": "/hibernate-maven-plugin/dependencies.html",
- "/projects/hibernate-maven-plugin/1.1.0/dependency-info.html": "/hibernate-maven-plugin/dependency-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/distribution-management.html": "/hibernate-maven-plugin/distribution-management.html",
- "/projects/hibernate-maven-plugin/1.1.0/licenses.html": "/hibernate-maven-plugin/licenses.html",
- "/projects/hibernate-maven-plugin/1.1.0/plugin-management.html": "/hibernate-maven-plugin/plugin-management.html",
- "/projects/hibernate-maven-plugin/1.1.0/plugins.html": "/hibernate-maven-plugin/plugins.html",
- "/projects/hibernate-maven-plugin/1.1.0/scm.html": "/hibernate-maven-plugin/scm.html",
- "/projects/hibernate-maven-plugin/1.1.0/summary.html": "/hibernate-maven-plugin/summary.html",
- "/projects/hibernate-maven-plugin/1.1.0/team.html": "/hibernate-maven-plugin/team.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-info.html": "/hibernate-maven-plugin/project-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/testapidocs/index.html": "/hibernate-maven-plugin/testapidocs/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/apidocs/index.html": "/hibernate-maven-plugin/apidocs/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/xref/index.html": "/hibernate-maven-plugin/xref/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/xref-test/index.html": "/hibernate-maven-plugin/xref-test/index.html",
- "/projects/hibernate-maven-plugin/1.1.0/pmd.html": "/hibernate-maven-plugin/pmd.html",
- "/projects/hibernate-maven-plugin/1.1.0/plugin-info.html": "/hibernate-maven-plugin/plugin-info.html",
- "/projects/hibernate-maven-plugin/1.1.0/project-reports.html": "/hibernate-maven-plugin/project-reports.html",
- "/projects/hibernate-maven-plugin/1.1.0/index.html?about": "/hibernate-maven-plugin/index.html?about",
- "/projects/hibernate-maven-plugin/1.1.0/configuration.html": "/hibernate-maven-plugin/configuration.html",
- "/projects/hibernate-maven-plugin/1.1.0/export-mojo.html": "/hibernate-maven-plugin/export-mojo.html",
- "/projects/hibernate-maven-plugin/1.1.0/debugging.html": "/hibernate-maven-plugin/debugging.html",
- "/projects/hibernate-maven-plugin/1.1.0/skip.html": "/hibernate-maven-plugin/skip.html",
- "/projects/hibernate-maven-plugin/1.1.0/force.html": "/hibernate-maven-plugin/force.html",
- "/projects/hibernate-maven-plugin/1.1.0/pitfalls.html": "/hibernate-maven-plugin/pitfalls.html"
- }
-}
-
- All Pages
--
-
-
- Hibernate 4 Maven Plugin
- CI Management
- Dependencies
- Maven Coordinates
- Distribution Management
- Licenses
- Plugin Management
- Plugins
- Source Code Management
- Summary
- Team
- Project Information
- Test JavaDocs
- JavaDocs
- Source Xref
- Test Source Xref
- PMD
- Plugin Documentation
- Project Reports
- Overview
- Configuration Examples
- Parameter Documentation
- Enable Debug-Output
- Skipping Execution
- Force Exceution
- Known Pitfalls (FAQ)
All Classes
+ + + diff --git a/static/hibernate4-maven-plugin-1.1.0/apidocs/allclasses-noframe.html b/static/hibernate4-maven-plugin-1.1.0/apidocs/allclasses-noframe.html new file mode 100644 index 00000000..030c9112 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.1.0/apidocs/allclasses-noframe.html @@ -0,0 +1,23 @@ + + + + + + +All Classes
+ + + diff --git a/static/hibernate4-maven-plugin-1.1.0/apidocs/constant-values.html b/static/hibernate4-maven-plugin-1.1.0/apidocs/constant-values.html new file mode 100644 index 00000000..eb1dc200 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.1.0/apidocs/constant-values.html @@ -0,0 +1,239 @@ + + + + + + +de.juplo.*
+-
+
-
+
+
+de.juplo.plugins.hibernate4.Hbm2DdlMojo ++ + +Modifier and Type +Constant Field +Value ++ ++ + +public static final java.lang.String +DIALECT +"hibernate.dialect"+ ++ + +public static final java.lang.String +DRIVER_CLASS +"hibernate.connection.driver_class"+ ++ + +public static final java.lang.String +ENVERS +"hibernate.export.envers"+ ++ + +public static final java.lang.String +EXPORT_SKIPPED_PROPERTY +"hibernate.export.skipped"+ ++ + +public static final java.lang.String +JPA_DRIVER +"javax.persistence.jdbc.driver"+ ++ + +public static final java.lang.String +JPA_PASSWORD +"javax.persistence.jdbc.password"+ ++ + +public static final java.lang.String +JPA_URL +"javax.persistence.jdbc.url"+ ++ + +public static final java.lang.String +JPA_USERNAME +"javax.persistence.jdbc.user"+ ++ + +public static final java.lang.String +MD5S +"hibernate4-generatedschema.md5s"+ ++ + +public static final java.lang.String +NAMING_STRATEGY +"hibernate.ejb.naming_strategy"+ ++ + +public static final java.lang.String +PASSWORD +"hibernate.connection.password"+ ++ + +public static final java.lang.String +URL +"hibernate.connection.url"+ + ++ + +public static final java.lang.String +USERNAME +"hibernate.connection.username"
+
Copyright © 2026. All Rights Reserved.
+ + diff --git a/static/hibernate4-maven-plugin-1.1.0/apidocs/de/juplo/plugins/hibernate4/Hbm2DdlMojo.html b/static/hibernate4-maven-plugin-1.1.0/apidocs/de/juplo/plugins/hibernate4/Hbm2DdlMojo.html new file mode 100644 index 00000000..84ea1a08 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.1.0/apidocs/de/juplo/plugins/hibernate4/Hbm2DdlMojo.html @@ -0,0 +1,549 @@ + + + + + + +Class Hbm2DdlMojo
+-
+
- java.lang.Object +
-
+
-
+
- org.apache.maven.plugin.AbstractMojo +
-
+
-
+
- de.juplo.plugins.hibernate4.Hbm2DdlMojo +
+
+
-
+
-
+
-
+
- All Implemented Interfaces: +
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo +
+
+public class Hbm2DdlMojo +extends org.apache.maven.plugin.AbstractMojo+Goal which extracts the hibernate-mapping-configuration and + exports an according SQL-database-schema.+
+
-
+
-
+
+
-
+
-
+
+
+
Field Summary
++
+Fields ++ +Modifier and Type +Field and Description ++ + +static java.lang.String +DIALECT+ + +static java.lang.String +DRIVER_CLASS+ + +static java.lang.String +ENVERS+ + +static java.lang.String +EXPORT_SKIPPED_PROPERTY+ + +static java.lang.String +JPA_DRIVER+ + +static java.lang.String +JPA_PASSWORD+ + +static java.lang.String +JPA_URL+ + +static java.lang.String +JPA_USERNAME+ + +static java.lang.String +MD5S+ + +static java.lang.String +NAMING_STRATEGY+ + +static java.lang.String +PASSWORD+ + +static java.lang.String +URL+ + +static java.lang.String +USERNAME-
+
-
+
+
+
Fields inherited from interface org.apache.maven.plugin.Mojo
+ROLE
+
+ -
+
+
+
-
+
-
+
+
+
Constructor Summary
++
+Constructors ++ +Constructor and Description ++ + +Hbm2DdlMojo()
+
-
+
-
+
+
+
Method Summary
++
+All Methods Instance Methods Concrete Methods ++ +Modifier and Type +Method and Description ++ + +void +execute()-
+
-
+
+
+
Methods inherited from class org.apache.maven.plugin.AbstractMojo
+getLog, getPluginContext, setLog, setPluginContext
+
-
+
-
+
+
+
Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+ -
+
+
+
+ -
+
+
+
-
+
-
+
+
-
+
-
+
+
+
Field Detail
+ + + +-
+
-
+
EXPORT_SKIPPED_PROPERTY
+public static final java.lang.String EXPORT_SKIPPED_PROPERTY
+-
+
- See Also: +
- Constant Field Values +
+
-
+
-
+
DRIVER_CLASS
+public static final java.lang.String DRIVER_CLASS
+-
+
- See Also: +
- Constant Field Values +
+
-
+
-
+
URL
+public static final java.lang.String URL
+-
+
- See Also: +
- Constant Field Values +
+
-
+
-
+
USERNAME
+public static final java.lang.String USERNAME
+-
+
- See Also: +
- Constant Field Values +
+
-
+
-
+
PASSWORD
+public static final java.lang.String PASSWORD
+-
+
- See Also: +
- Constant Field Values +
+
-
+
-
+
DIALECT
+public static final java.lang.String DIALECT
+-
+
- See Also: +
- Constant Field Values +
+
-
+
-
+
NAMING_STRATEGY
+public static final java.lang.String NAMING_STRATEGY
+-
+
- See Also: +
- Constant Field Values +
+
-
+
-
+
ENVERS
+public static final java.lang.String ENVERS
+-
+
- See Also: +
- Constant Field Values +
+
-
+
-
+
JPA_DRIVER
+public static final java.lang.String JPA_DRIVER
+-
+
- See Also: +
- Constant Field Values +
+
-
+
-
+
JPA_URL
+public static final java.lang.String JPA_URL
+-
+
- See Also: +
- Constant Field Values +
+
-
+
-
+
JPA_USERNAME
+public static final java.lang.String JPA_USERNAME
+-
+
- See Also: +
- Constant Field Values +
+
-
+
-
+
JPA_PASSWORD
+public static final java.lang.String JPA_PASSWORD
+-
+
- See Also: +
- Constant Field Values +
+
-
+
-
+
MD5S
+public static final java.lang.String MD5S
+-
+
- See Also: +
- Constant Field Values +
+
+ -
+
+ -
+
+
+
Copyright © 2026. All Rights Reserved.
+ + diff --git a/static/hibernate4-maven-plugin-1.1.0/apidocs/de/juplo/plugins/hibernate4/HelpMojo.html b/static/hibernate4-maven-plugin-1.1.0/apidocs/de/juplo/plugins/hibernate4/HelpMojo.html new file mode 100644 index 00000000..32377f58 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.1.0/apidocs/de/juplo/plugins/hibernate4/HelpMojo.html @@ -0,0 +1,315 @@ + + + + + + +Class HelpMojo
+-
+
- java.lang.Object +
-
+
-
+
- org.apache.maven.plugin.AbstractMojo +
-
+
-
+
- de.juplo.plugins.hibernate4.HelpMojo +
+
+
-
+
-
+
-
+
- All Implemented Interfaces: +
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo +
+
+public class HelpMojo +extends org.apache.maven.plugin.AbstractMojo+Display help information on hibernate4-maven-plugin.+
+ Callmvn hibernate4:help -Ddetail=true -Dgoal=<goal-name>to display parameter details.-
+
- Author: +
- maven-plugin-tools +
+
-
+
-
+
+
-
+
-
+
+
+
Field Summary
+-
+
-
+
+
+
Fields inherited from interface org.apache.maven.plugin.Mojo
+ROLE
+
+ -
+
+
+
-
+
-
+
+
+
Method Summary
++
+All Methods Instance Methods Concrete Methods ++ +Modifier and Type +Method and Description ++ + +void +execute()-
+
-
+
+
+
Methods inherited from class org.apache.maven.plugin.AbstractMojo
+getLog, getPluginContext, setLog, setPluginContext
+
-
+
-
+
+
+
Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+ -
+
+
+
+ -
+
+
+
Copyright © 2026. All Rights Reserved.
+ + diff --git a/static/hibernate4-maven-plugin-1.1.0/apidocs/de/juplo/plugins/hibernate4/ValidationConfiguration.html b/static/hibernate4-maven-plugin-1.1.0/apidocs/de/juplo/plugins/hibernate4/ValidationConfiguration.html new file mode 100644 index 00000000..99746e8a --- /dev/null +++ b/static/hibernate4-maven-plugin-1.1.0/apidocs/de/juplo/plugins/hibernate4/ValidationConfiguration.html @@ -0,0 +1,355 @@ + + + + + + +Class ValidationConfiguration
+-
+
- java.lang.Object +
-
+
-
+
- org.hibernate.cfg.Configuration +
-
+
-
+
- de.juplo.plugins.hibernate4.ValidationConfiguration +
+
+
-
+
-
+
-
+
- All Implemented Interfaces: +
- java.io.Serializable +
+
+public class ValidationConfiguration +extends org.hibernate.cfg.Configuration+This integration is usually performed by BeanValidationIntegrator. + Unfortunately, that integration will only be activated upon + initialization of the ServiceRegistry, which initializes + DatasourceConnectionProviderImpl, which looks up the datasource, + which requires a JNDI context ... + We therefore reimplement the relevant parts of BeanValidatorIntegrator. + Since that must occur after secondPassCompile(), which is invoked by + Configuration.generateSchemaCreationScript, which is invoked by + SchemaExport, some fancy subclassing is needed to invoke the integration + at the right time.+-
+
- Author: +
- Mark Robinson , Frank Schimmel
- See Also: +
- Serialized Form +
+
-
+
-
+
+
-
+
-
+
+
+
Nested Class Summary
+-
+
-
+
+
+
Nested classes/interfaces inherited from class org.hibernate.cfg.Configuration
+org.hibernate.cfg.Configuration.MappingsImpl, org.hibernate.cfg.Configuration.MetadataSourceQueue
+
+ -
+
+
+
-
+
-
+
+
+
Field Summary
+-
+
-
+
+
+
Fields inherited from class org.hibernate.cfg.Configuration
+ARTEFACT_PROCESSING_ORDER, auxiliaryDatabaseObjects, classes, collections, columnNameBindingPerTable, DEFAULT_ARTEFACT_PROCESSING_ORDER, DEFAULT_CACHE_CONCURRENCY_STRATEGY, extendsQueue, fetchProfiles, filterDefinitions, imports, metadataSourceQueue, namedEntityGraphMap, namedProcedureCallMap, namedQueries, namedSqlQueries, propertyReferences, secondPasses, settingsFactory, sqlFunctions, sqlResultSetMappings, tableNameBinding, tables, typeDefs, USE_NEW_ID_GENERATOR_MAPPINGS, xmlHelper
+
+ -
+
+
+
-
+
-
+
+
+
Constructor Summary
++
+Constructors ++ +Constructor and Description ++ + +ValidationConfiguration()
+
-
+
-
+
+
+
Method Summary
++
+All Methods Instance Methods Concrete Methods ++ +Modifier and Type +Method and Description ++ + +java.lang.String +getTypeDefs()+ + +protected void +secondPassCompile()-
+
-
+
+
+
Methods inherited from class org.hibernate.cfg.Configuration
+add, addAnnotatedClass, addAttributeConverter, addAttributeConverter, addAttributeConverter, addAttributeConverter, addAttributeConverter, addAuxiliaryDatabaseObject, addCacheableFile, addCacheableFile, addCacheableFileStrictly, addClass, addDirectory, addDocument, addFetchProfile, addFile, addFile, addFilterDefinition, addInputStream, addJar, addPackage, addProperties, addResource, addResource, addSqlFunction, addURL, addXML, buildMapping, buildMappings, buildSessionFactory, buildSessionFactory, buildSettings, buildSettings, configure, configure, configure, configure, configure, createMappings, doConfigure, doConfigure, findPossibleExtends, generateDropSchemaScript, generateSchemaCreationScript, generateSchemaUpdateScript, generateSchemaUpdateScriptList, getClassMapping, getClassMappings, getCollectionMapping, getCollectionMappings, getConfigurationInputStream, getCurrentTenantIdentifierResolver, getEntityNotFoundDelegate, getEntityResolver, getEntityTuplizerFactory, getFilterDefinitions, getIdentifierGeneratorFactory, getImports, getInterceptor, getJaccPermissionDeclarations, getMappedSuperclassMappings, getMappedSuperclassMappingsCopy, getNamedEntityGraphs, getNamedProcedureCallMap, getNamedQueries, getNamedSQLQueries, getNamingStrategy, getNamingStrategyDelegator, getProperties, getProperty, getReflectionManager, getSessionFactoryObserver, getSqlFunctions, getSqlResultSetMappings, getTableMappings, getTypeResolver, iterateFetchProfiles, iterateGenerators, mergeProperties, registerTypeContributor, registerTypeOverride, registerTypeOverride, registerTypeOverride, reset, secondPassCompileForeignKeys, setCacheConcurrencyStrategy, setCacheConcurrencyStrategy, setCacheConcurrencyStrategy, setCollectionCacheConcurrencyStrategy, setCollectionCacheConcurrencyStrategy, setCurrentTenantIdentifierResolver, setEntityNotFoundDelegate, setEntityResolver, setInterceptor, setNamingStrategy, setNamingStrategyDelegator, setPrecedence, setProperties, setProperty, setSessionFactoryObserver, validateSchema
+
-
+
-
+
+
+
Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+ -
+
+
+
+ -
+
+
+
-
+
-
+
+
-
+
-
+
+
+
Constructor Detail
+ + + +-
+
-
+
ValidationConfiguration
+public ValidationConfiguration()
+
+
+ -
+
-
+
-
+
+
+
Method Detail
+ + + +-
+
-
+
secondPassCompile
+protected void secondPassCompile() + throws org.hibernate.metamodel.source.MappingException
+-
+
- Overrides: +
secondPassCompilein classorg.hibernate.cfg.Configuration
+- Throws: +
org.hibernate.metamodel.source.MappingException
+
+
-
+
-
+
getTypeDefs
+public java.lang.String getTypeDefs()
+
+
+ -
+
+ -
+
+
+
Copyright © 2026. All Rights Reserved.
+ + diff --git a/static/hibernate4-maven-plugin-1.1.0/apidocs/de/juplo/plugins/hibernate4/class-use/Hbm2DdlMojo.html b/static/hibernate4-maven-plugin-1.1.0/apidocs/de/juplo/plugins/hibernate4/class-use/Hbm2DdlMojo.html new file mode 100644 index 00000000..7a9fd68f --- /dev/null +++ b/static/hibernate4-maven-plugin-1.1.0/apidocs/de/juplo/plugins/hibernate4/class-use/Hbm2DdlMojo.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class
de.juplo.plugins.hibernate4.Hbm2DdlMojo
+Copyright © 2026. All Rights Reserved.
+ + diff --git a/static/hibernate4-maven-plugin-1.1.0/apidocs/de/juplo/plugins/hibernate4/class-use/HelpMojo.html b/static/hibernate4-maven-plugin-1.1.0/apidocs/de/juplo/plugins/hibernate4/class-use/HelpMojo.html new file mode 100644 index 00000000..00a35ec4 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.1.0/apidocs/de/juplo/plugins/hibernate4/class-use/HelpMojo.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class
de.juplo.plugins.hibernate4.HelpMojo
+Copyright © 2026. All Rights Reserved.
+ + diff --git a/static/hibernate4-maven-plugin-1.1.0/apidocs/de/juplo/plugins/hibernate4/class-use/ValidationConfiguration.html b/static/hibernate4-maven-plugin-1.1.0/apidocs/de/juplo/plugins/hibernate4/class-use/ValidationConfiguration.html new file mode 100644 index 00000000..976b2de5 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.1.0/apidocs/de/juplo/plugins/hibernate4/class-use/ValidationConfiguration.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class
de.juplo.plugins.hibernate4.ValidationConfiguration
+Copyright © 2026. All Rights Reserved.
+ + diff --git a/static/hibernate4-maven-plugin-1.1.0/apidocs/de/juplo/plugins/hibernate4/package-frame.html b/static/hibernate4-maven-plugin-1.1.0/apidocs/de/juplo/plugins/hibernate4/package-frame.html new file mode 100644 index 00000000..f302540c --- /dev/null +++ b/static/hibernate4-maven-plugin-1.1.0/apidocs/de/juplo/plugins/hibernate4/package-frame.html @@ -0,0 +1,23 @@ + + + + + + +de.juplo.plugins.hibernate4
+Classes
+ +Package de.juplo.plugins.hibernate4
+-
+
-
+
+
+Class Summary ++ + +Class +Description ++ +Hbm2DdlMojo ++ +Goal which extracts the hibernate-mapping-configuration and + exports an according SQL-database-schema.++ +HelpMojo ++ +Display help information on hibernate4-maven-plugin.+
+ Callmvn hibernate4:help -Ddetail=true -Dgoal=<goal-name>to display parameter details.+ + +ValidationConfiguration ++ +This integration is usually performed by BeanValidationIntegrator.+
+
Copyright © 2026. All Rights Reserved.
+ + diff --git a/static/hibernate4-maven-plugin-1.1.0/apidocs/de/juplo/plugins/hibernate4/package-tree.html b/static/hibernate4-maven-plugin-1.1.0/apidocs/de/juplo/plugins/hibernate4/package-tree.html new file mode 100644 index 00000000..95fdb9c2 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.1.0/apidocs/de/juplo/plugins/hibernate4/package-tree.html @@ -0,0 +1,149 @@ + + + + + + +Class Hierarchy
+-
+
- java.lang.Object
+
-
+
- org.apache.maven.plugin.AbstractMojo (implements org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo)
+
-
+
- de.juplo.plugins.hibernate4.Hbm2DdlMojo +
- de.juplo.plugins.hibernate4.HelpMojo +
+ - org.hibernate.cfg.Configuration (implements java.io.Serializable)
+
-
+
- de.juplo.plugins.hibernate4.ValidationConfiguration +
+
+ - org.apache.maven.plugin.AbstractMojo (implements org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo)
+
Copyright © 2026. All Rights Reserved.
+ + diff --git a/static/hibernate4-maven-plugin-1.1.0/apidocs/de/juplo/plugins/hibernate4/package-use.html b/static/hibernate4-maven-plugin-1.1.0/apidocs/de/juplo/plugins/hibernate4/package-use.html new file mode 100644 index 00000000..bfa79521 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.1.0/apidocs/de/juplo/plugins/hibernate4/package-use.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Package
de.juplo.plugins.hibernate4
+Copyright © 2026. All Rights Reserved.
+ + diff --git a/static/hibernate4-maven-plugin-1.1.0/apidocs/deprecated-list.html b/static/hibernate4-maven-plugin-1.1.0/apidocs/deprecated-list.html new file mode 100644 index 00000000..103fae47 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.1.0/apidocs/deprecated-list.html @@ -0,0 +1,126 @@ + + + + + + +Deprecated API
+Contents
+Copyright © 2026. All Rights Reserved.
+ + diff --git a/static/hibernate4-maven-plugin-1.1.0/apidocs/help-doc.html b/static/hibernate4-maven-plugin-1.1.0/apidocs/help-doc.html new file mode 100644 index 00000000..b16b538c --- /dev/null +++ b/static/hibernate4-maven-plugin-1.1.0/apidocs/help-doc.html @@ -0,0 +1,231 @@ + + + + + + +How This API Document Is Organized
+-
+
-
+
Overview
+The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.
+
+ -
+
Package
+Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:
+-
+
- Interfaces (italic) +
- Classes +
- Enums +
- Exceptions +
- Errors +
- Annotation Types +
+ -
+
Class/Interface
+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:
+-
+
- Class inheritance diagram +
- Direct Subclasses +
- All Known Subinterfaces +
- All Known Implementing Classes +
- Class/interface declaration +
- Class/interface description +
-
+
- Nested Class Summary +
- Field Summary +
- Constructor Summary +
- Method Summary +
-
+
- Field Detail +
- Constructor Detail +
- Method Detail +
Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+
+ -
+
Annotation Type
+Each annotation type has its own separate page with the following sections:
+-
+
- Annotation Type declaration +
- Annotation Type description +
- Required Element Summary +
- Optional Element Summary +
- Element Detail +
+ -
+
Enum
+Each enum has its own separate page with the following sections:
+-
+
- Enum declaration +
- Enum description +
- Enum Constant Summary +
- Enum Constant Detail +
+ -
+
Use
+Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
+
+ -
+
Tree (Class Hierarchy)
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with
+java.lang.Object. The interfaces do not inherit fromjava.lang.Object.-
+
- When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages. +
- When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package. +
+ -
+
Deprecated API
+The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
+
+ -
+
Index
+The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
+
+ -
+
Prev/Next
+These links take you to the next or previous class, interface, package, or related page.
+
+ -
+
Frames/No Frames
+These links show and hide the HTML frames. All pages are available with or without frames.
+
+ -
+
All Classes
+The All Classes link shows all classes and interfaces except non-static nested types.
+
+ -
+
Serialized Form
+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.
+
+ -
+
Constant Field Values
+The Constant Field Values page lists the static final fields and their values.
+
+
Copyright © 2026. All Rights Reserved.
+ + diff --git a/static/hibernate4-maven-plugin-1.1.0/apidocs/index-all.html b/static/hibernate4-maven-plugin-1.1.0/apidocs/index-all.html new file mode 100644 index 00000000..45085fa3 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.1.0/apidocs/index-all.html @@ -0,0 +1,265 @@ + + + + + + +D
+-
+
- de.juplo.plugins.hibernate4 - package de.juplo.plugins.hibernate4 +
- +
- DIALECT - Static variable in class de.juplo.plugins.hibernate4.Hbm2DdlMojo +
- +
- DRIVER_CLASS - Static variable in class de.juplo.plugins.hibernate4.Hbm2DdlMojo +
- +
E
+-
+
- ENVERS - Static variable in class de.juplo.plugins.hibernate4.Hbm2DdlMojo +
- +
- execute() - Method in class de.juplo.plugins.hibernate4.Hbm2DdlMojo +
- +
- execute() - Method in class de.juplo.plugins.hibernate4.HelpMojo +
- EXPORT_SKIPPED_PROPERTY - Static variable in class de.juplo.plugins.hibernate4.Hbm2DdlMojo +
- +
G
+-
+
- getTypeDefs() - Method in class de.juplo.plugins.hibernate4.ValidationConfiguration +
- +
H
+-
+
- Hbm2DdlMojo - Class in de.juplo.plugins.hibernate4 +
-
+Goal which extracts the hibernate-mapping-configuration and + exports an according SQL-database-schema.+
+
- Hbm2DdlMojo() - Constructor for class de.juplo.plugins.hibernate4.Hbm2DdlMojo +
- +
- HelpMojo - Class in de.juplo.plugins.hibernate4 +
-
+Display help information on hibernate4-maven-plugin.+
+ Callmvn hibernate4:help -Ddetail=true -Dgoal=<goal-name>to display parameter details.
+ - HelpMojo() - Constructor for class de.juplo.plugins.hibernate4.HelpMojo +
- +
J
+-
+
- JPA_DRIVER - Static variable in class de.juplo.plugins.hibernate4.Hbm2DdlMojo +
- +
- JPA_PASSWORD - Static variable in class de.juplo.plugins.hibernate4.Hbm2DdlMojo +
- +
- JPA_URL - Static variable in class de.juplo.plugins.hibernate4.Hbm2DdlMojo +
- +
- JPA_USERNAME - Static variable in class de.juplo.plugins.hibernate4.Hbm2DdlMojo +
- +
M
+-
+
- MD5S - Static variable in class de.juplo.plugins.hibernate4.Hbm2DdlMojo +
- +
N
+-
+
- NAMING_STRATEGY - Static variable in class de.juplo.plugins.hibernate4.Hbm2DdlMojo +
- +
O
+-
+
- org.hibernate.cfg.beanvalidation - package org.hibernate.cfg.beanvalidation +
- +
P
+-
+
- PASSWORD - Static variable in class de.juplo.plugins.hibernate4.Hbm2DdlMojo +
- +
S
+-
+
- secondPassCompile() - Method in class de.juplo.plugins.hibernate4.ValidationConfiguration +
- +
T
+-
+
- TypeSafeActivatorAccessor - Class in org.hibernate.cfg.beanvalidation +
-
+This class enables access to the public methods of+
TypeSafeActivator+ which itself is visible in the package only.
+ - TypeSafeActivatorAccessor() - Constructor for class org.hibernate.cfg.beanvalidation.TypeSafeActivatorAccessor +
- +
U
+-
+
- URL - Static variable in class de.juplo.plugins.hibernate4.Hbm2DdlMojo +
- +
- USERNAME - Static variable in class de.juplo.plugins.hibernate4.Hbm2DdlMojo +
- +
V
+-
+
- ValidationConfiguration - Class in de.juplo.plugins.hibernate4 +
-
+This integration is usually performed by BeanValidationIntegrator.+
+
- ValidationConfiguration() - Constructor for class de.juplo.plugins.hibernate4.ValidationConfiguration +
- +
Copyright © 2026. All Rights Reserved.
+ + diff --git a/static/hibernate4-maven-plugin-1.1.0/apidocs/index.html b/static/hibernate4-maven-plugin-1.1.0/apidocs/index.html new file mode 100644 index 00000000..4137733e --- /dev/null +++ b/static/hibernate4-maven-plugin-1.1.0/apidocs/index.html @@ -0,0 +1,76 @@ + + + + + + +Class TypeSafeActivatorAccessor
+-
+
- java.lang.Object +
-
+
-
+
- org.hibernate.cfg.beanvalidation.TypeSafeActivatorAccessor +
+
-
+
-
+
+
+public class TypeSafeActivatorAccessor +extends java.lang.Object+This class enables access to the public methods of+TypeSafeActivator+ which itself is visible in the package only.-
+
- Author: +
- Frank Schimmel
+
-
+
-
+
+
-
+
-
+
+
+
Constructor Summary
++
+Constructors ++ +Constructor and Description ++ + +TypeSafeActivatorAccessor()
+
-
+
-
+
+
+
Method Summary
++
+All Methods Static Methods Concrete Methods ++ +Modifier and Type +Method and Description ++ + +static void +activate(org.hibernate.cfg.beanvalidation.ActivationContext arg0)+ + +static void +applyCallbackListeners(javax.validation.ValidatorFactory arg0, + org.hibernate.cfg.beanvalidation.ActivationContext arg1)+ + +static void +applyRelationalConstraints(javax.validation.ValidatorFactory arg0, + java.util.Collection<org.hibernate.mapping.PersistentClass> arg1, + java.util.Properties arg2, + org.hibernate.dialect.Dialect arg3)+ + +static void +validateSuppliedFactory(java.lang.Object arg0)-
+
-
+
+
+
Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+ -
+
+
+
+ -
+
+
+
-
+
-
+
+
-
+
-
+
+
+
Constructor Detail
+ + + +-
+
-
+
TypeSafeActivatorAccessor
+public TypeSafeActivatorAccessor()
+
+
+ -
+
-
+
-
+
+
+
Method Detail
+ + + +-
+
-
+
validateSuppliedFactory
+public static void validateSuppliedFactory(java.lang.Object arg0)
+
+
-
+
-
+
activate
+public static void activate(org.hibernate.cfg.beanvalidation.ActivationContext arg0)
+
+
-
+
-
+
applyCallbackListeners
+public static void applyCallbackListeners(javax.validation.ValidatorFactory arg0, + org.hibernate.cfg.beanvalidation.ActivationContext arg1)
+
+
-
+
-
+
applyRelationalConstraints
+public static void applyRelationalConstraints(javax.validation.ValidatorFactory arg0, + java.util.Collection<org.hibernate.mapping.PersistentClass> arg1, + java.util.Properties arg2, + org.hibernate.dialect.Dialect arg3)
+
+
+ -
+
+ -
+
+
+
Copyright © 2026. All Rights Reserved.
+ + diff --git a/static/hibernate4-maven-plugin-1.1.0/apidocs/org/hibernate/cfg/beanvalidation/class-use/TypeSafeActivatorAccessor.html b/static/hibernate4-maven-plugin-1.1.0/apidocs/org/hibernate/cfg/beanvalidation/class-use/TypeSafeActivatorAccessor.html new file mode 100644 index 00000000..81224d95 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.1.0/apidocs/org/hibernate/cfg/beanvalidation/class-use/TypeSafeActivatorAccessor.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class
org.hibernate.cfg.beanvalidation.TypeSafeActivatorAccessor
+Copyright © 2026. All Rights Reserved.
+ + diff --git a/static/hibernate4-maven-plugin-1.1.0/apidocs/org/hibernate/cfg/beanvalidation/package-frame.html b/static/hibernate4-maven-plugin-1.1.0/apidocs/org/hibernate/cfg/beanvalidation/package-frame.html new file mode 100644 index 00000000..1c15ba5c --- /dev/null +++ b/static/hibernate4-maven-plugin-1.1.0/apidocs/org/hibernate/cfg/beanvalidation/package-frame.html @@ -0,0 +1,21 @@ + + + + + + +org.hibernate.cfg.beanvalidation
+Classes
+ +Package org.hibernate.cfg.beanvalidation
+-
+
-
+
+
+Class Summary ++ + +Class +Description ++ + +TypeSafeActivatorAccessor ++ +This class enables access to the public methods of+TypeSafeActivator+ which itself is visible in the package only.
+
Copyright © 2026. All Rights Reserved.
+ + diff --git a/static/hibernate4-maven-plugin-1.1.0/apidocs/org/hibernate/cfg/beanvalidation/package-tree.html b/static/hibernate4-maven-plugin-1.1.0/apidocs/org/hibernate/cfg/beanvalidation/package-tree.html new file mode 100644 index 00000000..bcb1def8 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.1.0/apidocs/org/hibernate/cfg/beanvalidation/package-tree.html @@ -0,0 +1,139 @@ + + + + + + +Class Hierarchy
+-
+
- java.lang.Object
+
-
+
- org.hibernate.cfg.beanvalidation.TypeSafeActivatorAccessor +
+
Copyright © 2026. All Rights Reserved.
+ + diff --git a/static/hibernate4-maven-plugin-1.1.0/apidocs/org/hibernate/cfg/beanvalidation/package-use.html b/static/hibernate4-maven-plugin-1.1.0/apidocs/org/hibernate/cfg/beanvalidation/package-use.html new file mode 100644 index 00000000..0aee51ee --- /dev/null +++ b/static/hibernate4-maven-plugin-1.1.0/apidocs/org/hibernate/cfg/beanvalidation/package-use.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Package
org.hibernate.cfg.beanvalidation
+Copyright © 2026. All Rights Reserved.
+ + diff --git a/static/hibernate4-maven-plugin-1.1.0/apidocs/overview-frame.html b/static/hibernate4-maven-plugin-1.1.0/apidocs/overview-frame.html new file mode 100644 index 00000000..ae18bc49 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.1.0/apidocs/overview-frame.html @@ -0,0 +1,23 @@ + + + + + + +Packages
+ ++ + diff --git a/static/hibernate4-maven-plugin-1.1.0/apidocs/overview-summary.html b/static/hibernate4-maven-plugin-1.1.0/apidocs/overview-summary.html new file mode 100644 index 00000000..58e52582 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.1.0/apidocs/overview-summary.html @@ -0,0 +1,144 @@ + + + + + + +
Hibernate 4 Maven Plugin 1.1.0 API
+| Package | +Description | +
|---|---|
| de.juplo.plugins.hibernate4 | ++ |
| org.hibernate.cfg.beanvalidation | ++ |
Copyright © 2026. All Rights Reserved.
+ + diff --git a/static/hibernate4-maven-plugin-1.1.0/apidocs/overview-tree.html b/static/hibernate4-maven-plugin-1.1.0/apidocs/overview-tree.html new file mode 100644 index 00000000..04a6fc82 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.1.0/apidocs/overview-tree.html @@ -0,0 +1,151 @@ + + + + + + +Hierarchy For All Packages
+Package Hierarchies: + +Class Hierarchy
+-
+
- java.lang.Object
+
-
+
- org.apache.maven.plugin.AbstractMojo (implements org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo)
+
-
+
- de.juplo.plugins.hibernate4.Hbm2DdlMojo +
- de.juplo.plugins.hibernate4.HelpMojo +
+ - org.hibernate.cfg.Configuration (implements java.io.Serializable)
+
-
+
- de.juplo.plugins.hibernate4.ValidationConfiguration +
+ - org.hibernate.cfg.beanvalidation.TypeSafeActivatorAccessor +
+ - org.apache.maven.plugin.AbstractMojo (implements org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo)
+
Copyright © 2026. All Rights Reserved.
+ + diff --git a/static/hibernate4-maven-plugin-1.1.0/apidocs/package-list b/static/hibernate4-maven-plugin-1.1.0/apidocs/package-list new file mode 100644 index 00000000..b80422d3 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.1.0/apidocs/package-list @@ -0,0 +1,2 @@ +de.juplo.plugins.hibernate4 +org.hibernate.cfg.beanvalidation diff --git a/static/hibernate4-maven-plugin-1.1.0/apidocs/script.js b/static/hibernate4-maven-plugin-1.1.0/apidocs/script.js new file mode 100644 index 00000000..b3463569 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.1.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/static/hibernate4-maven-plugin-1.1.0/apidocs/serialized-form.html b/static/hibernate4-maven-plugin-1.1.0/apidocs/serialized-form.html new file mode 100644 index 00000000..15f4eb34 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.1.0/apidocs/serialized-form.html @@ -0,0 +1,181 @@ + + + + + + +Serialized Form
+-
+
-
+
Package de.juplo.plugins.hibernate4
+-
+
-
+
+
+
Class de.juplo.plugins.hibernate4.ValidationConfiguration extends org.hibernate.cfg.Configuration implements Serializable
+-
+
- serialVersionUID: +
- 1L +
+
+ -
+
+
+
-
+
Package org.hibernate.cfg.beanvalidation
+-
+
-
+
+
+
Class org.hibernate.cfg.beanvalidation.BeanValidationEventListener extends java.lang.Object implements Serializable
+-
+
-
+
Serialized Fields
+-
+
-
+
factory
+javax.validation.ValidatorFactory factory
+
+ -
+
associationsPerEntityPersister
+java.util.concurrent.ConcurrentHashMap<K,V> associationsPerEntityPersister
+
+ -
+
groupsPerOperation
+org.hibernate.cfg.beanvalidation.GroupsPerOperation groupsPerOperation
+
+ -
+
initialized
+boolean initialized
+
+
+ -
+
+ -
+
-
+
+
+
Class org.hibernate.cfg.beanvalidation.IntegrationException extends org.hibernate.HibernateException implements Serializable
+
+
+ -
+
+
+
Copyright © 2026. All Rights Reserved.
+ + diff --git a/static/hibernate4-maven-plugin-1.1.0/apidocs/stylesheet.css b/static/hibernate4-maven-plugin-1.1.0/apidocs/stylesheet.css new file mode 100644 index 00000000..98055b22 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.1.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/static/hibernate4-maven-plugin-1.1.0/css/site.css b/static/hibernate4-maven-plugin-1.1.0/css/site.css new file mode 100644 index 00000000..055e7e28 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.1.0/css/site.css @@ -0,0 +1 @@ +/* You can override this file with your own styles */ \ No newline at end of file diff --git a/static/hibernate4-maven-plugin-1.1.0/images/close.gif b/static/hibernate4-maven-plugin-1.1.0/images/close.gif new file mode 100644 index 00000000..1c26bbc5 Binary files /dev/null and b/static/hibernate4-maven-plugin-1.1.0/images/close.gif differ diff --git a/static/hibernate4-maven-plugin-1.1.0/testapidocs/allclasses-frame.html b/static/hibernate4-maven-plugin-1.1.0/testapidocs/allclasses-frame.html new file mode 100644 index 00000000..a7acfdca --- /dev/null +++ b/static/hibernate4-maven-plugin-1.1.0/testapidocs/allclasses-frame.html @@ -0,0 +1,20 @@ + + + + + + +All Classes
+All Classes
+Constant Field Values
+Contents
+Copyright © 2026. All Rights Reserved.
+ + diff --git a/static/hibernate4-maven-plugin-1.1.0/testapidocs/de/juplo/test/FileComparator.html b/static/hibernate4-maven-plugin-1.1.0/testapidocs/de/juplo/test/FileComparator.html new file mode 100644 index 00000000..23d7ed18 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.1.0/testapidocs/de/juplo/test/FileComparator.html @@ -0,0 +1,280 @@ + + + + + + +Class FileComparator
+-
+
- java.lang.Object +
-
+
-
+
- de.juplo.test.FileComparator +
+
-
+
-
+
+
+public class FileComparator +extends java.lang.Object+
+
-
+
-
+
+
-
+
-
+
+
+
Constructor Summary
++
+Constructors ++ +Constructor and Description ++ + +FileComparator(java.io.File basedir)
+
-
+
-
+
+
+
Method Summary
++
+All Methods Instance Methods Concrete Methods ++ +Modifier and Type +Method and Description ++ + +boolean +isEqual(java.lang.String expectedFile, + java.lang.String foundFile)-
+
-
+
+
+
Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+ -
+
+
+
+ -
+
+
+
Copyright © 2026. All Rights Reserved.
+ + diff --git a/static/hibernate4-maven-plugin-1.1.0/testapidocs/de/juplo/test/class-use/FileComparator.html b/static/hibernate4-maven-plugin-1.1.0/testapidocs/de/juplo/test/class-use/FileComparator.html new file mode 100644 index 00000000..86444f6d --- /dev/null +++ b/static/hibernate4-maven-plugin-1.1.0/testapidocs/de/juplo/test/class-use/FileComparator.html @@ -0,0 +1,124 @@ + + + + + + +Uses of Class
de.juplo.test.FileComparator
+Copyright © 2026. All Rights Reserved.
+ + diff --git a/static/hibernate4-maven-plugin-1.1.0/testapidocs/de/juplo/test/package-frame.html b/static/hibernate4-maven-plugin-1.1.0/testapidocs/de/juplo/test/package-frame.html new file mode 100644 index 00000000..fcdb3305 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.1.0/testapidocs/de/juplo/test/package-frame.html @@ -0,0 +1,21 @@ + + + + + + +de.juplo.test
+Classes
+ +Package de.juplo.test
+-
+
-
+
+
+Class Summary ++ + +Class +Description ++ + +FileComparator + +
+
Copyright © 2026. All Rights Reserved.
+ + diff --git a/static/hibernate4-maven-plugin-1.1.0/testapidocs/de/juplo/test/package-tree.html b/static/hibernate4-maven-plugin-1.1.0/testapidocs/de/juplo/test/package-tree.html new file mode 100644 index 00000000..66069997 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.1.0/testapidocs/de/juplo/test/package-tree.html @@ -0,0 +1,133 @@ + + + + + + +Hierarchy For Package de.juplo.test
+Class Hierarchy
+-
+
- java.lang.Object
+
-
+
- de.juplo.test.FileComparator +
+
Copyright © 2026. All Rights Reserved.
+ + diff --git a/static/hibernate4-maven-plugin-1.1.0/testapidocs/de/juplo/test/package-use.html b/static/hibernate4-maven-plugin-1.1.0/testapidocs/de/juplo/test/package-use.html new file mode 100644 index 00000000..ced31e57 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.1.0/testapidocs/de/juplo/test/package-use.html @@ -0,0 +1,124 @@ + + + + + + +Uses of Package
de.juplo.test
+Copyright © 2026. All Rights Reserved.
+ + diff --git a/static/hibernate4-maven-plugin-1.1.0/testapidocs/deprecated-list.html b/static/hibernate4-maven-plugin-1.1.0/testapidocs/deprecated-list.html new file mode 100644 index 00000000..e2803735 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.1.0/testapidocs/deprecated-list.html @@ -0,0 +1,124 @@ + + + + + + +Deprecated API
+Contents
+Copyright © 2026. All Rights Reserved.
+ + diff --git a/static/hibernate4-maven-plugin-1.1.0/testapidocs/help-doc.html b/static/hibernate4-maven-plugin-1.1.0/testapidocs/help-doc.html new file mode 100644 index 00000000..cc52c6e4 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.1.0/testapidocs/help-doc.html @@ -0,0 +1,225 @@ + + + + + + +How This API Document Is Organized
+-
+
-
+
Package
+Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:
+-
+
- Interfaces (italic) +
- Classes +
- Enums +
- Exceptions +
- Errors +
- Annotation Types +
+ -
+
Class/Interface
+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:
+-
+
- Class inheritance diagram +
- Direct Subclasses +
- All Known Subinterfaces +
- All Known Implementing Classes +
- Class/interface declaration +
- Class/interface description +
-
+
- Nested Class Summary +
- Field Summary +
- Constructor Summary +
- Method Summary +
-
+
- Field Detail +
- Constructor Detail +
- Method Detail +
Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+
+ -
+
Annotation Type
+Each annotation type has its own separate page with the following sections:
+-
+
- Annotation Type declaration +
- Annotation Type description +
- Required Element Summary +
- Optional Element Summary +
- Element Detail +
+ -
+
Enum
+Each enum has its own separate page with the following sections:
+-
+
- Enum declaration +
- Enum description +
- Enum Constant Summary +
- Enum Constant Detail +
+ -
+
Use
+Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
+
+ -
+
Tree (Class Hierarchy)
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with
+java.lang.Object. The interfaces do not inherit fromjava.lang.Object.-
+
- When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages. +
- When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package. +
+ -
+
Deprecated API
+The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
+
+ -
+
Index
+The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
+
+ -
+
Prev/Next
+These links take you to the next or previous class, interface, package, or related page.
+
+ -
+
Frames/No Frames
+These links show and hide the HTML frames. All pages are available with or without frames.
+
+ -
+
All Classes
+The All Classes link shows all classes and interfaces except non-static nested types.
+
+ -
+
Serialized Form
+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.
+
+ -
+
Constant Field Values
+The Constant Field Values page lists the static final fields and their values.
+
+
Copyright © 2026. All Rights Reserved.
+ + diff --git a/static/hibernate4-maven-plugin-1.1.0/testapidocs/index-all.html b/static/hibernate4-maven-plugin-1.1.0/testapidocs/index-all.html new file mode 100644 index 00000000..b6916222 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.1.0/testapidocs/index-all.html @@ -0,0 +1,147 @@ + + + + + + +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 +
- +
Copyright © 2026. All Rights Reserved.
+ + diff --git a/static/hibernate4-maven-plugin-1.1.0/testapidocs/index.html b/static/hibernate4-maven-plugin-1.1.0/testapidocs/index.html new file mode 100644 index 00000000..535277ff --- /dev/null +++ b/static/hibernate4-maven-plugin-1.1.0/testapidocs/index.html @@ -0,0 +1,73 @@ + + + + + + +Frame Alert
+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 Non-frame version.
+Class Hierarchy
+-
+
- java.lang.Object
+
-
+
- de.juplo.test.FileComparator +
+
Copyright © 2026. All Rights Reserved.
+ + diff --git a/static/hibernate4-maven-plugin-1.1.0/testapidocs/package-list b/static/hibernate4-maven-plugin-1.1.0/testapidocs/package-list new file mode 100644 index 00000000..4774195e --- /dev/null +++ b/static/hibernate4-maven-plugin-1.1.0/testapidocs/package-list @@ -0,0 +1 @@ +de.juplo.test diff --git a/static/hibernate4-maven-plugin-1.1.0/testapidocs/script.js b/static/hibernate4-maven-plugin-1.1.0/testapidocs/script.js new file mode 100644 index 00000000..b3463569 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.1.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/static/hibernate4-maven-plugin-1.1.0/testapidocs/stylesheet.css b/static/hibernate4-maven-plugin-1.1.0/testapidocs/stylesheet.css new file mode 100644 index 00000000..98055b22 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.1.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/static/hibernate4-maven-plugin-1.1.0/xref-test/allclasses-frame.html b/static/hibernate4-maven-plugin-1.1.0/xref-test/allclasses-frame.html new file mode 100644 index 00000000..8253aebb --- /dev/null +++ b/static/hibernate4-maven-plugin-1.1.0/xref-test/allclasses-frame.html @@ -0,0 +1,20 @@ + + + + + +All Classes
+ +-
+
- + FileComparator + +
+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/static/hibernate4-maven-plugin-1.1.0/xref-test/de/juplo/test/package-frame.html b/static/hibernate4-maven-plugin-1.1.0/xref-test/de/juplo/test/package-frame.html new file mode 100644 index 00000000..a17a2f7f --- /dev/null +++ b/static/hibernate4-maven-plugin-1.1.0/xref-test/de/juplo/test/package-frame.html @@ -0,0 +1,24 @@ + + + + + +
+ de.juplo.test +
+ +Classes
+ +-
+
- + FileComparator + +
-
+
- + Overview + +
- Package +
Package de.juplo.test
+ +| Class Summary | +
|---|
| + FileComparator + | +
-
+
- + Overview + +
- Package +
+ + + \ No newline at end of file diff --git a/static/hibernate4-maven-plugin-1.1.0/xref-test/index.html b/static/hibernate4-maven-plugin-1.1.0/xref-test/index.html new file mode 100644 index 00000000..ca7eefc8 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.1.0/xref-test/index.html @@ -0,0 +1,25 @@ + + + + + + +
Frame Alert
++ You don't have frames. Go here +
+ ++ All Classes +
+ +Packages
+ +-
+
- + de.juplo.test + +
-
+
- Overview +
- Package +
Hibernate 4 Maven Plugin 1.1.0 Reference
+ +| Packages | +
|---|
| + de.juplo.test + | +
-
+
- Overview +
- Package +
+ + + \ No newline at end of file diff --git a/static/hibernate4-maven-plugin-1.1.0/xref-test/stylesheet.css b/static/hibernate4-maven-plugin-1.1.0/xref-test/stylesheet.css new file mode 100644 index 00000000..89732f81 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.1.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/static/hibernate4-maven-plugin-1.1.0/xref/allclasses-frame.html b/static/hibernate4-maven-plugin-1.1.0/xref/allclasses-frame.html new file mode 100644 index 00000000..4aefe0d6 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.1.0/xref/allclasses-frame.html @@ -0,0 +1,35 @@ + + + + + +
All Classes
+ +-
+
- + DriverProxy + +
- + Hbm2DdlMojo + +
- + HelpMojo + +
- + MavenProjectClassLoaderService + +
- + TypeSafeActivatorAccessor + +
- + ValidationConfiguration + +
+1 package de.juplo.plugins.hibernate4;
+2
+3 /*
+4 * Copyright 2001-2005 The Apache Software Foundation.
+5 *
+6 * Licensed under the Apache License, Version 2.0 (the "License");
+7 * you may not use this file except in compliance with the License.
+8 * You may obtain a copy of the License at
+9 *
+10 * http://www.apache.org/licenses/LICENSE-2.0
+11 *
+12 * Unless required by applicable law or agreed to in writing, software
+13 * distributed under the License is distributed on an "AS IS" BASIS,
+14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+15 * See the License for the specific language governing permissions and
+16 * limitations under the License.
+17 */
+18
+19 import com.pyx4j.log4j.MavenLogAppender;
+20 import java.io.File;
+21 import java.io.FileInputStream;
+22 import java.io.FileNotFoundException;
+23 import java.io.FileOutputStream;
+24 import java.io.IOException;
+25 import java.io.InputStream;
+26 import java.io.ObjectInputStream;
+27 import java.io.ObjectOutputStream;
+28 import java.math.BigInteger;
+29 import java.net.URL;
+30 import java.net.URLClassLoader;
+31 import java.security.MessageDigest;
+32 import java.security.NoSuchAlgorithmException;
+33 import java.sql.Driver;
+34 import java.sql.DriverPropertyInfo;
+35 import java.sql.SQLException;
+36 import java.sql.SQLFeatureNotSupportedException;
+37 import java.util.Collections;
+38 import java.util.Comparator;
+39 import java.util.HashMap;
+40 import java.util.HashSet;
+41 import java.util.LinkedHashSet;
+42 import java.util.LinkedList;
+43 import java.util.List;
+44 import java.util.Map;
+45 import java.util.Map.Entry;
+46 import java.util.Properties;
+47 import java.util.Set;
+48 import java.util.TreeSet;
+49 import java.util.logging.Logger;
+50 import java.util.regex.Matcher;
+51 import java.util.regex.Pattern;
+52 import javax.persistence.Embeddable;
+53 import javax.persistence.Entity;
+54 import javax.persistence.MappedSuperclass;
+55 import javax.persistence.spi.PersistenceUnitTransactionType;
+56 import org.apache.maven.artifact.Artifact;
+57 import org.apache.maven.model.Resource;
+58 import org.apache.maven.plugin.AbstractMojo;
+59 import org.apache.maven.plugin.MojoExecutionException;
+60 import org.apache.maven.plugin.MojoFailureException;
+61 import org.apache.maven.project.MavenProject;
+62 import org.hibernate.boot.registry.StandardServiceRegistryBuilder;
+63 import org.hibernate.boot.registry.classloading.spi.ClassLoaderService;
+64 import org.hibernate.boot.registry.classloading.spi.ClassLoadingException;
+65 import org.hibernate.boot.registry.internal.StandardServiceRegistryImpl;
+66 import org.hibernate.cfg.Environment;
+67 import org.hibernate.cfg.NamingStrategy;
+68 import org.hibernate.envers.configuration.spi.AuditConfiguration;
+69 import org.hibernate.internal.util.config.ConfigurationHelper;
+70 import org.hibernate.jpa.boot.internal.ParsedPersistenceXmlDescriptor;
+71 import org.hibernate.jpa.boot.internal.PersistenceXmlParser;
+72 import org.hibernate.jpa.boot.spi.ProviderChecker;
+73 import org.hibernate.tool.hbm2ddl.SchemaExport;
+74 import org.hibernate.tool.hbm2ddl.SchemaExport.Type;
+75 import org.hibernate.tool.hbm2ddl.Target;
+76 import org.scannotation.AnnotationDB;
+77
+78
+79 /**
+80 * Goal which extracts the hibernate-mapping-configuration and
+81 * exports an according SQL-database-schema.
+82 *
+83 * @goal export
+84 * @phase process-classes
+85 * @threadSafe
+86 * @requiresDependencyResolution runtime
+87 */
+88 public class Hbm2DdlMojo extends AbstractMojo
+89 {
+90 public final static String EXPORT_SKIPPED_PROPERTY = "hibernate.export.skipped";
+91
+92 public final static String DRIVER_CLASS = "hibernate.connection.driver_class";
+93 public final static String URL = "hibernate.connection.url";
+94 public final static String USERNAME = "hibernate.connection.username";
+95 public final static String PASSWORD = "hibernate.connection.password";
+96 public final static String DIALECT = "hibernate.dialect";
+97 public final static String NAMING_STRATEGY="hibernate.ejb.naming_strategy";
+98 public final static String ENVERS = "hibernate.export.envers";
+99
+100 public final static String JPA_DRIVER = "javax.persistence.jdbc.driver";
+101 public final static String JPA_URL = "javax.persistence.jdbc.url";
+102 public final static String JPA_USERNAME = "javax.persistence.jdbc.user";
+103 public final static String JPA_PASSWORD = "javax.persistence.jdbc.password";
+104
+105 public final static String MD5S = "hibernate4-generatedschema.md5s";
+106
+107 private final static Pattern split = Pattern.compile("[^,\\s]+");
+108
+109
+110 /**
+111 * The maven project.
+112 * <p>
+113 * Only needed internally.
+114 *
+115 * @parameter property="project"
+116 * @required
+117 * @readonly
+118 */
+119 private MavenProject project;
+120
+121 /**
+122 * Build-directory.
+123 * <p>
+124 * Only needed internally.
+125 *
+126 * @parameter property="project.build.directory"
+127 * @required
+128 * @readonly
+129 */
+130 private String buildDirectory;
+131
+132 /**
+133 * Classes-Directory to scan.
+134 * <p>
+135 * This parameter defaults to the maven build-output-directory for classes.
+136 * Additionally, all dependencies are scanned for annotated classes.
+137 *
+138 * @parameter property="project.build.outputDirectory"
+139 * @since 1.0
+140 */
+141 private String outputDirectory;
+142
+143 /**
+144 * Whether to scan test-classes too, or not.
+145 * <p>
+146 * If this parameter is set to <code>true</code> the test-classes of the
+147 * artifact will be scanned for hibernate-annotated classes additionally.
+148 *
+149 * @parameter property="hibernate.export.scan_testclasses" default-value="false"
+150 * @since 1.0.1
+151 */
+152 private boolean scanTestClasses;
+153
+154 /**
+155 * Dependency-Scopes, that should be scanned for annotated classes.
+156 * <p>
+157 * By default, only dependencies in the scope <code>compile</code> are
+158 * scanned for annotated classes. Multiple scopes can be seperated by
+159 * white space or commas.
+160 * <p>
+161 * If you do not want any dependencies to be scanned for annotated
+162 * classes, set this parameter to <code>none</code>.
+163 * <p>
+164 * The plugin does not scan for annotated classes in transitive
+165 * dependencies. If some of your annotated classes are hidden in a
+166 * transitive dependency, you can simply add that dependency explicitly.
+167 *
+168 * @parameter property="hibernate.export.scan_dependencies" default-value="compile"
+169 * @since 1.0.3
+170 */
+171 private String scanDependencies;
+172
+173 /**
+174 * Test-Classes-Directory to scan.
+175 * <p>
+176 * This parameter defaults to the maven build-output-directory for
+177 * test-classes.
+178 * <p>
+179 * This parameter is only used, when <code>scanTestClasses</code> is set
+180 * to <code>true</code>!
+181 *
+182 * @parameter property="project.build.testOutputDirectory"
+183 * @since 1.0.2
+184 */
+185 private String testOutputDirectory;
+186
+187 /**
+188 * Skip execution
+189 * <p>
+190 * If set to <code>true</code>, the execution is skipped.
+191 * <p>
+192 * A skipped execution is signaled via the maven-property
+193 * <code>${hibernate.export.skipped}</code>.
+194 * <p>
+195 * The execution is skipped automatically, if no modified or newly added
+196 * annotated classes are found and the dialect was not changed.
+197 *
+198 * @parameter property="hibernate.skip" default-value="${maven.test.skip}"
+199 * @since 1.0
+200 */
+201 private boolean skip;
+202
+203 /**
+204 * Force execution
+205 * <p>
+206 * Force execution, even if no modified or newly added annotated classes
+207 * where found and the dialect was not changed.
+208 * <p>
+209 * <code>skip</code> takes precedence over <code>force</code>.
+210 *
+211 * @parameter property="hibernate.export.force" default-value="false"
+212 * @since 1.0
+213 */
+214 private boolean force;
+215
+216 /**
+217 * SQL-Driver name.
+218 *
+219 * @parameter property="hibernate.connection.driver_class"
+220 * @since 1.0
+221 */
+222 private String driverClassName;
+223
+224 /**
+225 * Database URL.
+226 *
+227 * @parameter property="hibernate.connection.url"
+228 * @since 1.0
+229 */
+230 private String url;
+231
+232 /**
+233 * Database username
+234 *
+235 * @parameter property="hibernate.connection.username"
+236 * @since 1.0
+237 */
+238 private String username;
+239
+240 /**
+241 * Database password
+242 *
+243 * @parameter property="hibernate.connection.password"
+244 * @since 1.0
+245 */
+246 private String password;
+247
+248 /**
+249 * Hibernate dialect.
+250 *
+251 * @parameter property="hibernate.dialect"
+252 * @since 1.0
+253 */
+254 private String hibernateDialect;
+255
+256 /**
+257 * Hibernate Naming Strategy
+258 *
+259 * @parameter property="hibernate.ejb.naming_strategy"
+260 * @since 1.0.2
+261 */
+262 private String hibernateNamingStrategy;
+263
+264 /**
+265 * Path to Hibernate properties file.
+266 * If this parameter is not set the plugin will try to load the configuration
+267 * from a file <code>hibernate.properties</code> on the classpath. The
+268 * test-classpath takes precedence.
+269 *
+270 * @parameter
+271 * @since 1.0
+272 */
+273 private String hibernateProperties;
+274
+275 /**
+276 * Path to Hibernate configuration file (.cfg.xml).
+277 * Settings in this file will overwrite settings in the properties file.
+278 * If this parameter is not set the plugin will try to load the configuration
+279 * from a file <code>hibernate.cfg.xml</code> on the classpath. The
+280 * test-classpath takes precedence.
+281 *
+282 * @parameter
+283 * @since 1.1.0
+284 */
+285 private String hibernateConfig;
+286
+287 /**
+288 * Name of the persistence-unit.
+289 * If there is only one persistence-unit available, that unit will be used
+290 * automatically.
+291 * Settings in this file will overwrite settings in the properties or the
+292 * configuration file.
+293 *
+294 * @parameter
+295 * @since 1.1.0
+296 */
+297 private String persistenceUnit;
+298
+299 /**
+300 * List of Hibernate-Mapping-Files (XML).
+301 * Multiple files can be separated with white-spaces and/or commas.
+302 *
+303 * @parameter property="hibernate.mapping"
+304 * @since 1.0.2
+305 */
+306 private String hibernateMapping;
+307
+308 /**
+309 * Target of execution:
+310 * <ul>
+311 * <li><strong>NONE</strong> only export schema to SQL-script (forces execution, signals skip)</li>
+312 * <li><strong>EXPORT</strong> create database (<strong>DEFAULT!</strong>). forces execution, signals skip)</li>
+313 * <li><strong>SCRIPT</strong> export schema to SQL-script and print it to STDOUT</li>
+314 * <li><strong>BOTH</strong></li>
+315 * </ul>
+316 *
+317 * A database connection is only needed for EXPORT and BOTH, but a
+318 * Hibernate-Dialect must always be chosen.
+319 *
+320 * @parameter property="hibernate.export.target" default-value="EXPORT"
+321 * @since 1.0
+322 */
+323 private String target;
+324
+325 /**
+326 * Type of execution.
+327 * <ul>
+328 * <li><strong>NONE</strong> do nothing - just validate the configuration</li>
+329 * <li><strong>CREATE</strong> create database-schema</li>
+330 * <li><strong>DROP</strong> drop database-schema</li>
+331 * <li><strong>BOTH</strong> (<strong>DEFAULT!</strong>)</li>
+332 * </ul>
+333 *
+334 * If NONE is choosen, no databaseconnection is needed.
+335 *
+336 * @parameter property="hibernate.export.type" default-value="BOTH"
+337 * @since 1.0
+338 */
+339 private String type;
+340
+341 /**
+342 * Output file.
+343 *
+344 * @parameter property="hibernate.export.schema.filename" default-value="${project.build.directory}/schema.sql"
+345 * @since 1.0
+346 */
+347 private String outputFile;
+348
+349 /**
+350 * Delimiter in output-file.
+351 *
+352 * @parameter property="hibernate.export.schema.delimiter" default-value=";"
+353 * @since 1.0
+354 */
+355 private String delimiter;
+356
+357 /**
+358 * Format output-file.
+359 *
+360 * @parameter property="hibernate.export.schema.format" default-value="true"
+361 * @since 1.0
+362 */
+363 private boolean format;
+364
+365 /**
+366 * Generate envers schema for auditing tables.
+367 *
+368 * @parameter property="hibernate.export.envers" default-value="true"
+369 * @since 1.0.3
+370 */
+371 private boolean envers;
+372
+373
+374 @Override
+375 public void execute()
+376 throws
+377 MojoFailureException,
+378 MojoExecutionException
+379 {
+380 if (skip)
+381 {
+382 getLog().info("Execution of hibernate4-maven-plugin:export was skipped!");
+383 project.getProperties().setProperty(EXPORT_SKIPPED_PROPERTY, "true");
+384 return;
+385 }
+386
+387 Map<String,String> md5s;
+388 boolean modified = false;
+389 File saved = new File(buildDirectory + File.separator + MD5S);
+390
+391 if (saved.isFile() && saved.length() > 0)
+392 {
+393 try
+394 {
+395 FileInputStream fis = new FileInputStream(saved);
+396 ObjectInputStream ois = new ObjectInputStream(fis);
+397 md5s = (HashMap<String,String>)ois.readObject();
+398 ois.close();
+399 }
+400 catch (Exception e)
+401 {
+402 md5s = new HashMap<String,String>();
+403 getLog().warn("Cannot read timestamps from saved: " + e);
+404 }
+405 }
+406 else
+407 {
+408 md5s = new HashMap<String,String>();
+409 try
+410 {
+411 saved.createNewFile();
+412 }
+413 catch (IOException e)
+414 {
+415 getLog().debug("Cannot create file \"" + saved.getPath() + "\" for timestamps: " + e);
+416 }
+417 }
+418
+419 URLClassLoader classLoader = null;
+420 try
+421 {
+422 getLog().debug("Creating ClassLoader for project-dependencies...");
+423 List<String> classpathFiles = project.getCompileClasspathElements();
+424 if (scanTestClasses)
+425 classpathFiles.addAll(project.getTestClasspathElements());
+426 List<URL> urls = new LinkedList<URL>();
+427 File file;
+428 file = new File(testOutputDirectory);
+429 if (!file.exists())
+430 {
+431 getLog().info("creating test-output-directory: " + testOutputDirectory);
+432 file.mkdirs();
+433 }
+434 urls.add(file.toURI().toURL());
+435 file = new File(outputDirectory);
+436 if (!file.exists())
+437 {
+438 getLog().info("creating output-directory: " + outputDirectory);
+439 file.mkdirs();
+440 }
+441 urls.add(file.toURI().toURL());
+442 for (String pathElement : classpathFiles)
+443 {
+444 getLog().debug("Dependency: " + pathElement);
+445 urls.add(new File(pathElement).toURI().toURL());
+446 }
+447 classLoader =
+448 new URLClassLoader(
+449 urls.toArray(new URL[urls.size()]),
+450 getClass().getClassLoader()
+451 );
+452 }
+453 catch (Exception e)
+454 {
+455 getLog().error("Error while creating ClassLoader!", e);
+456 throw new MojoExecutionException(e.getMessage());
+457 }
+458
+459 Set<Class<?>> classes =
+460 new TreeSet<Class<?>>(
+461 new Comparator<Class<?>>() {
+462 @Override
+463 public int compare(Class<?> a, Class<?> b)
+464 {
+465 return a.getName().compareTo(b.getName());
+466 }
+467 }
+468 );
+469
+470 try
+471 {
+472 AnnotationDB db = new AnnotationDB();
+473 File dir = new File(outputDirectory);
+474 if (dir.exists())
+475 {
+476 getLog().info("Scanning directory " + outputDirectory + " for annotated classes...");
+477 URL dirUrl = dir.toURI().toURL();
+478 db.scanArchives(dirUrl);
+479 }
+480 if (scanTestClasses)
+481 {
+482 dir = new File(testOutputDirectory);
+483 if (dir.exists())
+484 {
+485 getLog().info("Scanning directory " + testOutputDirectory + " for annotated classes...");
+486 URL dirUrl = dir.toURI().toURL();
+487 db.scanArchives(dirUrl);
+488 }
+489 }
+490 if (scanDependencies != null)
+491 {
+492 Matcher matcher = split.matcher(scanDependencies);
+493 while (matcher.find())
+494 {
+495 getLog().info("Scanning dependencies for scope " + matcher.group());
+496 for (Artifact artifact : project.getDependencyArtifacts())
+497 {
+498 if (!artifact.getScope().equalsIgnoreCase(matcher.group()))
+499 continue;
+500 if (artifact.getFile() == null)
+501 {
+502 getLog().warn(
+503 "Cannot scan dependency " +
+504 artifact.getId() +
+505 ": no JAR-file available!"
+506 );
+507 continue;
+508 }
+509 getLog().info(
+510 "Scanning dependency " +
+511 artifact.getId() +
+512 " for annotated classes..."
+513 );
+514 db.scanArchives(artifact.getFile().toURI().toURL());
+515 }
+516 }
+517 }
+518
+519 Set<String> classNames = new HashSet<String>();
+520 if (db.getAnnotationIndex().containsKey(Entity.class.getName()))
+521 classNames.addAll(db.getAnnotationIndex().get(Entity.class.getName()));
+522 if (db.getAnnotationIndex().containsKey(MappedSuperclass.class.getName()))
+523 classNames.addAll(db.getAnnotationIndex().get(MappedSuperclass.class.getName()));
+524 if (db.getAnnotationIndex().containsKey(Embeddable.class.getName()))
+525 classNames.addAll(db.getAnnotationIndex().get(Embeddable.class.getName()));
+526
+527 MessageDigest digest = java.security.MessageDigest.getInstance("MD5");
+528 for (String name : classNames)
+529 {
+530 Class<?> annotatedClass = classLoader.loadClass(name);
+531 classes.add(annotatedClass);
+532 String resourceName = annotatedClass.getName();
+533 resourceName = resourceName.substring(resourceName.lastIndexOf(".") + 1, resourceName.length()) + ".class";
+534 InputStream is =
+535 annotatedClass
+536 .getResourceAsStream(resourceName);
+537 byte[] buffer = new byte[1024*4]; // copy data in 4MB-chunks
+538 int i;
+539 while((i = is.read(buffer)) > -1)
+540 digest.update(buffer, 0, i);
+541 is.close();
+542 byte[] bytes = digest.digest();
+543 BigInteger bi = new BigInteger(1, bytes);
+544 String newMd5 = String.format("%0" + (bytes.length << 1) + "x", bi);
+545 String oldMd5 = !md5s.containsKey(name) ? "" : md5s.get(name);
+546 if (!newMd5.equals(oldMd5))
+547 {
+548 getLog().debug("Found new or modified annotated class: " + name);
+549 modified = true;
+550 md5s.put(name, newMd5);
+551 }
+552 else
+553 {
+554 getLog().debug(oldMd5 + " -> class unchanged: " + name);
+555 }
+556 }
+557 }
+558 catch (ClassNotFoundException e)
+559 {
+560 getLog().error("Error while adding annotated classes!", e);
+561 throw new MojoExecutionException(e.getMessage());
+562 }
+563 catch (Exception e)
+564 {
+565 getLog().error("Error while scanning!", e);
+566 throw new MojoFailureException(e.getMessage());
+567 }
+568
+569
+570 ValidationConfiguration config = new ValidationConfiguration();
+571 // Clear unused system-properties
+572 config.setProperties(new Properties());
+573
+574
+575 ClassLoader contextClassLoader = Thread.currentThread().getContextClassLoader();
+576 StandardServiceRegistryImpl registry = null;
+577 MavenLogAppender.startPluginLog(this);
+578
+579 try
+580 {
+581 /**
+582 * Change class-loader of current thread, so that hibernate can
+583 * see all dependencies!
+584 */
+585 Thread.currentThread().setContextClassLoader(classLoader);
+586
+587
+588 /** Try to read configuration from properties-file */
+589 try
+590 {
+591 if (hibernateProperties == null)
+592 {
+593 URL url = classLoader.findResource("hibernate.properties");
+594 if (url == null)
+595 {
+596 getLog().info("No hibernate.properties on the classpath!");
+597 }
+598 else
+599 {
+600 getLog().info("Reading settings from hibernate.properties on the classpath.");
+601 Properties properties = new Properties();
+602 properties.load(url.openStream());
+603 config.setProperties(properties);
+604 }
+605 }
+606 else
+607 {
+608 File file = new File(hibernateProperties);
+609 if (file.exists())
+610 {
+611 getLog().info("Reading settings from file " + hibernateProperties + "...");
+612 Properties properties = new Properties();
+613 properties.load(new FileInputStream(file));
+614 config.setProperties(properties);
+615 }
+616 else
+617 getLog().info("No hibernate-properties-file found! (Checked path: " + hibernateProperties + ")");
+618 }
+619 }
+620 catch (IOException e)
+621 {
+622 getLog().error("Error while reading properties!", e);
+623 throw new MojoExecutionException(e.getMessage());
+624 }
+625
+626 /** Try to read configuration from configuration-file */
+627 try
+628 {
+629 if (hibernateConfig == null)
+630 {
+631 URL url = classLoader.findResource("hibernate.cfg.xml");
+632 if (url == null)
+633 {
+634 getLog().info("No hibernate.cfg.xml on the classpath!");
+635 }
+636 else
+637 {
+638 getLog().info("Reading settings from hibernate.cfg.xml on the classpath.");
+639 config.configure(url);
+640 }
+641 }
+642 else
+643 {
+644 File file = new File(hibernateConfig);
+645 if (file.exists())
+646 {
+647 getLog().info("Reading configuration from file " + hibernateConfig + "...");
+648 config.configure(file);
+649 }
+650 else
+651 getLog().info("No hibernate-configuration-file found! (Checked path: " + hibernateConfig + ")");
+652 }
+653 }
+654 catch (Exception e)
+655 {
+656 getLog().error("Error while reading configuration!", e);
+657 throw new MojoExecutionException(e.getMessage());
+658 }
+659
+660 ParsedPersistenceXmlDescriptor persistenceUnitDescriptor =
+661 getPersistenceUnitDescriptor(
+662 persistenceUnit,
+663 config.getProperties(),
+664 new MavenProjectClassLoaderService(classLoader)
+665 );
+666 if (persistenceUnitDescriptor != null)
+667 config.setProperties(persistenceUnitDescriptor.getProperties());
+668
+669
+670 /** Overwrite values from properties-file or set, if given */
+671
+672 if (driverClassName != null)
+673 {
+674 if (config.getProperties().containsKey(DRIVER_CLASS))
+675 getLog().debug(
+676 "Overwriting property " +
+677 DRIVER_CLASS + "=" + config.getProperty(DRIVER_CLASS) +
+678 " with the value " + driverClassName
+679 );
+680 else
+681 getLog().debug("Using the value " + driverClassName);
+682 config.setProperty(DRIVER_CLASS, driverClassName);
+683 }
+684 if (config.getProperty(DRIVER_CLASS) == null)
+685 {
+686 String driver = config.getProperty(JPA_DRIVER);
+687 if (driver != null)
+688 {
+689 getLog().info(
+690 DRIVER_CLASS +
+691 " is not set. Borrow setting from " +
+692 JPA_DRIVER +
+693 ": " +
+694 driver);
+695 config.setProperty(DRIVER_CLASS, driver);
+696 }
+697 }
+698
+699 if (url != null)
+700 {
+701 if (config.getProperties().containsKey(URL))
+702 getLog().debug(
+703 "Overwriting property " +
+704 URL + "=" + config.getProperty(URL) +
+705 " with the value " + url
+706 );
+707 else
+708 getLog().debug("Using the value " + url);
+709 config.setProperty(URL, url);
+710 }
+711 if (config.getProperty(URL) == null)
+712 {
+713 String url = config.getProperty(JPA_URL);
+714 if (url != null)
+715 {
+716 getLog().info(
+717 URL +
+718 " is not set. Borrow setting from " +
+719 JPA_URL +
+720 ": " +
+721 url);
+722 config.setProperty(URL, url);
+723 }
+724 }
+725
+726 if (username != null)
+727 {
+728 if (config.getProperties().containsKey(USERNAME))
+729 getLog().debug(
+730 "Overwriting property " +
+731 USERNAME + "=" + config.getProperty(USERNAME) +
+732 " with the value " + username
+733 );
+734 else
+735 getLog().debug("Using the value " + username);
+736 config.setProperty(USERNAME, username);
+737 }
+738 if (config.getProperty(USERNAME) == null)
+739 {
+740 String username = config.getProperty(JPA_USERNAME);
+741 if (username != null)
+742 {
+743 getLog().info(
+744 USERNAME +
+745 " is not set. Borrow setting from " +
+746 JPA_USERNAME +
+747 ": " +
+748 username);
+749 config.setProperty(USERNAME, username);
+750 }
+751 }
+752
+753 if (password != null)
+754 {
+755 if (config.getProperties().containsKey(PASSWORD))
+756 getLog().debug(
+757 "Overwriting property " +
+758 PASSWORD + "=" + config.getProperty(PASSWORD) +
+759 " with value " + password
+760 );
+761 else
+762 getLog().debug("Using value " + password + " for property " + PASSWORD);
+763 config.setProperty(PASSWORD, password);
+764 }
+765 if (config.getProperty(PASSWORD) == null)
+766 {
+767 String password = config.getProperty(JPA_PASSWORD);
+768 if (password != null)
+769 {
+770 getLog().info(
+771 PASSWORD +
+772 " is not set. Borrow setting from " +
+773 JPA_PASSWORD +
+774 ": " +
+775 password);
+776 config.setProperty(PASSWORD, password);
+777 }
+778 }
+779
+780 if (hibernateDialect != null)
+781 {
+782 if (config.getProperties().containsKey(DIALECT))
+783 getLog().debug(
+784 "Overwriting property " +
+785 DIALECT + "=" + config.getProperty(DIALECT) +
+786 " with value " + hibernateDialect
+787 );
+788 else
+789 getLog().debug(
+790 "Using value " + hibernateDialect + " for property " + DIALECT
+791 );
+792 config.setProperty(DIALECT, hibernateDialect);
+793 }
+794
+795 if ( hibernateNamingStrategy != null )
+796 {
+797 if ( config.getProperties().contains(NAMING_STRATEGY))
+798 getLog().debug(
+799 "Overwriting property " +
+800 NAMING_STRATEGY + "=" + config.getProperty(NAMING_STRATEGY) +
+801 " with value " + hibernateNamingStrategy
+802 );
+803 else
+804 getLog().debug(
+805 "Using value " + hibernateNamingStrategy + " for property " +
+806 NAMING_STRATEGY
+807 );
+808 config.setProperty(NAMING_STRATEGY, hibernateNamingStrategy);
+809 }
+810
+811 /** The generated SQL varies with the dialect! */
+812 if (md5s.containsKey(DIALECT))
+813 {
+814 String dialect = config.getProperty(DIALECT);
+815 if (md5s.get(DIALECT).equals(dialect))
+816 getLog().debug("SQL-dialect unchanged.");
+817 else
+818 {
+819 modified = true;
+820 if (dialect == null)
+821 {
+822 getLog().debug("SQL-dialect was unset.");
+823 md5s.remove(DIALECT);
+824 }
+825 else
+826 {
+827 getLog().debug("SQL-dialect changed: " + dialect);
+828 md5s.put(DIALECT, dialect);
+829 }
+830 }
+831 }
+832 else
+833 {
+834 String dialect = config.getProperty(DIALECT);
+835 if (dialect != null)
+836 {
+837 modified = true;
+838 md5s.put(DIALECT, config.getProperty(DIALECT));
+839 }
+840 }
+841
+842 /** The generated SQL varies with the envers-configuration */
+843 if (md5s.get(ENVERS) != null)
+844 {
+845 if (md5s.get(ENVERS).equals(Boolean.toString(envers)))
+846 getLog().debug("Envers-Configuration unchanged. Enabled: " + envers);
+847 else
+848 {
+849 getLog().debug("Envers-Configuration changed. Enabled: " + envers);
+850 modified = true;
+851 md5s.put(ENVERS, Boolean.toString(envers));
+852 }
+853 }
+854 else
+855 {
+856 modified = true;
+857 md5s.put(ENVERS, Boolean.toString(envers));
+858 }
+859
+860 if (config.getProperties().isEmpty())
+861 {
+862 getLog().error("No properties set!");
+863 throw new MojoFailureException("Hibernate configuration is missing!");
+864 }
+865
+866 getLog().info("Gathered hibernate-configuration (turn on debugging for details):");
+867 for (Entry<Object,Object> entry : config.getProperties().entrySet())
+868 getLog().info(" " + entry.getKey() + " = " + entry.getValue());
+869
+870
+871 getLog().debug("Adding explicitly configured mappings...");
+872 if (hibernateMapping != null)
+873 {
+874 try
+875 {
+876 MessageDigest digest = java.security.MessageDigest.getInstance("MD5");
+877 for (String filename : hibernateMapping.split("[\\s,]+"))
+878 {
+879 // First try the filename as absolute/relative path
+880 File file = new File(filename);
+881 if (!file.exists())
+882 {
+883 // If the file was not found, search for it in the resource-directories
+884 for (Resource resource : project.getResources())
+885 {
+886 file = new File(resource.getDirectory() + File.separator + filename);
+887 if (file.exists())
+888 break;
+889 }
+890 }
+891 if (file != null && file.exists())
+892 {
+893 InputStream is = new FileInputStream(file);
+894 byte[] buffer = new byte[1024*4]; // copy data in 4MB-chunks
+895 int i;
+896 while((i = is.read(buffer)) > -1)
+897 digest.update(buffer, 0, i);
+898 is.close();
+899 byte[] bytes = digest.digest();
+900 BigInteger bi = new BigInteger(1, bytes);
+901 String newMd5 = String.format("%0" + (bytes.length << 1) + "x", bi);
+902 String oldMd5 = !md5s.containsKey(filename) ? "" : md5s.get(filename);
+903 if (!newMd5.equals(oldMd5))
+904 {
+905 getLog().debug("Found new or modified mapping-file: " + filename);
+906 modified = true;
+907 md5s.put(filename, newMd5);
+908 }
+909 else
+910 {
+911 getLog().debug(oldMd5 + " -> mapping-file unchanged: " + filename);
+912 }
+913 getLog().debug("Adding mappings from XML-configurationfile: " + file);
+914 config.addFile(file);
+915 }
+916 else
+917 throw new MojoFailureException("File " + filename + " could not be found in any of the configured resource-directories!");
+918 }
+919 }
+920 catch (NoSuchAlgorithmException e)
+921 {
+922 throw new MojoFailureException("Cannot calculate MD5 sums!", e);
+923 }
+924 catch (FileNotFoundException e)
+925 {
+926 throw new MojoFailureException("Cannot calculate MD5 sums!", e);
+927 }
+928 catch (IOException e)
+929 {
+930 throw new MojoFailureException("Cannot calculate MD5 sums!", e);
+931 }
+932 }
+933
+934 getLog().debug("Adding annotated classes to hibernate-mapping-configuration...");
+935 // build annotated packages
+936 Set<String> packages = new HashSet<String>();
+937 for (Class<?> annotatedClass : classes)
+938 {
+939 String packageName = annotatedClass.getPackage().getName();
+940 if (!packages.contains(packageName))
+941 {
+942 getLog().debug("Add package " + packageName);
+943 packages.add(packageName);
+944 config.addPackage(packageName);
+945 getLog().debug("type definintions" + config.getTypeDefs());
+946 }
+947 getLog().debug("Class " + annotatedClass);
+948 config.addAnnotatedClass(annotatedClass);
+949 }
+950
+951 Target target = null;
+952 try
+953 {
+954 target = Target.valueOf(this.target.toUpperCase());
+955 }
+956 catch (IllegalArgumentException e)
+957 {
+958 getLog().error("Invalid value for configuration-option \"target\": " + this.target);
+959 getLog().error("Valid values are: NONE, SCRIPT, EXPORT, BOTH");
+960 throw new MojoExecutionException("Invalid value for configuration-option \"target\"");
+961 }
+962 Type type = null;
+963 try
+964 {
+965 type = Type.valueOf(this.type.toUpperCase());
+966 }
+967 catch (IllegalArgumentException e)
+968 {
+969 getLog().error("Invalid value for configuration-option \"type\": " + this.type);
+970 getLog().error("Valid values are: NONE, CREATE, DROP, BOTH");
+971 throw new MojoExecutionException("Invalid value for configuration-option \"type\"");
+972 }
+973
+974
+975 if (config.getProperty(DIALECT) == null)
+976 throw new MojoFailureException("hibernate-dialect must be set!");
+977
+978
+979 if (target.equals(Target.SCRIPT) || target.equals(Target.NONE))
+980 {
+981 project.getProperties().setProperty(EXPORT_SKIPPED_PROPERTY, "true");
+982 }
+983 if (
+984 !modified
+985 && !target.equals(Target.SCRIPT)
+986 && !target.equals(Target.NONE)
+987 && !force
+988 )
+989 {
+990 getLog().info("No modified annotated classes or mapping-files found and dialect unchanged.");
+991 getLog().info("Skipping schema generation!");
+992 project.getProperties().setProperty(EXPORT_SKIPPED_PROPERTY, "true");
+993 return;
+994 }
+995
+996
+997 if ( config.getProperties().containsKey(NAMING_STRATEGY))
+998 {
+999 String namingStrategy = config.getProperty(NAMING_STRATEGY);
+1000 getLog().debug("Explicitly set NamingStrategy: " + namingStrategy);
+1001 try
+1002 {
+1003 @SuppressWarnings("unchecked")
+1004 Class<NamingStrategy> namingStrategyClass = (Class<NamingStrategy>) Class.forName(namingStrategy);
+1005 config.setNamingStrategy(namingStrategyClass.newInstance());
+1006 }
+1007 catch (Exception e)
+1008 {
+1009 getLog().error("Error setting NamingStrategy", e);
+1010 throw new MojoExecutionException(e.getMessage());
+1011 }
+1012 }
+1013
+1014
+1015 Environment.verifyProperties(config.getProperties());
+1016 ConfigurationHelper.resolvePlaceHolders(config.getProperties());
+1017 registry =
+1018 (StandardServiceRegistryImpl)
+1019 new StandardServiceRegistryBuilder()
+1020 .applySettings(config.getProperties())
+1021 .build();
+1022
+1023 config.buildMappings();
+1024
+1025 if (envers)
+1026 {
+1027 getLog().info("Automatic auditing via hibernate-envers enabled!");
+1028 AuditConfiguration.getFor(config);
+1029 }
+1030
+1031 SchemaExport export = new SchemaExport(registry, config);
+1032 export.setDelimiter(delimiter);
+1033 export.setFormat(format);
+1034
+1035 File outF = new File(outputFile);
+1036
+1037 if (!outF.isAbsolute())
+1038 {
+1039 // Interpret relative file path relative to build directory
+1040 outF = new File(buildDirectory, outputFile);
+1041 getLog().info("Adjusted relative path, resulting path is " + outF.getPath());
+1042 }
+1043
+1044 // Ensure that directory path for specified file exists
+1045 File outFileParentDir = outF.getParentFile();
+1046 if (null != outFileParentDir && !outFileParentDir.exists())
+1047 {
+1048 try
+1049 {
+1050 getLog().info("Creating directory path for output file:" + outFileParentDir.getPath());
+1051 outFileParentDir.mkdirs();
+1052 }
+1053 catch (Exception e)
+1054 {
+1055 getLog().error("Error creating directory path for output file: " + e.getLocalizedMessage());
+1056 }
+1057 }
+1058
+1059 export.setOutputFile(outF.getPath());
+1060 export.execute(target, type);
+1061
+1062 for (Object exception : export.getExceptions())
+1063 getLog().debug(exception.toString());
+1064 }
+1065 finally
+1066 {
+1067 /** Stop Log-Capturing */
+1068 MavenLogAppender.endPluginLog(this);
+1069
+1070 /** Restore the old class-loader (TODO: is this really necessary?) */
+1071 Thread.currentThread().setContextClassLoader(contextClassLoader);
+1072
+1073 if (registry != null)
+1074 registry.destroy();
+1075 }
+1076
+1077 /** Write md5-sums for annotated classes to file */
+1078 try
+1079 {
+1080 FileOutputStream fos = new FileOutputStream(saved);
+1081 ObjectOutputStream oos = new ObjectOutputStream(fos);
+1082 oos.writeObject(md5s);
+1083 oos.close();
+1084 fos.close();
+1085 }
+1086 catch (Exception e)
+1087 {
+1088 getLog().error("Cannot write md5-sums to file: " + e);
+1089 }
+1090 }
+1091
+1092 private ParsedPersistenceXmlDescriptor getPersistenceUnitDescriptor(
+1093 String name,
+1094 Properties properties,
+1095 ClassLoaderService loader
+1096 )
+1097 throws
+1098 MojoFailureException
+1099 {
+1100 PersistenceXmlParser parser =
+1101 new PersistenceXmlParser(
+1102 loader,
+1103 PersistenceUnitTransactionType.RESOURCE_LOCAL
+1104 );
+1105
+1106 List<ParsedPersistenceXmlDescriptor> units = parser.doResolve(properties);
+1107
+1108 if (name == null)
+1109 {
+1110 switch (units.size())
+1111 {
+1112 case 0:
+1113 getLog().info("Found no META-INF/persistence.xml.");
+1114 return null;
+1115 case 1:
+1116 getLog().info("Using persistence-unit " + units.get(0).getName());
+1117 return units.get(0);
+1118 default:
+1119 getLog().warn("No name provided and multiple persistence units found:");
+1120 for (ParsedPersistenceXmlDescriptor unit : units)
+1121 getLog().warn(" - " + unit.getName());
+1122 return null;
+1123 }
+1124
+1125 }
+1126
+1127 for (ParsedPersistenceXmlDescriptor unit : units)
+1128 {
+1129 getLog().debug("Found persistence-unit " + unit.getName());
+1130 if (!unit.getName().equals(name))
+1131 continue;
+1132
+1133 // See if we (Hibernate) are the persistence provider
+1134 if (!ProviderChecker.isProvider(unit, properties))
+1135 {
+1136 getLog().debug("Wrong provider: " + unit.getProviderClassName());
+1137 continue;
+1138 }
+1139
+1140 getLog().info("Using persistence-unit " + unit.getName());
+1141 return unit;
+1142 }
+1143
+1144 throw new MojoFailureException("Could not find persistence-unit " + name);
+1145 }
+1146
+1147
+1148 static final class MavenProjectClassLoaderService implements ClassLoaderService
+1149 {
+1150 final private ClassLoader loader;
+1151
+1152
+1153 public MavenProjectClassLoaderService(ClassLoader loader)
+1154 {
+1155 this.loader = loader;
+1156 }
+1157
+1158
+1159 @Override
+1160 public <T> Class<T> classForName(String name)
+1161 {
+1162 try
+1163 {
+1164 return (Class<T>)loader.loadClass(name);
+1165 }
+1166 catch (ClassNotFoundException e)
+1167 {
+1168 throw new ClassLoadingException( "Unable to load class [" + name + "]", e );
+1169 }
+1170 }
+1171
+1172 @Override
+1173 public URL locateResource(String name)
+1174 {
+1175 return loader.getResource(name);
+1176 }
+1177
+1178 @Override
+1179 public InputStream locateResourceStream(String name)
+1180 {
+1181 return loader.getResourceAsStream(name);
+1182 }
+1183
+1184 @Override
+1185 public List<URL> locateResources(String name)
+1186 {
+1187 try
+1188 {
+1189 return Collections.list(loader.getResources(name));
+1190 }
+1191 catch (IOException e)
+1192 {
+1193 return Collections.EMPTY_LIST;
+1194 }
+1195 }
+1196
+1197 @Override
+1198 public <S> LinkedHashSet<S> loadJavaServices(Class<S> serviceContract)
+1199 {
+1200 throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
+1201 }
+1202
+1203 @Override
+1204 public void stop() { }
+1205
+1206 }
+1207
+1208
+1209 /**
+1210 * Needed, because DriverManager won't pick up drivers, that were not
+1211 * loaded by the system-classloader!
+1212 * See:
+1213 * http://stackoverflow.com/questions/288828/how-to-use-a-jdbc-driver-fromodifiedm-an-arbitrary-location
+1214 */
+1215 static final class DriverProxy implements Driver
+1216 {
+1217 private final Driver target;
+1218
+1219 DriverProxy(Driver target)
+1220 {
+1221 if (target == null)
+1222 throw new NullPointerException();
+1223 this.target = target;
+1224 }
+1225
+1226 public java.sql.Driver getTarget()
+1227 {
+1228 return target;
+1229 }
+1230
+1231 @Override
+1232 public boolean acceptsURL(String url) throws SQLException
+1233 {
+1234 return target.acceptsURL(url);
+1235 }
+1236
+1237 @Override
+1238 public java.sql.Connection connect(
+1239 String url,
+1240 java.util.Properties info
+1241 )
+1242 throws
+1243 SQLException
+1244 {
+1245 return target.connect(url, info);
+1246 }
+1247
+1248 @Override
+1249 public int getMajorVersion()
+1250 {
+1251 return target.getMajorVersion();
+1252 }
+1253
+1254 @Override
+1255 public int getMinorVersion()
+1256 {
+1257 return target.getMinorVersion();
+1258 }
+1259
+1260 @Override
+1261 public DriverPropertyInfo[] getPropertyInfo(
+1262 String url,
+1263 Properties info
+1264 )
+1265 throws
+1266 SQLException
+1267 {
+1268 return target.getPropertyInfo(url, info);
+1269 }
+1270
+1271 @Override
+1272 public boolean jdbcCompliant()
+1273 {
+1274 return target.jdbcCompliant();
+1275 }
+1276
+1277 /**
+1278 * This Method cannot be annotated with @Override, becaus the plugin
+1279 * will not compile then under Java 1.6!
+1280 */
+1281 public Logger getParentLogger() throws SQLFeatureNotSupportedException
+1282 {
+1283 throw new SQLFeatureNotSupportedException("Not supported, for backward-compatibility with Java 1.6");
+1284 }
+1285
+1286 @Override
+1287 public String toString()
+1288 {
+1289 return "Proxy: " + target;
+1290 }
+1291
+1292 @Override
+1293 public int hashCode()
+1294 {
+1295 return target.hashCode();
+1296 }
+1297
+1298 @Override
+1299 public boolean equals(Object obj)
+1300 {
+1301 if (!(obj instanceof DriverProxy))
+1302 return false;
+1303 DriverProxy other = (DriverProxy) obj;
+1304 return this.target.equals(other.target);
+1305 }
+1306 }
+1307 }
+
++ + + diff --git a/static/hibernate4-maven-plugin-1.1.0/xref/de/juplo/plugins/hibernate4/HelpMojo.html b/static/hibernate4-maven-plugin-1.1.0/xref/de/juplo/plugins/hibernate4/HelpMojo.html new file mode 100644 index 00000000..e73a833b --- /dev/null +++ b/static/hibernate4-maven-plugin-1.1.0/xref/de/juplo/plugins/hibernate4/HelpMojo.html @@ -0,0 +1,467 @@ + + + +
+1
+2 package de.juplo.plugins.hibernate4;
+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 hibernate4-maven-plugin.<br>
+23 * Call <code>mvn hibernate4:help -Ddetail=true -Dgoal=<goal-name></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/hibernate4-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/static/hibernate4-maven-plugin-1.1.0/xref/de/juplo/plugins/hibernate4/ValidationConfiguration.html b/static/hibernate4-maven-plugin-1.1.0/xref/de/juplo/plugins/hibernate4/ValidationConfiguration.html new file mode 100644 index 00000000..984ea214 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.1.0/xref/de/juplo/plugins/hibernate4/ValidationConfiguration.html @@ -0,0 +1,67 @@ + + + +
+1 package de.juplo.plugins.hibernate4;
+2
+3 import javax.validation.Validation;
+4
+5 import org.hibernate.cfg.Configuration;
+6 import org.hibernate.cfg.beanvalidation.TypeSafeActivatorAccessor;
+7 import org.hibernate.dialect.Dialect;
+8 import org.hibernate.metamodel.source.MappingException;
+9
+10
+11 /**
+12 * This integration is usually performed by BeanValidationIntegrator.
+13 * Unfortunately, that integration will only be activated upon
+14 * initialization of the ServiceRegistry, which initializes
+15 * DatasourceConnectionProviderImpl, which looks up the datasource,
+16 * which requires a JNDI context ...
+17 * We therefore reimplement the relevant parts of BeanValidatorIntegrator.
+18 * Since that must occur after secondPassCompile(), which is invoked by
+19 * Configuration.generateSchemaCreationScript, which is invoked by
+20 * SchemaExport, some fancy subclassing is needed to invoke the integration
+21 * at the right time.
+22 * @author Mark Robinson <mark@mrobinson.ca>
+23 * @author Frank Schimmel <frank.schimmel@cm4all.com>
+24 */
+25 public class ValidationConfiguration extends Configuration
+26 {
+27 private static final long serialVersionUID = 1L;
+28
+29
+30 @Override
+31 protected void secondPassCompile() throws MappingException
+32 {
+33 super.secondPassCompile();
+34
+35 try
+36 {
+37 TypeSafeActivatorAccessor.applyRelationalConstraints(
+38 Validation.buildDefaultValidatorFactory(),
+39 classes.values(),
+40 getProperties(),
+41 ((Class<Dialect>)Class.forName(getProperty(Hbm2DdlMojo.DIALECT))).newInstance()
+42 );
+43 }
+44 catch (Exception e)
+45 {
+46 throw new RuntimeException(e);
+47 }
+48 }
+49
+50 public String getTypeDefs()
+51 {
+52 return typeDefs.entrySet().toString();
+53 }
+54 }
+
++ + + diff --git a/static/hibernate4-maven-plugin-1.1.0/xref/de/juplo/plugins/hibernate4/package-frame.html b/static/hibernate4-maven-plugin-1.1.0/xref/de/juplo/plugins/hibernate4/package-frame.html new file mode 100644 index 00000000..18711e10 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.1.0/xref/de/juplo/plugins/hibernate4/package-frame.html @@ -0,0 +1,36 @@ + + + + + +
+ de.juplo.plugins.hibernate4 +
+ +Classes
+ +-
+
- + DriverProxy + +
- + Hbm2DdlMojo + +
- + HelpMojo + +
- + MavenProjectClassLoaderService + +
- + ValidationConfiguration + +
-
+
- + Overview + +
- Package +
Package de.juplo.plugins.hibernate4
+ +| Class Summary | +
|---|
| + DriverProxy + | +
| + Hbm2DdlMojo + | +
| + HelpMojo + | +
| + MavenProjectClassLoaderService + | +
| + ValidationConfiguration + | +
-
+
- + Overview + +
- Package +
+ + + \ No newline at end of file diff --git a/static/hibernate4-maven-plugin-1.1.0/xref/index.html b/static/hibernate4-maven-plugin-1.1.0/xref/index.html new file mode 100644 index 00000000..ca7eefc8 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.1.0/xref/index.html @@ -0,0 +1,25 @@ + + + + + + +
Frame Alert
++ You don't have frames. Go here +
+ +
+1 package org.hibernate.cfg.beanvalidation;
+2
+3 /**
+4 * This class enables access to the public methods of {@link TypeSafeActivator}
+5 * which itself is visible in the package only.
+6 *
+7 * @author Frank Schimmel <frank.schimmel@cm4all.com>
+8 */
+9 public class TypeSafeActivatorAccessor extends TypeSafeActivator {
+10 // Empty: just makes public methods accessible.
+11 }
+
++ + + diff --git a/static/hibernate4-maven-plugin-1.1.0/xref/org/hibernate/cfg/beanvalidation/package-frame.html b/static/hibernate4-maven-plugin-1.1.0/xref/org/hibernate/cfg/beanvalidation/package-frame.html new file mode 100644 index 00000000..8893deeb --- /dev/null +++ b/static/hibernate4-maven-plugin-1.1.0/xref/org/hibernate/cfg/beanvalidation/package-frame.html @@ -0,0 +1,24 @@ + + + + + +
+ org.hibernate.cfg.beanvalidation +
+ +Classes
+ +-
+
- + TypeSafeActivatorAccessor + +
-
+
- + Overview + +
- Package +
Package org.hibernate.cfg.beanvalidation
+ +| Class Summary | +
|---|
| + TypeSafeActivatorAccessor + | +
-
+
- + Overview + +
- Package +
+ + + \ No newline at end of file diff --git a/static/hibernate4-maven-plugin-1.1.0/xref/overview-frame.html b/static/hibernate4-maven-plugin-1.1.0/xref/overview-frame.html new file mode 100644 index 00000000..4657f3f1 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.1.0/xref/overview-frame.html @@ -0,0 +1,28 @@ + + + + + +
+ All Classes +
+ +Packages
+ +-
+
- + de.juplo.plugins.hibernate4 + +
- + org.hibernate.cfg.beanvalidation + +
-
+
- Overview +
- Package +
Hibernate 4 Maven Plugin 1.1.0 Reference
+ +| Packages | +
|---|
| + de.juplo.plugins.hibernate4 + | +
| + org.hibernate.cfg.beanvalidation + | +
-
+
- Overview +
- Package +
+ + + \ No newline at end of file diff --git a/static/hibernate4-maven-plugin-1.1.0/xref/stylesheet.css b/static/hibernate4-maven-plugin-1.1.0/xref/stylesheet.css new file mode 100644 index 00000000..89732f81 --- /dev/null +++ b/static/hibernate4-maven-plugin-1.1.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; +}













