Commit 71714d20 by Suma Shivaprasad

Revert "ATLAS-1246 Upgrade versions of dependencies (shwethags)"

This reverts commit bf5f53a7.
parent e20d76e3
...@@ -142,17 +142,17 @@ ...@@ -142,17 +142,17 @@
</artifactItem> </artifactItem>
<artifactItem> <artifactItem>
<groupId>org.json4s</groupId> <groupId>org.json4s</groupId>
<artifactId>json4s-native_${scala.binary.version}</artifactId> <artifactId>json4s-native_2.10</artifactId>
<version>${json.version}</version> <version>${json.version}</version>
</artifactItem> </artifactItem>
<artifactItem> <artifactItem>
<groupId>org.json4s</groupId> <groupId>org.json4s</groupId>
<artifactId>json4s-core_${scala.binary.version}</artifactId> <artifactId>json4s-core_2.10</artifactId>
<version>${json.version}</version> <version>${json.version}</version>
</artifactItem> </artifactItem>
<artifactItem> <artifactItem>
<groupId>org.json4s</groupId> <groupId>org.json4s</groupId>
<artifactId>json4s-ast_${scala.binary.version}</artifactId> <artifactId>json4s-ast_2.10</artifactId>
<version>${json.version}</version> <version>${json.version}</version>
</artifactItem> </artifactItem>
<artifactItem> <artifactItem>
...@@ -203,6 +203,7 @@ ...@@ -203,6 +203,7 @@
<artifactItem> <artifactItem>
<groupId>com.google.inject.extensions</groupId> <groupId>com.google.inject.extensions</groupId>
<artifactId>guice-multibindings</artifactId> <artifactId>guice-multibindings</artifactId>
<version>${guice.version}</version>
</artifactItem> </artifactItem>
<artifactItem> <artifactItem>
<groupId>org.apache.kafka</groupId> <groupId>org.apache.kafka</groupId>
......
...@@ -190,17 +190,17 @@ ...@@ -190,17 +190,17 @@
</artifactItem> </artifactItem>
<artifactItem> <artifactItem>
<groupId>org.json4s</groupId> <groupId>org.json4s</groupId>
<artifactId>json4s-native_${scala.binary.version}</artifactId> <artifactId>json4s-native_2.10</artifactId>
<version>${json.version}</version> <version>${json.version}</version>
</artifactItem> </artifactItem>
<artifactItem> <artifactItem>
<groupId>org.json4s</groupId> <groupId>org.json4s</groupId>
<artifactId>json4s-core_${scala.binary.version}</artifactId> <artifactId>json4s-core_2.10</artifactId>
<version>${json.version}</version> <version>${json.version}</version>
</artifactItem> </artifactItem>
<artifactItem> <artifactItem>
<groupId>org.json4s</groupId> <groupId>org.json4s</groupId>
<artifactId>json4s-ast_${scala.binary.version}</artifactId> <artifactId>json4s-ast_2.10</artifactId>
<version>${json.version}</version> <version>${json.version}</version>
</artifactItem> </artifactItem>
<artifactItem> <artifactItem>
...@@ -251,6 +251,7 @@ ...@@ -251,6 +251,7 @@
<artifactItem> <artifactItem>
<groupId>com.google.inject.extensions</groupId> <groupId>com.google.inject.extensions</groupId>
<artifactId>guice-multibindings</artifactId> <artifactId>guice-multibindings</artifactId>
<version>${guice.version}</version>
</artifactItem> </artifactItem>
<artifactItem> <artifactItem>
<groupId>org.apache.kafka</groupId> <groupId>org.apache.kafka</groupId>
......
...@@ -207,17 +207,17 @@ ...@@ -207,17 +207,17 @@
</artifactItem> </artifactItem>
<artifactItem> <artifactItem>
<groupId>org.json4s</groupId> <groupId>org.json4s</groupId>
<artifactId>json4s-native_${scala.binary.version}</artifactId> <artifactId>json4s-native_2.10</artifactId>
<version>${json.version}</version> <version>${json.version}</version>
</artifactItem> </artifactItem>
<artifactItem> <artifactItem>
<groupId>org.json4s</groupId> <groupId>org.json4s</groupId>
<artifactId>json4s-core_${scala.binary.version}</artifactId> <artifactId>json4s-core_2.10</artifactId>
<version>${json.version}</version> <version>${json.version}</version>
</artifactItem> </artifactItem>
<artifactItem> <artifactItem>
<groupId>org.json4s</groupId> <groupId>org.json4s</groupId>
<artifactId>json4s-ast_${scala.binary.version}</artifactId> <artifactId>json4s-ast_2.10</artifactId>
<version>${json.version}</version> <version>${json.version}</version>
</artifactItem> </artifactItem>
<artifactItem> <artifactItem>
...@@ -263,6 +263,7 @@ ...@@ -263,6 +263,7 @@
<artifactItem> <artifactItem>
<groupId>com.google.inject.extensions</groupId> <groupId>com.google.inject.extensions</groupId>
<artifactId>guice-multibindings</artifactId> <artifactId>guice-multibindings</artifactId>
<version>${guice.version}</version>
</artifactItem> </artifactItem>
<artifactItem> <artifactItem>
<groupId>org.apache.kafka</groupId> <groupId>org.apache.kafka</groupId>
......
...@@ -95,10 +95,11 @@ ...@@ -95,10 +95,11 @@
<groupId>org.apache.storm</groupId> <groupId>org.apache.storm</groupId>
<artifactId>storm-core</artifactId> <artifactId>storm-core</artifactId>
<version>${storm.version}</version> <version>${storm.version}</version>
<type>jar</type>
<exclusions> <exclusions>
<exclusion> <exclusion>
<groupId>org.slf4j</groupId> <groupId>org.slf4j</groupId>
<artifactId>log4j-over-slf4j</artifactId> <artifactId>slf4j-log4j12</artifactId>
</exclusion> </exclusion>
</exclusions> </exclusions>
</dependency> </dependency>
...@@ -167,17 +168,17 @@ ...@@ -167,17 +168,17 @@
</artifactItem> </artifactItem>
<artifactItem> <artifactItem>
<groupId>org.json4s</groupId> <groupId>org.json4s</groupId>
<artifactId>json4s-native_${scala.binary.version}</artifactId> <artifactId>json4s-native_2.10</artifactId>
<version>${json.version}</version> <version>${json.version}</version>
</artifactItem> </artifactItem>
<artifactItem> <artifactItem>
<groupId>org.json4s</groupId> <groupId>org.json4s</groupId>
<artifactId>json4s-core_${scala.binary.version}</artifactId> <artifactId>json4s-core_2.10</artifactId>
<version>${json.version}</version> <version>${json.version}</version>
</artifactItem> </artifactItem>
<artifactItem> <artifactItem>
<groupId>org.json4s</groupId> <groupId>org.json4s</groupId>
<artifactId>json4s-ast_${scala.binary.version}</artifactId> <artifactId>json4s-ast_2.10</artifactId>
<version>${json.version}</version> <version>${json.version}</version>
</artifactItem> </artifactItem>
<artifactItem> <artifactItem>
...@@ -233,18 +234,22 @@ ...@@ -233,18 +234,22 @@
<artifactItem> <artifactItem>
<groupId>com.google.inject</groupId> <groupId>com.google.inject</groupId>
<artifactId>guice</artifactId> <artifactId>guice</artifactId>
<version>${guice.version}</version>
</artifactItem> </artifactItem>
<artifactItem> <artifactItem>
<groupId>com.google.inject.extensions</groupId> <groupId>com.google.inject.extensions</groupId>
<artifactId>guice-multibindings</artifactId> <artifactId>guice-multibindings</artifactId>
<version>${guice.version}</version>
</artifactItem> </artifactItem>
<artifactItem> <artifactItem>
<groupId>com.google.inject.extensions</groupId> <groupId>com.google.inject.extensions</groupId>
<artifactId>guice-servlet</artifactId> <artifactId>guice-servlet</artifactId>
<version>${guice.version}</version>
</artifactItem> </artifactItem>
<artifactItem> <artifactItem>
<groupId>com.google.inject.extensions</groupId> <groupId>com.google.inject.extensions</groupId>
<artifactId>guice-throwingproviders</artifactId> <artifactId>guice-throwingproviders</artifactId>
<version>${guice.version}</version>
</artifactItem> </artifactItem>
<artifactItem> <artifactItem>
<groupId>org.apache.kafka</groupId> <groupId>org.apache.kafka</groupId>
......
...@@ -17,18 +17,19 @@ ...@@ -17,18 +17,19 @@
*/ */
package org.apache.atlas.authorize.simple; package org.apache.atlas.authorize.simple;
import org.apache.atlas.authorize.AtlasActionTypes;
import org.apache.atlas.authorize.AtlasResourceTypes;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import scala.tools.jline_embedded.internal.Log;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import java.util.regex.Pattern; import java.util.regex.Pattern;
import org.apache.atlas.authorize.AtlasActionTypes;
import org.apache.atlas.authorize.AtlasResourceTypes;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import scala.tools.jline.internal.Log;
public class PolicyParser { public class PolicyParser {
private static Logger LOG = LoggerFactory.getLogger(PolicyParser.class); private static Logger LOG = LoggerFactory.getLogger(PolicyParser.class);
......
...@@ -70,11 +70,5 @@ ...@@ -70,11 +70,5 @@
<version>${spring.version}</version> <version>${spring.version}</version>
</dependency> </dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
<scope>test</scope>
</dependency>
</dependencies> </dependencies>
</project> </project>
...@@ -34,6 +34,12 @@ under the License. --> ...@@ -34,6 +34,12 @@ under the License. -->
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>18.0</version>
</dependency>
<dependency>
<groupId>junit</groupId> <groupId>junit</groupId>
<artifactId>junit</artifactId> <artifactId>junit</artifactId>
<version>4.9</version> <version>4.9</version>
......
...@@ -83,8 +83,8 @@ ...@@ -83,8 +83,8 @@
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.atlas</groupId> <groupId>org.apache.hbase</groupId>
<artifactId>atlas-hbase-client-shaded</artifactId> <artifactId>hbase-client</artifactId>
</dependency> </dependency>
<dependency> <dependency>
...@@ -171,13 +171,8 @@ ...@@ -171,13 +171,8 @@
<exclude>com/thinkaurelius/titan/graphdb/query/graph/GraphCentricQueryBuilder.class</exclude> <exclude>com/thinkaurelius/titan/graphdb/query/graph/GraphCentricQueryBuilder.class</exclude>
</excludes> </excludes>
</filter> </filter>
</filters> </filters>
<relocations>
<relocation>
<pattern>com.google</pattern>
<shadedPattern>atlas.shaded.titan.guava</shadedPattern>
</relocation>
</relocations>
<createSourcesJar>true</createSourcesJar> <createSourcesJar>true</createSourcesJar>
<transformers> <transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/> <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
......
...@@ -62,12 +62,6 @@ ...@@ -62,12 +62,6 @@
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
</dependency>
<dependency>
<groupId>org.testng</groupId> <groupId>org.testng</groupId>
<artifactId>testng</artifactId> <artifactId>testng</artifactId>
<scope>test</scope> <scope>test</scope>
......
...@@ -92,6 +92,7 @@ ...@@ -92,6 +92,7 @@
<dependency> <dependency>
<groupId>com.101tec</groupId> <groupId>com.101tec</groupId>
<artifactId>zkclient</artifactId> <artifactId>zkclient</artifactId>
<version>${zkclient.version}</version>
</dependency> </dependency>
<dependency> <dependency>
...@@ -152,6 +153,11 @@ ...@@ -152,6 +153,11 @@
<version>${commons-lang.version}</version> <version>${commons-lang.version}</version>
</artifactItem> </artifactItem>
<artifactItem> <artifactItem>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
</artifactItem>
<artifactItem>
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-common</artifactId> <artifactId>hadoop-common</artifactId>
<version>${hadoop.version}</version> <version>${hadoop.version}</version>
......
...@@ -11,7 +11,6 @@ ATLAS-1127 Modify creation and modification timestamps to Date instead of Long(s ...@@ -11,7 +11,6 @@ ATLAS-1127 Modify creation and modification timestamps to Date instead of Long(s
ALL CHANGES: ALL CHANGES:
ATLAS-1276 fix for webapp test failures (ayubkhan via mneethiraj) ATLAS-1276 fix for webapp test failures (ayubkhan via mneethiraj)
ATLAS-1278 Added API to get typedef header info (apoorvnaik via mneethiraj) ATLAS-1278 Added API to get typedef header info (apoorvnaik via mneethiraj)
ATLAS-1246 Upgrade versions of dependencies (shwethags)
ATLAS-1192 Atlas IE support (kevalbhatt) ATLAS-1192 Atlas IE support (kevalbhatt)
ATLAS-1273 Test testOnChangeRefresh in DefaultMetadataServiceTest is failing (ayubkhan via shwethags) ATLAS-1273 Test testOnChangeRefresh in DefaultMetadataServiceTest is failing (ayubkhan via shwethags)
ATLAS-1272 updated types bootstrap to load from new format typedef JSON files (mneethiraj) ATLAS-1272 updated types bootstrap to load from new format typedef JSON files (mneethiraj)
......
...@@ -57,13 +57,15 @@ ...@@ -57,13 +57,15 @@
<artifactId>atlas-graphdb-api</artifactId> <artifactId>atlas-graphdb-api</artifactId>
</dependency> </dependency>
<dependency>
<dependency>
<groupId>org.apache.atlas</groupId> <groupId>org.apache.atlas</groupId>
<artifactId>atlas-graphdb-impls</artifactId> <artifactId>atlas-graphdb-impls</artifactId>
<type>pom</type> <type>pom</type>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>joda-time</groupId> <groupId>joda-time</groupId>
<artifactId>joda-time</artifactId> <artifactId>joda-time</artifactId>
...@@ -101,6 +103,11 @@ ...@@ -101,6 +103,11 @@
<dependency> <dependency>
<groupId>org.scala-lang</groupId> <groupId>org.scala-lang</groupId>
<artifactId>jline</artifactId>
</dependency>
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-library</artifactId> <artifactId>scala-library</artifactId>
</dependency> </dependency>
...@@ -115,6 +122,11 @@ ...@@ -115,6 +122,11 @@
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.scalamacros</groupId>
<artifactId>quasiquotes_${scala.binary.version}</artifactId>
</dependency>
<dependency>
<groupId>org.skyscreamer</groupId> <groupId>org.skyscreamer</groupId>
<artifactId>jsonassert</artifactId> <artifactId>jsonassert</artifactId>
</dependency> </dependency>
...@@ -130,35 +142,34 @@ ...@@ -130,35 +142,34 @@
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.atlas</groupId> <groupId>org.apache.hbase</groupId>
<artifactId>atlas-typesystem</artifactId> <artifactId>hbase-client</artifactId>
<classifier>tests</classifier>
<scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.atlas</groupId> <groupId>org.apache.hbase</groupId>
<artifactId>atlas-typesystem</artifactId> <artifactId>hbase-server</artifactId>
<classifier>tests</classifier> <classifier>tests</classifier>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.atlas</groupId> <groupId>org.apache.hbase</groupId>
<artifactId>atlas-intg</artifactId> <artifactId>hbase-server</artifactId>
<type>test-jar</type>
<version>${project.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.atlas</groupId> <groupId>org.apache.atlas</groupId>
<artifactId>atlas-hbase-client-shaded</artifactId> <artifactId>atlas-typesystem</artifactId>
<classifier>tests</classifier>
<scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.atlas</groupId> <groupId>org.apache.atlas</groupId>
<artifactId>atlas-hbase-server-shaded</artifactId> <artifactId>atlas-intg</artifactId>
<type>test-jar</type>
<version>${project.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>
...@@ -200,6 +211,23 @@ ...@@ -200,6 +211,23 @@
<jvmArg>-Xmx512m</jvmArg> <jvmArg>-Xmx512m</jvmArg>
<jvmArg>-XX:MaxPermSize=128m</jvmArg> <jvmArg>-XX:MaxPermSize=128m</jvmArg>
</jvmArgs> </jvmArgs>
<!--
<javacArgs>
<javacArg>-source</javacArg>
<javacArg>${java.version}</javacArg>
<javacArg>-target</javacArg>
<javacArg>${java.version}</javacArg>
</javacArgs>
-->
<!-- The following plugin is required to use quasiquotes in Scala 2.10 and is used
by Spark SQL for code generation. -->
<!--<compilerPlugins>
<compilerPlugin>
<groupId>org.scalamacros</groupId>
<artifactId>paradise_${scala.version}</artifactId>
<version>${scala.macros.version}</version>
</compilerPlugin>
</compilerPlugins>-->
</configuration> </configuration>
</plugin> </plugin>
......
...@@ -44,12 +44,10 @@ import org.slf4j.Logger; ...@@ -44,12 +44,10 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import scala.Option; import scala.Option;
import scala.Some; import scala.Some;
import scala.collection.JavaConversions;
import scala.collection.immutable.List; import scala.collection.immutable.List;
import javax.inject.Inject; import javax.inject.Inject;
import javax.inject.Singleton; import javax.inject.Singleton;
import java.util.Arrays;
import java.util.Iterator; import java.util.Iterator;
/** /**
...@@ -61,8 +59,8 @@ public class DataSetLineageService implements LineageService { ...@@ -61,8 +59,8 @@ public class DataSetLineageService implements LineageService {
private static final Logger LOG = LoggerFactory.getLogger(DataSetLineageService.class); private static final Logger LOG = LoggerFactory.getLogger(DataSetLineageService.class);
private static final Option<List<String>> SELECT_ATTRIBUTES = private static final Option<List<String>> SELECT_ATTRIBUTES =
Some.apply(JavaConversions.asScalaBuffer(Arrays.asList(AtlasClient.NAME, Some.<List<String>>apply(List.<String>fromArray(new String[]{AtlasClient.NAME,
AtlasClient.REFERENCEABLE_ATTRIBUTE_NAME)).toList()); AtlasClient.REFERENCEABLE_ATTRIBUTE_NAME}));
public static final String SELECT_INSTANCE_GUID = "__guid"; public static final String SELECT_INSTANCE_GUID = "__guid";
public static final String DATASET_SCHEMA_QUERY_PREFIX = "atlas.lineage.schema.query."; public static final String DATASET_SCHEMA_QUERY_PREFIX = "atlas.lineage.schema.query.";
......
<?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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>apache-atlas</artifactId>
<groupId>org.apache.atlas</groupId>
<version>0.8-incubating-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>atlas-hbase-client-shaded</artifactId>
<description>Shading of guava in apache hbase-client</description>
<name>Shaded version of Apache hbase client</name>
<packaging>jar</packaging>
<properties>
<checkstyle.failOnViolation>true</checkstyle.failOnViolation>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-client</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.4.1</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<artifactSet>
<excludes>
<!-- these are bundled with Atlas -->
<exclude>org.slf4j:*</exclude>
</excludes>
</artifactSet>
<relocations>
<relocation>
<pattern>com.google</pattern>
<shadedPattern>atlas.shaded.hbase.guava</shadedPattern>
</relocation>
</relocations>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer" />
</transformers>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
<?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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>apache-atlas</artifactId>
<groupId>org.apache.atlas</groupId>
<version>0.8-incubating-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>atlas-hbase-server-shaded</artifactId>
<description>Shading of guava in apache hbase-server</description>
<name>Shaded version of Apache hbase server</name>
<packaging>jar</packaging>
<properties>
<checkstyle.failOnViolation>true</checkstyle.failOnViolation>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-server</artifactId>
<classifier>tests</classifier>
</dependency>
<dependency>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-server</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.4.1</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<artifactSet>
<excludes>
<!-- these are bundled with Atlas -->
<exclude>org.slf4j:*</exclude>
</excludes>
</artifactSet>
<relocations>
<relocation>
<pattern>com.google</pattern>
<shadedPattern>atlas.shaded.hbase.guava</shadedPattern>
</relocation>
</relocations>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer" />
</transformers>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
...@@ -49,6 +49,11 @@ ...@@ -49,6 +49,11 @@
<dependency> <dependency>
<groupId>org.scala-lang</groupId> <groupId>org.scala-lang</groupId>
<artifactId>jline</artifactId>
</dependency>
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-library</artifactId> <artifactId>scala-library</artifactId>
</dependency> </dependency>
...@@ -63,13 +68,18 @@ ...@@ -63,13 +68,18 @@
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.scalamacros</groupId>
<artifactId>quasiquotes_${scala.binary.version}</artifactId>
</dependency>
<dependency>
<groupId>org.json4s</groupId> <groupId>org.json4s</groupId>
<artifactId>json4s-native_${scala.binary.version}</artifactId> <artifactId>json4s-native_2.10</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.github.nscala-time</groupId> <groupId>com.github.nscala-time</groupId>
<artifactId>nscala-time_${scala.binary.version}</artifactId> <artifactId>nscala-time_2.10</artifactId>
</dependency> </dependency>
<dependency> <dependency>
...@@ -78,6 +88,11 @@ ...@@ -78,6 +88,11 @@
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</dependency>
<dependency>
<groupId>org.testng</groupId> <groupId>org.testng</groupId>
<artifactId>testng</artifactId> <artifactId>testng</artifactId>
</dependency> </dependency>
...@@ -101,7 +116,6 @@ ...@@ -101,7 +116,6 @@
<groupId>org.apache.commons</groupId> <groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId> <artifactId>commons-lang3</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.atlas</groupId> <groupId>org.apache.atlas</groupId>
<artifactId>atlas-intg</artifactId> <artifactId>atlas-intg</artifactId>
...@@ -145,6 +159,23 @@ ...@@ -145,6 +159,23 @@
<jvmArg>-Xmx512m</jvmArg> <jvmArg>-Xmx512m</jvmArg>
<jvmArg>-XX:MaxPermSize=128m</jvmArg> <jvmArg>-XX:MaxPermSize=128m</jvmArg>
</jvmArgs> </jvmArgs>
<!--
<javacArgs>
<javacArg>-source</javacArg>
<javacArg>${java.version}</javacArg>
<javacArg>-target</javacArg>
<javacArg>${java.version}</javacArg>
</javacArgs>
-->
<!-- The following plugin is required to use quasiquotes in Scala 2.10 and is used
by Spark SQL for code generation. -->
<!--<compilerPlugins>
<compilerPlugin>
<groupId>org.scalamacros</groupId>
<artifactId>paradise_${scala.version}</artifactId>
<version>${scala.macros.version}</version>
</compilerPlugin>
</compilerPlugins>-->
</configuration> </configuration>
</plugin> </plugin>
......
...@@ -103,12 +103,6 @@ ...@@ -103,12 +103,6 @@
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.apache.atlas</groupId> <groupId>org.apache.atlas</groupId>
<artifactId>atlas-graphdb-impls</artifactId>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.apache.atlas</groupId>
<artifactId>atlas-common</artifactId> <artifactId>atlas-common</artifactId>
</dependency> </dependency>
...@@ -147,7 +141,6 @@ ...@@ -147,7 +141,6 @@
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-common</artifactId> <artifactId>hadoop-common</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-minikdc</artifactId> <artifactId>hadoop-minikdc</artifactId>
...@@ -163,20 +156,10 @@ ...@@ -163,20 +156,10 @@
<artifactId>atlas-catalog</artifactId> <artifactId>atlas-catalog</artifactId>
</dependency> </dependency>
<!-- Zookeeper, curator -->
<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-framework</artifactId>
</dependency>
<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-recipes</artifactId>
</dependency>
<dependency> <dependency>
<groupId>org.apache.zookeeper</groupId> <groupId>org.apache.atlas</groupId>
<artifactId>zookeeper</artifactId> <artifactId>atlas-graphdb-impls</artifactId>
<type>pom</type>
</dependency> </dependency>
<!-- supports simple auth handler --> <!-- supports simple auth handler -->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment