This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-starter.git
The following commit(s) were added to refs/heads/master by this push:
new ee7eb41 Exclude the xmlParserAPIs dependency from the classpath (#230)
ee7eb41 is described below
commit ee7eb41337ec4510646d95f1fa951fa8e0b344d0
Author: Robert Munteanu <[email protected]>
AuthorDate: Wed Sep 13 13:46:09 2023 +0200
Exclude the xmlParserAPIs dependency from the classpath (#230)
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>