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-mllib_2.12</artifactId>
0029   <properties>
0030     <sbt.project.name>mllib</sbt.project.name>
0031   </properties>
0032   <packaging>jar</packaging>
0033   <name>Spark Project ML Library</name>
0034   <url>http://spark.apache.org/</url>
0035 
0036   <dependencies>
0037     <dependency>
0038       <groupId>org.scala-lang.modules</groupId>
0039       <artifactId>scala-parser-combinators_${scala.binary.version}</artifactId>
0040     </dependency>
0041     <dependency>
0042       <groupId>org.apache.spark</groupId>
0043       <artifactId>spark-core_${scala.binary.version}</artifactId>
0044       <version>${project.version}</version>
0045     </dependency>
0046     <dependency>
0047       <groupId>org.apache.spark</groupId>
0048       <artifactId>spark-core_${scala.binary.version}</artifactId>
0049       <version>${project.version}</version>
0050       <type>test-jar</type>
0051       <scope>test</scope>
0052     </dependency>
0053     <dependency>
0054       <groupId>org.apache.spark</groupId>
0055       <artifactId>spark-streaming_${scala.binary.version}</artifactId>
0056       <version>${project.version}</version>
0057     </dependency>
0058     <dependency>
0059       <groupId>org.apache.spark</groupId>
0060       <artifactId>spark-sql_${scala.binary.version}</artifactId>
0061       <version>${project.version}</version>
0062     </dependency>
0063     <dependency>
0064       <groupId>org.apache.spark</groupId>
0065       <artifactId>spark-catalyst_${scala.binary.version}</artifactId>
0066       <version>${project.version}</version>
0067       <type>test-jar</type>
0068       <scope>test</scope>
0069     </dependency>
0070     <dependency>
0071       <groupId>org.apache.spark</groupId>
0072       <artifactId>spark-sql_${scala.binary.version}</artifactId>
0073       <version>${project.version}</version>
0074       <type>test-jar</type>
0075       <scope>test</scope>
0076     </dependency>
0077     <dependency>
0078       <groupId>org.apache.spark</groupId>
0079       <artifactId>spark-graphx_${scala.binary.version}</artifactId>
0080       <version>${project.version}</version>
0081     </dependency>
0082     <dependency>
0083       <groupId>org.apache.spark</groupId>
0084       <artifactId>spark-mllib-local_${scala.binary.version}</artifactId>
0085       <version>${project.version}</version>
0086     </dependency>
0087     <dependency>
0088       <groupId>org.apache.spark</groupId>
0089       <artifactId>spark-mllib-local_${scala.binary.version}</artifactId>
0090       <version>${project.version}</version>
0091       <type>test-jar</type>
0092       <scope>test</scope>
0093     </dependency>
0094     <dependency>
0095       <groupId>org.scalanlp</groupId>
0096       <artifactId>breeze_${scala.binary.version}</artifactId>
0097     </dependency>
0098     <dependency>
0099       <groupId>org.apache.commons</groupId>
0100       <artifactId>commons-math3</artifactId>
0101     </dependency>
0102     <dependency>
0103       <groupId>org.scalacheck</groupId>
0104       <artifactId>scalacheck_${scala.binary.version}</artifactId>
0105       <scope>test</scope>
0106     </dependency>
0107     <dependency>
0108       <groupId>org.mockito</groupId>
0109       <artifactId>mockito-core</artifactId>
0110       <scope>test</scope>
0111     </dependency>
0112     <dependency>
0113       <groupId>org.apache.spark</groupId>
0114       <artifactId>spark-streaming_${scala.binary.version}</artifactId>
0115       <version>${project.version}</version>
0116       <type>test-jar</type>
0117       <scope>test</scope>
0118     </dependency>
0119     <dependency>
0120       <groupId>org.jpmml</groupId>
0121       <artifactId>pmml-model</artifactId>
0122       <scope>compile</scope>
0123     </dependency>
0124     <!-- JPMML seems to be the piece that needs JAXB right now: -->
0125     <dependency>
0126       <groupId>org.glassfish.jaxb</groupId>
0127       <artifactId>jaxb-runtime</artifactId>
0128     </dependency>
0129     <dependency>
0130       <groupId>org.apache.spark</groupId>
0131       <artifactId>spark-tags_${scala.binary.version}</artifactId>
0132     </dependency>
0133 
0134     <!--
0135       This spark-tags test-dep is needed even though it isn't used in this module, otherwise testing-cmds that exclude
0136       them will yield errors.
0137     -->
0138     <dependency>
0139       <groupId>org.apache.spark</groupId>
0140       <artifactId>spark-tags_${scala.binary.version}</artifactId>
0141       <type>test-jar</type>
0142       <scope>test</scope>
0143     </dependency>
0144 
0145   </dependencies>
0146   <profiles>
0147     <profile>
0148       <id>netlib-lgpl</id>
0149       <dependencies>
0150         <dependency>
0151           <groupId>com.github.fommil.netlib</groupId>
0152           <artifactId>all</artifactId>
0153           <version>${netlib.java.version}</version>
0154           <type>pom</type>
0155         </dependency>
0156       </dependencies>
0157     </profile>
0158   </profiles>
0159 
0160   <build>
0161     <outputDirectory>target/scala-${scala.binary.version}/classes</outputDirectory>
0162     <testOutputDirectory>target/scala-${scala.binary.version}/test-classes</testOutputDirectory>
0163     <plugins>
0164       <plugin>
0165         <groupId>org.apache.maven.plugins</groupId>
0166         <artifactId>maven-dependency-plugin</artifactId>
0167         <executions>
0168           <!-- When using SPARK_PREPEND_CLASSES Spark classes compiled locally don't use
0169                shaded deps. So here we store jars in their original form which are added
0170                when the classpath is computed. -->
0171           <!-- See similar execution in core/pom.xml -->
0172           <execution>
0173             <id>copy-dependencies</id>
0174             <phase>package</phase>
0175             <goals>
0176               <goal>copy-dependencies</goal>
0177             </goals>
0178             <configuration>
0179               <outputDirectory>${project.build.directory}</outputDirectory>
0180               <overWriteReleases>false</overWriteReleases>
0181               <overWriteSnapshots>false</overWriteSnapshots>
0182               <overWriteIfNewer>true</overWriteIfNewer>
0183               <useSubDirectoryPerType>true</useSubDirectoryPerType>
0184               <includeGroupIds>org.jpmml</includeGroupIds>
0185               <silent>true</silent>
0186             </configuration>
0187           </execution>
0188         </executions>
0189       </plugin>
0190     </plugins>
0191   </build>
0192 
0193 </project>