Make jaxen dependency optional. It is shaded into pmd-core.

This commit is contained in:
Andreas Dangel 2018-06-25 21:33:59 +02:00
parent f38a4f95c6
commit 6167d26fa9
2 changed files with 10 additions and 0 deletions

1
.gitignore vendored
View File

@ -10,3 +10,4 @@ bin/
.idea
*.patch
*/src/site/site.xml
pmd-core/dependency-reduced-pom.xml

View File

@ -108,6 +108,15 @@
<dependency>
<groupId>jaxen</groupId>
<artifactId>jaxen</artifactId>
<!--
Jaxen is optionally, so that it doesn't get inherited by default.
Jaxen is shaded into pmd-core (without org.w3c.dom.UserDataHandler).
Adding Jaxen again as a dependency would reintroduce the duplicated
org.w3c.dom.UserDataHandler interface.
See https://github.com/pmd/pmd/issues/1074
and https://github.com/pmd/pmd/pull/1201
-->
<optional>true</optional>
</dependency>
<dependency>
<groupId>net.java.dev.javacc</groupId>