Commit Graph

134 Commits

Author SHA1 Message Date
Yoann Rodière 4264bc55ac HHH-14563 Remove the DOM4J dependency from hibernate-core 2021-04-19 15:39:35 +02: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
Sanne Grinovero 8f1873121e HHH-10715 Use the more efficient iterators 2020-10-25 21:33:26 +00:00
Andrea Boriero b897a36f2f Fix issue with generated pom missing project description 2020-04-06 18:21:11 +01:00
Yoann Rodière aebf9d192f HHH-13925 Fix invalid javadoc syntax
This wasn't detected by checkstyle in Gradle 5, but it is now, and that
fails the build.
2020-04-06 16:04:55 +02: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 ae4bc5e55d HHH-13685 Remove uses of deprecated classesDir 2020-04-01 09:53:13 -05:00
Sanne Grinovero 33fa24d935 HHH-13822 OSGi integration tests need to be able to download dependencies from Maven Central using HTTPS 2020-01-21 12:22:46 +00:00
Davide D'Alto c4dc9b0d25 HHH-13704 Make javassist a compile time dependency again
This commit revert some of the changes so that we can release it in a micro
  without breaking application using Javassist.

  In the next minor it should be reverted.
2019-12-13 11:29:40 +00:00
Davide D'Alto 76d2672122 HHH-13704 Make Javassist an optional dependency
* Change the gradle scope to `provide`
  * Add the dependency to the OSGi test bundle

