Preparing Spark release v2.2.1-rc1
[spark.git] / common / unsafe / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 ~ Licensed to the Apache Software Foundation (ASF) under one or more
4 ~ contributor license agreements. See the NOTICE file distributed with
5 ~ this work for additional information regarding copyright ownership.
6 ~ The ASF licenses this file to You under the Apache License, Version 2.0
7 ~ (the "License"); you may not use this file except in compliance with
8 ~ the License. You may obtain a copy of the License at
9 ~
10 ~ http://www.apache.org/licenses/LICENSE-2.0
11 ~
12 ~ Unless required by applicable law or agreed to in writing, software
13 ~ distributed under the License is distributed on an "AS IS" BASIS,
14 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 ~ See the License for the specific language governing permissions and
16 ~ limitations under the License.
17 -->
18
19 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
21 <modelVersion>4.0.0</modelVersion>
22 <parent>
23 <groupId>org.apache.spark</groupId>
24 <artifactId>spark-parent_2.11</artifactId>
25 <version>2.2.1</version>
26 <relativePath>../../pom.xml</relativePath>
27 </parent>
28
29 <artifactId>spark-unsafe_2.11</artifactId>
30 <packaging>jar</packaging>
31 <name>Spark Project Unsafe</name>
32 <url>http://spark.apache.org/</url>
33 <properties>
34 <sbt.project.name>unsafe</sbt.project.name>
35 </properties>
36
37 <dependencies>
38 <dependency>
39 <groupId>org.apache.spark</groupId>
40 <artifactId>spark-tags_${scala.binary.version}</artifactId>
41 </dependency>
42
43 <!--
44 This spark-tags test-dep is needed even though it isn't used in this module, otherwise testing-cmds that exclude
45 them will yield errors.
46 -->
47 <dependency>
48 <groupId>org.apache.spark</groupId>
49 <artifactId>spark-tags_${scala.binary.version}</artifactId>
50 <type>test-jar</type>
51 <scope>test</scope>
52 </dependency>
53
54 <dependency>
55 <groupId>com.twitter</groupId>
56 <artifactId>chill_${scala.binary.version}</artifactId>
57 </dependency>
58
59 <!-- Core dependencies -->
60 <dependency>
61 <groupId>com.google.code.findbugs</groupId>
62 <artifactId>jsr305</artifactId>
63 </dependency>
64 <dependency>
65 <groupId>com.google.guava</groupId>
66 <artifactId>guava</artifactId>
67 </dependency>
68
69 <!-- Provided dependencies -->
70 <dependency>
71 <groupId>org.slf4j</groupId>
72 <artifactId>slf4j-api</artifactId>
73 <scope>provided</scope>
74 </dependency>
75
76 <!-- Test dependencies -->
77 <dependency>
78 <groupId>org.mockito</groupId>
79 <artifactId>mockito-core</artifactId>
80 <scope>test</scope>
81 </dependency>
82 <dependency>
83 <groupId>org.scalacheck</groupId>
84 <artifactId>scalacheck_${scala.binary.version}</artifactId>
85 <scope>test</scope>
86 </dependency>
87 <dependency>
88 <groupId>org.apache.commons</groupId>
89 <artifactId>commons-lang3</artifactId>
90 <scope>test</scope>
91 </dependency>
92 </dependencies>
93 <build>
94 <outputDirectory>target/scala-${scala.binary.version}/classes</outputDirectory>
95 <testOutputDirectory>target/scala-${scala.binary.version}/test-classes</testOutputDirectory>
96 <pluginManagement>
97 <plugins>
98 <plugin>
99 <groupId>net.alchim31.maven</groupId>
100 <artifactId>scala-maven-plugin</artifactId>
101 <version>3.2.2</version>
102 <configuration>
103 <javacArgs combine.children="append">
104 <!-- This option is needed to suppress warnings from sun.misc.Unsafe usage -->
105 <javacArg>-XDignore.symbol.file</javacArg>
106 </javacArgs>
107 </configuration>
108 </plugin>
109 <plugin>
110 <groupId>org.apache.maven.plugins</groupId>
111 <artifactId>maven-compiler-plugin</artifactId>
112 <version>3.6.1</version>
113 <configuration>
114 <compilerArgs combine.children="append">
115 <!-- This option is needed to suppress warnings from sun.misc.Unsafe usage -->
116 <arg>-XDignore.symbol.file</arg>
117 </compilerArgs>
118 </configuration>
119 </plugin>
120 </plugins>
121 </pluginManagement>
122 </build>
123 </project>