sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s..@apache.org
Subject sentry git commit: SENTRY-589: Enable dist for authorization V2 (Dapeng Sun, reviewed by Colin Ma)
Date Wed, 13 Apr 2016 01:37:41 GMT
Repository: sentry
Updated Branches:
  refs/heads/master 2387ddb96 -> 6ecf48dde


SENTRY-589: Enable dist for authorization V2 (Dapeng Sun, reviewed by Colin Ma)


Project: http://git-wip-us.apache.org/repos/asf/sentry/repo
Commit: http://git-wip-us.apache.org/repos/asf/sentry/commit/6ecf48dd
Tree: http://git-wip-us.apache.org/repos/asf/sentry/tree/6ecf48dd
Diff: http://git-wip-us.apache.org/repos/asf/sentry/diff/6ecf48dd

Branch: refs/heads/master
Commit: 6ecf48ddee24524c89d838f10df87d33c70e61a1
Parents: 2387ddb
Author: Sun Dapeng <sdp@apache.org>
Authored: Wed Apr 13 09:31:59 2016 +0800
Committer: Sun Dapeng <sdp@apache.org>
Committed: Wed Apr 13 09:32:49 2016 +0800

----------------------------------------------------------------------
 sentry-dist/pom.xml | 31 ++++++++++++++++++++++++++-----
 1 file changed, 26 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sentry/blob/6ecf48dd/sentry-dist/pom.xml
----------------------------------------------------------------------
diff --git a/sentry-dist/pom.xml b/sentry-dist/pom.xml
index 7c54cd2..6ea1143 100644
--- a/sentry-dist/pom.xml
+++ b/sentry-dist/pom.xml
@@ -48,10 +48,6 @@ limitations under the License.
     </dependency>
     <dependency>
       <groupId>org.apache.sentry</groupId>
-      <artifactId>sentry-binding-hive</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.sentry</groupId>
       <artifactId>sentry-binding-solr</artifactId>
     </dependency>
     <dependency>
@@ -103,9 +99,34 @@ limitations under the License.
       <artifactId>sentry-policy-sqoop</artifactId>
     </dependency>
   </dependencies>
+  <profiles>
+    <profile>
+      <id>hive-authz1</id>
+      <activation>
+        <activeByDefault>true</activeByDefault>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>org.apache.sentry</groupId>
+          <artifactId>sentry-binding-hive</artifactId>
+        </dependency>
+      </dependencies>
+    </profile>
+    <profile>
+      <id>hive-authz2</id>
+      <activation>
+        <activeByDefault>false</activeByDefault>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>org.apache.sentry</groupId>
+          <artifactId>sentry-binding-hive-v2</artifactId>
+        </dependency>
+      </dependencies>
+    </profile>
+  </profiles>
   <build>
     <plugins>
-
      <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-assembly-plugin</artifactId>


Mime
View raw message