ranger-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject incubator-ranger git commit: RANGER-936 - Some junit related improvements
Date Mon, 25 Apr 2016 09:29:48 GMT
Repository: incubator-ranger
Updated Branches:
  refs/heads/master cd7f5b57a -> f55b3617f


RANGER-936 - Some junit related improvements


Project: http://git-wip-us.apache.org/repos/asf/incubator-ranger/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ranger/commit/f55b3617
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ranger/tree/f55b3617
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ranger/diff/f55b3617

Branch: refs/heads/master
Commit: f55b3617f5f9220848da1e83c5894d6bb4a5d7fd
Parents: cd7f5b5
Author: Colm O hEigeartaigh <coheigea@apache.org>
Authored: Wed Apr 20 10:05:30 2016 +0100
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Mon Apr 25 10:25:24 2016 +0100

----------------------------------------------------------------------
 kms/pom.xml                        | 1 -
 pom.xml                            | 2 +-
 ranger-hdfs-plugin-shim/pom.xml    | 4 ----
 ranger-hive-plugin-shim/pom.xml    | 4 ----
 ranger-plugin-classloader/pom.xml  | 1 -
 ranger-tools/pom.xml               | 2 --
 security-admin/pom.xml             | 1 -
 src/main/assembly/admin-web.xml    | 1 -
 src/main/assembly/hbase-agent.xml  | 1 -
 src/main/assembly/hdfs-agent.xml   | 1 -
 src/main/assembly/hive-agent.xml   | 1 -
 src/main/assembly/kms.xml          | 2 --
 src/main/assembly/knox-agent.xml   | 1 -
 src/main/assembly/plugin-kafka.xml | 1 -
 src/main/assembly/plugin-kms.xml   | 1 -
 src/main/assembly/plugin-solr.xml  | 1 -
 src/main/assembly/plugin-yarn.xml  | 1 -
 src/main/assembly/storm-agent.xml  | 1 -
 tagsync/pom.xml                    | 2 --
 ugsync/pom.xml                     | 1 -
 20 files changed, 1 insertion(+), 29 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/f55b3617/kms/pom.xml
----------------------------------------------------------------------
diff --git a/kms/pom.xml b/kms/pom.xml
index 966b748..03f7992 100644
--- a/kms/pom.xml
+++ b/kms/pom.xml
@@ -128,7 +128,6 @@
         <dependency>
             <groupId>junit</groupId>
             <artifactId>junit</artifactId>
-            <scope>test</scope>
         </dependency>
         <dependency>
             <groupId>org.mockito</groupId>

http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/f55b3617/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index e4ea90e..d331397 100644
--- a/pom.xml
+++ b/pom.xml
@@ -176,7 +176,7 @@
         <jline.version>0.9.94</jline.version>
         <jsch.version>0.1.42</jsch.version>
         <jsr305.version>1.3.9</jsr305.version>
-        <junit.version>4.11</junit.version>
+        <junit.version>4.12</junit.version>
         <kafka.version>0.9.0.0</kafka.version>
         <knox.gateway.version>0.6.0</knox.gateway.version>
         <local.lib.dir>${project.basedir}/../lib/local</local.lib.dir>

http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/f55b3617/ranger-hdfs-plugin-shim/pom.xml
----------------------------------------------------------------------
diff --git a/ranger-hdfs-plugin-shim/pom.xml b/ranger-hdfs-plugin-shim/pom.xml
index c15dfa7..0fa9e7c 100644
--- a/ranger-hdfs-plugin-shim/pom.xml
+++ b/ranger-hdfs-plugin-shim/pom.xml
@@ -47,10 +47,6 @@
             <version>${hadoop.version}</version>
         </dependency>
         <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-        </dependency>
-        <dependency>
             <groupId>org.mockito</groupId>
             <artifactId>mockito-core</artifactId>
         </dependency>

http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/f55b3617/ranger-hive-plugin-shim/pom.xml
----------------------------------------------------------------------
diff --git a/ranger-hive-plugin-shim/pom.xml b/ranger-hive-plugin-shim/pom.xml
index 2bd18bd..4fabb3f 100644
--- a/ranger-hive-plugin-shim/pom.xml
+++ b/ranger-hive-plugin-shim/pom.xml
@@ -93,10 +93,6 @@
             <version>${project.version}</version>
         </dependency>
         <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-        </dependency>
