hibernate4-maven-plugin
9 years agoJPA-jdbc-properties are used, if appropriate hibernate-properties are missing
Kai Moritz [Sat, 16 May 2015 09:04:36 +0000 (11:04 +0200)]
JPA-jdbc-properties are used, if appropriate hibernate-properties are missing

9 years agoHibernate configuration is gathered from class-path by default
Kai Moritz [Thu, 14 May 2015 21:43:13 +0000 (23:43 +0200)]
Hibernate configuration is gathered from class-path by default

9 years agoFound no way to check, that mapped classes were found
Kai Moritz [Wed, 13 May 2015 07:44:18 +0000 (09:44 +0200)]
Found no way to check, that mapped classes were found

9 years agoUpgraded scannotation from 1.0.3 to 1.0.4
Kai Moritz [Tue, 12 May 2015 20:13:23 +0000 (22:13 +0200)]
Upgraded scannotation from 1.0.3 to 1.0.4

This fixes the bug that occures on some platforms, if the path contains a
space. Created a fork of scannotation to bring the latest bug-fixes from SVN
to maven central...

9 years agoAdded javadoc-jar to deployed artifact
Kai Moritz [Sun, 10 May 2015 17:06:27 +0000 (19:06 +0200)]
Added javadoc-jar to deployed artifact

9 years agoBe sure to relase all resources (closing db-connections!)
Kai Moritz [Sat, 9 May 2015 21:48:39 +0000 (23:48 +0200)]
Be sure to relase all resources (closing db-connections!)

9 years agoSettings in a hibernate.cfg.xml are read
Kai Moritz [Sat, 9 May 2015 20:07:31 +0000 (22:07 +0200)]
Settings in a hibernate.cfg.xml are read

9 years agoCatched NPE, if hibernate-dialect is not set
Kai Moritz [Tue, 5 May 2015 21:42:40 +0000 (23:42 +0200)]
Catched NPE, if hibernate-dialect is not set

9 years agoUpgraded oss-type, maven-plugin-api and build/report-plugins
Kai Moritz [Sun, 3 May 2015 16:53:24 +0000 (18:53 +0200)]
Upgraded oss-type, maven-plugin-api and build/report-plugins

9 years agoUpgraded hibernate to 4.3.9.Final
Kai Moritz [Sun, 3 May 2015 16:53:04 +0000 (18:53 +0200)]
Upgraded hibernate to 4.3.9.Final

9 years agoRenamed nex release to 1.1.0
Kai Moritz [Sun, 3 May 2015 16:09:12 +0000 (18:09 +0200)]
Renamed nex release to 1.1.0

9 years agoGeneration of tables and rows for auditing is now default
Kai Moritz [Sun, 3 May 2015 14:48:43 +0000 (16:48 +0200)]
Generation of tables and rows for auditing is now default

9 years agoFixed mojo to scan for properties in persistence.xml
Kai Moritz [Sun, 3 May 2015 14:20:58 +0000 (16:20 +0200)]
Fixed mojo to scan for properties in persistence.xml

9 years agoAdded an integration-test, that depends on properties from a persistence.xml
Kai Moritz [Sun, 3 May 2015 12:51:12 +0000 (14:51 +0200)]
Added an integration-test, that depends on properties from a persistence.xml

9 years agoSwitched to usage of a ServiceRegistry
Kai Moritz [Sun, 3 May 2015 12:51:46 +0000 (14:51 +0200)]
Switched to usage of a ServiceRegistry

9 years agoIntegration-Test for envers really generates the SQL
Kai Moritz [Sun, 3 May 2015 09:42:54 +0000 (11:42 +0200)]
Integration-Test for envers really generates the SQL

9 years agoExtended integration-test "hib-test" to check for package-level annotations
Kai Moritz [Sun, 15 Mar 2015 15:56:22 +0000 (16:56 +0100)]
Extended integration-test "hib-test" to check for package-level annotations

