From c2eb1ef2f34d1fc647b7f11c54c0eeec151c79f7 Mon Sep 17 00:00:00 2001 From: Martin Hickson Date: Tue, 17 Nov 2026 16:10:26 +1300 Subject: [PATCH] Mark the Xerces dependency as optional. Xalan compiles against Xerces, but applications supply their own parser. Keeping xercesImpl optional stops it from being pulled onto a consumer's classpath. --- pom.xml | 1 + xalan/pom.xml | 1 + 2 files changed, 2 insertions(+) diff --git a/pom.xml b/pom.xml index 0716057ea..234736ff1 100644 --- a/pom.xml +++ b/pom.xml @@ -51,6 +51,7 @@ xerces xercesImpl ${xerces.version} + true xml-apis diff --git a/xalan/pom.xml b/xalan/pom.xml index 65ed12e59..388ef4f94 100644 --- a/xalan/pom.xml +++ b/xalan/pom.xml @@ -37,6 +37,7 @@ xerces xercesImpl + true xml-apis