forked from phoedos/pmd
Make jaxen dependency optional. It is shaded into pmd-core.
This commit is contained in:
parent
f38a4f95c6
commit
6167d26fa9
1
.gitignore
vendored
1
.gitignore
vendored
@ -10,3 +10,4 @@ bin/
|
|||||||
.idea
|
.idea
|
||||||
*.patch
|
*.patch
|
||||||
*/src/site/site.xml
|
*/src/site/site.xml
|
||||||
|
pmd-core/dependency-reduced-pom.xml
|
||||||
|
@ -108,6 +108,15 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>jaxen</groupId>
|
<groupId>jaxen</groupId>
|
||||||
<artifactId>jaxen</artifactId>
|
<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>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>net.java.dev.javacc</groupId>
|
<groupId>net.java.dev.javacc</groupId>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user