Commit Graph

9570 Commits

Author SHA1 Message Date
Yoann Rodière b8bf21c060 HHH-14640 : Push to github atomically and only if the release succeeds 2021-06-03 16:10:37 -07:00
Yoann Rodière e94ee2d779 HHH-14640 : Add more precondition checks to release tasks 2021-06-03 16:10:37 -07:00
Yoann Rodière ed650b3fe6 HHH-14640 : Move the update to version.properties to a release task
This is necessary if we want to check that the working tree is empty as
part of the release process (see next commit).
2021-06-03 16:10:37 -07:00
Yoann Rodière ab1fa97bf5 HHH-14640 : Use a less verbose syntax for git commands 2021-06-03 16:10:37 -07:00
Yoann Rodière dfa1630334 HHH-14640 : Fix incorrect message for the second commit during release 2021-06-03 16:10:37 -07:00
Yoann Rodière 534473c653 HHH-14640 : Fix error detection in executeGitCommand
1. proc.consumeProcessErrorStream does not work correctly: it creates a
   thread to asynchronously copy the content of the stream to the string
   buffer, and does not provide any way to know when it's done. As a
   result, sometimes the buffer is correctly filled in after
   consumeProcessErrorStream returns, sometimes it's not.
2. Checking stderr to know if there was an error is not a good idea: a
   process can run just fine and give output on stderr (logs,
   basically), and a process can fail without giving any output on
   stderr. Checking the status code is more reliable.
