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

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


The following commit(s) were added to refs/heads/11.0.x by this push:
     new f5d6e47fb3 Exclude unnecessary classes from deployer JAR
f5d6e47fb3 is described below

commit f5d6e47fb345c1d75326d17d2dd5d8e8b8ccfcf5
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed Aug 27 09:44:08 2025 +0100

    Exclude unnecessary classes from deployer JAR
---
 build.xml                  | 9 ++++++---
 webapps/docs/changelog.xml | 8 ++++++++
 2 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/build.xml b/build.xml
index 3f17cc5284..cc7e6d1be1 100644
--- a/build.xml
+++ b/build.xml
@@ -454,9 +454,9 @@
     <include name="org/apache/tomcat/util/security/**" />
     <include name="org/apache/tomcat/util/threads/**" />
     <include name="org/apache/tomcat/util/*" />
-       <!-- Strictly, none of these exclusions need to be listed here. They 
are -->
-       <!-- listed to make it easier to check that no package has been         
 -->
-       <!-- overlooked.                                                        
 -->
+    <!-- Strictly, none of these exclusions need to be listed here. They are 
-->
+    <!-- listed to make it easier to check that no package has been          
-->
+    <!-- overlooked.                                                         
-->
     <exclude name="org/apache/tomcat/util/bcel" />
     <exclude name="org/apache/tomcat/util/descriptor" />
     <exclude name="org/apache/tomcat/util/digester" />
@@ -2479,13 +2479,16 @@
         <exclude name="org/apache/tomcat/util/descriptor" />
         <exclude name="org/apache/tomcat/util/file" />
         <exclude name="org/apache/tomcat/util/http" />
+        <exclude name="org/apache/tomcat/util/json" />
         <exclude name="org/apache/tomcat/util/log" />
         <exclude name="org/apache/tomcat/util/modeler" />
         <exclude name="org/apache/tomcat/util/net" />
+        <exclude name="org/apache/tomcat/util/openssl" />
         <exclude name="org/apache/tomcat/util/res" />
         <exclude name="org/apache/tomcat/util/scan" />
         <exclude name="org/apache/tomcat/util/security" />
         <exclude name="org/apache/tomcat/util/threads" />
+        <exclude name="org/apache/tomcat/util/xreflection" />
         <exclude name="**/package.html" />
         <exclude name="**/LocalStrings_*" />
       </fileset>
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index 475fed83cc..a41e2fae50 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -105,6 +105,14 @@
   issues do not "pop up" wrt. others).
 -->
 <section name="Tomcat 11.0.11 (markt)" rtext="in development">
+  <subsection name="Catalina">
+    <changelog>
+      <scode>
+        Remove a number of unnecessary packages from the catalina-deployer.jar.
+        (markt)
+      </scode>
+    </changelog>
+  </subsection>
   <subsection name="Coyote">
     <changelog>
       <fix>


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

Reply via email to