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 <[email protected]> Authored: Wed Apr 13 00:00:46 2016 -0700 Committer: hahao <[email protected]> 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>
