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

garydgregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-jcs.git


The following commit(s) were added to refs/heads/master by this push:
     new 22ba7b3d Fix OpenJPA module descriptor generation (#426)
22ba7b3d is described below

commit 22ba7b3d27734d8bbff86d75e506fff4f00ee84c
Author: Gary Gregory <[email protected]>
AuthorDate: Sat Oct 3 14:56:44 2026 -0400

    Fix OpenJPA module descriptor generation (#426)
    
    Add the CDI API as a provided dependency to supply the CDI and
    Interceptors modules required by Jakarta Transactions during Moditect's
    jdeps analysis.
---
 commons-jcs4-jcache-openjpa/pom.xml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/commons-jcs4-jcache-openjpa/pom.xml 
b/commons-jcs4-jcache-openjpa/pom.xml
index 5e6f0ca6..c16b3fd1 100644
--- a/commons-jcs4-jcache-openjpa/pom.xml
+++ b/commons-jcs4-jcache-openjpa/pom.xml
@@ -39,6 +39,13 @@
   </scm>
 
   <dependencies>
+    <!-- Jakarta Transactions requires CDI and Interceptors on the module 
path. -->
+    <dependency>
+      <groupId>jakarta.enterprise</groupId>
+      <artifactId>jakarta.enterprise.cdi-api</artifactId>
+      <version>4.0.1</version>
+      <scope>provided</scope>
+    </dependency>
        <dependency>
       <groupId>javax.cache</groupId>
       <artifactId>cache-api</artifactId>

Reply via email to