-        <dependency>
             <groupId>org.mockito</groupId>
             <artifactId>mockito-core</artifactId>
         </dependency>

http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/f55b3617/ranger-plugin-classloader/pom.xml
----------------------------------------------------------------------
diff --git a/ranger-plugin-classloader/pom.xml b/ranger-plugin-classloader/pom.xml
index 4d6e2b9..a26fb3b 100644
--- a/ranger-plugin-classloader/pom.xml
+++ b/ranger-plugin-classloader/pom.xml
@@ -34,7 +34,6 @@
         <dependency>
             <groupId>junit</groupId>
             <artifactId>junit</artifactId>
-            <scope>test</scope>
         </dependency>
         <!--  
     <dependency>

http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/f55b3617/ranger-tools/pom.xml
----------------------------------------------------------------------
diff --git a/ranger-tools/pom.xml b/ranger-tools/pom.xml
index ec85a5f..7f374c0 100644
--- a/ranger-tools/pom.xml
+++ b/ranger-tools/pom.xml
@@ -33,8 +33,6 @@
         <dependency>
             <groupId>junit</groupId>
             <artifactId>junit</artifactId>
-            <version>${junit.version}</version>
-            <scope>test</scope>
         </dependency>
         <dependency>
             <groupId>commons-cli</groupId>

http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/f55b3617/security-admin/pom.xml
----------------------------------------------------------------------
diff --git a/security-admin/pom.xml b/security-admin/pom.xml
index 2af0cf4..e6c8edf 100644
--- a/security-admin/pom.xml
+++ b/security-admin/pom.xml
@@ -261,7 +261,6 @@
         <dependency>
             <groupId>junit</groupId>
             <artifactId>junit</artifactId>
-            <scope>test</scope>
         </dependency>
         <dependency>
             <groupId>org.mockito</groupId>

http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/f55b3617/src/main/assembly/admin-web.xml
----------------------------------------------------------------------
diff --git a/src/main/assembly/admin-web.xml b/src/main/assembly/admin-web.xml
index ea24bf4..8087374 100644
--- a/src/main/assembly/admin-web.xml
+++ b/src/main/assembly/admin-web.xml
@@ -237,7 +237,6 @@
                     <include>commons-logging:commons-logging</include>
                     <include>com.google.guava:guava</include>
                     <include>org.hamcrest:hamcrest-all</include>
-                    <include>junit:junit</include>
                     <include>org.slf4j:slf4j-api</include>
                     <include>org.apache.hadoop:hadoop-common</include>
                     <include>org.apache.hadoop:hadoop-auth</include>

http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/f55b3617/src/main/assembly/hbase-agent.xml
----------------------------------------------------------------------
diff --git a/src/main/assembly/hbase-agent.xml b/src/main/assembly/hbase-agent.xml
index 3255907..9169248 100644
--- a/src/main/assembly/hbase-agent.xml
+++ b/src/main/assembly/hbase-agent.xml
@@ -84,7 +84,6 @@
                         <include>commons-logging:commons-logging:jar:${commons.logging.version}</include>
                         <include>com.google.guava:guava:jar:${google.guava.version}</include>
                         <include>org.hamcrest:hamcrest-all</include>
-                        <include>junit:junit</include>
                         <include>org.slf4j:slf4j-api:jar:${slf4j-api.version}</include>
                         <include>org.apache.hadoop:hadoop-common:jar:${hadoop-common.version}</include>
                         <include>org.apache.hadoop:hadoop-auth:jar:${hadoop-common.version}</include>

http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/f55b3617/src/main/assembly/hdfs-agent.xml
----------------------------------------------------------------------
diff --git a/src/main/assembly/hdfs-agent.xml b/src/main/assembly/hdfs-agent.xml
index 742ef94..978b1f6 100644
--- a/src/main/assembly/hdfs-agent.xml
+++ b/src/main/assembly/hdfs-agent.xml
@@ -55,7 +55,6 @@
                         <include>commons-logging:commons-logging:jar:${commons.logging.version}</include>
                         <include>com.google.guava:guava:jar:${google.guava.version}</include>
                         <include>org.hamcrest:hamcrest-all</include>
-                        <include>junit:junit:${junit.version}</include>
                         <include>org.slf4j:slf4j-api:jar:${slf4j-api.version}</include>
                         <include>org.apache.hadoop:hadoop-common:jar:${hadoop-common.version}</include>
                         <include>org.apache.hadoop:hadoop-auth:jar:${hadoop-common.version}</include>

