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-repl_2.12</artifactId>
0029   <packaging>jar</packaging>
0030   <name>Spark Project REPL</name>
0031   <url>http://spark.apache.org/</url>
0032 
0033   <properties>
0034     <sbt.project.name>repl</sbt.project.name>
0035   </properties>
0036 
0037   <dependencies>
0038     <dependency>
0039       <groupId>org.apache.spark</groupId>
0040       <artifactId>spark-core_${scala.binary.version}</artifactId>
0041       <version>${project.version}</version>
0042     </dependency>
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     <dependency>
0051       <groupId>org.apache.spark</groupId>
0052       <artifactId>spark-mllib_${scala.binary.version}</artifactId>
0053       <version>${project.version}</version>
0054       <scope>runtime</scope>
0055     </dependency>
0056     <dependency>
0057       <groupId>org.apache.spark</groupId>
0058       <artifactId>spark-sql_${scala.binary.version}</artifactId>
0059       <version>${project.version}</version>
0060     </dependency>
0061     <dependency>
0062       <groupId>org.scala-lang</groupId>
0063       <artifactId>scala-compiler</artifactId>
0064       <version>${scala.version}</version>
0065     </dependency>
0066     <dependency>
0067       <groupId>org.scala-lang</groupId>
0068       <artifactId>scala-reflect</artifactId>
0069       <version>${scala.version}</version>
0070     </dependency>
0071      <dependency>
0072       <groupId>org.slf4j</groupId>
0073       <artifactId>jul-to-slf4j</artifactId>
0074     </dependency>
0075     <dependency>
0076       <groupId>org.scalacheck</groupId>
0077       <artifactId>scalacheck_${scala.binary.version}</artifactId>
0078       <scope>test</scope>
0079     </dependency>
0080     <dependency>
0081       <groupId>org.mockito</groupId>
0082       <artifactId>mockito-core</artifactId>
0083       <scope>test</scope>
0084     </dependency>
0085     <dependency>
0086       <groupId>org.apache.spark</groupId>
0087       <artifactId>spark-tags_${scala.binary.version}</artifactId>
0088     </dependency>
0089 
0090     <!--
0091       This spark-tags test-dep is needed even though it isn't used in this module, otherwise testing-cmds that exclude
0092       them will yield errors.
0093     -->
0094     <dependency>
0095       <groupId>org.apache.spark</groupId>
0096       <artifactId>spark-tags_${scala.binary.version}</artifactId>
0097       <type>test-jar</type>
0098       <scope>test</scope>
0099     </dependency>
0100 
0101     <dependency>
0102       <groupId>org.apache.xbean</groupId>
0103       <artifactId>xbean-asm7-shaded</artifactId>
0104     </dependency>
0105 
0106     <!-- Explicit listing of transitive deps that are shaded. Otherwise, odd compiler crashes. -->
0107     <dependency>
0108       <groupId>org.eclipse.jetty</groupId>
0109       <artifactId>jetty-server</artifactId>
0110     </dependency>
0111     <dependency>
0112       <groupId>org.eclipse.jetty</groupId>
0113       <artifactId>jetty-plus</artifactId>
0114     </dependency>
0115     <dependency>
0116       <groupId>org.eclipse.jetty</groupId>
0117       <artifactId>jetty-util</artifactId>
0118     </dependency>
0119     <dependency>
0120       <groupId>org.eclipse.jetty</groupId>
0121       <artifactId>jetty-http</artifactId>
0122     </dependency>
0123     <!-- End of shaded deps. -->
0124 
0125     <dependency>
0126       <groupId>org.scala-lang</groupId>
0127       <artifactId>scala-library</artifactId>
0128     </dependency>
0129   </dependencies>
0130   <build>
0131     <outputDirectory>target/scala-${scala.binary.version}/classes</outputDirectory>
0132     <testOutputDirectory>target/scala-${scala.binary.version}/test-classes</testOutputDirectory>
0133     <plugins>
0134       <!-- Include a source dir depending on the Scala version -->
0135       <plugin>
0136         <groupId>org.codehaus.mojo</groupId>
0137         <artifactId>build-helper-maven-plugin</artifactId>
0138         <executions>
0139           <execution>
0140             <id>add-scala-sources</id>
0141             <phase>generate-sources</phase>
0142             <goals>
0143               <goal>add-source</goal>
0144             </goals>
0145             <configuration>
0146               <sources>
0147                 <source>src/main/scala-${scala.binary.version}</source>
0148               </sources>
0149             </configuration>
0150           </execution>
0151           <execution>
0152             <id>add-scala-test-sources</id>
0153             <phase>generate-test-sources</phase>
0154             <goals>
0155               <goal>add-test-source</goal>
0156             </goals>
0157             <configuration>
0158               <sources>
0159                 <source>src/test/scala-${scala.binary.version}</source>
0160               </sources>
0161             </configuration>
0162           </execution>
0163         </executions>
0164       </plugin>
0165     </plugins>
0166   </build>
0167 
0168 </project>