9 years agoAdded support for m2e
Kai Moritz [Sun, 15 Mar 2015 14:42:01 +0000 (15:42 +0100)]
Added support for m2e

Thanks to Andreas Khutz

10 years ago[maven-release-plugin] prepare for next development iteration
Kai Moritz [Tue, 11 Nov 2014 14:28:12 +0000 (15:28 +0100)]
[maven-release-plugin] prepare for next development iteration

10 years ago[maven-release-plugin] prepare release hibernate4-maven-plugin-1.0.5 hibernate4-maven-plugin-1.0.5
Kai Moritz [Tue, 11 Nov 2014 14:27:57 +0000 (15:27 +0100)]
[maven-release-plugin] prepare release hibernate4-maven-plugin-1.0.5

10 years agoUpgraded hibernate-validator from 4.3.2.Final to 5.1.3.Final
Kai Moritz [Tue, 11 Nov 2014 14:10:32 +0000 (15:10 +0100)]
Upgraded hibernate-validator from 4.3.2.Final to 5.1.3.Final

Hibernate Validator 5 requires the Unified Expression Language (EL) in
version 2.2 or later. Therefore, a dependency to javax.el-api:3.0.0 was
added. (Without that, the compilation of some integration-tests fails!)

10 years agoUpgraded hibernate-core, hibernate-envers, hibernate-validator and maven-core
Kai Moritz [Tue, 11 Nov 2014 13:32:42 +0000 (14:32 +0100)]
Upgraded hibernate-core, hibernate-envers, hibernate-validator and maven-core

 * Upgraded hibernate-core      from 4.3.1.Final to 4.3.7.Final
 * Upgraded hibernate-envers    from 4.3.1.Final to 4.3.7.Final
 * Upgraded hibernate-validator from 4.3.1.Final to 4.3.2.Final
 * Upgraded maven-core          from 3.2.1       to 3.2.3

10 years agoAdded FAQ-entry for problem with whitespaces in the path under Windows
Kai Moritz [Tue, 11 Nov 2014 13:29:23 +0000 (14:29 +0100)]
Added FAQ-entry for problem with whitespaces in the path under Windows

10 years agoExplained how to suppress dependency-scanning in documentation
Kai Moritz [Tue, 28 Oct 2014 22:37:45 +0000 (23:37 +0100)]
Explained how to suppress dependency-scanning in documentation

Also added a test-case to be sure, that dependency-scanning is skipped, if
the parameter "dependencyScanning" is set to "none".

10 years agoFixed NullPointerException, when dialect is specified in properties-file
Kai Moritz [Mon, 27 Oct 2014 08:04:48 +0000 (09:04 +0100)]
Fixed NullPointerException, when dialect is specified in properties-file

Also added an integration test-case, that proofed, that the error was
solved.

10 years agoRenamed an integration-test to test for whitespaces in the filename
Kai Moritz [Sun, 26 Oct 2014 10:16:00 +0000 (11:16 +0100)]
Renamed an integration-test to test for whitespaces in the filename

10 years agoAdded patch by Joachim Van der Auwera to support package level annotations
Kai Moritz [Sat, 25 Oct 2014 15:29:41 +0000 (17:29 +0200)]
Added patch by Joachim Van der Auwera to support package level annotations

10 years agoIntegrated integration test provided by Claus Graf (clausgraf@gmail.com)
Kai Moritz [Sat, 25 Oct 2014 14:52:34 +0000 (16:52 +0200)]
Integrated integration test provided by Claus Graf (clausgraf@gmail.com)

10 years ago[maven-release-plugin] prepare for next development iteration
Kai Moritz [Mon, 2 Jun 2014 08:31:13 +0000 (10:31 +0200)]
[maven-release-plugin] prepare for next development iteration

