You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2023/09/11 16:00:12 UTC

[sling-org-apache-sling-starter] branch issue/remove-xml-apis created (now 5499806)

This is an automated email from the ASF dual-hosted git repository.

rombert pushed a change to branch issue/remove-xml-apis
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-starter.git


      at 5499806  Exclude the xmlParserAPIs dependency from the classpath

This branch includes the following new commits:

     new 5499806  Exclude the xmlParserAPIs dependency from the classpath

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[sling-org-apache-sling-starter] 01/01: Exclude the xmlParserAPIs dependency from the classpath

Posted by ro...@apache.org.
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 <ro...@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>