This is an automated email from the ASF dual-hosted git repository.
garydgregory pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/commons-secure-xml.git
The following commit(s) were added to refs/heads/main by this push:
new 7a159d8 Fix optional Saxon module requirement on Java 17+
7a159d8 is described below
commit 7a159d8b77eaae11f92fa86be6d382791312535f
Author: Gary Gregory <[email protected]>
AuthorDate: Mon Nov 9 10:05:31 2026 -0500
Fix optional Saxon module requirement on Java 17+
Mark net.sf.saxon as static alongside Saxon.HE in the ModiTect
configuration.
Saxon 13.1 uses the newer module name, which previously became a
mandatory dependency and caused DescriptorIT to fail.
---
pom.xml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 52f9c6a..dae26f8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -550,7 +550,7 @@ limitations under the License.
</execution>
</executions>
</plugin>
- <!-- jdeps makes Saxon.HE a hard requirement; flip it to static
(optional). The trailing * keeps the rest. -->
+ <!-- jdeps makes Saxon a hard requirement; mark both module names static
(optional). The trailing * keeps the rest. -->
<plugin>
<groupId>org.moditect</groupId>
<artifactId>moditect-maven-plugin</artifactId>
@@ -562,6 +562,7 @@ limitations under the License.
<moduleInfo>
<requires>
static Saxon.HE;
+ static net.sf.saxon;
*;
</requires>
</moduleInfo>