10 years ago[maven-release-plugin] prepare release hibernate4-maven-plugin-1.0.4 hibernate4-maven-plugin-1.0.4
Kai Moritz [Mon, 2 Jun 2014 08:31:12 +0000 (10:31 +0200)]
[maven-release-plugin] prepare release hibernate4-maven-plugin-1.0.4

10 years agoUpdated documentation
Kai Moritz [Mon, 2 Jun 2014 08:12:24 +0000 (10:12 +0200)]
Updated documentation

10 years agoSwitched documentation to xhtml, to be able to integrate google-pretty-print
Kai Moritz [Tue, 29 Apr 2014 18:43:15 +0000 (20:43 +0200)]
Switched documentation to xhtml, to be able to integrate google-pretty-print

10 years agoFixed bug in site-configuration
Kai Moritz [Tue, 29 Apr 2014 17:42:41 +0000 (19:42 +0200)]
Fixed bug in site-configuration

10 years agoVerifying generated SQL in integration-test hibernate4-maven-plugin-envers-sample
Kai Moritz [Tue, 29 Apr 2014 16:07:44 +0000 (18:07 +0200)]
Verifying generated SQL in integration-test hibernate4-maven-plugin-envers-sample

10 years agoAdded integration-test provided by Erik-Berndt Scheper <erik.berndt.scheper@gmail...
Kai Moritz [Tue, 29 Apr 2014 16:01:10 +0000 (18:01 +0200)]
Added integration-test provided by Erik-Berndt Scheper <erik.berndt.scheper@gmail.com>

10 years agoVerifying generated SQL in integration-test schemaexport-example
Kai Moritz [Tue, 29 Apr 2014 15:52:17 +0000 (17:52 +0200)]
Verifying generated SQL in integration-test schemaexport-example

10 years agoAdded integration-test provided by Guido Wimmel <Wimmel.Guido@swm.de>
Kai Moritz [Tue, 29 Apr 2014 15:46:05 +0000 (17:46 +0200)]
Added integration-test provided by Guido Wimmel <Wimmel.Guido@swm.de>

10 years agoVerifying generated SQL in integration-test hib-test
Kai Moritz [Tue, 29 Apr 2014 07:43:06 +0000 (09:43 +0200)]
Verifying generated SQL in integration-test hib-test

10 years agoAdded integration-test provided by Joel Johnson <mrjoel@lixil.net>
Kai Moritz [Tue, 29 Apr 2014 06:58:33 +0000 (08:58 +0200)]
Added integration-test provided by Joel Johnson <mrjoel@lixil.net>

10 years agoPrepared POM for integration-tests via invoker-maven-plugin
Kai Moritz [Tue, 29 Apr 2014 06:43:28 +0000 (08:43 +0200)]
Prepared POM for integration-tests via invoker-maven-plugin

10 years agoUpgraded Version of maven from 3.0.4 to 3.2.1
Kai Moritz [Tue, 29 Apr 2014 06:41:50 +0000 (08:41 +0200)]
Upgraded Version of maven from 3.0.4 to 3.2.1

10 years agoProperly support constraints expressed by bean validation (jsr303) annotations.
Frank Schimmel [Wed, 12 Feb 2014 14:16:18 +0000 (15:16 +0100)]
Properly support constraints expressed by bean validation (jsr303) annotations.

 * Access public method of package-visible TypeSafeActivator class without reflection.
 * Fix arguments to call of TypeSafeActivator.applyRelationalConstraints().
 * Use hibernate version 4.3.1.Final for all components.
 * Minor refactorings in exception handling.

10 years agoAdded last contributors to the POM
Kai Moritz [Fri, 17 Jan 2014 08:05:05 +0000 (09:05 +0100)]
Added last contributors to the POM

10 years agoGenerated schema now corresponds to hibernate validators set on the beans
Mark Robinson [Fri, 17 Jan 2014 07:53:47 +0000 (08:53 +0100)]
Generated schema now corresponds to hibernate validators set on the beans

