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 
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-network-common_2.12</artifactId>
0030   <packaging>jar</packaging>
0031   <name>Spark Project Networking</name>
0032   <url>http://spark.apache.org/</url>
0033   <properties>
0034     <sbt.project.name>network-common</sbt.project.name>
0035   </properties>
0036 
0037   <dependencies>
0038     <!-- SPARK-28932 This is required in JDK11 -->
0039     <dependency>
0040       <groupId>org.scala-lang</groupId>
0041       <artifactId>scala-library</artifactId>
0042     </dependency>
0043 
0044     <!-- Core dependencies -->
0045     <dependency>
0046       <groupId>io.netty</groupId>
0047       <artifactId>netty-all</artifactId>
0048     </dependency>
0049     <dependency>
0050       <groupId>org.apache.commons</groupId>
0051       <artifactId>commons-lang3</artifactId>
0052     </dependency>
0053 
0054     <dependency>
0055       <groupId>${leveldbjni.group}</groupId>
0056       <artifactId>leveldbjni-all</artifactId>
0057       <version>1.8</version>
0058     </dependency>
0059 
0060     <dependency>
0061       <groupId>com.fasterxml.jackson.core</groupId>
0062       <artifactId>jackson-databind</artifactId>
0063     </dependency>
0064 
0065     <dependency>
0066       <groupId>com.fasterxml.jackson.core</groupId>
0067       <artifactId>jackson-annotations</artifactId>
0068     </dependency>
0069 
0070     <dependency>
0071       <groupId>io.dropwizard.metrics</groupId>
0072       <artifactId>metrics-core</artifactId>
0073     </dependency>
0074 
0075     <!-- Provided dependencies -->
0076     <dependency>
0077       <groupId>org.slf4j</groupId>
0078       <artifactId>slf4j-api</artifactId>
0079       <scope>provided</scope>
0080     </dependency>
0081     <dependency>
0082       <groupId>com.google.code.findbugs</groupId>
0083       <artifactId>jsr305</artifactId>
0084     </dependency>
0085     <dependency>
0086       <groupId>com.google.guava</groupId>
0087       <artifactId>guava</artifactId>
0088       <scope>compile</scope>
0089     </dependency>
0090     <dependency>
0091       <groupId>org.apache.commons</groupId>
0092       <artifactId>commons-crypto</artifactId>
0093     </dependency>
0094 
0095     <!-- Test dependencies -->
0096     <dependency>
0097       <groupId>log4j</groupId>
0098       <artifactId>log4j</artifactId>
0099       <scope>test</scope>
0100     </dependency>
0101     <dependency>
0102       <groupId>org.apache.spark</groupId>
0103       <artifactId>spark-tags_${scala.binary.version}</artifactId>
0104       <scope>test</scope>
0105    </dependency>
0106 
0107     <!--
0108       This spark-tags test-dep is needed even though it isn't used in this module, otherwise testing-cmds that exclude
0109       them will yield errors.
0110     -->
0111     <dependency>
0112       <groupId>org.apache.spark</groupId>
0113       <artifactId>spark-tags_${scala.binary.version}</artifactId>
0114       <type>test-jar</type>
0115       <scope>test</scope>
0116     </dependency>
0117 
0118     <dependency>
0119       <groupId>org.mockito</groupId>
0120       <artifactId>mockito-core</artifactId>
0121       <scope>test</scope>
0122     </dependency>
0123     <dependency>
0124       <groupId>org.slf4j</groupId>
0125       <artifactId>slf4j-log4j12</artifactId>
0126       <scope>test</scope>
0127     </dependency>
0128   </dependencies>
0129 
0130   <build>
0131     <outputDirectory>target/scala-${scala.binary.version}/classes</outputDirectory>
0132     <testOutputDirectory>target/scala-${scala.binary.version}/test-classes</testOutputDirectory>
0133     <plugins>
0134       <!-- Create a test-jar so network-shuffle can depend on our test utilities. -->
0135       <plugin>
0136         <groupId>org.apache.maven.plugins</groupId>
0137         <artifactId>maven-jar-plugin</artifactId>
0138         <executions>
0139           <execution>
0140             <id>prepare-test-jar</id>
0141             <phase>test-compile</phase>
0142             <goals>
0143               <goal>test-jar</goal>
0144             </goals>
0145           </execution>
0146         </executions>
0147       </plugin>
0148     </plugins>
0149   </build>
0150 </project>