Steve Ebersole
5403e95958
HHH-14872 - Re-enable hibernate-gradle-plugin
...
plus additional improvements to Gradle scripts
2022-03-15 20:10:17 -05:00
Steve Ebersole
58d4d8a6e1
Gradle build clean-ups
...
- fix forbidden-apis task config
2022-03-15 16:24:07 -05:00
Steve Ebersole
f82d381fe3
Gradle build clean-ups
...
- re-organize release task definitions to avoid use of subproject iteration
2022-03-15 12:15:56 -05:00
Steve Ebersole
92b46bca5b
Gradle build clean-ups
...
- drop use of `allprojects`
2022-03-15 09:39:07 -05:00
Yoann Rodière
5eb8a6fab1
HHH-15107 Use net.bytebuddy.experimental=true when running tests against JDK19
2022-03-09 08:11:09 +01:00
Steve Ebersole
5436f441ae
move remaining tests from o.h.test to o.h.orm.test
2022-01-26 17:06:53 -06:00
Sanne Grinovero
fbae1a4651
HHH-15026 Upgrade to Log4J 2.17.1
2022-01-13 15:30:30 +00:00
Steve Ebersole
e446b7c99b
Log4j Vulnerability - https://blog.gradle.org/log4j-vulnerability ;
...
Upgrade Gradle Enterprise plugin to 3.8
2022-01-11 15:47:48 -06:00
Steve Ebersole
55bfc59db1
fix gradle deprecations
2021-12-01 11:50:36 -06:00
Sanne Grinovero
334aeb1349
HHH-14946 Upgrading base requirements to Java 11
2021-12-01 17:34:28 +00:00
Christian Beikov
9fa2671cbc
Update to Gradle 7.2
2021-10-19 11:07:39 +02:00
Christian Beikov
7fd3706a18
Fix build script regarding tools.jar inclusion into testCompile configuration
2021-09-30 13:52:31 +02:00
Steve Ebersole
7bc1d55cdd
improved aggregated javadoc generation
2021-09-27 08:21:36 -05:00
Steve Ebersole
a9387033b2
HHH-14837 - Move to Jakarta EE
...
- fixups
2021-09-27 08:21:36 -05:00
Steve Ebersole
089a3f86ae
HHH-14837 - Move to Jakarta EE
...
preliminary transformation;
only `javax.persistence.*` settings supported atm
2021-09-27 08:21:27 -05:00
Andrea Boriero
cdeb95a4d5
Merge remote-tracking branch 'upstream/main' into wip/6.0
2021-08-30 14:07:19 +02:00
Steve Ebersole
d1ab98df85
fix Test tasks in terms of Gradle task caching
2021-08-26 11:36:51 -05:00
Sanne Grinovero
9267c5e6a6
HHH-14792 Remove support for bytecode enhancement via Javassist
2021-08-26 15:22:30 +01:00
Steve Ebersole
3b78f30309
Few Gradle file related tasks
...
- dropped explicit apt output handling - Gradle has that built in
- Switched other uses to write to the standard `${buildDir}/generated/sources` dir
2021-08-02 16:35:16 -05:00
Steve Ebersole
9f2ae95397
Gradle task cache
...
Gradle 7 prep
2021-07-26 13:51:38 -05:00
Andrea Boriero
76df5a5f4b
Merge remote-tracking branch 'upstream/main' into wip/6.0
2021-07-26 15:15:29 +02:00
Yoann Rodière
e4199decb5
HHH-14707 Upgrade to Byte Buddy 1.11.8
2021-07-16 10:19:42 +01:00
Christian Beikov
6447ca9b26
HHH-14693, HHH-10668 Move non-supported dialects to the hibernate-community-dialects artifact and add the SQLite dialect originally contributed by Vlad Mihalcea which was adapted for Hibernate 6. Also add HSQLDB, MySQL and Sybase ASE configurations and a CI job config
2021-07-06 10:14:20 +02:00
Steve Ebersole
174b23001f
Fix Jakarta processing
2021-07-01 21:17:30 -05:00
Steve Ebersole
59f033194a
Improved build configuration to better leverage Gradle up-to-date handling;
...
Preparation for moving to Gradle 7.0
- Moved custom Antlr plugin to hibernate-orm-build module
- more deprecation clean ups
2021-06-28 15:59:35 -05:00
Steve Ebersole
172ddf8700
Improved build configuration to better leverage Gradle up-to-date handling;
...
Preparation for moving to Gradle 7.0
- Improve Jakarta transformation handling (tests are also actually run now as a bonus);
- Improved CacheableHbmXmlTest to not write "ser" file to `${buildDir}/resources/test`
- Improved DatabaseService(Plugin)
- Update a number of plugins which did not handle up-to-date-ness properly
2021-06-26 08:46:09 -05:00
Christian Beikov
69dc854d88
Get rid of some unnecessary classpath elements
2021-06-24 12:34:52 +02:00
Christian Beikov
3435189777
Add support for parallel gradle build
2021-06-24 12:16:29 +02:00
Andrea Boriero
6ced2f0aca
Merge remote-tracking branch 'upstream/main' into wip/6.0
2021-06-07 12:47:53 +02:00
Andrea Boriero
451568f322
Merge remote-tracking branch 'upstream/main' into wip/6.0_merge_7
2021-05-31 14:55:18 +02:00
Yoann Rodière
07eca3883d
HHH-14635 Upgrade to log4j 2
2021-05-26 09:05:56 +02:00
Andrea Boriero
ffae5474a6
Merge remote-tracking branch 'upstream/main' into wip/6.0_merge_6
2021-05-24 20:41:03 +02:00
Steve Ebersole
b51fb9fe03
Fixed problems with
...
- javadoc generation
- SourceForge distribution bundles
2021-05-19 16:15:57 -05:00
Steve Ebersole
c7e37dc1d7
HHH-14513 : Move publishing release and snapshot artifacts to Sonatype OSSRH
2021-05-14 15:06:15 -05:00
Yoann Rodière
0750c6784e
Only apply --add-opens to compiler JVM options when using JDK9+
2021-05-07 11:00:43 +02:00
Andrea Boriero
9bcf10fb3f
HHH-14513 Move publishing release artifacts from BinTray
2021-04-29 20:59:18 +02:00
Mark Rotteveel
e76da92b04
HHH-14484 Improve support for Firebird 4
...
Also includes:
- Some general Firebird improvements
- Tweak tests to run (or be skipped) against Firebird
- Fix to BooleanDecoder
- Add statistical/linear regression function definitions in CommonFunctionFactory
- Added the relevant functions to other dialects where I could verify they apply
- Fix for unions with parenthesized selects
- Add casts for parameters in functions
2021-03-22 19:08:05 +01:00
Andrea Boriero
005c4cea63
Merge remote-tracking branch 'upstream/master' into wip/6.0
2021-02-24 15:02:45 +01:00
Sanne Grinovero
e61eff2913
HHH-14463 Upgrade to ByteBuddy 1.10.21: OOB support for JDK17
2021-02-23 14:42:02 +01:00
Christian Beikov
4931c7e69f
Merge remote-tracking branch 'upstream/master' into wip/6.0
2021-02-10 12:00:37 +01:00
Christian Beikov
de1524df68
Merge remote-tracking branch 'upstream/master' into wip/6.0
2021-02-10 11:28:58 +01:00
Christian Beikov
15caff9cbc
Fix PostgreSQL cleanup wrt extensions, fix Oracle cleanup wrt sys objects, always drop id tables in tests, fix global temp table tests, add on commit delete rows for hana dialects
2021-02-10 09:30:48 +01:00
Christian Beikov
d767d46d05
Fix most tests to work on all DBs and fix a bunch of connection leaks
2021-02-03 17:03:47 +01:00
Andrea Boriero
6d124a7c6d
Merge remote-tracking branch 'upstream/master' into wip/6.0
2021-01-14 11:34:06 +01:00
Christian Beikov
4efffca23b
Add support for FETCH clause, CTEs and set operations
2021-01-13 17:24:45 +01:00
Yoann Rodière
f6a9338f97
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>
2020-12-14 14:02:18 +00:00
Andrea Boriero
1927d1aa33
Merge branch 'master' into wip/6.0
2020-11-17 12:40:43 +01:00
Yoann Rodière
85b84ef6bd
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>
2020-11-10 11:02:08 +00:00
Yoann Rodière
9616e24c80
HHH-14315 Add optional support for toolchains to the Gradle build
...
Signed-off-by: Yoann Rodière <yoann@hibernate.org>
2020-11-10 11:02:08 +00:00
Andrea Boriero
4d8c89920a
Merge remote-tracking branch 'upstream/master' into wip/6.0
2020-10-27 14:24:37 +00:00
Sanne Grinovero
9fe61e1a22
HHH-14284 Introduce settings to make it easier to test with a local Oracle instance run via docker
2020-10-26 21:49:34 +00:00
Sanne Grinovero
2ef9451112
HHH-14284 Update Oracle JDBC driver configuration to test with version 19.8.0.0
2020-10-26 21:49:28 +00:00
Sanne Grinovero
37a77e695d
HHH-14283 Review tuning of JVM parameters for the build
2020-10-26 10:13:50 +00:00
Andrea Boriero
8b938610cf
Merge remote-tracking branch 'upstream/master' into wip/6.0_merge
2020-09-08 08:19:13 +01:00
Andrea Boriero
f07c26339b
HHH-14199 fix the error when running 'setDataBase' gradle task
2020-09-01 10:31:48 +01:00
Andrea Boriero
b1ba79105d
Merge remote-tracking branch 'upstream/master' into wip/6.0
2020-09-01 09:44:22 +01:00
Nathan Xu
517a0b9639
HHH-14199 fix the error when running 'setDataBase' gradle task
2020-09-01 08:35:39 +01:00
Andrea Boriero
de3359537f
Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_49
2020-08-12 09:42:28 +01:00
Falko Modler
f270f688e6
HHH-14144 Explicitly set localization assumptions for the build and testsuite
2020-08-10 17:23:35 +02:00
Andrea Boriero
283c3fefb5
Merge remote-tracking branch 'upstream/master' into wip/6.0
2020-08-07 11:23:44 +01:00
Rafi Shamim
4655bdbe12
HHH-13724 Add CockroachDB dialects and configs for testing
2020-07-27 12:49:40 +01:00
Andrea Boriero
4550c70d15
Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_47
2020-07-20 10:50:17 +01:00
Yoann Rodière
066c1d4ab7
HHH-14111 Upgrade to forbiddenapis 3.0.1
2020-07-20 10:25:15 +02:00
Andrea Boriero
5d572cc876
Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_37
2020-05-05 09:21:34 +01:00
Sanne Grinovero
68e8ad641a
HHH-13972 Disable the ForbiddenAPI classloader cache
2020-04-23 12:13:28 +01:00
Andrea Boriero
a0b4566264
Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_34
2020-04-20 12:17:22 +01:00
Sanne Grinovero
3f2a4947a7
HHH-13952 Remove dependency to Arquillian as its no longer used
2020-04-17 14:27:19 +01:00
Andrea Boriero
132a4121b5
Fix issues after merging master
2020-04-16 11:46:19 +01:00
Andrea Boriero
2ccf7fab9e
Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_30
2020-04-16 11:03:49 +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
5c86c4a805
Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_29
2020-04-09 07:37:11 +01:00
Andrea Boriero
b897a36f2f
Fix issue with generated pom missing project description
2020-04-06 18:21:11 +01:00
Steve Ebersole
40d0c8580e
Merge remote-tracking branch 'upstream/master' into wip/6.0
...
- up to the point of upgrading Gradle version for wrapper to 5.6.3
2020-04-01 11:32:00 -05: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
Steve Ebersole
e43c5a3166
https://github.com/asciidoctor/asciidoclet/pull/91
...
- work in progress as the PR did not fix the problems
2020-02-19 08:30:57 -06:00
Steve Ebersole
50ba882b2d
temporarily include just the new tests so we can publish SNAPSHOTS for others to use
2019-09-16 08:51:39 +01:00
Steve Ebersole
26ff169db2
6 - SQM based on JPA type system
2019-09-12 10:42:27 +01: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