HHH-13704 Add Javassist to the dependencies for the OSGi test
2019-12-12 10:33:32 +00:00
Sanne Grinovero 02089a5cce HHH-13696 Minor code refactoring and applying the Hibernate code style 2019-10-28 10:53:51 +00:00
Kaja Mohideen 051a7d9b7c HHH-13696 Use PU Info Classloader when booting in OsgiPersistenceProvider 2019-10-28 10:35:32 +00:00
Yoann Rodière a7006fa226 HHH-13415 Add more comments where we disable OSGi tests with JDK11
Karaf or Pax Exam (don't know which) has serious issues with JDK 11.0.3.
2019-05-31 14:11:47 +02:00
Guillaume Smet c6671d504b HHH-13421 Disable OSGi testing for JDK 11+ 2019-05-29 22:57:52 +02:00
Fabio Massimo Ercoli 45083813bd HHH-12751 Remove hibernate-infinispan OSGi feature 2018-10-25 15:11:56 +02:00
Yoann Rodière bf7f56e004 HHH-13022 Allow to fall back to the OSGi-provided TCCL during bootstrap
We previously erased that class loader, which is not a great idea, in
particular when we use libraries such as JAXB which rely on the TCCL, to
some extent.

Without this patch, we cannot make the OSGi integration work correctly
with Java 9 and above, because the JAXB APIs won't find the JAXB
runtime.
2018-10-22 17:05:46 +02:00
Yoann Rodière 6ef94f3ba7 HHH-13022 Include karaf logs into test output files 2018-10-22 17:05:46 +02:00
Yoann Rodière c3c46b5019 HHH-13022 Re-enable OSGi tests when using JDK9/JDK10/JDK11 2018-10-22 17:05:45 +02:00
Yoann Rodière eaf7785877 HHH-13022 Upgrade to Apache Karaf 4.2.1 2018-10-22 17:05:45 +02:00
Yoann Rodière 0a13b8d640 HHH-13022 Add missing versions to internal OSGi feature dependencies 2018-10-22 17:05:45 +02:00
Yoann Rodière 9726fde68d HHH-13022 Fix indentation in hibernate-osgi.gradle 2018-10-22 17:05:45 +02:00
Yoann Rodière 5fd97472b9 HHH-12946 Enable JAXB dependencies regardless of the JDK being used when building Hibernate ORM
Previously we would only add the dependency when building with JDK9+,
and we built all releases using JDK8.
This means the dependencies were useless, because they would never be
mentioned in the actual POMs published to users.
2018-10-17 11:43:03 +02:00
Sanne Grinovero fcd3b56fdd HHH-13029 Avoid static singletons to hold on Strategy Registration Implementations 2018-10-12 23:25:50 +01:00
Guillaume Smet 0449c1a79c HHH-12793 Fix preexisting indentation issues 2018-07-12 12:11:53 +02:00
Guillaume Smet 9ebed55dd9 HHH-12793 Add a comment about why we ignore javax.activation for now 2018-07-12 12:11:53 +02:00
Fabio Massimo Ercoli 3d1d1d2d98 HHH-12793 Upgrade Karaf, pax-exam and reenable the OSGi tests 2018-07-12 12:11:53 +02:00
Rico Neubauer 2bd99e5f32 HHH-12553 - Prevent ConcurrentModificationException in OsgiClassLoader 2018-07-03 19:01:25 +01:00
Guillaume Smet c5d0bfb57d HHH-12663 Remove an outdated Karaf configuration 2018-07-02 17:10:44 +02:00
Fabio Massimo Ercoli 260ec8d3fa HHH-12663 Include hibernate-osgi bundle only in hibernate-orm feature 2018-07-02 17:10:44 +02:00
Fabio Massimo Ercoli 54722fc344 HHH-12663 Upgrade gradle-karaf-plugin 2018-07-02 17:10:44 +02:00
Guillaume Smet 463937fcec Fix typo in OSGi gradle script 2018-06-27 17:37:02 +02:00
Andrea Boriero e2b7317560 HHH-12474 - Make sure the JPA version is defined by a single property across build files 2018-04-11 21:54:21 +01:00
Steve Ebersole dae31640a8 HHH-11356 - Adjust the 2nd-Cache SPIs to better reflect supported uses
HHH-12323 - Update Statistics API and SPI based on changes to 2nd level caching changes
HHH-12416 - set up relocation for hibernate-ehcache
2018-03-22 13:25:12 -05:00
Steve Ebersole 65f42761d6 HHH-12133 - Create ManagedBeanRegistry and ManagedBean
- reapplied backwards compatibility wrt ExtendedBeanManager for WildFly
2018-01-16 15:45:06 -06:00
Steve Ebersole d806eff912 HHH-12190 - General tidying of Gradle scripts 2018-01-16 14:34:43 -06:00
Steve Ebersole c490e94755 HHH-2188 - Add Java 9 automatic module name hinting 2017-12-29 11:47:11 -06:00
Andrea Boriero 1e4d483e73 HHH-12177 - Disable generation of hibernate-infinispan jar 2017-12-22 12:00:34 -06:00
Andrea Boriero 132767b4fb HHH-12001 - Allow ORM to be built with Java 9 2017-09-21 22:10:05 +01:00
Brett Meyer cf1f10336e HHH-11439 added javax.interceptor to OSGi feature dependencies 2017-02-01 19:56:13 -05:00
Sanne Grinovero 5e206666f0 HHH-11439 Switch from Geronimo JTA to Narayana JTA 2017-02-01 19:56:05 -05:00
Christian Schneider bb0b3e8c43 HHH-11425 - Karaf feature misses byte buddy dependency 2017-01-31 17:02:56 +02:00
Gunnar Morling 7d3788c76a HHH-11309 Marking OSGi package imports for ByteBuddy as optional 2017-01-02 17:57:28 +01:00
Brett Meyer de346827d0 HHH-11152 add bytebuddy to osgi testing-bundles.xml, explicitly import javassist in envers (temporarily) 2016-11-17 13:58:49 -05:00
Steve Ebersole 3040030bd8 HHH-10864 - Allow ORM to be built with Java 9 2016-06-17 19:15:08 -05:00
Chris Cranford 9f27f0fa2a HHH-10365 - Added org.hibernate.envers package to the manifest comment. 2016-05-26 16:18:03 -05:00
Chris Cranford ab0b44c569 HHH-10365 - Add Envers native and JPA test cases. 2016-05-26 16:00:49 -05:00
Chris Cranford 60b3ce796b HHH-10365 - Fixed test build dependency failure. 2016-05-26 15:38:24 -05:00
Brett Meyer d27acc33d1 HHH-10365 added envers to OsgiIntegrationTest 2016-05-26 12:05:47 -04:00
Brett Meyer 69bdf979cb HHH-10365 added OsgiClassLoaderService support for non-container-managed JPA, tweaked method overloading 2016-05-26 12:05:46 -04:00
Kankare Timo 585a8aa757 HHH-10365: Initializing ClassLoaderService in OsgiPersistenceProvider. 2016-05-26 12:05:46 -04:00