This is an automated email from the ASF dual-hosted git repository. rombert pushed a commit to branch issue/remove-xml-apis in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-starter.git
commit 549980616a3f4299cbbb8886b02ea9b6b9783e41 Author: Robert Munteanu <romb...@apache.org> AuthorDate: Mon Sep 11 17:58:59 2023 +0200 Exclude the xmlParserAPIs dependency from the classpath With moving to Java 11 as a baseline, these classes are seens as conflicting with the ones provided by the JDK: The package javax.xml.parsers is accessible from more than one module: <unnamed>, java.xml --- pom.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pom.xml b/pom.xml index 7ec5667..1bd8cc7 100644 --- a/pom.xml +++ b/pom.xml @@ -525,6 +525,12 @@ <artifactId>org.apache.sling.launchpad.integration-tests</artifactId> <version>${project.version}</version> <scope>test</scope> + <exclusions> + <exclusion> + <groupId>xerces</groupId> + <artifactId>xmlParserAPIs</artifactId> + </exclusion> + </exclusions> </dependency> <!-- provided-scope dependency of the commons.johnzon bundle --> <dependency>