10 years agoUpgrade to Hibernate 4.3.0.Final
Kai Moritz [Thu, 16 Jan 2014 17:33:32 +0000 (18:33 +0100)]
Upgrade to Hibernate 4.3.0.Final

10 years agoImproved documentation of the dependency-scanning on the pitfalls-page
Kai Moritz [Thu, 16 Jan 2014 17:23:12 +0000 (18:23 +0100)]
Improved documentation of the dependency-scanning on the pitfalls-page

10 years agoText cleanup, spelling, etc.
Joel Johnson [Thu, 26 Dec 2013 21:33:51 +0000 (14:33 -0700)]
Text cleanup, spelling, etc.

10 years agoMake output file handling more robust
Joel Johnson [Thu, 26 Dec 2013 21:02:29 +0000 (14:02 -0700)]
Make output file handling more robust

* Ensure output file directory path exists
* Anchor relative paths in build directory

10 years agoCheck that md5 path is file and has content
Joel Johnson [Thu, 26 Dec 2013 20:53:37 +0000 (13:53 -0700)]
Check that md5 path is file and has content

10 years agoUse more descriptive filename for schema md5
Joel Johnson [Thu, 26 Dec 2013 18:25:34 +0000 (11:25 -0700)]
Use more descriptive filename for schema md5

10 years agoOffer explicit disable option
Joel Johnson [Thu, 26 Dec 2013 18:20:24 +0000 (11:20 -0700)]
Offer explicit disable option

Use an explicit disable property, but still default it to test state

11 years ago[maven-release-plugin] prepare for next development iteration
Kai Moritz [Thu, 17 Oct 2013 23:55:11 +0000 (01:55 +0200)]
[maven-release-plugin] prepare for next development iteration

11 years ago[maven-release-plugin] prepare release hibernate4-maven-plugin-1.0.3 hibernate4-maven-plugin-1.0.3
Kai Moritz [Thu, 17 Oct 2013 23:55:09 +0000 (01:55 +0200)]
[maven-release-plugin] prepare release hibernate4-maven-plugin-1.0.3

11 years agoAdded missing documentation for skip-configuration
Kai Moritz [Thu, 17 Oct 2013 23:52:27 +0000 (01:52 +0200)]
Added missing documentation for skip-configuration

11 years agoAdded @since-Annotation to configuration-parameters
Kai Moritz [Thu, 17 Oct 2013 22:38:29 +0000 (00:38 +0200)]
Added @since-Annotation to configuration-parameters

11 years agoThe plugin now scans for annotated classes in dependencies too
Kai Moritz [Tue, 15 Oct 2013 23:18:53 +0000 (01:18 +0200)]
The plugin now scans for annotated classes in dependencies too

11 years agoProject-Documentation now uses the own skin juplo-skin
Kai Moritz [Wed, 9 Oct 2013 19:37:58 +0000 (21:37 +0200)]
Project-Documentation now uses the own skin juplo-skin

11 years agoReworked APT-Documentation: page-titles were missing
Kai Moritz [Wed, 9 Oct 2013 19:30:28 +0000 (21:30 +0200)]
Reworked APT-Documentation: page-titles were missing

11 years agomaven-site-plugin auf Version 3.3 aktualisiert
Kai Moritz [Wed, 9 Oct 2013 19:29:30 +0000 (21:29 +0200)]
maven-site-plugin auf Version 3.3 aktualisiert

11 years agoReverted to old behaviour: export is skipped, when maven.test.skip=true
Kai Moritz [Wed, 18 Sep 2013 21:59:13 +0000 (23:59 +0200)]
Reverted to old behaviour: export is skipped, when maven.test.skip=true

11 years agoNo configuration for hibernate.dialect might be a valid configuration too
Kai Moritz [Wed, 18 Sep 2013 16:15:38 +0000 (18:15 +0200)]
No configuration for hibernate.dialect might be a valid configuration too

