| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <groupId>org.apache</groupId> |
| <artifactId>apache</artifactId> |
| <version>19</version> |
| </parent> |
| |
| |
| <groupId>org.apache.sentry</groupId> |
| <artifactId>sentry</artifactId> |
| <version>2.2.0</version> |
| <description>Sentry component</description> |
| <name>Sentry</name> |
| <packaging>pom</packaging> |
| |
| <issueManagement> |
| <system>JIRA</system> |
| <url>https://issues.apache.org/jira/browse/SENTRY</url> |
| </issueManagement> |
| |
| <licenses> |
| <license> |
| <name>The Apache Software License, Version 2.0</name> |
| <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| </license> |
| </licenses> |
| |
| <scm> |
| <connection>scm:git:https://git-wip-us.apache.org/repos/asf/sentry.git</connection> |
| <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/sentry.git</developerConnection> |
| <url>https://git-wip-us.apache.org/repos/asf/sentry</url> |
| </scm> |
| |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <buildtools.dir>${basedir}/build-tools</buildtools.dir> |
| <test.tmp.dir>${project.build.directory}/tmp</test.tmp.dir> |
| <maven.compile.source>1.8</maven.compile.source> |
| <maven.compile.target>1.8</maven.compile.target> |
| <failIfNoTests>false</failIfNoTests> |
| <!-- versions are in alphabetical order --> |
| <ant.contrib.version>1.0b3</ant.contrib.version> |
| <bonecp.version>0.8.0.RELEASE</bonecp.version> |
| <build.helper.maven.plugin.version>1.8</build.helper.maven.plugin.version> |
| <cglib.version>2.2</cglib.version> |
| <commons-cli.version>1.2</commons-cli.version> |
| <commons-pool2.version>2.4.2</commons-pool2.version> |
| <commons.lang.version>2.6</commons.lang.version> |
| <commons.logging.version>1.2</commons.logging.version> |
| <curator.version>2.11.1</curator.version> |
| <derby.version>10.13.1.1</derby.version> |
| <easymock.version>3.0</easymock.version> |
| <fest.reflect.version>1.4.1</fest.reflect.version> |
| <guava.version>14.0.1</guava.version> |
| <hamcrest.version>1.3</hamcrest.version> |
| <hive.version>2.3.3</hive.version> |
| <jackson.version>1.9.13</jackson.version> |
| <jackson-databind.version>2.9.6</jackson-databind.version> |
| <jackson-mapper-asl.version>1.9.13</jackson-mapper-asl.version> |
| <jdo-api.version>3.0.1</jdo-api.version> |
| <jetty.version>9.3.21.v20170918</jetty.version> |
| <joda-time.version>2.5</joda-time.version> |
| <junit.version>4.10</junit.version> |
| <kafka.version>1.0.0</kafka.version> |
| <libfb303.version>0.9.3</libfb303.version> |
| <libthrift.version>0.9.3</libthrift.version> |
| <lombok.version>1.18.2</lombok.version> |
| <log4j.version>1.2.16</log4j.version> |
| <maven.antrun.plugin.version>1.7</maven.antrun.plugin.version> |
| <maven.eclipse.plugin.version>2.9</maven.eclipse.plugin.version> |
| <maven.enforcer.plugin.version>1.3.1</maven.enforcer.plugin.version> |
| <maven.shade.plugin.version>3.1.1</maven.shade.plugin.version> |
| <metrics.version>3.2.2</metrics.version> |
| <mockito.version>1.8.5</mockito.version> |
| <objenesis.version>1.2</objenesis.version> |
| <pig.version>0.12.0</pig.version> |
| <shiro.version>1.4.0</shiro.version> |
| <slf4j.version>1.7.25</slf4j.version> |
| <solr.version>7.4.0</solr.version> |
| <sqoop.version>1.99.7</sqoop.version> |
| <surefire.version>2.20.1</surefire.version> |
| <test.sentry.hadoop.classpath>${maven.test.classpath}</test.sentry.hadoop.classpath> |
| <zookeeper.version>3.4.5</zookeeper.version> |
| <maven.jar.plugin.version>3.0.2</maven.jar.plugin.version> |
| <httpcomponents.version>4.5.3</httpcomponents.version> |
| <assertj.version>3.11.1</assertj.version> |
| |
| <!-- Package versions for Sentry binding components --> |
| <hadoop.version>3.1.1</hadoop.version> |
| |
| <!-- Datanucleus package versions --> |
| <datanucleus.maven.plugin.version>4.0.5</datanucleus.maven.plugin.version> |
| <datanucleus-core.version>4.1.17</datanucleus-core.version> |
| <datanucleus-rdbms.version>4.1.17</datanucleus-rdbms.version> |
| <datanucleus-api-jdo.version>4.2.5</datanucleus-api-jdo.version> |
| |
| <!-- Datanucleus package used for the enhancer (newer versions fail building sentry) --> |
| <datanucleus-jdo.version>3.2.0-m3</datanucleus-jdo.version> |
| </properties> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>ant-contrib</groupId> |
| <artifactId>ant-contrib</artifactId> |
| <version>1.0b3</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-cli</groupId> |
| <artifactId>commons-cli</artifactId> |
| <version>${commons-cli.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-lang</groupId> |
| <artifactId>commons-lang</artifactId> |
| <version>${commons.lang.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| <version>${commons.logging.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.jolbox</groupId> |
| <artifactId>bonecp</artifactId> |
| <version>${bonecp.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.derby</groupId> |
| <artifactId>derby</artifactId> |
| <version>${derby.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.thrift</groupId> |
| <artifactId>libthrift</artifactId> |
| <version>${libthrift.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-common</artifactId> |
| <version>${hadoop.version}</version> |
| <exclusions> |
| <exclusion> |
| <artifactId>curator-client</artifactId> |
| <groupId>org.apache.curator</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>curator-framework</artifactId> |
| <groupId>org.apache.curator</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>jackson-mapper-asl</artifactId> |
| <groupId>org.codehaus.jackson</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>jackson-jaxrs</artifactId> |
| <groupId>org.codehaus.jackson</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>jackson-xc</artifactId> |
| <groupId>org.codehaus.jackson</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-hdfs</artifactId> |
| <version>${hadoop.version}</version> |
| <exclusions> |
| <exclusion> |
| <artifactId>jackson-mapper-asl</artifactId> |
| <groupId>org.codehaus.jackson</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-hdfs</artifactId> |
| <version>${hadoop.version}</version> |
| <type>test-jar</type> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-minicluster</artifactId> |
| <version>${hadoop.version}</version> |
| <scope>test</scope> |
| <exclusions> |
| <exclusion> |
| <artifactId>curator-client</artifactId> |
| <groupId>org.apache.curator</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>jackson-mapper-asl</artifactId> |
| <groupId>org.codehaus.jackson</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>jackson-xc</artifactId> |
| <groupId>org.codehaus.jackson</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-minikdc</artifactId> |
| <version>${hadoop.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-client</artifactId> |
| <version>${hadoop.version}</version> |
| <exclusions> |
| <exclusion> |
| <artifactId>jackson-mapper-asl</artifactId> |
| <groupId>org.codehaus.jackson</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>jackson-xc</artifactId> |
| <groupId>org.codehaus.jackson</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-mapreduce-client-jobclient</artifactId> |
| <version>${hadoop.version}</version> |
| <exclusions> |
| <exclusion> |
| <artifactId>jackson-mapper-asl</artifactId> |
| <groupId>org.codehaus.jackson</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>jackson-xc</artifactId> |
| <groupId>org.codehaus.jackson</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.jackson</groupId> |
| <artifactId>jackson-core-asl</artifactId> |
| <version>${jackson.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.jackson</groupId> |
| <artifactId>jackson-mapper-asl</artifactId> |
| <version>${jackson.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sentry</groupId> |
| <artifactId>solr-sentry-handlers</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.solr</groupId> |
| <artifactId>solr-solrj</artifactId> |
| <version>${solr.version}</version> |
| <exclusions> |
| <exclusion> |
| <artifactId>jackson-databind</artifactId> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>jackson-mapper-asl</artifactId> |
| <groupId>org.codehaus.jackson</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.solr</groupId> |
| <artifactId>solr-core</artifactId> |
| <version>${solr.version}</version> |
| <exclusions> |
| <exclusion> |
| <artifactId>jackson-databind</artifactId> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>jackson-mapper-asl</artifactId> |
| <groupId>org.codehaus.jackson</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>jackson-annotations</artifactId> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>jackson-dataformat-smile</artifactId> |
| <groupId>com.fasterxml.jackson.dataformat</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.solr</groupId> |
| <artifactId>solr-test-framework</artifactId> |
| <version>${solr.version}</version> |
| <exclusions> |
| <exclusion> |
| <artifactId>jackson-databind</artifactId> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>jackson-mapper-asl</artifactId> |
| <groupId>org.codehaus.jackson</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>jackson-annotations</artifactId> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>jackson-dataformat-smile</artifactId> |
| <groupId>com.fasterxml.jackson.dataformat</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>${junit.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.easytesting</groupId> |
| <artifactId>fest-reflect</artifactId> |
| <version>${fest.reflect.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| <version>${log4j.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.shiro</groupId> |
| <artifactId>shiro-core</artifactId> |
| <version>${shiro.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| <version>${guava.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| <version>${slf4j.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| <version>${slf4j.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hive</groupId> |
| <artifactId>hive-common</artifactId> |
| <version>${hive.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.eclipse.jetty.aggregate</groupId> |
| <artifactId>jetty-all</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-1.2-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-core</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-slf4j-impl</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-web</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.eclipse.jetty.orbit</groupId> |
| <artifactId>javax.servlet</artifactId> |
| </exclusion> |
| <exclusion> |
| <artifactId>jackson-databind</artifactId> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>jackson-mapper-asl</artifactId> |
| <groupId>org.codehaus.jackson</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hive.hcatalog</groupId> |
| <artifactId>hive-hcatalog-core</artifactId> |
| <version>${hive.version}</version> |
| <exclusions> |
| <exclusion> |
| <artifactId>jackson-mapper-asl</artifactId> |
| <groupId>org.codehaus.jackson</groupId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-archives</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hive.hcatalog</groupId> |
| <artifactId>hive-hcatalog-pig-adapter</artifactId> |
| <version>${hive.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hive</groupId> |
| <artifactId>hive-metastore</artifactId> |
| <version>${hive.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.eclipse.jetty.aggregate</groupId> |
| <artifactId>jetty-all</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-1.2-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-core</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-slf4j-impl</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-web</artifactId> |
| </exclusion> |
| <exclusion> |
| <artifactId>jackson-databind</artifactId> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>jackson-mapper-asl</artifactId> |
| <groupId>org.codehaus.jackson</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hive</groupId> |
| <artifactId>hive-beeline</artifactId> |
| <version>${hive.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.hive</groupId> |
| <artifactId>hive-metastore</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.hive</groupId> |
| <artifactId>hive-serde</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.hive</groupId> |
| <artifactId>hive-common</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.hive</groupId> |
| <artifactId>hive-serde</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.hive</groupId> |
| <artifactId>hive-shims</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hive</groupId> |
| <artifactId>hive-jdbc</artifactId> |
| <version>${hive.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hive</groupId> |
| <artifactId>hive-shims</artifactId> |
| <version>${hive.version}</version> |
| <exclusions> |
| <exclusion> |
| <artifactId>apache-curator</artifactId> |
| <groupId>org.apache.curator</groupId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-1.2-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-core</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-slf4j-impl</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-web</artifactId> |
| </exclusion> |
| <exclusion> |
| <artifactId>jackson-xc</artifactId> |
| <groupId>org.codehaus.jackson</groupId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-yarn-server-resourcemanager</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.projectlombok</groupId> |
| <artifactId>lombok</artifactId> |
| <version>${lombok.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hive</groupId> |
| <artifactId>hive-serde</artifactId> |
| <version>${hive.version}</version> |
| <exclusions> |
| <exclusion> |
| <artifactId>jackson-mapper-asl</artifactId> |
| <groupId>org.codehaus.jackson</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hive</groupId> |
| <artifactId>hive-exec</artifactId> |
| <version>${hive.version}</version> |
| <exclusions> |
| <exclusion> |
| <artifactId>apache-curator</artifactId> |
| <groupId>org.apache.curator</groupId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-1.2-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-core</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-slf4j-impl</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-web</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>com.yammer.metrics</groupId> |
| <artifactId>metrics-core</artifactId> |
| </exclusion> |
| <exclusion> |
| <artifactId>jackson-databind</artifactId> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>jackson-mapper-asl</artifactId> |
| <groupId>org.codehaus.jackson</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hive</groupId> |
| <artifactId>hive-service</artifactId> |
| <version>${hive.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.eclipse.jetty.aggregate</groupId> |
| <artifactId>jetty-all</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.curator</groupId> |
| <artifactId>curator-client</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>com.yammer.metrics</groupId> |
| <artifactId>metrics-core</artifactId> |
| </exclusion> |
| <exclusion> |
| <artifactId>jackson-mapper-asl</artifactId> |
| <groupId>org.codehaus.jackson</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>jackson-xc</artifactId> |
| <groupId>org.codehaus.jackson</groupId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-yarn-registry</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hive</groupId> |
| <artifactId>hive-hbase-handler</artifactId> |
| <version>${hive.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hive</groupId> |
| <artifactId>hive-contrib</artifactId> |
| <version>${hive.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hive</groupId> |
| <artifactId>hive-cli</artifactId> |
| <version>${hive.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sentry</groupId> |
| <artifactId>sentry-core-common</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sentry</groupId> |
| <artifactId>sentry-core-model-db</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sentry</groupId> |
| <artifactId>sentry-core-model-indexer</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sentry</groupId> |
| <artifactId>sentry-core-model-solr</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sentry</groupId> |
| <artifactId>sentry-core-model-sqoop</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sentry</groupId> |
| <artifactId>sentry-core-model-kafka</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sentry</groupId> |
| <artifactId>sentry-binding-hive-common</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sentry</groupId> |
| <artifactId>sentry-binding-hive</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sentry</groupId> |
| <artifactId>sentry-binding-hbase-indexer</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sentry</groupId> |
| <artifactId>sentry-binding-solr</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sentry</groupId> |
| <artifactId>sentry-binding-solr</artifactId> |
| <version>${project.version}</version> |
| <type>test-jar</type> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sentry</groupId> |
| <artifactId>sentry-binding-sqoop</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sentry</groupId> |
| <artifactId>sentry-binding-kafka</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sentry</groupId> |
| <artifactId>sentry-provider-common</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sentry</groupId> |
| <artifactId>sentry-provider-file</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sentry</groupId> |
| <artifactId>sentry-hdfs-common</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sentry</groupId> |
| <artifactId>sentry-hdfs-service</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sentry</groupId> |
| <artifactId>sentry-hdfs-namenode-plugin</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sentry</groupId> |
| <artifactId>sentry-hdfs-dist</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sentry</groupId> |
| <artifactId>sentry-provider-cache</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sentry</groupId> |
| <artifactId>sentry-provider-db</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sentry</groupId> |
| <artifactId>sentry-provider-db</artifactId> |
| <version>${project.version}</version> |
| <type>test-jar</type> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sentry</groupId> |
| <artifactId>sentry-policy-common</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sentry</groupId> |
| <artifactId>sentry-policy-engine</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sentry</groupId> |
| <artifactId>sentry-tools</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sentry</groupId> |
| <artifactId>sentry-dist</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>javax.jdo</groupId> |
| <artifactId>jdo-api</artifactId> |
| <version>${jdo-api.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-all</artifactId> |
| <version>${mockito.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.pig</groupId> |
| <artifactId>pig</artifactId> |
| <version>${pig.version}</version> |
| <exclusions> |
| <exclusion> |
| <artifactId>jackson-mapper-asl</artifactId> |
| <groupId>org.codehaus.jackson</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.curator</groupId> |
| <artifactId>curator-recipes</artifactId> |
| <version>${curator.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.curator</groupId> |
| <artifactId>curator-x-discovery</artifactId> |
| <version>${curator.version}</version> |
| <exclusions> |
| <exclusion> |
| <artifactId>jackson-mapper-asl</artifactId> |
| <groupId>org.codehaus.jackson</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.curator</groupId> |
| <artifactId>curator-test</artifactId> |
| <version>${curator.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.curator</groupId> |
| <artifactId>curator-framework</artifactId> |
| <version>${curator.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.curator</groupId> |
| <artifactId>curator-client</artifactId> |
| <version>${curator.version}</version> |
| <exclusions> |
| <exclusion> |
| <artifactId>jackson-databind</artifactId> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>jackson-mapper-asl</artifactId> |
| <groupId>org.codehaus.jackson</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.zookeeper</groupId> |
| <artifactId>zookeeper</artifactId> |
| <version>${zookeeper.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.jboss.netty</groupId> |
| <artifactId>netty</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>joda-time</groupId> |
| <artifactId>joda-time</artifactId> |
| <version>${joda-time.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.easymock</groupId> |
| <artifactId>easymock</artifactId> |
| <version>${easymock.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.objenesis</groupId> |
| <artifactId>objenesis</artifactId> |
| <version>${objenesis.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>cglib</groupId> |
| <artifactId>cglib-nodep</artifactId> |
| <version>${cglib.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-pool2</artifactId> |
| <version>${commons-pool2.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sqoop</groupId> |
| <artifactId>sqoop-common</artifactId> |
| <version>${sqoop.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sqoop</groupId> |
| <artifactId>sqoop-security</artifactId> |
| <version>${sqoop.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sqoop</groupId> |
| <artifactId>sqoop-server</artifactId> |
| <version>${sqoop.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sqoop</groupId> |
| <artifactId>test</artifactId> |
| <version>${sqoop.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.hamcrest</groupId> |
| <artifactId>hamcrest-all</artifactId> |
| <version>${hamcrest.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.kafka</groupId> |
| <artifactId>kafka_2.11</artifactId> |
| <version>${kafka.version}</version> |
| <exclusions> |
| <exclusion> |
| <artifactId>jackson-databind</artifactId> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>io.dropwizard.metrics</groupId> |
| <artifactId>metrics-core</artifactId> |
| <version>${metrics.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>io.dropwizard.metrics</groupId> |
| <artifactId>metrics-servlets</artifactId> |
| <version>${metrics.version}</version> |
| <exclusions> |
| <exclusion> |
| <artifactId>jackson-databind</artifactId> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>io.dropwizard.metrics</groupId> |
| <artifactId>metrics-jvm</artifactId> |
| <version>${metrics.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-server</artifactId> |
| <version>${jetty.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-servlet</artifactId> |
| <version>${jetty.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hive.hcatalog</groupId> |
| <artifactId>hive-hcatalog-server-extensions</artifactId> |
| <version>${hive.version}</version> |
| <exclusions> |
| <!-- It is a transitive dependency and doesn't have proper license information, |
| so not distributing it.--> |
| <exclusion> |
| <groupId>javax.jms</groupId> |
| <artifactId>jms</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>com.yammer.metrics</groupId> |
| <artifactId>metrics-core</artifactId> |
| </exclusion> |
| <exclusion> |
| <artifactId>jackson-mapper-asl</artifactId> |
| <groupId>org.codehaus.jackson</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>jackson-xc</artifactId> |
| <groupId>org.codehaus.jackson</groupId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-archives</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.assertj</groupId> |
| <artifactId>assertj-core</artifactId> |
| <version>${assertj.version}</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <modules> |
| <module>sentry-thirdparty</module> |
| <module>sentry-core</module> |
| <module>sentry-binding</module> |
| <module>sentry-provider</module> |
| <module>sentry-policy</module> |
| <module>sentry-solr</module> |
| <module>sentry-tests</module> |
| <module>sentry-hdfs</module> |
| <module>sentry-tools</module> |
| <module>sentry-service</module> |
| <module>sentry-dist</module> |
| <module>sentry-spi</module> |
| </modules> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <inherited>true</inherited> |
| <extensions>true</extensions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-pmd-plugin</artifactId> |
| <version>3.7</version> |
| <configuration> |
| <rulesets> |
| <ruleset>${buildtools.dir}/sentry-pmd-ruleset.xml</ruleset> |
| </rulesets> |
| <sourceEncoding>UTF-8</sourceEncoding> |
| <failOnViolation>true</failOnViolation> |
| <linkXRef>false</linkXRef> |
| <includeTests>true</includeTests> |
| <verbose>true</verbose> |
| <targetJdk>${maven.compile.target}</targetJdk> |
| <excludeRoots> |
| <excludeRoot>${basedir}/src/main/generated</excludeRoot> |
| </excludeRoots> |
| </configuration> |
| <executions> |
| <execution> |
| <id>validate</id> |
| <phase>validate</phase> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-eclipse-plugin</artifactId> |
| <version>${maven.eclipse.plugin.version}</version> |
| <configuration> |
| <workspaceActiveCodeStyleProfileName>GoogleStyle</workspaceActiveCodeStyleProfileName> |
| <workspaceCodeStylesURL>https://google-styleguide.googlecode.com/svn/trunk/eclipse-java-google-style.xml</workspaceCodeStylesURL> |
| <sourceIncludes><include>src/gen/thrift/gen-javabean/**</include></sourceIncludes> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>define-classpath</id> |
| <phase>process-resources</phase> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| <configuration> |
| <exportAntProperties>true</exportAntProperties> |
| <target> |
| <property name="maven.test.classpath" refid="maven.test.classpath"/> |
| </target> |
| </configuration> |
| </execution> |
| <execution> |
| <id>setup-test-dirs</id> |
| <phase>process-test-resources</phase> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| <configuration> |
| <target> |
| <delete dir="${test.tmp.dir}" /> |
| <mkdir dir="${test.tmp.dir}" /> |
| </target> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <version>2.5.4</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <version>${maven.antrun.plugin.version}</version> |
| <dependencies> |
| <dependency> |
| <groupId>ant-contrib</groupId> |
| <artifactId>ant-contrib</artifactId> |
| <version>${ant.contrib.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>ant</groupId> |
| <artifactId>ant</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| </dependencies> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>3.1</version> |
| <configuration> |
| <source>${maven.compile.source}</source> |
| <target>${maven.compile.target}</target> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-enforcer-plugin</artifactId> |
| <version>${maven.enforcer.plugin.version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <version>${maven.jar.plugin.version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>${surefire.version}</version> |
| <configuration> |
| <rerunFailingTestsCount>3</rerunFailingTestsCount> |
| <environmentVariables> |
| <HADOOP_CLIENT_OPTS>-Xmx1500m -Dhive.log.dir=./target/</HADOOP_CLIENT_OPTS> |
| </environmentVariables> |
| <forkedProcessTimeoutInSeconds>900</forkedProcessTimeoutInSeconds> |
| <redirectTestOutputToFile>true</redirectTestOutputToFile> |
| <argLine>-Xms512m -Xmx2g -XX:MaxPermSize=256m</argLine> |
| <systemPropertyVariables> |
| <java.net.preferIPv4Stack>true</java.net.preferIPv4Stack> |
| <java.io.tmpdir>${test.tmp.dir}</java.io.tmpdir> |
| </systemPropertyVariables> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <version>0.10</version> |
| <executions> |
| <execution> |
| <id>header-check</id> |
| <phase>verify</phase> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| <configuration> |
| <excludes> |
| <!-- Git specific files --> |
| <exclude>.git/</exclude> |
| <exclude>.gitignore</exclude> |
| <!--IDE specific files--> |
| <exclude>.idea/</exclude> |
| <exclude>**/*.iml</exclude> |
| <exclude>**/nb-configuration.xml</exclude> |
| <exclude>**/.classpath</exclude> |
| <exclude>**/.settings/**</exclude> |
| <exclude>**/.project</exclude> |
| <exclude>**/.metadata/</exclude> |
| <!-- Maven working directory --> |
| <exclude>**/target/</exclude> |
| <exclude>**/assembly/</exclude> |
| <!-- Pre commit testing generated files --> |
| <exclude>maven-repo/</exclude> |
| <exclude>test-output/</exclude> |
| <!-- Derby files which are created after test run --> |
| <exclude>**/dependency-reduced-pom.xml</exclude> |
| <exclude>**/derby.log</exclude> |
| <exclude>**/service.properties</exclude> |
| <exclude>**/*.lck</exclude> |
| <!-- Patch files which can be lying around --> |
| <exclude>**.patch</exclude> |
| <!-- Exclude generated solr config files --> |
| <exclude>**/solr/collection1/conf/**</exclude> |
| <exclude>**/solr/security/**</exclude> |
| <exclude>**/empty-file-main-lib.txt</exclude> |
| <!-- Exclude generated thrift files --> |
| <exclude>**/gen/**</exclude> |
| <!-- README and test data with exact format --> |
| <exclude>README*</exclude> |
| <exclude>**/kv1.dat</exclude> |
| <exclude>**/*.sql</exclude> |
| <exclude>**/upgrade.*</exclude> |
| <exclude>**/datanucleus.log</exclude> |
| <exclude>**/metastore_db/</exclude> |
| <exclude>**/*.rej</exclude> |
| <exclude>**/thirdparty/</exclude> |
| <!-- Exclude SSL .crtand .jks files --> |
| <exclude>**/*.crt</exclude> |
| <exclude>**/*.jks</exclude> |
| <!-- Exclude Apache reviewboard config--> |
| <exclude>**/.reviewboardrc</exclude> |
| <exclude>**/override-THIRD-PARTY.properties</exclude> |
| <exclude>**/THIRD-PARTY.properties</exclude> |
| <exclude>**/THIRD-PARTY.ftl</exclude> |
| <exclude>**/resources/licences/*</exclude> |
| <exclude>**/*.svg</exclude> |
| <exclude>**/*.woff</exclude> |
| <exclude>**/*.woff2</exclude> |
| <!-- Lombok Config File --> |
| <exclude>lombok.config</exclude> |
| <exclude>**/*.attach*</exclude> |
| </excludes> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>build-helper-maven-plugin</artifactId> |
| <version>${build.helper.maven.plugin.version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.datanucleus</groupId> |
| <artifactId>datanucleus-maven-plugin</artifactId> |
| <version>${datanucleus.maven.plugin.version}</version> |
| <dependencies> |
| <dependency> |
| <groupId>org.datanucleus</groupId> |
| <artifactId>datanucleus-core</artifactId> |
| <version>${datanucleus-core.version}</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>nochecks</id> |
| <properties> |
| <pmd.skip>true</pmd.skip> |
| </properties> |
| </profile> |
| <profile> |
| <id>activate-buildtools-in-module</id> |
| <activation> |
| <file> |
| <exists>${basedir}/../build-tools/sentry-pmd-ruleset.xml</exists> |
| </file> |
| </activation> |
| <properties> |
| <buildtools.dir>${basedir}/../build-tools</buildtools.dir> |
| </properties> |
| </profile> |
| <profile> |
| <id>activate-buildtools-in-submodule</id> |
| <activation> |
| <file> |
| <exists>${basedir}/../../build-tools/sentry-pmd-ruleset.xml</exists> |
| </file> |
| </activation> |
| <properties> |
| <buildtools.dir>${basedir}/../../build-tools</buildtools.dir> |
| </properties> |
| </profile> |
| <profile> |
| <id>skipSlowAndNotThreadSafeTests</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>${surefire.version}</version> |
| <configuration> |
| <argLine>-Xms256m -Xmx2g -XX:MaxPermSize=256m</argLine> |
| <environmentVariables> |
| <HADOOP_CLIENT_OPTS>-Xmx1500m -Dhive.log.dir=./target/</HADOOP_CLIENT_OPTS> |
| </environmentVariables> |
| <forkCount>2.5C</forkCount> |
| <forkedProcessTimeoutInSeconds>900</forkedProcessTimeoutInSeconds> |
| <redirectTestOutputToFile>true</redirectTestOutputToFile> |
| <rerunFailingTestsCount>3</rerunFailingTestsCount> |
| <reuseForks>false</reuseForks> |
| <systemPropertyVariables> |
| <java.net.preferIPv4Stack>true</java.net.preferIPv4Stack> |
| </systemPropertyVariables> |
| <excludes combine.children="append"> |
| <exclude>%regex[org.apache.sentry.tests.e2e.*.class]</exclude> |
| <exclude>%regex[org.apache.sentry.binding.hive.TestURI.class]</exclude> |
| <exclude>%regex[org.apache.sentry.api.service.thrift.*.class]</exclude> |
| <exclude>%regex[org.apache.solr.handler.admin.*.class]</exclude> |
| <exclude>%regex[org.apache.sentry.api.generic.thrift.*.class]</exclude> |
| <exclude>%regex[org.apache.sentry.cli.tools.*.class]</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>skipOnlySlowTests</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>${surefire.version}</version> |
| <configuration> |
| <forkCount>1</forkCount> |
| <rerunFailingTestsCount>3</rerunFailingTestsCount> |
| <reuseForks>false</reuseForks> |
| <environmentVariables> |
| <HADOOP_CLIENT_OPTS>-Xmx1500m -Dhive.log.dir=./target/</HADOOP_CLIENT_OPTS> |
| </environmentVariables> |
| <redirectTestOutputToFile>true</redirectTestOutputToFile> |
| <argLine>-Xms512m -Xmx2g -XX:MaxPermSize=2g</argLine> |
| <systemPropertyVariables> |
| <java.net.preferIPv4Stack>true</java.net.preferIPv4Stack> |
| </systemPropertyVariables> |
| <excludes combine.children="append"> |
| <exclude>%regex[org.apache.sentry.tests.e2e.dbprovider.*.class]</exclude> |
| <exclude>%regex[org.apache.sentry.tests.e2e.hdfs.TestHDFS.*.class]</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>sign-artifacts</id> |
| <activation> |
| <property> |
| <name>sign-artifacts</name> |
| <value>true</value> |
| </property> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-gpg-plugin</artifactId> |
| <version>1.6</version> |
| <executions> |
| <execution> |
| <id>sign-artifacts</id> |
| <phase>verify</phase> |
| <goals> |
| <goal>sign</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| <distributionManagement> |
| <repository> |
| <id>apache.releases.https</id> |
| <name>Apache Release Distribution Repository</name> |
| <url>https://repository.apache.org/service/local/staging/deploy/maven2</url> |
| </repository> |
| <snapshotRepository> |
| <id>apache.snapshots.https</id> |
| <name>Apache Development Snapshot Repository</name> |
| <url>https://repository.apache.org/content/repositories/snapshots</url> |
| </snapshotRepository> |
| </distributionManagement> |
| <repositories> |
| <repository> |
| <id>apache.snapshots</id> |
| <url>https://repository.apache.org/snapshots/</url> |
| <name>Apache Snapshot Repo</name> |
| <snapshots> |
| <enabled>true</enabled> |
| </snapshots> |
| <releases> |
| <enabled>false</enabled> |
| </releases> |
| </repository> |
| </repositories> |
| |
| </project> |
| |