HBASE-16340 exclude Xerces iplementation jars from coming in transitively.
Signed-off-by: Esteban Gutierrez <esteban@apache.org> Signed-off-by: stack <stack@apache.org> Conflicts: hbase-spark/pom.xml
This commit is contained in:
parent
a5f98c3f9e
commit
3d4b533fc5
24
pom.xml
24
pom.xml
@ -803,7 +803,7 @@
|
||||
<!-- version set by parent -->
|
||||
<executions>
|
||||
<execution>
|
||||
<id>min-maven-and-java</id>
|
||||
<id>min-maven-min-java-banned-xerces</id>
|
||||
<goals>
|
||||
<goal>enforce</goal>
|
||||
</goals>
|
||||
@ -829,6 +829,12 @@
|
||||
See the reference guide on building for more information: http://hbase.apache.org/book.html#build
|
||||
</message>
|
||||
</requireJavaVersion>
|
||||
<bannedDependencies>
|
||||
<excludes>
|
||||
<exclude>xerces:xercesImpl</exclude>
|
||||
</excludes>
|
||||
<message>We avoid adding our own Xerces jars to the classpath, see HBASE-16340.</message>
|
||||
</bannedDependencies>
|
||||
</rules>
|
||||
</configuration>
|
||||
</execution>
|
||||
@ -2018,6 +2024,10 @@
|
||||
<groupId>stax</groupId>
|
||||
<artifactId>stax-api</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>xerces</groupId>
|
||||
<artifactId>xercesImpl</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
<version>${hadoop-two.version}</version>
|
||||
</dependency>
|
||||
@ -2044,6 +2054,10 @@
|
||||
<groupId>stax</groupId>
|
||||
<artifactId>stax-api</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>xerces</groupId>
|
||||
<artifactId>xercesImpl</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
@ -2196,6 +2210,10 @@
|
||||
<groupId>stax</groupId>
|
||||
<artifactId>stax-api</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>xerces</groupId>
|
||||
<artifactId>xercesImpl</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
<version>${hadoop-three.version}</version>
|
||||
</dependency>
|
||||
@ -2218,6 +2236,10 @@
|
||||
<groupId>stax</groupId>
|
||||
<artifactId>stax-api</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>xerces</groupId>
|
||||
<artifactId>xercesImpl</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
Loading…
x
Reference in New Issue
Block a user