|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | | -<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/maven-v4_0_0.xsd"> |
3 | | - <modelVersion>4.0.0</modelVersion> |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 4 | + <modelVersion>4.0.0</modelVersion> |
4 | 5 |
|
5 | | - <name>Kotlin Spark API: Scala core for Spark 3.2+ (Scala 2.12)</name> |
6 | | - <description>Scala-Spark 3.2+ compatibility layer for Kotlin for Apache Spark</description> |
7 | | - <artifactId>core-3.2_2.12</artifactId> |
8 | | - <parent> |
9 | | - <groupId>org.jetbrains.kotlinx.spark</groupId> |
10 | | - <artifactId>kotlin-spark-api-parent_2.12</artifactId> |
11 | | - <version>1.0.4-SNAPSHOT</version> |
12 | | - <relativePath>../../pom_2.12.xml</relativePath> |
13 | | - </parent> |
| 6 | + <name>Kotlin Spark API: Scala core for Spark 3.2+ (Scala 2.12)</name> |
| 7 | + <description>Scala-Spark 3.2+ compatibility layer for Kotlin for Apache Spark</description> |
| 8 | + <artifactId>core-3.2_2.12</artifactId> |
| 9 | + <parent> |
| 10 | + <groupId>org.jetbrains.kotlinx.spark</groupId> |
| 11 | + <artifactId>kotlin-spark-api-parent_2.12</artifactId> |
| 12 | + <version>1.0.4-SNAPSHOT</version> |
| 13 | + <relativePath>../../pom_2.12.xml</relativePath> |
| 14 | + </parent> |
| 15 | + |
| 16 | + <dependencies> |
| 17 | + <dependency> |
| 18 | + <groupId>org.scala-lang</groupId> |
| 19 | + <artifactId>scala-library</artifactId> |
| 20 | + <version>${scala.version}</version> |
| 21 | + </dependency> |
| 22 | + <dependency> |
| 23 | + <groupId>org.jetbrains.kotlin</groupId> |
| 24 | + <artifactId>kotlin-reflect</artifactId> |
| 25 | + </dependency> |
| 26 | + |
| 27 | + <!-- Provided dependencies --> |
| 28 | + |
| 29 | + <dependency> |
| 30 | + <groupId>org.apache.spark</groupId> |
| 31 | + <artifactId>spark-sql_${scala.compat.version}</artifactId> |
| 32 | + <version>${spark3.version}</version> |
| 33 | + <scope>provided</scope> |
| 34 | + </dependency> |
| 35 | + |
| 36 | + </dependencies> |
| 37 | + |
| 38 | + <build> |
| 39 | + <sourceDirectory>src/main/scala</sourceDirectory> |
| 40 | + <testSourceDirectory>src/test/scala</testSourceDirectory> |
| 41 | + <directory>target/${scala.compat.version}</directory> |
| 42 | + <plugins> |
| 43 | + <plugin> |
| 44 | + <groupId>net.alchim31.maven</groupId> |
| 45 | + <artifactId>scala-maven-plugin</artifactId> |
| 46 | + <version>${scala-maven-plugin.version}</version> |
| 47 | + <executions> |
| 48 | + <execution> |
| 49 | + <id>compile</id> |
| 50 | + <goals> |
| 51 | + <goal>compile</goal> |
| 52 | + <goal>testCompile</goal> |
| 53 | + </goals> |
| 54 | + <configuration> |
| 55 | + <args> |
| 56 | + <arg>-dependencyfile</arg> |
| 57 | + <arg>${project.build.directory}/.scala_dependencies</arg> |
| 58 | + </args> |
| 59 | + </configuration> |
| 60 | + </execution> |
| 61 | + <execution> |
| 62 | + <id>docjar</id> |
| 63 | + <goals> |
| 64 | + <goal>doc-jar</goal> |
| 65 | + </goals> |
| 66 | + <phase>pre-integration-test</phase> |
| 67 | + </execution> |
| 68 | + </executions> |
| 69 | + </plugin> |
| 70 | + <plugin> |
| 71 | + <groupId>org.apache.maven.plugins</groupId> |
| 72 | + <artifactId>maven-site-plugin</artifactId> |
| 73 | + <configuration> |
| 74 | + <skip>true</skip> |
| 75 | + </configuration> |
| 76 | + </plugin> |
| 77 | + </plugins> |
| 78 | + </build> |
14 | 79 |
|
15 | | - <dependencies> |
16 | | - <dependency> |
17 | | - <groupId>org.scala-lang</groupId> |
18 | | - <artifactId>scala-library</artifactId> |
19 | | - <version>${scala.version}</version> |
20 | | - </dependency> |
21 | | - <dependency> |
22 | | - <groupId>org.jetbrains.kotlin</groupId> |
23 | | - <artifactId>kotlin-reflect</artifactId> |
24 | | - </dependency> |
25 | | - <!-- Provided dependencies --> |
26 | | - <dependency> |
27 | | - <groupId>org.apache.spark</groupId> |
28 | | - <artifactId>spark-sql_${scala.compat.version}</artifactId> |
29 | | - <version>${spark3.version}</version> |
30 | | - <scope>provided</scope> |
31 | | - </dependency> |
32 | | - </dependencies> |
33 | 80 |
|
34 | | - <build> |
35 | | - <sourceDirectory>src/main/scala</sourceDirectory> |
36 | | - <testSourceDirectory>src/test/scala</testSourceDirectory> |
37 | | - <directory>target/${scala.compat.version}</directory> |
38 | | - <plugins> |
39 | | - <plugin> |
40 | | - <groupId>net.alchim31.maven</groupId> |
41 | | - <artifactId>scala-maven-plugin</artifactId> |
42 | | - <version>${scala-maven-plugin.version}</version> |
43 | | - <executions> |
44 | | - <execution> |
45 | | - <id>compile</id> |
46 | | - <goals> |
47 | | - <goal>compile</goal> |
48 | | - <goal>testCompile</goal> |
49 | | - </goals> |
50 | | - <configuration> |
51 | | - <args> |
52 | | - <arg>-dependencyfile</arg> |
53 | | - <arg>${project.build.directory}/.scala_dependencies</arg> |
54 | | - </args> |
55 | | - </configuration> |
56 | | - </execution> |
57 | | - <execution> |
58 | | - <id>docjar</id> |
59 | | - <goals> |
60 | | - <goal>doc-jar</goal> |
61 | | - </goals> |
62 | | - <phase>pre-integration-test</phase> |
63 | | - </execution> |
64 | | - </executions> |
65 | | - </plugin> |
66 | | - <plugin> |
67 | | - <groupId>org.apache.maven.plugins</groupId> |
68 | | - <artifactId>maven-site-plugin</artifactId> |
69 | | - <configuration> |
70 | | - <skip>true</skip> |
71 | | - </configuration> |
72 | | - </plugin> |
73 | | - </plugins> |
74 | | - </build> |
75 | 81 | </project> |
0 commit comments