http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/f55b3617/src/main/assembly/hive-agent.xml
----------------------------------------------------------------------
diff --git a/src/main/assembly/hive-agent.xml b/src/main/assembly/hive-agent.xml
index 9e9df8c..611b71b 100644
--- a/src/main/assembly/hive-agent.xml
+++ b/src/main/assembly/hive-agent.xml
@@ -83,7 +83,6 @@
                         <include>commons-logging:commons-logging:jar:${commons.logging.version}</include>
                         <include>com.google.guava:guava:jar:${google.guava.version}</include>
                         <include>org.hamcrest:hamcrest-all</include>
-                        <include>junit:junit</include>
                         <include>org.slf4j:slf4j-api:jar:${slf4j-api.version}</include>
                         <include>org.apache.hadoop:hadoop-common:jar:${hadoop-common.version}</include>
                         <include>org.apache.hadoop:hadoop-auth:jar:${hadoop-common.version}</include>

http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/f55b3617/src/main/assembly/kms.xml
----------------------------------------------------------------------
diff --git a/src/main/assembly/kms.xml b/src/main/assembly/kms.xml
index ec81ed7..445b3c7 100755
--- a/src/main/assembly/kms.xml
+++ b/src/main/assembly/kms.xml
@@ -212,7 +212,6 @@
          				<include>commons-logging:commons-logging:jar:${commons.logging.version}</include>
                         <include>com.google.guava:guava:jar:${guava.version}</include>
                         <include>org.hamcrest:hamcrest-all</include>
-                        <include>junit:junit</include>
                         <include>org.slf4j:slf4j-api:jar:${slf4j-api.version}</include>
                         <include>org.apache.hadoop:hadoop-common:jar:${hadoop-common.version}</include>
                         <include>org.apache.hadoop:hadoop-auth:jar:${hadoop-common.version}</include>
@@ -264,7 +263,6 @@
 							<include>commons-logging:commons-logging</include>
 							<include>com.google.guava:guava</include>
 							<include>org.hamcrest:hamcrest-all</include>
-							<include>junit:junit</include>
 							<include>org.slf4j:slf4j-api</include>
 							<include>org.apache.hadoop:hadoop-common</include>
 							<include>org.apache.hadoop:hadoop-auth</include>

http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/f55b3617/src/main/assembly/knox-agent.xml
----------------------------------------------------------------------
diff --git a/src/main/assembly/knox-agent.xml b/src/main/assembly/knox-agent.xml
index c036187..431af88 100644
--- a/src/main/assembly/knox-agent.xml
+++ b/src/main/assembly/knox-agent.xml
@@ -91,7 +91,6 @@
                         <include>commons-logging:commons-logging:jar:${commons.logging.version}</include>
                         <include>com.google.guava:guava:jar:${google.guava.version}</include>
                         <include>org.hamcrest:hamcrest-all</include>
-                        <include>junit:junit</include>
 						<include>org.slf4j:slf4j-api:jar:${slf4j-api.version}</include>
                         <include>org.apache.hadoop:hadoop-common:jar:${hadoop-common.version}</include>
                         <include>org.apache.hadoop:hadoop-auth:jar:${hadoop-common.version}</include>

http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/f55b3617/src/main/assembly/plugin-kafka.xml
----------------------------------------------------------------------
diff --git a/src/main/assembly/plugin-kafka.xml b/src/main/assembly/plugin-kafka.xml
index 1e33e7f..a860a7b 100644
--- a/src/main/assembly/plugin-kafka.xml
+++ b/src/main/assembly/plugin-kafka.xml
@@ -93,7 +93,6 @@
 							<include>commons-logging:commons-logging</include>
 							<include>com.google.guava:guava:jar:${google.guava.version}</include>
 							<include>org.hamcrest:hamcrest-all</include>
-							<include>junit:junit</include>
 							<include>org.slf4j:slf4j-api:jar:${slf4j-api.version}</include>
 							<include>org.apache.hadoop:hadoop-common:jar:${hadoop-common.version}
 							</include>

http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/f55b3617/src/main/assembly/plugin-kms.xml
----------------------------------------------------------------------
diff --git a/src/main/assembly/plugin-kms.xml b/src/main/assembly/plugin-kms.xml
index 57ab8c3..749894d 100755
--- a/src/main/assembly/plugin-kms.xml
+++ b/src/main/assembly/plugin-kms.xml
@@ -64,7 +64,6 @@
          		<include>commons-logging:commons-logging:jar:${commons.logging.version}</include>
                         <include>com.google.guava:guava:jar:${guava.version}</include>
                         <include>org.hamcrest:hamcrest-all</include>
