43 Commits

Author SHA1 Message Date
Yoann Rodière
7d82649ed4 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-08-20 14:06:55 +01:00
Yoann Rodière
55ace32e75 HHH-14731 Only apply --add-opens to compiler JVM options when using JDK9+ 2021-08-20 14:06:55 +01:00
Yoann Rodière
f2e6289717 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-08-20 14:06:55 +01:00
Yoann Rodière
75ba67b6b2 HHH-14315 Add optional support for toolchains to the Gradle build
Signed-off-by: Yoann Rodière <yoann@hibernate.org>
2021-08-20 14:06:55 +01:00
Andrea Boriero
cc6fe84f30 HHH-14640 : Fix gradle errors 2021-06-03 16:10:37 -07:00
Andrea Boriero
d644a6e8f6 HHH-14513 Move publishing release artifacts from BinTray 2021-06-03 16:10:37 -07:00
Sanne Grinovero
bacc5e6b11 HHH-14283 Review tuning of JVM parameters for the build 2021-06-03 16:10:37 -07:00
Andrea Boriero
a8d82d003f HHH-14199 fix the error when running 'setDataBase' gradle task 2021-06-03 16:10:37 -07:00
Nathan Xu
87f5cfee7a HHH-14199 fix the error when running 'setDataBase' gradle task 2021-06-03 16:10:37 -07:00
Falko Modler
1fb1311342 HHH-14144 Explicitly set localization assumptions for the build and testsuite 2021-06-03 16:10:37 -07:00
Yoann Rodière
0e09e13f26 HHH-14111 Upgrade to forbiddenapis 3.0.1 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
Andrea Boriero
40d82d6370 HHH-14640 : Fix issue with generated pom missing project description 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
1d8837d6f7 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-09-11 11:23:04 +02:00
Yoann Rodière
e7423b076f 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-09-11 10:26:35 +02:00
Yoann Rodière
6e485989f1 Get rid of travis_wait in .travis.yml
... so that we get actionable logs when something fails.
2019-09-11 10:26:35 +02:00
Sanne Grinovero
9251720f69 HHH-13275 Re-introduce usage of net.bytebuddy.experimental=true when testing on JDK > 11 2019-09-11 10:26:35 +02:00
Yoann Rodière
0f54fcc484 HHH-12990 Remove now unnecessary dependencies to JSR-250 when using jpamodelgen
The previous commit ensured we don't need them anymore.
2019-09-11 10:26:35 +02:00
Yoann Rodière
b6bad94914 HHH-12946 Target JDK11 instead of JDK10 in terms of JDK API compatibility 2019-09-11 10:26:35 +02:00
Yoann Rodière
919e4a6a39 HHH-12946 Upgrade to fobiddenapis 2.6 (compatible with JDK11) 2019-09-11 10:26:35 +02:00
Yoann Rodière
e6cd7d8495 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.
2019-09-11 10:26:35 +02:00
Yoann Rodière
f9609f93b2 HHH-12946 Add explicit dependencies to JAXB APIs where relevant 2019-09-11 10:26:35 +02:00
Yoann Rodière
90c059aaa4 HHH-12946 Use constants for JAXB dependencies instead of inline strings
We may have to update these dependencies, let's make it easy.
2019-09-11 10:26:35 +02:00
Sanne Grinovero
a8e05fd409 HHH-13007 No longer use net.bytebuddy.experimental=true when testing on JDK11 2019-09-11 10:26:35 +02:00
Guillaume Smet
9ca6b1a3cf HHH-12816 Enable the experimental features of ByteBuddy when building with JDK 11 2018-07-18 11:25:40 +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