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-unsafe_2.12</artifactId>
0030 <packaging>jar</packaging>
0031 <name>Spark Project Unsafe</name>
0032 <url>http://spark.apache.org/</url>
0033 <properties>
0034 <sbt.project.name>unsafe</sbt.project.name>
0035 </properties>
0036
0037 <dependencies>
0038 <dependency>
0039 <groupId>org.apache.spark</groupId>
0040 <artifactId>spark-tags_${scala.binary.version}</artifactId>
0041 </dependency>
0042
0043 <!--
0044 This spark-tags test-dep is needed even though it isn't used in this module, otherwise testing-cmds that exclude
0045 them will yield errors.
0046 -->
0047 <dependency>
0048 <groupId>org.apache.spark</groupId>
0049 <artifactId>spark-tags_${scala.binary.version}</artifactId>
0050 <type>test-jar</type>
0051 <scope>test</scope>
0052 </dependency>
0053
0054 <dependency>
0055 <groupId>com.twitter</groupId>
0056 <artifactId>chill_${scala.binary.version}</artifactId>
0057 </dependency>
0058
0059 <!-- Core dependencies -->
0060 <dependency>
0061 <groupId>com.google.code.findbugs</groupId>
0062 <artifactId>jsr305</artifactId>
0063 </dependency>
0064 <dependency>
0065 <groupId>com.google.guava</groupId>
0066 <artifactId>guava</artifactId>
0067 </dependency>
0068
0069 <!-- Provided dependencies -->
0070 <dependency>
0071 <groupId>org.slf4j</groupId>
0072 <artifactId>slf4j-api</artifactId>
0073 <scope>provided</scope>
0074 </dependency>
0075
0076 <!-- Test dependencies -->
0077 <dependency>
0078 <groupId>org.mockito</groupId>
0079 <artifactId>mockito-core</artifactId>
0080 <scope>test</scope>
0081 </dependency>
0082 <dependency>
0083 <groupId>org.scalacheck</groupId>
0084 <artifactId>scalacheck_${scala.binary.version}</artifactId>
0085 <scope>test</scope>
0086 </dependency>
0087 <dependency>
0088 <groupId>org.apache.commons</groupId>
0089 <artifactId>commons-lang3</artifactId>
0090 <scope>test</scope>
0091 </dependency>
0092 <dependency>
0093 <groupId>org.apache.commons</groupId>
0094 <artifactId>commons-text</artifactId>
0095 <scope>test</scope>
0096 </dependency>
0097 </dependencies>
0098 <build>
0099 <outputDirectory>target/scala-${scala.binary.version}/classes</outputDirectory>
0100 <testOutputDirectory>target/scala-${scala.binary.version}/test-classes</testOutputDirectory>
0101 <plugins>
0102 <plugin>
0103 <groupId>net.alchim31.maven</groupId>
0104 <artifactId>scala-maven-plugin</artifactId>
0105 <configuration>
0106 <javacArgs combine.children="append">
0107 <!-- This option is needed to suppress warnings from sun.misc.Unsafe usage -->
0108 <javacArg>-XDignore.symbol.file</javacArg>
0109 </javacArgs>
0110 </configuration>
0111 </plugin>
0112 </plugins>
0113 </build>
0114 </project>