You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by sd...@apache.org on 2016/04/13 03:37:41 UTC

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

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 <sd...@apache.org>
Authored: Wed Apr 13 09:31:59 2016 +0800
Committer: Sun Dapeng <sd...@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>