11 years agoImproved log-messages
Kai Moritz [Wed, 18 Sep 2013 16:14:54 +0000 (18:14 +0200)]
Improved log-messages

11 years agoVariable "envers" should not be put into hibernate.properties
Kai Moritz [Wed, 18 Sep 2013 16:10:32 +0000 (18:10 +0200)]
Variable "envers" should not be put into hibernate.properties

"hibernate.exoprt.envers" is no Hibernate-Configuration-Parameter.
Hence, it should not be put into the hibernate.properties-file.

11 years agoRename envers property to hibernate.export.envers envers
Erik-Berndt Scheper [Tue, 10 Sep 2013 14:18:47 +0000 (16:18 +0200)]
Rename envers property to hibernate.export.envers

11 years agoIgnore IntelliJ project files
Erik-Berndt Scheper [Tue, 10 Sep 2013 06:20:23 +0000 (08:20 +0200)]
Ignore IntelliJ project files

11 years agoAdding envers support (contribution from Victor Tatai)
Victor Tatai [Mon, 25 Feb 2013 19:23:29 +0000 (16:23 -0300)]
Adding envers support (contribution from Victor Tatai)

11 years agoAdded Link to old Version 1.0.2 in documentation
Kai Moritz [Tue, 10 Sep 2013 18:46:55 +0000 (20:46 +0200)]
Added Link to old Version 1.0.2 in documentation

11 years agoExecution is only skipped, if explicitly told so
Kai Moritz [Tue, 10 Sep 2013 18:29:15 +0000 (20:29 +0200)]
Execution is only skipped, if explicitly told so

11 years agoUpgrade to Scannotation 1.0.3
Kai Moritz [Sat, 7 Sep 2013 22:25:51 +0000 (00:25 +0200)]
Upgrade to Scannotation 1.0.3

11 years agoUpgrade to Hibernate 4.2.5.Final
Kai Moritz [Sat, 7 Sep 2013 22:25:02 +0000 (00:25 +0200)]
Upgrade to Hibernate 4.2.5.Final

11 years agoFixed failure when target/classes does not exist when runnin mvn test phase
Kai Moritz [Sat, 31 Aug 2013 07:01:43 +0000 (09:01 +0200)]
Fixed failure when target/classes does not exist when runnin mvn test phase

Thanks to Stephen Johnson <stejohns@redhat.com>

Details from the original email:
---------
The following patch stops builds failing when target/classes (or no main java exists), and target/test-classes and src/tests exist.

So for example calling

mvn test -> invokes compiler:compile and if you have export bound to process-classes phase in executions it will fail.  Maybe better to give info and carry on.  Say for example they want to leave the executions in place that deal with process-classes and also process-test-classes but they do not want it to fail if there is no java to annotate in src/classes.  The other way would be to comment out the executions bound to process-classes.  What about export being bound to process-class by default?  Could this also cause issues?

In either case I think the plugin code did checks for src/classes directory existing, in which case even call "mvn test" would fail as src/classes would not exist as no java existed in src/main only in src/test.  Have a look through the patch and see if its of any use.

11 years agoImproved log-messages
Kai Moritz [Sat, 31 Aug 2013 09:28:51 +0000 (11:28 +0200)]
Improved log-messages

11 years agoFixed NPE when using nested classes in entities with @EmbeddedId/@Embeddable
Kai Moritz [Sat, 31 Aug 2013 06:51:03 +0000 (08:51 +0200)]
Fixed NPE when using nested classes in entities with @EmbeddedId/@Embeddable

Patch supplied by Eduard Szente <eduard.szente@gmail.com>

Details:
----------------
Hi,

when using your plugin for schema export the presence of nested classes
in entities (e.g. when using @EmbeddedId/@Embeddable and defining the Id
within the target entity class)
yields to NPEs.

public class Entity {

  @EmbeddedId
  private Id id;

  @Embeddable
  public static class Id implements Serializable {
    ....
  }

}

