fixes #271 Squashed commit of the following: commit fe0f469b2068865398d6e5be1957fdf6c6f5eb87 Author: Cheng Pan <379377944@qq.com> Date: Sat Jan 9 22:28:43 2021 +0800 followup commit 527e32419ecb2ae584d1251cb345e3fc870965a9 Author: Cheng Pan <379377944@qq.com> Date: Sat Jan 9 22:21:29 2021 +0800 revert some stuffs commit 82f188972b8491c5d381ba076a53f84a2fbc1898 Author: Cheng Pan <379377944@qq.com> Date: Sat Jan 9 16:49:14 2021 +0800 remove unused dependencies commit c7eb27228d2749ab9100102467e94d3a6a98cf44 Author: Cheng Pan <379377944@qq.com> Date: Sat Jan 9 15:41:59 2021 +0800 minimize dependencies in kyuubi-spark-sql-engine commit da902b1b1e02c7e93810ca832f6c9e7109cf95b9 Author: Cheng Pan <379377944@qq.com> Date: Sat Jan 9 13:26:34 2021 +0800 exclude hive dependencies commit 55ae7f025a5ffcec402919e28b7b3af5987dfe16 Author: Cheng Pan <379377944@qq.com> Date: Sat Jan 9 01:08:09 2021 +0800 pin versions and excludes in <dependencyManagement> commit 9ef84a5f62afd66fb4b817d593ba1b13ff8348ed Author: Cheng Pan <379377944@qq.com> Date: Sat Jan 9 14:12:04 2021 +0800 trigger kyuubi-spark-sql-engine package commit d492e3fdce64e6554fe0db1d810c6f4bea198baa Author: Cheng Pan <379377944@qq.com> Date: Sat Jan 9 13:44:13 2021 +0800 trigger kyuubi-download commit 050281b8fc400f3ae5fa1d43d56da49846664ea4 Author: Cheng Pan <379377944@qq.com> Date: Sat Jan 9 15:30:58 2021 +0800 pin modules version in dependencyManagement commit 1655fc453ded4626ae5e12e7b17af6f10c30a0dd Author: Cheng Pan <379377944@qq.com> Date: Fri Jan 8 19:45:27 2021 +0800 tune modules in alphabetical order commit 7f3f4d987336d71d73eab059e93f3d008cfcd1a6 Author: Cheng Pan <379377944@qq.com> Date: Sat Jan 9 00:09:49 2021 +0800 change dependencies scope to test
164 lines
5.9 KiB
XML
164 lines
5.9 KiB
XML
<?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">
|
|
<parent>
|
|
<groupId>org.apache.kyuubi</groupId>
|
|
<artifactId>kyuubi</artifactId>
|
|
<version>1.1.0-SNAPSHOT</version>
|
|
<relativePath>../pom.xml</relativePath>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>kyuubi-common</artifactId>
|
|
<packaging>jar</packaging>
|
|
<name>Kyuubi Project Common</name>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
<groupId>org.scala-lang</groupId>
|
|
<artifactId>scala-library</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>jcl-over-slf4j</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.hadoop</groupId>
|
|
<artifactId>hadoop-common</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.google.guava</groupId>
|
|
<artifactId>guava</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.hive</groupId>
|
|
<artifactId>hive-service-rpc</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.thrift</groupId>
|
|
<artifactId>libthrift</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.thrift</groupId>
|
|
<artifactId>libfb303</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.hadoop</groupId>
|
|
<artifactId>hadoop-minikdc</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.directory.server</groupId>
|
|
<artifactId>apacheds-service</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.hive</groupId>
|
|
<artifactId>hive-jdbc</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<outputDirectory>target/scala-${scala.binary.version}/classes</outputDirectory>
|
|
<testOutputDirectory>target/scala-${scala.binary.version}/test-classes</testOutputDirectory>
|
|
<resources>
|
|
<resource>
|
|
<directory>${project.basedir}/src/main/resources</directory>
|
|
</resource>
|
|
<resource>
|
|
<!-- Include the properties file to provide the build information. -->
|
|
<directory>${project.build.directory}/extra-resources</directory>
|
|
<filtering>true</filtering>
|
|
</resource>
|
|
</resources>
|
|
<testResources>
|
|
<testResource>
|
|
<directory>${project.basedir}/src/test/resources</directory>
|
|
</testResource>
|
|
</testResources>
|
|
<plugins>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>build-info</id>
|
|
<phase>generate-resources</phase>
|
|
<configuration>
|
|
<target>
|
|
<exec executable="bash">
|
|
<arg value="${project.basedir}/../build/kyuubi-build-info"/>
|
|
<arg value="${project.build.directory}/extra-resources"/>
|
|
<arg value="${project.version}"/>
|
|
<arg value="${java.version}"/>
|
|
<arg value="${scala.binary.version}"/>
|
|
<arg value="${spark.version}"/>
|
|
<arg value="${hive.version}"/>
|
|
<arg value="${hadoop.version}"/>
|
|
</exec>
|
|
</target>
|
|
</configuration>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>prepare-test-jar</id>
|
|
<phase>test-compile</phase>
|
|
<goals>
|
|
<goal>test-jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|