2021-06-03 16:10:37 -07:00
Andrea Boriero 31dbc1c5a3 HHH-14640: Add gradle task to automate the CI release 2021-06-03 16:10:37 -07:00
Falko Modler bc6048d0b7 HHH-14030 Gradle: user.language=en to avoid errors on German Win10 2021-06-03 16:10:37 -07:00
Yoann Rodière 1356e0abb8 HHH-13682 Upgrade to forbiddenapis 2.7
So that we can feed it Java 13/14 bytecode
2021-06-03 16:10:37 -07:00
Yoann Rodière 5eb8ee32c5 HHH-13682 Allow forcing the tested Java version in the Gradle build
... just in case we need that for some cutting-edge JDK, for example 15,
that would not be supported by Gradle yet.
2021-06-03 16:10:37 -07:00
Yoann Rodière 63ab97d09a HHH-13682 Generate Java 13/14 bytecode for tests when building with JDK13/14 2021-06-03 16:10:37 -07:00
Yoann Rodière 9a45c1c9f1 HHH-13682 Remove unnecessary checks around Java 8 compatibility
The build requires JDK8+, so we're alwways Java 8 compatible.
2021-06-03 16:10:37 -07:00
Andrea Boriero 40d82d6370 HHH-14640 : Fix issue with generated pom missing project description 2021-06-03 16:10:37 -07:00
Yoann Rodière c36e2cc543 HHH-13925 Upgrade hibernate-gradle-plugin to Gradle 6 2021-06-03 16:10:37 -07:00
Yoann Rodière 40538e036c HHH-13925 Disable Gradle module metadata publishing until we know what we want 2021-06-03 16:10:37 -07:00
Yoann Rodière 24bcd620ad HHH-13925 Upgrade from the gradle-build-scan plugin to the gradle-enterprise plugin
That's the new name of the plugin in Gradle 6.
2021-06-03 16:10:37 -07:00
Yoann Rodière f1f0a27f7f HHH-13925 Upgrade to Gradle 6 2021-06-03 16:10:37 -07:00
Yoann Rodière f795213e5a HHH-13689 Replace uses of the deprecated osgi plugin with the biz.aQute.bnd plugin
https://docs.gradle.org/5.0-milestone-1/release-notes.html#deprecated-osgi-plugin
2021-06-03 16:10:37 -07:00
Yoann Rodière b301162660 HHH-13685 Move Suppression*CommentFilter to its new place in checkstyle config
See https://stackoverflow.com/a/55266521/6692043
2021-06-03 16:10:37 -07:00
Yoann Rodière 9722cf0fd6 HHH-13685 Remove the obsolete FileContentsHolder module in checkstyle configuration
See https://github.com/checkstyle/checkstyle/issues/3573
2021-06-03 16:10:37 -07:00
Yoann Rodière 564fe3b442 HHH-13685 Upgrade to gradle-karaf-plugin 0.5.1 2021-06-03 16:10:37 -07:00
Yoann Rodière ac61f98aba HHH-13685 Upgrade to maven-repo-auth 3.0.2 2021-06-03 16:10:37 -07:00
Yoann Rodière deb60b5c6b HHH-13685 Increase the heap size for Gradle
Otherwise I get an OutOfMemoryError...
2021-06-03 16:10:37 -07:00
Yoann Rodière 861b3c00aa HHH-13685 Replace uses of deprecated classifier property in Jar tasks with archiveClassifier 2021-06-03 16:10:37 -07:00
Yoann Rodière ff76c01dde HHH-13685 Remove the deprecated "stable publishing" feature flag
It's the default behavior in Gradle 5.
2021-06-03 16:10:37 -07:00
Yoann Rodière d9d44d10d4 HHH-13685 Upgrade to build-scan plugin 2.4.2 2021-06-03 16:10:37 -07:00
Yoann Rodière 87d54abbc2 HHH-13685 Upgrade to gradle-xjc-plugin 2.0.1 2021-06-03 16:10:37 -07:00
Yoann Rodière 5b01411120 HHH-13685 Upgrade to hibernate-matrix-testing 3.0.0.Final 2021-06-03 16:10:37 -07:00
Yoann Rodière e7764ef76d HHH-13685 Upgrade to Gradle 5.6.3 2021-06-03 16:10:37 -07:00
Yoann Rodière af44c7903f HHH-13685 Remove uses of deprecated classesDir 2021-06-03 16:10:37 -07:00
Yoann Rodière a62d92cd64 HHH-13685 Enable the "stable publishing" feature to test it before upgrading to Gradle 5 2021-06-03 16:10:37 -07:00
Gail Badner d7b68ba8ce HHH-14537 : Updated test as requested; added tests that lazy associations with non-existing entity is unaffected.
(cherry picked from commit ad84aaf0bc)
2021-04-20 10:57:51 -07:00
Gail Badner c2bb67515f HHH-14537 EntityNotFoundException thrown when non-existing association with @NotFound(IGNORE) mapped has proxy in PersistenceContext
(cherry picked from commit 3c1e16e06c)
2021-04-20 10:57:51 -07:00
Gail Badner edcf4a6369 HHH-14537 : Added test for issue
(cherry picked from commit 9cb9137fb8)
2021-04-20 10:57:51 -07:00
Andrea Boriero 1685100bc3 5.3.20 2020-11-16 18:07:32 +00:00
Andrea Boriero 64be512b7d 5.3.20 2020-11-16 18:01:02 +00:00
Steve Ebersole bc8e38a9a8 HHH-14325 - Add Query hint for specifying "query spaces" for native queries
(cherry picked from commit be70d49df9)
2020-11-16 10:46:35 -06:00
Steve Ebersole d5067eccf3 HHH-14325 - Add Query hint for specifying "query spaces" for native queries 2020-11-16 10:46:20 -06:00
Andrea Boriero 2896372dd5 HHH-14257 Add test for issue 2020-11-16 09:39:00 +00:00
Andrea Boriero 00b3ccb8ec HHH-14257 An Entity A with a map collection having as index an Embeddable with a an association to the Entity A fails with a NPE 2020-11-16 09:38:56 +00:00
Yoann Rodière bf0b86dfea HHH-14324 Add .gradletasknamecache to .gitignore
Signed-off-by: Yoann Rodière <yoann@hibernate.org>
2020-11-16 09:18:32 +00:00
Andrea Boriero d22bbb5c33 HHH-14225 CVE-2020-25638 Potential for SQL injection on use_sql_comments logging enabled 2020-11-13 13:34:09 +00:00
Andrea Boriero d48e19d973 5.3.19 2020-11-10 21:37:50 +00:00
Andrea Boriero 3f3d38d40e 5.3.19 2020-11-10 19:32:40 +00:00
Andrea Boriero 23dd258b71 5.3.19 2020-11-10 19:31:18 +00:00
Andrea Boriero 096916e6fa HHH-13310 getParameterValue() not working for collections 2020-11-10 18:53:09 +00:00
Andrea Boriero 36f9360a31 HHH-13310 Add test for issue 2020-11-10 18:52:59 +00:00
Scott Marlow 06fdd27b3d HHH-14196 Add parsing of persistence.xml/orm.xml documents in the EE 9 namespace
Signed-off-by: Scott Marlow <smarlow@redhat.com>
2020-11-10 13:23:57 +00:00
Steve Ebersole 204dc9f9db Fixed Javadoc for `BulkOperationCleanupAction.affectedEntity` 2020-11-10 11:35:03 +00:00
Jan Schatteman c4eacbbd04 HHH-14275 Broken link to Infinispan User Guide in Hibernate 5.3 User Guide
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2020-11-10 11:35:03 +00:00