48 Commits

Author SHA1 Message Date
Andrea Boriero
9676989927 HHH-14513 Move publishing release artifacts from BinTray 2021-04-29 16:07:16 +02:00
Christian Beikov
f23e97fb2a Backport GH actions to 5.4 2021-03-04 17:01:02 +01:00
Sanne Grinovero
00cc7d950b HHH-14463 Upgrade to ByteBuddy 1.10.21: OOB support for JDK17 2021-02-23 15:10:41 +01:00
Yoann Rodière
6845edd74e
HHH-14371 Correctly set JVM args in the JVM running tests
Turns out getJvmArgs() returns a copy, so modifying that copy won't
change the JVM args.

Signed-off-by: Yoann Rodière <yoann@hibernate.org>
2021-01-07 17:21:05 +01:00
Yoann Rodière
08079035c7
HHH-14315 Force JVM options when using toolchains
Apparently Gradle won't just use the same options as in its own JVM.

Signed-off-by: Yoann Rodière <yoann@hibernate.org>
2021-01-07 17:15:35 +01:00
Yoann Rodière
fb2a5cf94b
HHH-14315 Add optional support for toolchains to the Gradle build
Signed-off-by: Yoann Rodière <yoann@hibernate.org>
2021-01-07 17:15:35 +01:00
Yoann Rodière
4c15128838
HHH-14323 Restore the system property net.bytebuddy.experimental=true in tests on JDK15+
Turns out it's necessary for JDKs with experimental support.
2021-01-07 17:15:35 +01:00
Yoann Rodière
4bf0a96c22
HHH-14323 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-01-07 17:15:35 +01:00
Yoann Rodière
dfc04d8f5d
HHH-14323 Do not set net.bytebuddy.experimental=true in tests anymore
It's no longer necessary since we upgraded to byte-buddy 1.10.2,
and it causes bytecode to be converted from Java 14 to Java 12 in some
cases (I don't know why).
2021-01-07 17:15:34 +01:00
Yoann Rodière
1b44713d09
HHH-14323 Generate Java 13/14 bytecode for tests when building with JDK13/14 2021-01-07 17:15:34 +01:00
Sanne Grinovero
113019c9fb HHH-14284 Introduce settings to make it easier to test with a local Oracle instance run via docker 2020-10-26 20:22:42 +00:00
Sanne Grinovero
273a734857 HHH-14284 Update Oracle JDBC driver configuration to test with version 19.8.0.0 2020-10-26 20:10:25 +00:00
Sanne Grinovero
ded7fb5814 HHH-14283 Review tuning of JVM parameters for the build 2020-10-26 10:07:11 +00:00
Andrea Boriero
68acb2edfa HHH-14199 fix the error when running 'setDataBase' gradle task 2020-09-01 10:32:39 +01:00
Nathan Xu
b36803cecf HHH-14199 fix the error when running 'setDataBase' gradle task 2020-09-01 08:36:17 +01:00
Falko Modler
74126b7537 HHH-14144 Explicitly set localization assumptions for the build and testsuite 2020-08-10 17:26:44 +02:00
Rafi Shamim
29224e88bb HHH-13724 Add CockroachDB dialects and configs for testing 2020-07-27 13:52:10 +01:00
Yoann Rodière
0d2d53057d HHH-14111 Upgrade to forbiddenapis 3.0.1 2020-07-20 11:49:02 +01:00
Andrea Boriero
b897a36f2f Fix issue with generated pom missing project description 2020-04-06 18:21:11 +01:00
Yoann Rodière
2f32169249 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
2020-04-01 10:54:56 -05:00
Yoann Rodière
ae5023cf53 Do not log test progress by default, but provide a build option and enable it for Travis
So that the build isn't too verbose when running it locally.
2019-06-13 04:49:08 -05:00
Yoann Rodière
8e439b01b0 HHH-13428 Remove an unnecessary test dependency to woodstox
It has split packages and won't work when running tests in the module
path. But more importantly we just don't use it.
2019-06-07 20:22:21 +01:00
Yoann Rodière
8f344af218 Get rid of travis_wait in .travis.yml
... so that we get actionable logs when something fails.
2019-05-31 18:53:06 +02:00
Sanne Grinovero
7fbcfe83b2 HHH-13275 Re-introduce usage of net.bytebuddy.experimental=true when testing on JDK > 11 2019-02-18 14:42:54 +00:00
Yoann Rodière
165cc74fb5 HHH-12990 Remove now unnecessary dependencies to JSR-250 when using jpamodelgen
The previous commit ensured we don't need them anymore.
2018-10-17 11:50:45 +02:00
Yoann Rodière
68e20f4f8b HHH-12946 Target JDK11 instead of JDK10 in terms of JDK API compatibility 2018-10-17 11:43:03 +02:00
Yoann Rodière
0924138b75 HHH-12946 Upgrade to fobiddenapis 2.6 (compatible with JDK11) 2018-10-17 11:43:03 +02:00
Yoann Rodière
2daa3811c6 HHH-12946 Remove unnecessary dependencies when building with JDK9+
We don't need to depend on JAXB's compiler (XJC) in our modules,
we just need the dependency in specific tasks during the build.
In particular we don't want users to transitively depend on XJC.

Also, we don't need an explicit dependency to JAXB in every module,
having one in hibernate-core is enough.
2018-10-17 11:43:03 +02:00
Yoann Rodière
51ab9f744d HHH-12946 Add explicit dependencies to JAXB APIs where relevant 2018-10-17 11:43:03 +02:00
Yoann Rodière
530ab1569e HHH-12946 Use constants for JAXB dependencies instead of inline strings
We may have to update these dependencies, let's make it easy.
2018-10-17 11:43:03 +02:00
Sanne Grinovero
297690bb0d HHH-13007 No longer use net.bytebuddy.experimental=true when testing on JDK11 2018-10-02 17:33:21 +02:00
Sanne Grinovero
4eb726ef4c HHH-12950 Use the Annotation Processor specific scopes of Gradle 2018-09-04 23:02:26 +01:00
Guillaume Smet
2733a3cb09 HHH-12816 Enable the experimental features of ByteBuddy when building with JDK 11 2018-07-17 19:33:06 +02:00
Sanne Grinovero
f52e999690 HHH-12674 Avoid using deprecated Gradle methods 2018-06-13 10:40:38 +01:00
Sanne Grinovero
19d59dac71 HHH-12659 Configure ForbiddenAPIs for JDK10 as intended target compatibility 2018-06-01 22:58:31 +01:00
Vlad Mihalcea
964602557f HHH-12656 - Document how contributors can run tests on different databases 2018-06-01 09:15:16 +03:00
Steve Ebersole
9f4ff8ae90 HHH-8786 - find, refresh, lock should throw LockTimeoutException or PessimisticLockException when lock problems occur
HHH-12570 - MariaDB 10.3 adds support for lock timeouts via WAIT plus NOWAIT
2018-05-14 12:08:06 -05:00
Steve Ebersole
9f293b113b HHH-12519 - Use Forbidden APIs library (Gradle plugin) to check our use of APIs
- fixing failures in non-core projects
2018-05-12 21:22:42 -05:00
Steve Ebersole
ad5f63bf64 HHH-12519 - Use Forbidden APIs library (Gradle plugin) to check our use of APIs
- linked `forbiddenApis` task with the `check` task
2018-05-12 20:38:00 -05:00
Steve Ebersole
56f44399a4 HHH-12519 - Use Forbidden APIs library (Gradle plugin) to check our use of APIs
- minor cleanup
2018-05-12 20:31:05 -05:00
Steve Ebersole
0695b3ff6e HHH-12519 - Use Forbidden APIs library (Gradle plugin) to check our use of APIs
- initial support; implicit usage of default Locale is a major problem
2018-05-12 20:29:50 -05:00
Jonathan Bregler
69000ddc16 HHH-12462 - Use SAP HANA JDBC driver from Maven Central 2018-04-05 15:02:17 +03:00
Sanne Grinovero
0719c48540 Remove redundant copies of the license header 2018-03-08 00:22:44 +00:00
Sanne Grinovero
66d3232eb6 HHH-11253 Running all tests with Byte Buddy will require more memory 2018-03-02 14:15:18 +00:00
Andrea Boriero
9d335961b8 HHH-12246 - Gradle build fails with Java 9 2018-01-24 14:51:36 +00:00
Steve Ebersole
644c74d470 HHH-12190 - General tidying of Gradle scripts 2018-01-16 14:34:43 -06:00
Steve Ebersole
e1a970aa11 HHH-12190 - General tidying of Gradle scripts 2018-01-16 14:34:43 -06:00
Steve Ebersole
d806eff912 HHH-12190 - General tidying of Gradle scripts 2018-01-16 14:34:43 -06:00