Entity.Id.class.getSimplename == "Id", while the compiled class is named
"Entity$Id.class"

Patch appended.

Best regards,
Eduard

11 years ago[maven-release-plugin] prepare for next development iteration
Kai Moritz [Thu, 1 Aug 2013 23:41:20 +0000 (01:41 +0200)]
[maven-release-plugin] prepare for next development iteration

11 years ago[maven-release-plugin] prepare release hibernate4-maven-plugin-1.0.2 hibernate4-maven-plugin-1.0.2
Kai Moritz [Thu, 1 Aug 2013 23:41:18 +0000 (01:41 +0200)]
[maven-release-plugin] prepare release hibernate4-maven-plugin-1.0.2

11 years agoLast preparations for release
Kai Moritz [Thu, 1 Aug 2013 22:37:40 +0000 (00:37 +0200)]
Last preparations for release

11 years agoUpgrade to Hibernate 4.2.3.Final
Kai Moritz [Thu, 1 Aug 2013 22:37:22 +0000 (00:37 +0200)]
Upgrade to Hibernate 4.2.3.Final

11 years agoMapping-configurations are opend as given before searched in resources
Kai Moritz [Thu, 1 Aug 2013 10:41:06 +0000 (12:41 +0200)]
Mapping-configurations are opend as given before searched in resources

11 years agoImproved documentaion (new FAQ-entries)
Kai Moritz [Wed, 31 Jul 2013 23:45:22 +0000 (01:45 +0200)]
Improved documentaion (new FAQ-entries)

11 years agoAdded support for mapping-configuration through mapping-files (*.hbm.xml)
Kai Moritz [Wed, 31 Jul 2013 21:07:26 +0000 (23:07 +0200)]
Added support for mapping-configuration through mapping-files (*.hbm.xml)

11 years agoFixed problem with NamingStrategy (contribution from Lorenzo Nicora)
nicus [Fri, 19 Apr 2013 13:27:21 +0000 (15:27 +0200)]
Fixed problem with NamingStrategy (contribution from Lorenzo Nicora)

 * NamingStrategy is set explicitly on Hibernate Configuration (not
   passed by properties)
 * Added  'hibernateNamingStrategy' configuration property

11 years agoIntegration of the maven-plugin-plugin for automated helpmojo-generation
Kai Moritz [Mon, 25 Feb 2013 21:35:33 +0000 (22:35 +0100)]
Integration of the maven-plugin-plugin for automated helpmojo-generation

Thanks to Adriano Machado, who contributed this patch!

11 years ago[maven-release-plugin] prepare for next development iteration
Kai Moritz [Tue, 15 Jan 2013 22:41:27 +0000 (23:41 +0100)]
[maven-release-plugin] prepare for next development iteration

11 years ago[maven-release-plugin] prepare release hibernate4-maven-plugin-1.0.1 hibernate4-maven-plugin-1.0.1
Kai Moritz [Tue, 15 Jan 2013 22:41:25 +0000 (23:41 +0100)]
[maven-release-plugin] prepare release hibernate4-maven-plugin-1.0.1

11 years agoReworked documentation: splited and reorderd pages and menu
Kai Moritz [Tue, 15 Jan 2013 22:09:01 +0000 (23:09 +0100)]
Reworked documentation: splited and reorderd pages and menu

11 years agoAdded breadcrumb to site
Kai Moritz [Tue, 15 Jan 2013 21:39:39 +0000 (22:39 +0100)]
Added breadcrumb to site

11 years agoAdded Google-Analytics tracking-code to site
Kai Moritz [Tue, 15 Jan 2013 21:33:48 +0000 (22:33 +0100)]
Added Google-Analytics tracking-code to site

11 years agoAdded release information to site
Kai Moritz [Tue, 15 Jan 2013 21:21:54 +0000 (22:21 +0100)]
Added release information to site

