This is an automated email from the ASF dual-hosted git repository.

rzo1 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomee.git


The following commit(s) were added to refs/heads/main by this push:
     new c90600ece5 use properties for the Hibernate libraries of the Jakarta 
Data TCK
c90600ece5 is described below

commit c90600ece534802be81f9fc1b5008cd3a37333f1
Author: Richard Zowalla <[email protected]>
AuthorDate: Wed Oct 14 09:35:11 2026 +0200

    use properties for the Hibernate libraries of the Jakarta Data TCK
    
    Keeps their versions next to version.hibernate.orm in the root pom, so a
    Hibernate update shows which libraries have to move along.
---
 pom.xml                                               | 5 +++++
 tck/data-standalone/src/test/resources/arquillian.xml | 8 ++++----
 2 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/pom.xml b/pom.xml
index 9a5f53455d..1a22d545f0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -225,6 +225,11 @@
     <version.mojarra>4.1.17</version.mojarra>
     <!-- org.hibernate -->
     <version.hibernate.orm>7.4.11.Final</version.hibernate.orm>
+    <!-- libraries hibernate-core needs at runtime, keep in sync with its pom 
(used by the Jakarta Data TCK) -->
+    <version.hibernate.models>1.1.2</version.hibernate.models>
+    <version.hibernate.classmate>1.7.1</version.hibernate.classmate>
+    <version.hibernate.bytebuddy>1.18.8</version.hibernate.bytebuddy>
+    <version.hibernate.antlr4>4.13.2</version.hibernate.antlr4>
     <version.hibernate.validator>9.1.4.Final</version.hibernate.validator>
 
     <!-- Other API and Impl. not in Jakarta EE -->
diff --git a/tck/data-standalone/src/test/resources/arquillian.xml 
b/tck/data-standalone/src/test/resources/arquillian.xml
index 1d730af038..dfaf8a68fa 100644
--- a/tck/data-standalone/src/test/resources/arquillian.xml
+++ b/tck/data-standalone/src/test/resources/arquillian.xml
@@ -66,10 +66,10 @@
             <property name="additionalLibs">
                 remove:openjpa
                 mvn:org.hibernate.orm:hibernate-core:${version.hibernate.orm}
-                mvn:org.hibernate.models:hibernate-models:1.1.2
-                mvn:com.fasterxml:classmate:1.7.1
-                mvn:net.bytebuddy:byte-buddy:1.18.8
-                mvn:org.antlr:antlr4-runtime:4.13.2
+                
mvn:org.hibernate.models:hibernate-models:${version.hibernate.models}
+                mvn:com.fasterxml:classmate:${version.hibernate.classmate}
+                mvn:net.bytebuddy:byte-buddy:${version.hibernate.bytebuddy}
+                mvn:org.antlr:antlr4-runtime:${version.hibernate.antlr4}
                 mvn:org.slf4j:slf4j-jdk14:${version.slf4j}
             </property>
             <property name="properties">

Reply via email to