0001 <?xml version="1.0" encoding="UTF-8"?>
0002 <!--
0003 ~ Licensed to the Apache Software Foundation (ASF) under one or more
0004 ~ contributor license agreements. See the NOTICE file distributed with
0005 ~ this work for additional information regarding copyright ownership.
0006 ~ The ASF licenses this file to You under the Apache License, Version 2.0
0007 ~ (the "License"); you may not use this file except in compliance with
0008 ~ the License. You may obtain a copy of the License at
0009 ~
0010 ~ http://www.apache.org/licenses/LICENSE-2.0
0011 ~
0012 ~ Unless required by applicable law or agreed to in writing, software
0013 ~ distributed under the License is distributed on an "AS IS" BASIS,
0014 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
0015 ~ See the License for the specific language governing permissions and
0016 ~ limitations under the License.
0017 -->
0018
0019 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
0020 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
0021 <modelVersion>4.0.0</modelVersion>
0022 <parent>
0023 <groupId>org.apache.spark</groupId>
0024 <artifactId>spark-parent_2.12</artifactId>
0025 <version>3.0.0</version>
0026 <relativePath>../../pom.xml</relativePath>
0027 </parent>
0028
0029 <artifactId>spark-hive-thriftserver_2.12</artifactId>
0030 <packaging>jar</packaging>
0031 <name>Spark Project Hive Thrift Server</name>
0032 <url>http://spark.apache.org/</url>
0033 <properties>
0034 <sbt.project.name>hive-thriftserver</sbt.project.name>
0035 </properties>
0036
0037 <dependencies>
0038 <dependency>
0039 <groupId>org.apache.spark</groupId>
0040 <artifactId>spark-hive_${scala.binary.version}</artifactId>
0041 <version>${project.version}</version>
0042 </dependency>
0043 <dependency>
0044 <groupId>org.apache.spark</groupId>
0045 <artifactId>spark-core_${scala.binary.version}</artifactId>
0046 <version>${project.version}</version>
0047 <type>test-jar</type>
0048 <scope>test</scope>
0049 </dependency>
0050 <dependency>
0051 <groupId>org.apache.spark</groupId>
0052 <artifactId>spark-catalyst_${scala.binary.version}</artifactId>
0053 <version>${project.version}</version>
0054 <type>test-jar</type>
0055 <scope>test</scope>
0056 </dependency>
0057 <dependency>
0058 <groupId>org.apache.spark</groupId>
0059 <artifactId>spark-hive_${scala.binary.version}</artifactId>
0060 <version>${project.version}</version>
0061 <type>test-jar</type>
0062 <scope>test</scope>
0063 </dependency>
0064 <dependency>
0065 <groupId>com.google.guava</groupId>
0066 <artifactId>guava</artifactId>
0067 </dependency>
0068 <dependency>
0069 <groupId>${hive.group}</groupId>
0070 <artifactId>hive-cli</artifactId>
0071 </dependency>
0072 <dependency>
0073 <groupId>${hive.group}</groupId>
0074 <artifactId>hive-jdbc</artifactId>
0075 </dependency>
0076 <dependency>
0077 <groupId>${hive.group}</groupId>
0078 <artifactId>hive-beeline</artifactId>
0079 </dependency>
0080 <dependency>
0081 <groupId>org.eclipse.jetty</groupId>
0082 <artifactId>jetty-server</artifactId>
0083 <scope>provided</scope>
0084 </dependency>
0085 <dependency>
0086 <groupId>org.eclipse.jetty</groupId>
0087 <artifactId>jetty-servlet</artifactId>
0088 <scope>provided</scope>
0089 </dependency>
0090 <!-- Added for selenium: -->
0091 <dependency>
0092 <groupId>org.seleniumhq.selenium</groupId>
0093 <artifactId>selenium-java</artifactId>
0094 <scope>test</scope>
0095 </dependency>
0096 <dependency>
0097 <groupId>org.seleniumhq.selenium</groupId>
0098 <artifactId>selenium-htmlunit-driver</artifactId>
0099 <scope>test</scope>
0100 </dependency>
0101 <dependency>
0102 <groupId>org.apache.spark</groupId>
0103 <artifactId>spark-sql_${scala.binary.version}</artifactId>
0104 <type>test-jar</type>
0105 <version>${project.version}</version>
0106 <scope>test</scope>
0107 </dependency>
0108 <dependency>
0109 <groupId>org.apache.spark</groupId>
0110 <artifactId>spark-tags_${scala.binary.version}</artifactId>
0111 </dependency>
0112
0113 <!--
0114 This spark-tags test-dep is needed even though it isn't used in this module, otherwise testing-cmds that exclude
0115 them will yield errors.
0116 -->
0117 <dependency>
0118 <groupId>org.apache.spark</groupId>
0119 <artifactId>spark-tags_${scala.binary.version}</artifactId>
0120 <type>test-jar</type>
0121 <scope>test</scope>
0122 </dependency>
0123 <dependency>
0124 <groupId>org.mockito</groupId>
0125 <artifactId>mockito-core</artifactId>
0126 <scope>test</scope>
0127 </dependency>
0128 <dependency>
0129 <groupId>net.sf.jpam</groupId>
0130 <artifactId>jpam</artifactId>
0131 </dependency>
0132 </dependencies>
0133 <build>
0134 <outputDirectory>target/scala-${scala.binary.version}/classes</outputDirectory>
0135 <testOutputDirectory>target/scala-${scala.binary.version}/test-classes</testOutputDirectory>
0136 <plugins>
0137 <plugin>
0138 <groupId>org.codehaus.mojo</groupId>
0139 <artifactId>build-helper-maven-plugin</artifactId>
0140 <executions>
0141 <execution>
0142 <id>add-source</id>
0143 <phase>generate-sources</phase>
0144 <goals>
0145 <goal>add-source</goal>
0146 </goals>
0147 <configuration>
0148 <sources>
0149 <source>v${hive.version.short}/src/gen/java</source>
0150 <source>v${hive.version.short}/src/main/java</source>
0151 <source>v${hive.version.short}/src/main/scala</source>
0152 </sources>
0153 </configuration>
0154 </execution>
0155 </executions>
0156 </plugin>
0157 </plugins>
0158 </build>
0159 </project>