11 years agoReworked documentation: added documentation for new features etc.
Kai Moritz [Mon, 17 Dec 2012 23:14:08 +0000 (00:14 +0100)]
Reworked documentation: added documentation for new features etc.

11 years agoTest-Classes can now be included into the scanning for Hibernate-Annotations
Kai Moritz [Tue, 15 Jan 2013 09:40:09 +0000 (10:40 +0100)]
Test-Classes can now be included into the scanning for Hibernate-Annotations

11 years agoBugfix: database-parameters for connection were not taken from properties
Kai Moritz [Tue, 15 Jan 2013 08:09:05 +0000 (09:09 +0100)]
Bugfix: database-parameters for connection were not taken from properties

The hibernate-propertiesfile was read and used for the configuration of
the SchemaExport-class, but the database-parameters from these source were
ignored, when the database-connection was opened.

11 years agoImproved log-messages
Kai Moritz [Tue, 15 Jan 2013 08:02:33 +0000 (09:02 +0100)]
Improved log-messages

11 years agoBugfix: connection was closed, even when it was never created
Kai Moritz [Wed, 9 Jan 2013 19:57:22 +0000 (20:57 +0100)]
Bugfix: connection was closed, even when it was never created

Bugreport from: Adriano Machado <adriano.m.machado@hotmail.com>

When only the script is generated and no export is executed, no database-
connection is opend. Nevertheless, the code tried to close it in the
finally-block, which lead to a NPE.

11 years agoImplemented new parameter "force"
Kai Moritz [Mon, 17 Dec 2012 23:31:22 +0000 (00:31 +0100)]
Implemented new parameter "force"

If -Dhibernate.export.force is specified, the schema-export will be forced.

11 years agoPlugin ignores upper- or lower-case mismatches for "type" and "target"
Kai Moritz [Fri, 14 Dec 2012 01:16:44 +0000 (02:16 +0100)]
Plugin ignores upper- or lower-case mismatches for "type" and "target"

11 years agoThe Targets EXPORT and NONE force excecution
Kai Moritz [Fri, 14 Dec 2012 01:13:05 +0000 (02:13 +0100)]
The Targets EXPORT and NONE force excecution

Otherwise, an explicitly requestes SQL-export or mapping-test-run would be
skipped, if no annotated class was modified.

If the export is skipped, this is signaled via the maven-property
hibernate.export.skipped.

Refactored name of the skip-property to an public final static String

11 years agoConfiguration via properties reworked
Kai Moritz [Fri, 14 Dec 2012 00:43:45 +0000 (01:43 +0100)]
Configuration via properties reworked

 * export-type and -target are now also configurable via properties
 * schema-filename, -delemiter and -format are now also configurable via
   porperties

11 years agoschema is now rebuild, when SQL-dialect changes
Kai Moritz [Thu, 13 Dec 2012 15:19:55 +0000 (16:19 +0100)]
schema is now rebuild, when SQL-dialect changes

11 years agoSkipping of unchanged scenarios is now based on MD5-sums of all classes
Kai Moritz [Tue, 11 Dec 2012 16:30:19 +0000 (17:30 +0100)]
Skipping of unchanged scenarios is now based on MD5-sums of all classes

When working with Netbeans, the schema was often rebuild without need.
The cause of this behaviour was, that Netbeans (or Maven itself) sometimes
touches unchanged classes. To avoid this, hibernat4-maven-plugin now
calculates MD5-sums for all annotated classes and compares these instead of
the last-modified value.

11 years agohibernate4:export is skipped, when annotated classes are unchanged
Kai Moritz [Tue, 11 Dec 2012 16:02:14 +0000 (17:02 +0100)]
hibernate4:export is skipped, when annotated classes are unchanged

Hbm2DdlMojo now checks the last-modified-timestamp of all found annotated
classes and aborts the schema-generation, when no class has changed and no
new class was added since the last execution.

It then sets a maven-property, to indicate to other plugins, that the
generation was skipped.