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 <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">
0019 <modelVersion>4.0.0</modelVersion>
0020 <parent>
0021 <groupId>org.apache.spark</groupId>
0022 <artifactId>spark-parent_2.12</artifactId>
0023 <version>3.0.0</version>
0024 <relativePath>../../pom.xml</relativePath>
0025 </parent>
0026
0027 <artifactId>spark-mesos_2.12</artifactId>
0028 <packaging>jar</packaging>
0029 <name>Spark Project Mesos</name>
0030 <properties>
0031 <sbt.project.name>mesos</sbt.project.name>
0032 <mesos.version>1.4.0</mesos.version>
0033 <mesos.classifier>shaded-protobuf</mesos.classifier>
0034 </properties>
0035
0036 <dependencies>
0037 <dependency>
0038 <groupId>org.apache.spark</groupId>
0039 <artifactId>spark-core_${scala.binary.version}</artifactId>
0040 <version>${project.version}</version>
0041 </dependency>
0042
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
0051 <dependency>
0052 <groupId>org.apache.spark</groupId>
0053 <artifactId>spark-tags_${scala.binary.version}</artifactId>
0054 <type>test-jar</type>
0055 <scope>test</scope>
0056 </dependency>
0057
0058 <dependency>
0059 <groupId>org.apache.mesos</groupId>
0060 <artifactId>mesos</artifactId>
0061 <version>${mesos.version}</version>
0062 <classifier>${mesos.classifier}</classifier>
0063 <exclusions>
0064 <exclusion>
0065 <groupId>com.google.protobuf</groupId>
0066 <artifactId>protobuf-java</artifactId>
0067 </exclusion>
0068 </exclusions>
0069 </dependency>
0070
0071 <dependency>
0072 <groupId>org.mockito</groupId>
0073 <artifactId>mockito-core</artifactId>
0074 <scope>test</scope>
0075 </dependency>
0076
0077 <dependency>
0078 <groupId>${hive.group}</groupId>
0079 <artifactId>hive-exec</artifactId>
0080 <classifier>${hive.classifier}</classifier>
0081 <scope>provided</scope>
0082 </dependency>
0083 <dependency>
0084 <groupId>${hive.group}</groupId>
0085 <artifactId>hive-metastore</artifactId>
0086 <scope>provided</scope>
0087 </dependency>
0088
0089 <!-- Explicitly depend on shaded dependencies from the parent, since shaded deps aren't transitive -->
0090 <dependency>
0091 <groupId>com.google.guava</groupId>
0092 <artifactId>guava</artifactId>
0093 </dependency>
0094 <dependency>
0095 <groupId>org.eclipse.jetty</groupId>
0096 <artifactId>jetty-server</artifactId>
0097 </dependency>
0098 <dependency>
0099 <groupId>org.eclipse.jetty</groupId>
0100 <artifactId>jetty-plus</artifactId>
0101 </dependency>
0102 <dependency>
0103 <groupId>org.eclipse.jetty</groupId>
0104 <artifactId>jetty-util</artifactId>
0105 </dependency>
0106 <dependency>
0107 <groupId>org.eclipse.jetty</groupId>
0108 <artifactId>jetty-http</artifactId>
0109 </dependency>
0110 <dependency>
0111 <groupId>org.eclipse.jetty</groupId>
0112 <artifactId>jetty-servlet</artifactId>
0113 </dependency>
0114 <dependency>
0115 <groupId>org.eclipse.jetty</groupId>
0116 <artifactId>jetty-servlets</artifactId>
0117 </dependency>
0118 <!-- End of shaded deps. -->
0119
0120 </dependencies>
0121
0122
0123 <build>
0124 <outputDirectory>target/scala-${scala.binary.version}/classes</outputDirectory>
0125 <testOutputDirectory>target/scala-${scala.binary.version}/test-classes</testOutputDirectory>
0126 </build>
0127
0128 </project>