Commit Graph

39 Commits

Author SHA1 Message Date
Rafi Shamim 4655bdbe12 HHH-13724 Add CockroachDB dialects and configs for testing 2020-07-27 12:49:40 +01:00
Yoann Rodière 066c1d4ab7 HHH-14111 Upgrade to forbiddenapis 3.0.1 2020-07-20 10:25:15 +02:00
Sanne Grinovero 68e8ad641a HHH-13972 Disable the ForbiddenAPI classloader cache 2020-04-23 12:13:28 +01:00
Sanne Grinovero 3f2a4947a7 HHH-13952 Remove dependency to Arquillian as its no longer used 2020-04-17 14:27:19 +01:00
Yoann Rodière 588115bb0a HHH-13682 Restore the system property net.bytebuddy.experimental=true in tests on JDK15+
Turns out it's necessary for JDKs with experimental support.
2020-04-16 10:12:00 +01:00
Yoann Rodière 5fab58bf76 HHH-13682 Upgrade to forbiddenapis 2.7
So that we can feed it Java 13/14 bytecode
2020-04-14 13:36:43 +01:00
Yoann Rodière b32ff5cd9c 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.
2020-04-14 13:36:43 +01:00
Yoann Rodière 96f7870528 HHH-13682 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).
2020-04-14 13:36:43 +01:00
Yoann Rodière 0cdf4c19e3 HHH-13682 Generate Java 13/14 bytecode for tests when building with JDK13/14 2020-04-14 13:36:43 +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