-                        <include>junit:junit</include>
                         <include>org.slf4j:slf4j-api:jar:${slf4j-api.version}</include>
                         <include>org.apache.hadoop:hadoop-common:jar:${hadoop-common.version}</include>
                         <include>org.apache.hadoop:hadoop-auth:jar:${hadoop-common.version}</include>

http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/f55b3617/src/main/assembly/plugin-solr.xml
----------------------------------------------------------------------
diff --git a/src/main/assembly/plugin-solr.xml b/src/main/assembly/plugin-solr.xml
index 43ab738..29e32f9 100644
--- a/src/main/assembly/plugin-solr.xml
+++ b/src/main/assembly/plugin-solr.xml
@@ -72,7 +72,6 @@
 							<include>commons-logging:commons-logging</include>
 							<include>com.google.guava:guava:jar:${guava.version}</include>
 							<include>org.hamcrest:hamcrest-all</include>
-							<include>junit:junit</include>
 							<include>org.slf4j:slf4j-api:jar:${slf4j-api.version}</include>
 							<include>org.apache.hadoop:hadoop-common:jar:${hadoop-common.version}
 							</include>

http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/f55b3617/src/main/assembly/plugin-yarn.xml
----------------------------------------------------------------------
diff --git a/src/main/assembly/plugin-yarn.xml b/src/main/assembly/plugin-yarn.xml
index b286a49..200694f 100644
--- a/src/main/assembly/plugin-yarn.xml
+++ b/src/main/assembly/plugin-yarn.xml
@@ -69,7 +69,6 @@
                         <include>commons-logging:commons-logging:jar:${commons.logging.version}</include>
                         <include>com.google.guava:guava:jar:${google.guava.version}</include>
                         <include>org.hamcrest:hamcrest-all</include>
-                        <include>junit:junit</include>
                         <include>org.slf4j:slf4j-api:jar:${slf4j-api.version}</include>
                         <include>org.apache.hadoop:hadoop-common:jar:${hadoop-common.version}</include>
                         <include>org.apache.hadoop:hadoop-auth:jar:${hadoop-common.version}</include>

http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/f55b3617/src/main/assembly/storm-agent.xml
----------------------------------------------------------------------
diff --git a/src/main/assembly/storm-agent.xml b/src/main/assembly/storm-agent.xml
index 2813f90..be88dd7 100644
--- a/src/main/assembly/storm-agent.xml
+++ b/src/main/assembly/storm-agent.xml
@@ -87,7 +87,6 @@
                         <include>commons-logging:commons-logging</include>
                         <include>com.google.guava:guava:jar:${google.guava.version}</include>
                         <include>org.hamcrest:hamcrest-all</include>
-                        <include>junit:junit</include>
                         <include>org.slf4j:slf4j-api:jar:${slf4j-api.version}</include>
                         <include>org.apache.hadoop:hadoop-common:jar:${hadoop-common.version}</include>
                         <include>org.apache.hadoop:hadoop-auth:jar:${hadoop-common.version}</include>

http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/f55b3617/tagsync/pom.xml
----------------------------------------------------------------------
diff --git a/tagsync/pom.xml b/tagsync/pom.xml
index 855be38..87580fc 100644
--- a/tagsync/pom.xml
+++ b/tagsync/pom.xml
@@ -46,8 +46,6 @@
         <dependency>
             <groupId>junit</groupId>
             <artifactId>junit</artifactId>
-            <version>${junit.version}</version>
-            <scope>test</scope>
         </dependency>
         <dependency>
             <groupId>log4j</groupId>

http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/f55b3617/ugsync/pom.xml
----------------------------------------------------------------------
diff --git a/ugsync/pom.xml b/ugsync/pom.xml
index 6ff21ca..877ac7f 100644
--- a/ugsync/pom.xml
+++ b/ugsync/pom.xml
@@ -100,7 +100,6 @@
         <dependency>
             <groupId>junit</groupId>
             <artifactId>junit</artifactId>
-            <scope>test</scope>
         </dependency>
         <dependency>
             <groupId>commons-httpclient</groupId>


Mime
View raw message