hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From oz...@apache.org
Subject hadoop git commit: HADOOP-11993. maven enforcer plugin to ban java 8 incompatible dependencies. (ozawa)
Date Thu, 07 Jul 2016 20:41:26 GMT
Repository: hadoop
Updated Branches:
  refs/heads/trunk d1626a7b3 -> 0185de076


HADOOP-11993. maven enforcer plugin to ban java 8 incompatible dependencies. (ozawa)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/0185de07
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/0185de07
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/0185de07

Branch: refs/heads/trunk
Commit: 0185de07676dc2f330d48453217222ad0d1cb3cf
Parents: d1626a7
Author: Tsuyoshi Ozawa <ozawa@apache.org>
Authored: Fri Jul 8 05:40:52 2016 +0900
Committer: Tsuyoshi Ozawa <ozawa@apache.org>
Committed: Fri Jul 8 05:40:52 2016 +0900

----------------------------------------------------------------------
 hadoop-project/pom.xml | 28 +++++++++++++++++++++++++++-
 1 file changed, 27 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/0185de07/hadoop-project/pom.xml
----------------------------------------------------------------------
diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml
index 80b6995..1274d78 100644
--- a/hadoop-project/pom.xml
+++ b/hadoop-project/pom.xml
@@ -1246,8 +1246,34 @@
             <configuration>
               <rules>
                 <DependencyConvergence>
-                  <uniqueVersions>true</uniqueVersions> 
+                  <uniqueVersions>true</uniqueVersions>
                 </DependencyConvergence>
+                <bannedDependencies>
+                  <excludes>
+                    <exclude>cglib:cglib:</exclude>
+                    <exclude>com.sun.jersey:*</exclude>
+                    <exclude>com.sun.jersey.contribs:*</exclude>
+                    <exclude>com.sun.jersey.jersey-test-framework:*</exclude>
+                    <exclude>com.google.inject:guice</exclude>
+                    <exclude>org.ow2.asm:asm</exclude>
+                  </excludes>
+                  <includes>
+                    <!-- for JDK 8 support -->
+                    <include>cglib:cglib:3.2.0</include>
+                    <include>com.google.inject:guice:4.0</include>
+                    <include>com.sun.jersey:jersey-core:1.19</include>
+                    <include>com.sun.jersey:jersey-servlet:1.19</include>
+                    <include>com.sun.jersey:jersey-json:1.19</include>
+                    <include>com.sun.jersey:jersey-server:1.19</include>
+                    <include>com.sun.jersey:jersey-client:1.19</include>
+                    <include>com.sun.jersey:jersey-grizzly2:1.19</include>
+                    <include>com.sun.jersey:jersey-grizzly2-servlet:1.19</include>
+                    <include>com.sun.jersey.jersey-test-framework:jersey-test-framework-core:1.19</include>
+                    <include>com.sun.jersey.jersey-test-framework:jersey-test-framework-grizzly2:1.19</include>
+                    <include>com.sun.jersey.contribs:jersey-guice:1.19</include>
+                    <include>org.ow2.asm:asm:5.0.0</include>
+                  </includes>
+                </bannedDependencies>
               </rules>
             </configuration>
             <goals>


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message