You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2023/01/23 09:57:23 UTC

[tomcat] branch main updated: Fix BZ 66438 - correct names of Jakarta modules in JPMS metadata

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

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


The following commit(s) were added to refs/heads/main by this push:
     new 80d81137e0 Fix BZ 66438 - correct names of Jakarta modules in JPMS metadata
80d81137e0 is described below

commit 80d81137e0e349ffcd5d24b4ebd65e18f5726fd3
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Mon Jan 23 09:56:55 2023 +0000

    Fix BZ 66438 - correct names of Jakarta modules in JPMS metadata
---
 res/bnd/catalina.jar.tmp.bnd          | 12 ++++++------
 res/bnd/tomcat-embed-core.jar.tmp.bnd | 12 ++++++------
 webapps/docs/changelog.xml            |  4 ++++
 3 files changed, 16 insertions(+), 12 deletions(-)

diff --git a/res/bnd/catalina.jar.tmp.bnd b/res/bnd/catalina.jar.tmp.bnd
index 181e69fe8b..8720b37d7f 100644
--- a/res/bnd/catalina.jar.tmp.bnd
+++ b/res/bnd/catalina.jar.tmp.bnd
@@ -54,15 +54,15 @@ Export-Package: \
         access=32;\
         version=${Bundle-Version};\
         modules='\
-            jakarta.ejb-api,\
+            jakarta.ejb,\
             jakarta.mail,\
-            jakarta.persistence-api,\
-            jakarta.xml.rpc-api,\
+            jakarta.persistence,\
+            jakarta.xml.ws,\
             java.xml.ws'
 -jpms-module-info-options: \
     ${module.name};substitute=catalina,\
-    jakarta.ejb-api;static=true,\
+    jakarta.ejb;static=true,\
     jakarta.mail;static=true,\
-    jakarta.persistence-api;static=true,\
-    jakarta.xml.rpc-api;static=true,\
+    jakarta.persistence;static=true,\
+    jakarta.xml.ws;static=true,\
     java.xml.ws;static=true
\ No newline at end of file
diff --git a/res/bnd/tomcat-embed-core.jar.tmp.bnd b/res/bnd/tomcat-embed-core.jar.tmp.bnd
index 314f672019..7e83e60f56 100644
--- a/res/bnd/tomcat-embed-core.jar.tmp.bnd
+++ b/res/bnd/tomcat-embed-core.jar.tmp.bnd
@@ -129,15 +129,15 @@ Provide-Capability: \
         access=32;\
         version=${Bundle-Version};\
         modules='\
-            jakarta.ejb-api,\
+            jakarta.ejb,\
             jakarta.mail,\
-            jakarta.persistence-api,\
-            jakarta.xml.rpc-api,\
+            jakarta.persistence,\
+            jakarta.xml.ws,\
             java.xml.ws'
 -jpms-module-info-options: \
     ${module.name};substitute=tomcat-embed-core,\
-    jakarta.ejb-api;static=true,\
+    jakarta.ejb;static=true,\
     jakarta.mail;static=true,\
-    jakarta.persistence-api;static=true,\
-    jakarta.xml.rpc-api;static=true,\
+    jakarta.persistence;static=true,\
+    jakarta.xml.ws;static=true,\
     java.xml.ws;static=true
\ No newline at end of file
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index 38d2b08b10..3b676c9e21 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -130,6 +130,10 @@
         where the value is determined only while generating the content as per
         section 9.3.2 of RFC 9110. (markt)
       </update>
+      <fix>
+        <bug>66438</bug>: Correct names of Jakarta modules in JPMS metadata.
+        (markt)
+      </fix>
     </changelog>
   </subsection>
   <subsection name="Coyote">


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org