RANGER-197: removed dependecies with SNAPSHOT libraries for hive/hbase
Project: http://git-wip-us.apache.org/repos/asf/incubator-ranger/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ranger/commit/da58bb09 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ranger/tree/da58bb09 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ranger/diff/da58bb09 Branch: refs/heads/stack Commit: da58bb09b678f5727cf3abfd2012cde798bce38b Parents: ef15231 Author: sneethiraj <[email protected]> Authored: Mon Jan 19 00:18:48 2015 -0500 Committer: sneethiraj <[email protected]> Committed: Mon Jan 19 00:18:48 2015 -0500 ---------------------------------------------------------------------- agents-impl/pom.xml | 36 +++++++++++ hive-agent/pom.xml | 36 +++++++++++ lookup-client/pom.xml | 38 +++++++++++ pom.xml | 151 ++++++++++++++++++++++++++++++++++++++++---- security-admin/pom.xml | 2 + 5 files changed, 252 insertions(+), 11 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/da58bb09/agents-impl/pom.xml ---------------------------------------------------------------------- diff --git a/agents-impl/pom.xml b/agents-impl/pom.xml index 13fa42a..f8580d7 100644 --- a/agents-impl/pom.xml +++ b/agents-impl/pom.xml @@ -31,6 +31,42 @@ <dependencies> <dependency> + <groupId>org.apache.calcite</groupId> + <artifactId>calcite-core</artifactId> + <version>${calcite.version}</version> + </dependency> + <dependency> + <groupId>org.apache.calcite</groupId> + <artifactId>calcite-avatica</artifactId> + <version>${calcite.version}</version> + </dependency> + <dependency> + <groupId>org.apache.tez</groupId> + <artifactId>tez-api</artifactId> + <version>${tez.version}</version> + <optional>true</optional> + </dependency> + <dependency> + <groupId>org.apache.tez</groupId> + <artifactId>tez-runtime-library</artifactId> + <version>${tez.version}</version> + <optional>true</optional> + </dependency> + <dependency> + <groupId>org.apache.tez</groupId> + <artifactId>tez-runtime-internals</artifactId> + <version>${tez.version}</version> + <optional>true</optional> + </dependency> + <dependency> + <groupId>org.apache.tez</groupId> + <artifactId>tez-mapreduce</artifactId> + <version>${tez.version}</version> + <optional>true</optional> + </dependency> + + + <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> </dependency> http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/da58bb09/hive-agent/pom.xml ---------------------------------------------------------------------- diff --git a/hive-agent/pom.xml b/hive-agent/pom.xml index af1ce16..1b19025 100644 --- a/hive-agent/pom.xml +++ b/hive-agent/pom.xml @@ -32,6 +32,42 @@ <relativePath>..</relativePath> </parent> <dependencies> + + <dependency> + <groupId>org.apache.calcite</groupId> + <artifactId>calcite-core</artifactId> + <version>${calcite.version}</version> + </dependency> + <dependency> + <groupId>org.apache.calcite</groupId> + <artifactId>calcite-avatica</artifactId> + <version>${calcite.version}</version> + </dependency> + <dependency> + <groupId>org.apache.tez</groupId> + <artifactId>tez-api</artifactId> + <version>${tez.version}</version> + <optional>true</optional> + </dependency> + <dependency> + <groupId>org.apache.tez</groupId> + <artifactId>tez-runtime-library</artifactId> + <version>${tez.version}</version> + <optional>true</optional> + </dependency> + <dependency> + <groupId>org.apache.tez</groupId> + <artifactId>tez-runtime-internals</artifactId> + <version>${tez.version}</version> + <optional>true</optional> + </dependency> + <dependency> + <groupId>org.apache.tez</groupId> + <artifactId>tez-mapreduce</artifactId> + <version>${tez.version}</version> + <optional>true</optional> + </dependency> + <dependency> <groupId>commons-lang</groupId> <artifactId>commons-lang</artifactId> http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/da58bb09/lookup-client/pom.xml ---------------------------------------------------------------------- diff --git a/lookup-client/pom.xml b/lookup-client/pom.xml index 3892f64..c7abead 100644 --- a/lookup-client/pom.xml +++ b/lookup-client/pom.xml @@ -29,6 +29,44 @@ <relativePath>..</relativePath> </parent> <dependencies> + + + <dependency> + <groupId>org.apache.calcite</groupId> + <artifactId>calcite-core</artifactId> + <version>${calcite.version}</version> + </dependency> + <dependency> + <groupId>org.apache.calcite</groupId> + <artifactId>calcite-avatica</artifactId> + <version>${calcite.version}</version> + </dependency> + <dependency> + <groupId>org.apache.tez</groupId> + <artifactId>tez-api</artifactId> + <version>${tez.version}</version> + <optional>true</optional> + </dependency> + <dependency> + <groupId>org.apache.tez</groupId> + <artifactId>tez-runtime-library</artifactId> + <version>${tez.version}</version> + <optional>true</optional> + </dependency> + <dependency> + <groupId>org.apache.tez</groupId> + <artifactId>tez-runtime-internals</artifactId> + <version>${tez.version}</version> + <optional>true</optional> + </dependency> + <dependency> + <groupId>org.apache.tez</groupId> + <artifactId>tez-mapreduce</artifactId> + <version>${tez.version}</version> + <optional>true</optional> + </dependency> + + <dependency> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/da58bb09/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 38590d5..c2765d6 100644 --- a/pom.xml +++ b/pom.xml @@ -28,9 +28,51 @@ <description>Security for Enforcing Enterprise Policies</description> <packaging>pom</packaging> <name>ranger</name> + <url>http://ranger.incubator.apache.org/</url> + <licenses> + <license> + <name>Apache 2.0 License</name> + <url>http://www.apache.org/licenses/LICENSE-2.0.html</url> + <distribution>repo</distribution> + </license> + </licenses> + <scm> + <connection>scm:git:[email protected]:apache/incubator-ranger.git</connection> + <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/incubator-ranger.git</developerConnection> + <url>scm:git:[email protected]:apache/incubator-ranger.git</url> + <tag>ranger-0.4.0-rc3</tag> + </scm> + <issueManagement> + <system>JIRA</system> + <url>https://issues.apache.org/jira/browse/ranger</url> + </issueManagement> <prerequisites> <maven>2.2.1</maven> </prerequisites> + + <mailingLists> + <mailingList> + <name>Dev Mailing List</name> + <post>[email protected]</post> + <subscribe>[email protected]</subscribe> + <unsubscribe>[email protected]</unsubscribe> + </mailingList> + + <mailingList> + <name>User Mailing List</name> + <post>[email protected]</post> + <subscribe>[email protected]</subscribe> + <unsubscribe>[email protected]</unsubscribe> + </mailingList> + + <mailingList> + <name>Commits Mailing List</name> + <post>[email protected]</post> + <subscribe>[email protected]</subscribe> + <unsubscribe>[email protected]</unsubscribe> + </mailingList> + </mailingLists> + <modules> <module>agents-audit</module> <module>agents-common</module> @@ -51,6 +93,8 @@ <module>unixauthservice</module> </modules> <properties> + <javac.source.version>1.7</javac.source.version> + <javac.target.version>1.7</javac.target.version> <antlr.version>3.5.2</antlr.version> <aopalliance.version>1.0</aopalliance.version> <asm.version>3.1</asm.version> @@ -83,7 +127,9 @@ <hadoop.version>2.6.0</hadoop.version> <hamcrest.all.version>1.3</hamcrest.all.version> <hbase.version>0.99.2</hbase.version> - <hive.version>0.14.0-SNAPSHOT</hive.version> + <hive.version>0.14.0</hive.version> + <calcite.version>0.9.2-incubating</calcite.version> + <tez.version>0.5.2</tez.version> <javassist.version>3.12.1.GA</javassist.version> <javax.persistence.version>2.1.0</javax.persistence.version> <javax.servlet.version>3.1.0</javax.servlet.version> @@ -230,12 +276,44 @@ <build> <pluginManagement> <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-enforcer-plugin</artifactId> + <version>1.3.1</version> + <executions> + <execution> + <id>enforce-versions</id> + <goals> + <goal>enforce</goal> + </goals> + <configuration> + <rules> + <requireMavenVersion> + <version>3.0.4</version> + </requireMavenVersion> + <requireJavaVersion> + <version>${java.version}</version> + </requireJavaVersion> + </rules> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + <version>1.8</version> + </plugin> <plugin> <artifactId>maven-compiler-plugin</artifactId> - <version>3.1</version> + <version>3.2</version> <configuration> - <source>1.6</source> - <target>1.6</target> + <useIncrementalCompilation>false</useIncrementalCompilation> + <source>${javac.source.version}</source> + <target>${javac.target.version}</target> + <encoding>UTF-8</encoding> + <maxmem>1024m</maxmem> + <fork>true</fork> </configuration> </plugin> <plugin> @@ -264,6 +342,7 @@ <configuration> <descriptors> <descriptor>src/main/assembly/hdfs-agent.xml</descriptor> + <!-- <descriptor>src/main/assembly/hive-agent.xml</descriptor> <descriptor>src/main/assembly/hbase-agent.xml</descriptor> <descriptor>src/main/assembly/knox-agent.xml</descriptor> @@ -271,21 +350,61 @@ <descriptor>src/main/assembly/admin-web.xml</descriptor> <descriptor>src/main/assembly/usersync.xml</descriptor> <descriptor>src/main/assembly/ranger-src.xml</descriptor> + --> </descriptors> </configuration> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jar-plugin</artifactId> + <version>2.4</version> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <version>1.7</version> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-shade-plugin</artifactId> + <version>2.2</version> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-source-plugin</artifactId> + <version>2.2.1</version> + <configuration> + <attach>true</attach> + </configuration> + <executions> + <execution> + <id>create-source-jar</id> + <goals> + <goal>jar-no-fork</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-clean-plugin</artifactId> + <version>2.5</version> + <configuration> + <filesets> + <fileset> + <directory>work</directory> + </fileset> + <fileset> + <directory>checkpoint</directory> + </fileset> + </filesets> + </configuration> + </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>2.5</version> </plugin> - <!-- - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>rpm-maven-plugin</artifactId> - <version>2.1-alpha-4</version> - </plugin> - --> <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself. --> @@ -388,6 +507,16 @@ </execution> </executions> </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>findbugs-maven-plugin</artifactId> +<!-- + <configuration> + <excludeFilterFile>${basedir}/dev-support/findbugsExcludeFile.xml + </excludeFilterFile> + </configuration> +--> + </plugin> </plugins> </build> </project> http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/da58bb09/security-admin/pom.xml ---------------------------------------------------------------------- diff --git a/security-admin/pom.xml b/security-admin/pom.xml index ba0e68b..32d15d3 100644 --- a/security-admin/pom.xml +++ b/security-admin/pom.xml @@ -412,11 +412,13 @@ <version>${hive.version}</version> <scope>runtime</scope> </dependency> + <!-- <dependency> <groupId>cn.guoyukun.jdbc</groupId> <artifactId>oracle-ojdbc6</artifactId> <version>11.2.0.3.0</version> </dependency> + --> </dependencies> <build> <pluginManagement>
