sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ha...@apache.org
Subject [1/6] sentry git commit: SENTRY-589: Enable dist for authorization V2 (Dapeng Sun, Reviewed by: Colin Ma)
Date Wed, 27 Apr 2016 01:30:36 GMT
Repository: sentry
Updated Branches:
  refs/heads/branch-1.7.0 6141aa503 -> 03d9f1775


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/265f5293
Tree: http://git-wip-us.apache.org/repos/asf/sentry/tree/265f5293
Diff: http://git-wip-us.apache.org/repos/asf/sentry/diff/265f5293

Branch: refs/heads/branch-1.7.0
Commit: 265f52935822fdb13bf0508892daa710dc4f68c9
Parents: 6141aa5
Author: hahao <hao.hao@cloudera.com>
Authored: Wed Apr 13 00:00:46 2016 -0700
Committer: hahao <hao.hao@cloudera.com>
Committed: Tue Apr 26 18:25:34 2016 -0700

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


http://git-wip-us.apache.org/repos/asf/sentry/blob/265f5293/sentry-dist/pom.xml
----------------------------------------------------------------------
diff --git a/sentry-dist/pom.xml b/sentry-dist/pom.xml
index 69c8626..827d165 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