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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
0020   <modelVersion>4.0.0</modelVersion>
0021   <parent>
0022     <groupId>org.apache.spark</groupId>
0023     <artifactId>spark-parent_2.12</artifactId>
0024     <version>3.0.0</version>
0025     <relativePath>../pom.xml</relativePath>
0026   </parent>
0027 
0028   <artifactId>spark-streaming_2.12</artifactId>
0029   <properties>
0030     <sbt.project.name>streaming</sbt.project.name>
0031   </properties>
0032   <packaging>jar</packaging>
0033   <name>Spark Project Streaming</name>
0034   <url>http://spark.apache.org/</url>
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     <dependency>
0043       <groupId>org.apache.spark</groupId>
0044       <artifactId>spark-core_${scala.binary.version}</artifactId>
0045       <version>${project.version}</version>
0046       <type>test-jar</type>
0047       <scope>test</scope>
0048     </dependency>
0049     <dependency>
0050       <groupId>org.apache.spark</groupId>
0051       <artifactId>spark-tags_${scala.binary.version}</artifactId>
0052     </dependency>
0053 
0054     <!--
0055       This spark-tags test-dep is needed even though it isn't used in this module, otherwise testing-cmds that exclude
0056       them will yield errors.
0057     -->
0058     <dependency>
0059       <groupId>org.apache.spark</groupId>
0060       <artifactId>spark-tags_${scala.binary.version}</artifactId>
0061       <type>test-jar</type>
0062       <scope>test</scope>
0063     </dependency>
0064 
0065     <!-- Explicit listing of transitive deps that are shaded. Otherwise, odd compiler crashes. -->
0066     <dependency>
0067       <groupId>com.google.guava</groupId>
0068       <artifactId>guava</artifactId>
0069     </dependency>
0070     <dependency>
0071       <groupId>org.eclipse.jetty</groupId>
0072       <artifactId>jetty-server</artifactId>
0073     </dependency>
0074     <dependency>
0075       <groupId>org.eclipse.jetty</groupId>
0076       <artifactId>jetty-plus</artifactId>
0077     </dependency>
0078     <dependency>
0079       <groupId>org.eclipse.jetty</groupId>
0080       <artifactId>jetty-util</artifactId>
0081     </dependency>
0082     <dependency>
0083       <groupId>org.eclipse.jetty</groupId>
0084       <artifactId>jetty-http</artifactId>
0085     </dependency>
0086     <dependency>
0087       <groupId>org.eclipse.jetty</groupId>
0088       <artifactId>jetty-servlet</artifactId>
0089     </dependency>
0090     <dependency>
0091       <groupId>org.eclipse.jetty</groupId>
0092       <artifactId>jetty-servlets</artifactId>
0093     </dependency>
0094     <!-- End of shaded deps. -->
0095 
0096     <dependency>
0097       <groupId>org.scala-lang</groupId>
0098       <artifactId>scala-library</artifactId>
0099     </dependency>
0100     <dependency>
0101       <groupId>org.scalacheck</groupId>
0102       <artifactId>scalacheck_${scala.binary.version}</artifactId>
0103       <scope>test</scope>
0104     </dependency>
0105     <dependency>
0106       <groupId>org.seleniumhq.selenium</groupId>
0107       <artifactId>selenium-java</artifactId>
0108       <scope>test</scope>
0109     </dependency>
0110     <dependency>
0111       <groupId>org.seleniumhq.selenium</groupId>
0112       <artifactId>selenium-htmlunit-driver</artifactId>
0113       <scope>test</scope>
0114     </dependency>
0115     <dependency>
0116       <groupId>org.mockito</groupId>
0117       <artifactId>mockito-core</artifactId>
0118       <scope>test</scope>
0119     </dependency>
0120   </dependencies>
0121   <build>
0122     <outputDirectory>target/scala-${scala.binary.version}/classes</outputDirectory>
0123     <testOutputDirectory>target/scala-${scala.binary.version}/test-classes</testOutputDirectory>
0124     <plugins>
0125       <plugin>
0126         <groupId>org.apache.maven.plugins</groupId>
0127         <artifactId>maven-shade-plugin</artifactId>
0128         <configuration>
0129           <shadeTestJar>true</shadeTestJar>
0130         </configuration>
0131       </plugin>
0132     </plugins>
0133   </build>
0134 
0135   <profiles>
0136     <profile>
0137       <id>scala-2.13</id>
0138       <dependencies>
0139         <dependency>
0140           <groupId>org.scala-lang.modules</groupId>
0141           <artifactId>scala-parallel-collections_${scala.binary.version}</artifactId>
0142         </dependency>
0143       </dependencies>
0144     </profile>
0145   </profiles>
0146 </project>