Back to home page

OSCL-LXR

 
 

    


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-kubernetes_2.12</artifactId>
0028   <packaging>jar</packaging>
0029   <name>Spark Project Kubernetes</name>
0030   <properties>
0031     <sbt.project.name>kubernetes</sbt.project.name>
0032     <!-- Note: Please update the kubernetes client version in kubernetes/integration-tests/pom.xml -->
0033     <kubernetes.client.version>4.9.2</kubernetes.client.version>
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     </dependency>
0056 
0057     <dependency>
0058       <groupId>io.fabric8</groupId>
0059       <artifactId>kubernetes-client</artifactId>
0060       <version>${kubernetes.client.version}</version>
0061       <exclusions>
0062         <exclusion>
0063           <groupId>com.fasterxml.jackson.core</groupId>
0064           <artifactId>*</artifactId>
0065         </exclusion>
0066         <exclusion>
0067           <groupId>com.fasterxml.jackson.dataformat</groupId>
0068           <artifactId>jackson-dataformat-yaml</artifactId>
0069         </exclusion>
0070         <!-- SPARK-28765 Unused JDK11-specific dependency -->
0071         <exclusion>
0072           <groupId>javax.annotation</groupId>
0073           <artifactId>javax.annotation-api</artifactId>
0074         </exclusion>
0075       </exclusions>
0076     </dependency>
0077 
0078     <!-- Required by kubernetes-client but we exclude it -->
0079     <dependency>
0080       <groupId>com.fasterxml.jackson.dataformat</groupId>
0081       <artifactId>jackson-dataformat-yaml</artifactId>
0082       <version>${fasterxml.jackson.version}</version>
0083     </dependency>
0084 
0085     <!-- Explicitly depend on shaded dependencies from the parent, since shaded deps aren't transitive -->
0086     <dependency>
0087       <groupId>com.google.guava</groupId>
0088       <artifactId>guava</artifactId>
0089     </dependency>
0090     <!-- End of shaded deps. -->
0091 
0092     <dependency>
0093       <groupId>org.mockito</groupId>
0094       <artifactId>mockito-core</artifactId>
0095       <scope>test</scope>
0096     </dependency>
0097 
0098     <dependency>
0099       <groupId>org.jmock</groupId>
0100       <artifactId>jmock-junit4</artifactId>
0101       <scope>test</scope>
0102     </dependency>
0103 
0104   </dependencies>
0105 
0106 
0107   <build>
0108     <outputDirectory>target/scala-${scala.binary.version}/classes</outputDirectory>
0109     <testOutputDirectory>target/scala-${scala.binary.version}/test-classes</testOutputDirectory>
0110   </build>
0111 
0112 </project>