Kai Moritz [Fri, 5 Apr 2019 08:48:14 +0000 (10:48 +0200)]
Upgraded source/target version of Java from 1.6 to 1.8
Kai Moritz [Fri, 5 Apr 2019 08:47:43 +0000 (10:47 +0200)]
Added an explicit test against Hibernate 5.2.18.Final
Kai Moritz [Fri, 5 Apr 2019 08:42:41 +0000 (10:42 +0200)]
Upgraded Hibernate from 5.2.4.Final to 5.2.18.Final
Kai Moritz [Fri, 5 Apr 2019 13:02:55 +0000 (15:02 +0200)]
Upgraded the versions of javax.el-api and wagon-ssh-external
Kai Moritz [Fri, 5 Apr 2019 13:01:03 +0000 (15:01 +0200)]
Upgraded maven-core and maven-plugin-api from 3.3.3 to 3.6.0
Kai Moritz [Fri, 5 Apr 2019 11:42:35 +0000 (13:42 +0200)]
Removed unnecessary dependency to hibernate-validator
Kai Moritz [Fri, 5 Apr 2019 12:54:53 +0000 (14:54 +0200)]
Added versions-maven-plugin and freezed the versions for all used plugins
Kai Moritz [Fri, 5 Apr 2019 07:16:32 +0000 (09:16 +0200)]
prepare for next development iteration
Kai Moritz [Mon, 20 Nov 2017 15:28:50 +0000 (16:28 +0100)]
Released 2.1.1
Kai Moritz [Mon, 20 Nov 2017 15:26:35 +0000 (16:26 +0100)]
Switched to the new method for deploying to OSSRH
See: http://central.sonatype.org/pages/apache-maven.html
Kai Moritz [Wed, 5 Jul 2017 23:20:38 +0000 (01:20 +0200)]
Fixed a bug when handling test-dependencies: XML-mappings were ignored
Kai Moritz [Fri, 2 Jun 2017 11:20:20 +0000 (13:20 +0200)]
Bypassed a "bug" in wagon-ssh: support for used key-format is missing
Kai Moritz [Fri, 2 Jun 2017 09:50:10 +0000 (11:50 +0200)]
[maven-release-plugin] prepare for next development iteration
Kai Moritz [Fri, 2 Jun 2017 09:50:08 +0000 (11:50 +0200)]
[maven-release-plugin] prepare release hibernate-maven-plugin-2.1.0
Kai Moritz [Tue, 7 Feb 2017 13:19:14 +0000 (14:19 +0100)]
Fixed the id of the distribution-site
Kai Moritz [Tue, 7 Feb 2017 13:10:59 +0000 (14:10 +0100)]
Added the last plugin-version to the start-page
Kai Moritz [Tue, 7 Feb 2017 13:10:31 +0000 (14:10 +0100)]
Added a FAQ-entry, that explains the configuration of two goals
Kai Moritz [Tue, 7 Feb 2017 12:41:14 +0000 (13:41 +0100)]
The generated schema is checked for it hmp-testclasses-annotationscanning
Kai Moritz [Tue, 7 Feb 2017 12:40:26 +0000 (13:40 +0100)]
Fixed the configuration of the it hmp-testclasses-annotationscanning
Kai Moritz [Tue, 7 Feb 2017 12:13:48 +0000 (13:13 +0100)]
If the pluging is aborted, because of an exception, a stracktrace is printed
Kai Moritz [Tue, 7 Feb 2017 12:00:16 +0000 (13:00 +0100)]
Added a warning, if a directory, that should be scanned, does not exist
To abort with an option would not be wise, because there might be
configurations, that do not need to scan any directories. For example, if
the plugin is configured to create the database schema for classes, that
are contained in a dependency.
Kai Moritz [Tue, 7 Feb 2017 11:17:14 +0000 (12:17 +0100)]
Fixed bug with directories, that should be scanned for annotations
All configuration values for <scanClasses> and <scanTestClasses> were
ignored.
Thanx to Thomas Mauß, how reported this bug and provided a very usefull
integration test, that made it possible to find the bug in a breeze!
Kai Moritz [Sun, 13 Nov 2016 14:56:56 +0000 (15:56 +0100)]
Fixed the akquisition of a database-connection, if one is needed
* The helper-class SimpleConnectionProvider was not changed to reflect the
alterd handling of the configuration parameters.
* If only the user is missing, SimpleConnectionProvider tries to akquire a
connection, because for example H2 does not always need a user, hence
this is an sufficient configuration.
* If an exception is thrown during database akquisition, it is only logged,
instead of rethrown.
* Adapted the example-code for the hibernate-bug HHH-9615 to function as
an additional integration-test and used it, to proof, that an database
connection can be akquired, if only the driver and the URL is present.
Kai Moritz [Sun, 13 Nov 2016 14:30:23 +0000 (15:30 +0100)]
Fixed example-code for hibernate-bug HHH-9615
Kai Moritz [Sun, 13 Nov 2016 14:26:18 +0000 (15:26 +0100)]
Added example-code for hibernate-bug HHH-9615 as additional test-case
See: https://hibernate.atlassian.net/browse/HHH-9615
Kai Moritz [Sun, 13 Nov 2016 13:59:45 +0000 (14:59 +0100)]
Added a test-case to proofe, that @Converter and @Lob can be used together
See: https://hibernate.atlassian.net/browse/HHH-9615
Kai Moritz [Sun, 6 Nov 2016 16:11:28 +0000 (17:11 +0100)]
Fixed error-reporting: errors reported by Hibernate are no longer swallowed
Renamed the H2-databases in the OSGI-tests of the Hibernate-Tutorials,
because it showed, that these tests are failing, but only, if they are
executed together through the parent-directory of the tutorial, but not,
if they are executed separatly, which indicates timing issues in connection
with the shutdown of the database.
Kai Moritz [Sun, 6 Nov 2016 15:26:49 +0000 (16:26 +0100)]
Corrected the description of the three golas create/update/drop
Kai Moritz [Sun, 6 Nov 2016 15:15:51 +0000 (16:15 +0100)]
Added the goal "update"
This new goal is not as useful, as it looks, because the quality of the
generated update-script heavily depends on the support for the JDBC metadata
API of the used driver.
As the added integration-test shows, this support is rather bad for the
H2-database, that is used in the test: a change to the length of one
column is ignored. Only the rename is reflected.
The same seems to hold for MySQL, as can be read here:
http://stackoverflow.com/a/
12405147/247276
Kai Moritz [Sun, 6 Nov 2016 15:14:44 +0000 (16:14 +0100)]
Configuration properties of the plugin are also reported
Kai Moritz [Sun, 6 Nov 2016 15:13:51 +0000 (16:13 +0100)]
Overwriting of a property with the same value is not reported as overwriting
Kai Moritz [Sun, 6 Nov 2016 14:33:12 +0000 (15:33 +0100)]
The content of the generated script is checked for modifications as well
This enables the plugin to automatically generate the SQL if the generated
script is missing (or was exidentically changed, for example by repository
operations).
Kai Moritz [Sun, 6 Nov 2016 13:52:37 +0000 (14:52 +0100)]
Renemed hibernate.schema.export to hibernate.schema.execute
Kai Moritz [Sun, 6 Nov 2016 13:46:35 +0000 (14:46 +0100)]
The output file is truncated, before written to
Kai Moritz [Sun, 6 Nov 2016 13:37:01 +0000 (14:37 +0100)]
JPA-properties must be converted into Hibernate-properties explicitly
Kai Moritz [Sun, 6 Nov 2016 11:05:05 +0000 (12:05 +0100)]
Upgraded Hibernate
* hibernate-core 5.0.2.Final -> 5.2.4.Final
* hibernate-validator 5.2.2.Final -> 5.3.1.Final
Kai Moritz [Sat, 16 Jul 2016 19:10:16 +0000 (21:10 +0200)]
Reworked project-documentation: moved to maven-thymeleaf-skin
Kai Moritz [Sat, 9 Apr 2016 09:02:59 +0000 (11:02 +0200)]
Added additional integration test provided by Fabio Heer
Kai Moritz [Thu, 10 Mar 2016 07:43:10 +0000 (08:43 +0100)]
Fixed NullPointerException in ModificationTracker
Improved error-checking while loading mapping-ressources and calculating the
according MD5-sums. A check was missing, if a mapping-file, that was
configured in a META-INF/persistence.xml, really exists.
Kai Moritz [Wed, 9 Mar 2016 10:51:02 +0000 (11:51 +0100)]
[maven-release-plugin] prepare for next development iteration
Since the integration of the new goals update and validate is planed, a
biger version-step is taken.
Kai Moritz [Wed, 9 Mar 2016 10:51:01 +0000 (11:51 +0100)]
[maven-release-plugin] prepare release hibernate-maven-plugin-2.0.0
Kai Moritz [Mon, 7 Mar 2016 23:25:50 +0000 (00:25 +0100)]
javadoc hat to be configured multiple times for release:prepare
Kai Moritz [Mon, 7 Mar 2016 23:13:10 +0000 (00:13 +0100)]
Added the special javadoc-tags for maven-plugins to the configuration
Kai Moritz [Mon, 7 Mar 2016 15:01:59 +0000 (16:01 +0100)]
Updated documentation
Kai Moritz [Mon, 7 Mar 2016 16:56:16 +0000 (17:56 +0100)]
Fixed missing menu on generated site: moved template from skin to project
Kai Moritz [Mon, 7 Mar 2016 13:44:53 +0000 (14:44 +0100)]
Turned of doclint, that was introduced in Java 8
See: http://blog.joda.org/2014/02/turning-off-doclint-in-jdk-8-javadoc.html
Kai Moritz [Tue, 22 Dec 2015 18:56:41 +0000 (19:56 +0100)]
Fixed ConcurrentModificationException
Kai Moritz [Mon, 21 Dec 2015 16:01:42 +0000 (17:01 +0100)]
Fixed bug regarding the skipping of unmodified builds
If a property or class was removed, its value or md5sum stayed in the set
of md5sums, so that each following build (without a clean) was juged as
modified.
Kai Moritz [Sun, 20 Dec 2015 20:06:37 +0000 (21:06 +0100)]
All packages up to the root are checked for annotations
Kai Moritz [Sun, 20 Dec 2015 12:32:48 +0000 (13:32 +0100)]
Fixed bug: the execution is no more skipped after a failed build
After a failed build, further executions of the plugin were skipped, because
the MD5-summs suggested, that nothing is to do because nothing has changed.
Because of that, the MD5-summs are now removed in case of a failure.
Kai Moritz [Sat, 19 Dec 2015 17:02:02 +0000 (18:02 +0100)]
Mappings from JPA-mapping-files are considered
Kai Moritz [Sat, 19 Dec 2015 02:46:49 +0000 (03:46 +0100)]
Fixed minor misconfiguration in integration-test dependency test
Error because of multiple persistence-units by repeated execution
Kai Moritz [Thu, 17 Dec 2015 02:10:33 +0000 (03:10 +0100)]
Considering mapping-configuration from persistence.xml and hibernate.cfg.xml
Kai Moritz [Thu, 17 Dec 2015 01:53:38 +0000 (02:53 +0100)]
Sidestepped bug in Hibernate 5
Kai Moritz [Wed, 16 Dec 2015 21:09:00 +0000 (22:09 +0100)]
Introduced the goal "drop"
* Fixed integration-test hibernate4-maven-plugin-envers-sample by adapting
it to the new drop-goal
* Adapted the other integration-tests to the new naming schema for the
create-script
Kai Moritz [Wed, 16 Dec 2015 17:08:56 +0000 (18:08 +0100)]
Reworked configuration and the tracking thereof
* Moved common parameters from CreateMojo to AbstractSchemaMojo
* Reordered parameters into sensible groups
* Renamed the maven-property-names of the parameters
* All configuration-parameters are tracked, not only hibernate-parameters
* Introduced special treatment for some of the plugin-parameters (export
and show)
Kai Moritz [Wed, 21 Oct 2015 09:49:56 +0000 (11:49 +0200)]
Reworked plugin-configuration: worshipped the DRY-principle
Kai Moritz [Fri, 16 Oct 2015 10:16:30 +0000 (12:16 +0200)]
Refined reimplementation of the plugin for Hibernate 5.x
Renamed the plugin from hibernate4-maven-plugin to hibernate-maven-plugin,
because the goal is, to support all recent older versions with the new
plugin.
Kai Moritz [Wed, 21 Oct 2015 10:18:29 +0000 (12:18 +0200)]
Integration-Tests are skiped, if "maven.test.skip" is set to true
Kai Moritz [Tue, 8 Sep 2015 11:55:43 +0000 (13:55 +0200)]
Updated version of juplo-skin for generation of documentation
Kai Moritz [Tue, 19 May 2015 19:41:50 +0000 (21:41 +0200)]
Added new configuration sources in documentation about precedence
Kai Moritz [Sat, 16 May 2015 14:17:02 +0000 (16:17 +0200)]
[maven-release-plugin] prepare for next development iteration
Kai Moritz [Sat, 16 May 2015 14:17:00 +0000 (16:17 +0200)]
[maven-release-plugin] prepare release hibernate4-maven-plugin-1.1.0
Kai Moritz [Sat, 16 May 2015 12:14:44 +0000 (14:14 +0200)]
Added script to check outcome of the hibernate-tutorials
Kai Moritz [Tue, 5 May 2015 10:43:15 +0000 (12:43 +0200)]
Configured hibernate-tutorials to use the plugin
Kai Moritz [Tue, 5 May 2015 10:21:39 +0000 (12:21 +0200)]
Fixed the settings in the pom's of the tutorials
Kai Moritz [Tue, 5 May 2015 09:49:30 +0000 (11:49 +0200)]
Added tutorials of the hibernate-release 4.3.9.Final as integration-tests
Kai Moritz [Sat, 16 May 2015 09:04:36 +0000 (11:04 +0200)]
JPA-jdbc-properties are used, if appropriate hibernate-properties are missing
Kai Moritz [Thu, 14 May 2015 21:43:13 +0000 (23:43 +0200)]
Hibernate configuration is gathered from class-path by default
Kai Moritz [Wed, 13 May 2015 07:44:18 +0000 (09:44 +0200)]
Found no way to check, that mapped classes were found
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...
Kai Moritz [Sun, 10 May 2015 17:06:27 +0000 (19:06 +0200)]
Added javadoc-jar to deployed artifact
Kai Moritz [Sat, 9 May 2015 21:48:39 +0000 (23:48 +0200)]
Be sure to relase all resources (closing db-connections!)
Kai Moritz [Sat, 9 May 2015 20:07:31 +0000 (22:07 +0200)]
Settings in a hibernate.cfg.xml are read
Kai Moritz [Tue, 5 May 2015 21:42:40 +0000 (23:42 +0200)]
Catched NPE, if hibernate-dialect is not set
Kai Moritz [Sun, 3 May 2015 16:53:24 +0000 (18:53 +0200)]
Upgraded oss-type, maven-plugin-api and build/report-plugins
Kai Moritz [Sun, 3 May 2015 16:53:04 +0000 (18:53 +0200)]
Upgraded hibernate to 4.3.9.Final
Kai Moritz [Sun, 3 May 2015 16:09:12 +0000 (18:09 +0200)]
Renamed nex release to 1.1.0
Kai Moritz [Sun, 3 May 2015 14:48:43 +0000 (16:48 +0200)]
Generation of tables and rows for auditing is now default
Kai Moritz [Sun, 3 May 2015 14:20:58 +0000 (16:20 +0200)]
Fixed mojo to scan for properties in 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
Kai Moritz [Sun, 3 May 2015 12:51:46 +0000 (14:51 +0200)]
Switched to usage of a ServiceRegistry
Kai Moritz [Sun, 3 May 2015 09:42:54 +0000 (11:42 +0200)]
Integration-Test for envers really generates the SQL
Kai Moritz [Sun, 15 Mar 2015 15:56:22 +0000 (16:56 +0100)]
Extended integration-test "hib-test" to check for package-level annotations
Kai Moritz [Sun, 15 Mar 2015 14:42:01 +0000 (15:42 +0100)]
Added support for m2e
Thanks to Andreas Khutz
Kai Moritz [Tue, 11 Nov 2014 14:28:12 +0000 (15:28 +0100)]
[maven-release-plugin] prepare for next development iteration
Kai Moritz [Tue, 11 Nov 2014 14:27:57 +0000 (15:27 +0100)]
[maven-release-plugin] prepare release hibernate4-maven-plugin-1.0.5
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!)
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
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
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".
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.
Kai Moritz [Sun, 26 Oct 2014 10:16:00 +0000 (11:16 +0100)]
Renamed an integration-test to test for whitespaces in the filename
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
Kai Moritz [Sat, 25 Oct 2014 14:52:34 +0000 (16:52 +0200)]
Integrated integration test provided by Claus Graf (clausgraf@gmail.com)
Kai Moritz [Mon, 2 Jun 2014 08:31:13 +0000 (10:31 +0200)]
[maven-release-plugin] prepare for next development iteration
Kai Moritz [Mon, 2 Jun 2014 08:31:12 +0000 (10:31 +0200)]
[maven-release-plugin] prepare release hibernate4-maven-plugin-1.0.4
Kai Moritz [Mon, 2 Jun 2014 08:12:24 +0000 (10:12 +0200)]
Updated documentation
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
Kai Moritz [Tue, 29 Apr 2014 17:42:41 +0000 (19:42 +0200)]
Fixed bug in site-configuration