|
| 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.12</artifactId> |
| 25 | + <version>3.3.2.0-eep-SNAPSHOT</version> |
| 26 | + <relativePath>../../pom.xml</relativePath> |
| 27 | + </parent> |
| 28 | + |
| 29 | + <artifactId>nvidia-plugin_2.12</artifactId> |
| 30 | + <packaging>jar</packaging> |
| 31 | + <name>Nvdia Rapids plugin integration</name> |
| 32 | + <url>http://spark.apache.org/</url> |
| 33 | + <properties> |
| 34 | + <sbt.project.name>nvidia-plugin</sbt.project.name> |
| 35 | + </properties> |
| 36 | + |
| 37 | + |
| 38 | + <dependencies> |
| 39 | + <dependency> |
| 40 | + <groupId>org.scala-lang</groupId> |
| 41 | + <artifactId>scala-library</artifactId> |
| 42 | + <version>${scala.version}</version> |
| 43 | + <scope>provided</scope> |
| 44 | + </dependency> |
| 45 | + <dependency> |
| 46 | + <groupId>org.apache.spark</groupId> |
| 47 | + <artifactId>spark-core_${scala.binary.version}</artifactId> |
| 48 | + <version>${project.version}</version> |
| 49 | + </dependency> |
| 50 | + <dependency> |
| 51 | + <groupId>com.nvidia</groupId> |
| 52 | + <artifactId>rapids-4-spark_2.12</artifactId> |
| 53 | + <version>23.06.0</version> |
| 54 | + <scope>provided</scope> |
| 55 | + </dependency> |
| 56 | + </dependencies> |
| 57 | + |
| 58 | + <build> |
| 59 | + <plugins> |
| 60 | + <plugin> |
| 61 | + <groupId>org.apache.maven.plugins</groupId> |
| 62 | + <artifactId>maven-dependency-plugin</artifactId> |
| 63 | + <executions> |
| 64 | + <!-- When using SPARK_PREPEND_CLASSES Spark classes compiled locally don't use |
| 65 | + shaded deps. So here we store jars in their original form which are added |
| 66 | + when the classpath is computed. --> |
| 67 | + <execution> |
| 68 | + <id>copy-dependencies</id> |
| 69 | + <phase>package</phase> |
| 70 | + <goals> |
| 71 | + <goal>copy-dependencies</goal> |
| 72 | + </goals> |
| 73 | + <configuration> |
| 74 | + <outputDirectory>${project.build.directory}</outputDirectory> |
| 75 | + <overWriteReleases>false</overWriteReleases> |
| 76 | + <overWriteSnapshots>false</overWriteSnapshots> |
| 77 | + <overWriteIfNewer>true</overWriteIfNewer> |
| 78 | + <useSubDirectoryPerType>true</useSubDirectoryPerType> |
| 79 | + <includeArtifactIds> |
| 80 | + ant |
| 81 | + </includeArtifactIds> |
| 82 | + <silent>true</silent> |
| 83 | + </configuration> |
| 84 | + </execution> |
| 85 | + </executions> |
| 86 | + </plugin> |
| 87 | + </plugins> |
| 88 | + </build> |
| 89 | +</project> |
0 commit comments