hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bus...@apache.org
Subject [2/3] hbase git commit: HBASE-16340 exclude Xerces iplementation jars from coming in transitively.
Date Fri, 05 Aug 2016 20:50:36 GMT
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


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/262a4e66
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/262a4e66
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/262a4e66

Branch: refs/heads/branch-1.3
Commit: 262a4e666fce5eceb61f077c13b0e623f532598a
Parents: bf12fe6
Author: Sean Busbey <busbey@apache.org>
Authored: Tue Aug 2 11:36:51 2016 -0500
Committer: Sean Busbey <busbey@apache.org>
Committed: Fri Aug 5 15:33:47 2016 -0500

----------------------------------------------------------------------
 pom.xml | 24 +++++++++++++++++++++++-
 1 file changed, 23 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/262a4e66/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 3e16a5a..28e1eac 100644
--- a/pom.xml
+++ b/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>
@@ -2001,6 +2007,10 @@
                 <groupId>stax</groupId>
                 <artifactId>stax-api</artifactId>
               </exclusion>
+              <exclusion>
+                <groupId>xerces</groupId>
+                <artifactId>xercesImpl</artifactId>
+              </exclusion>
             </exclusions>
             <version>${hadoop-two.version}</version>
           </dependency>
@@ -2027,6 +2037,10 @@
                 <groupId>stax</groupId>
                 <artifactId>stax-api</artifactId>
               </exclusion>
+              <exclusion>
+                <groupId>xerces</groupId>
+                <artifactId>xercesImpl</artifactId>
+              </exclusion>
             </exclusions>
           </dependency>
           <dependency>
@@ -2179,6 +2193,10 @@
                <groupId>stax</groupId>
                <artifactId>stax-api</artifactId>
              </exclusion>
+             <exclusion>
+               <groupId>xerces</groupId>
+               <artifactId>xercesImpl</artifactId>
+             </exclusion>
            </exclusions>
            <version>${hadoop-three.version}</version>
          </dependency>
@@ -2201,6 +2219,10 @@
                <groupId>stax</groupId>
                <artifactId>stax-api</artifactId>
              </exclusion>
+             <exclusion>
+               <groupId>xerces</groupId>
+               <artifactId>xercesImpl</artifactId>
+             </exclusion>
            </exclusions>
          </dependency>
          <dependency>


Mime
View raw message