Skip to content

Commit

Permalink
Exclude the xmlParserAPIs dependency from the classpath (#230)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
rombert committed Sep 13, 2023
1 parent 66a4752 commit ee7eb41
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pom.xml
Expand Up @@ -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>
Expand Down

0 comments on commit ee7eb41

Please sign in to comment.