Skip to content

Commit

Permalink
Fix shading of isorelax (#200). (#202)
Browse files Browse the repository at this point in the history
  • Loading branch information
norrisjeremy authored Mar 27, 2024
1 parent ef10fdc commit d443171
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,42 @@ SAX2 and Stax2 APIs
<scope>provided</scope>
-->
<optional>true</optional>
<exclusions>
<!-- don't use isorelax version that lacks source code on Maven Central -->
<exclusion>
<groupId>isorelax</groupId>
<artifactId>isorelax</artifactId>
</exclusion>
<!-- xml-apis is unneeded since it repackages XML APIs that are built into the JDK -->
<exclusion>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
<groupId>net.java.dev.msv</groupId>
<artifactId>xsdlib</artifactId>
<version>${version.msv}</version>
<!--
<scope>provided</scope>
-->
<optional>true</optional>
<!-- xercesImpl is unneeded since all modern JDKs already include it -->
<exclusions>
<exclusion>
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
</exclusion>
</exclusions>
</dependency>

<!-- use an isorelax version that has source code on Maven Central -->
<dependency>
<groupId>com.sun.xml.bind.jaxb</groupId>
<artifactId>isorelax</artifactId>
<version>20090621</version>
<!--
<scope>provided</scope>
-->
Expand Down

0 comments on commit d443171

Please sign in to comment.