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

vladimirsitnikov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git

commit da4bf49675ef0aa0d9412a5b71b9688dde1d7cdb
Author: Vladimir Sitnikov <[email protected]>
AuthorDate: Fri Oct 31 20:46:21 2025 +0300

    chore: drop xerces:xercesImpl dependency, avoid renovate bumping xml-apis 
to v2
    
    xml-apis 2.0.2 is a mere relocation to 1.0.b2, so it makes no sense using v2
---
 lib/aareadme.txt                            | 6 ------
 renovate.json                               | 7 +++++++
 src/bom-thirdparty/build.gradle.kts         | 1 -
 src/core/build.gradle.kts                   | 3 ---
 src/dist/src/dist/expected_release_jars.csv | 1 -
 xdocs/usermanual/get-started.xml            | 3 +--
 6 files changed, 8 insertions(+), 13 deletions(-)

diff --git a/lib/aareadme.txt b/lib/aareadme.txt
index 9531d6aaa1..96315b8a9e 100644
--- a/lib/aareadme.txt
+++ b/lib/aareadme.txt
@@ -262,12 +262,6 @@ xalan_2.7.1
 http://www.apache.org/dyn/closer.cgi/xml/xalan-j
 +org.apache.xalan|xml|xpath
 
-xercesImpl-2.12.0
-----------------
-http://xerces.apache.org/xerces2-j/download.cgi
-+org.apache.html.dom|org.apache.wml|org.apache.xerces|org.apache.xml.serialize
-+org.w3c.dom.html|ls
-
 xml-apis-1.4.01
 --------------
 http://xerces.apache.org/xerces2-j/download.cgi
diff --git a/renovate.json b/renovate.json
index 602682c895..e4d4e650fa 100644
--- a/renovate.json
+++ b/renovate.json
@@ -175,6 +175,13 @@
         "org.slf4j{/,}**"
       ]
     },
+    {
+      "groupName": "xml-apis:xml-apis",
+      "allowedVersions": "< 2.0.0",
+      "matchPackageNames": [
+        "xml-apis:xml-apis{/,}**"
+      ]
+    },
     {
       "enabled": false,
       "matchPackageNames": [
diff --git a/src/bom-thirdparty/build.gradle.kts 
b/src/bom-thirdparty/build.gradle.kts
index c92d103e67..3f98a163bd 100644
--- a/src/bom-thirdparty/build.gradle.kts
+++ b/src/bom-thirdparty/build.gradle.kts
@@ -137,7 +137,6 @@ dependencies {
         api("oro:oro:2.0.8")
         api("xalan:serializer:2.7.3")
         api("xalan:xalan:2.7.3")
-        api("xerces:xercesImpl:2.12.2")
         api("xml-apis:xml-apis:1.4.01")
         api("xmlpull:xmlpull:1.1.3.1")
     }
diff --git a/src/core/build.gradle.kts b/src/core/build.gradle.kts
index d8bef3e9fc..05d395e397 100644
--- a/src/core/build.gradle.kts
+++ b/src/core/build.gradle.kts
@@ -121,9 +121,6 @@ dependencies {
     implementation("org.jodd:jodd-props")
     implementation("org.mozilla:rhino")
     implementation("org.slf4j:jcl-over-slf4j")
-    // TODO: JMeter bundles Xerces, however the reason is unknown
-    runtimeOnly("xerces:xercesImpl")
-    runtimeOnly("xml-apis:xml-apis")
 
     testImplementation("commons-net:commons-net")
     testImplementation("io.mockk:mockk")
diff --git a/src/dist/src/dist/expected_release_jars.csv 
b/src/dist/src/dist/expected_release_jars.csv
index cd9b0d74d7..a3b57ebed5 100644
--- a/src/dist/src/dist/expected_release_jars.csv
+++ b/src/dist/src/dist/expected_release_jars.csv
@@ -154,7 +154,6 @@
 2539,swing-extensions-visual-padding-0.1.3.jar
 778543,tika-core-3.2.3.jar
 3455761,xalan-2.7.3.jar
-1446149,xercesImpl-2.12.2.jar
 220536,xml-apis-1.4.01.jar
 85686,xml-apis-ext-1.3.04.jar
 686441,xmlgraphics-commons-2.11.jar
diff --git a/xdocs/usermanual/get-started.xml b/xdocs/usermanual/get-started.xml
index 015d8e6d32..7f0242357e 100644
--- a/xdocs/usermanual/get-started.xml
+++ b/xdocs/usermanual/get-started.xml
@@ -851,8 +851,7 @@ If set to <code>0</code> (default value), then JMeter does 
not print non-termina
     <property name="ssl.provider">You can specify the class for your SSL
     implementation if you don't want to use the built-in Java implementation.
     </property>
-    <property name="xml.parser">You can specify an implementation as your XML
-    parser. The default value is: 
<code>org.apache.xerces.parsers.SAXParser</code></property>
+    <property name="xml.parser">You can specify an implementation as your XML 
parser.</property>
   <property name="remote_hosts">Comma-delimited list of remote JMeter hosts 
(or <code>host:port</code> if required).
     If you are running JMeter in a distributed environment, list the machines 
where
   you have JMeter remote servers running.  This will allow you to control those

Reply via email to