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

robertlazarski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/axis-axis2-java-rampart.git

commit c34fe61616dc4b965cf62775408428136927f22e
Author: Robert Lazarski <[email protected]>
AuthorDate: Tue Jun 9 13:38:00 2026 -1000

    Remove unused OWASP ESAPI dependency from rampart-trust
    
    ESAPI was declared as a direct compile dependency of rampart-trust but is
    not referenced anywhere in the Rampart sources, is not pulled transitively
    by the OpenSAML/Shibboleth stack, and has no ESAPI.properties config (which
    it would require at runtime if actually used).
    
    Removing it drops its entire transitive subtree from the binary distribution
    (lib/ goes from 64 to 45 jars), eliminating LGPL-licensed jars that should 
not
    ship in an Apache release (xom, BeanShell/bsh) as well as a non-GA milestone
    (commons-collections4 4.5.0-M1) and the antisamy/batik/xml-apis tree.
    
    Also removes the now-orphaned legal/esapi-LICENSE.txt.
    
    Verified with a full clean -Papache-release verify (all 12 modules, all 
tests
    including the 9 policy samples) on JDK 25.
    
    Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
---
 legal/esapi-LICENSE.txt       | 12 ------------
 modules/rampart-trust/pom.xml | 10 ----------
 2 files changed, 22 deletions(-)

diff --git a/legal/esapi-LICENSE.txt b/legal/esapi-LICENSE.txt
deleted file mode 100644
index 20c1657f..00000000
--- a/legal/esapi-LICENSE.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-The BSD License
-
-Copyright (c) 2007, The OWASP Foundation
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without 
modification, are permitted provided that the following conditions are met:
-
-Redistributions of source code must retain the above copyright notice, this 
list of conditions and the following disclaimer. 
-Redistributions in binary form must reproduce the above copyright notice, this 
list of conditions and the following disclaimer in the documentation and/or 
other materials provided with the distribution. 
-Neither the name of the OWASP Foundation nor the names of its contributors may 
be used to endorse or promote products derived from this software without 
specific prior written permission. 
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR 
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
LOSS OF USE, DATA, OR PROFI [...]
-
diff --git a/modules/rampart-trust/pom.xml b/modules/rampart-trust/pom.xml
index 64f5c162..bef927b0 100644
--- a/modules/rampart-trust/pom.xml
+++ b/modules/rampart-trust/pom.xml
@@ -86,16 +86,6 @@
             <groupId>org.opensaml</groupId>
             <artifactId>opensaml-soap-impl</artifactId>
         </dependency>
-        <dependency>
-            <groupId>org.owasp.esapi</groupId>            <exclusions>
-               <exclusion>
-                       <groupId>xerces</groupId>
-                       <artifactId>xercesImpl</artifactId>
-               </exclusion>
-            </exclusions>
-            <artifactId>esapi</artifactId>
-            <version>2.5.4.0</version>
-        </dependency>
         <dependency>
             <groupId>junit</groupId>
             <artifactId>junit</artifactId>

Reply via email to