summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/java-jtidy-remove-xerces-dependency.patch
blob: 910c6144de4e9e34a0b06e7c1d817484760e12ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Author: Danny Milosavljevic <dannym@friendly-machines.com>
Date: 2026-03-31
Subject: Remove lib that is built-in into JDK since Java 5.

Remove xerces:dom3-xml-apis dependency from pom.xml.
The DOM Level 3 API has been part of the JDK since Java 5.
Without this patch, install-from-pom's fix-pom-dependencies throws
no-such-input because the dependency is not test-scoped or optional
and no matching package is in inputs.

--- a/pom.xml
+++ b/pom.xml
@@ -171,11 +171,6 @@
     </plugins>
   </build>
   <dependencies>
-    <dependency>
-      <groupId>xerces</groupId>
-      <artifactId>dom3-xml-apis</artifactId>
-      <version>1.0</version>
-    </dependency>
     <dependency>
       <groupId>ant</groupId>
       <artifactId>ant</artifactId>