|
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"> |
| 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"> |
3 | 4 |
|
4 | | - <modelVersion>4.0.0</modelVersion> |
| 5 | + <modelVersion>4.0.0</modelVersion> |
5 | 6 |
|
6 | | - <name>Kotlin Spark API: Examples for Spark 3.2+ (Scala 2.12)</name> |
7 | | - <description>Example of usage</description> |
8 | | - <artifactId>examples-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> |
| 7 | + <name>Kotlin Spark API: Examples for Spark 3.2+ (Scala 2.12)</name> |
| 8 | + <description>Example of usage</description> |
| 9 | + <artifactId>examples-3.2_2.12</artifactId> |
| 10 | + <parent> |
| 11 | + <groupId>org.jetbrains.kotlinx.spark</groupId> |
| 12 | + <artifactId>kotlin-spark-api-parent_2.12</artifactId> |
| 13 | + <version>1.0.4-SNAPSHOT</version> |
| 14 | + <relativePath>../pom_2.12.xml</relativePath> |
| 15 | + </parent> |
15 | 16 |
|
16 | | - <dependencies> |
17 | | - <dependency> |
18 | | - <groupId>org.jetbrains.kotlin</groupId> |
19 | | - <artifactId>kotlin-reflect</artifactId> |
20 | | - </dependency><!-- TODO this shouldn't be needed --> |
21 | | - <dependency> |
22 | | - <groupId>org.jetbrains.kotlinx.spark</groupId> |
23 | | - <artifactId>kotlin-spark-api-3.2</artifactId> |
24 | | - <version>${project.version}</version> |
25 | | - </dependency> |
26 | | - <dependency> |
27 | | - <groupId>org.apache.spark</groupId> |
28 | | - <artifactId>spark-sql_${scala.compat.version}</artifactId> |
29 | | - <version>${spark3.version}</version> |
30 | | - </dependency> |
31 | | - <dependency> |
32 | | - <groupId>org.apache.spark</groupId> |
33 | | - <artifactId>spark-streaming_${scala.compat.version}</artifactId> |
34 | | - <version>${spark3.version}</version> |
35 | | - </dependency> |
36 | | - <dependency><!-- Only needed for Qodana --> |
37 | | - <groupId>org.apache.spark</groupId> |
38 | | - <artifactId>spark-streaming-kafka-0-10_${scala.compat.version}</artifactId> |
39 | | - <version>${spark3.version}</version> |
40 | | - </dependency> |
41 | | - </dependencies> |
| 17 | + <dependencies> |
| 18 | + <dependency> |
| 19 | + <groupId>org.jetbrains.kotlin</groupId> |
| 20 | + <artifactId>kotlin-reflect</artifactId> |
| 21 | + </dependency><!-- TODO this shouldn't be needed --> |
| 22 | + <dependency> |
| 23 | + <groupId>org.jetbrains.kotlinx.spark</groupId> |
| 24 | + <artifactId>kotlin-spark-api-3.2</artifactId> |
| 25 | + <version>${project.version}</version> |
| 26 | + </dependency> |
| 27 | + <dependency> |
| 28 | + <groupId>org.apache.spark</groupId> |
| 29 | + <artifactId>spark-sql_${scala.compat.version}</artifactId> |
| 30 | + <version>${spark3.version}</version> |
| 31 | + </dependency> |
| 32 | + <dependency> |
| 33 | + <groupId>org.apache.spark</groupId> |
| 34 | + <artifactId>spark-streaming_${scala.compat.version}</artifactId> |
| 35 | + <version>${spark3.version}</version> |
| 36 | + </dependency> |
| 37 | + <dependency><!-- Only needed for Qodana --> |
| 38 | + <groupId>org.apache.spark</groupId> |
| 39 | + <artifactId>spark-streaming-kafka-0-10_${scala.compat.version}</artifactId> |
| 40 | + <version>${spark3.version}</version> |
| 41 | + </dependency> |
| 42 | + </dependencies> |
42 | 43 |
|
43 | | - <build> |
44 | | - <sourceDirectory>src/main/kotlin</sourceDirectory> |
45 | | - <testSourceDirectory>src/test/kotlin</testSourceDirectory> |
46 | | - <directory>target/3.2/${scala.compat.version}</directory> |
47 | | - <plugins> |
48 | | - <plugin> |
49 | | - <groupId>org.jetbrains.kotlin</groupId> |
50 | | - <artifactId>kotlin-maven-plugin</artifactId> |
51 | | - <executions> |
52 | | - <execution> |
53 | | - <id>compile</id> |
54 | | - <goals> |
55 | | - <goal>compile</goal> |
56 | | - </goals> |
57 | | - </execution> |
58 | | - <execution> |
59 | | - <id>test-compile</id> |
60 | | - <goals> |
61 | | - <goal>test-compile</goal> |
62 | | - </goals> |
63 | | - </execution> |
64 | | - </executions> |
65 | | - </plugin> |
66 | | - <plugin> |
67 | | - <groupId>org.apache.maven.plugins</groupId> |
68 | | - <artifactId>maven-assembly-plugin</artifactId> |
69 | | - <version>${maven-assembly-plugin.version}</version> |
70 | | - <configuration> |
71 | | - <descriptorRefs> |
72 | | - <descriptorRef>jar-with-dependencies</descriptorRef> |
73 | | - </descriptorRefs> |
74 | | - <archive> |
75 | | - <manifest> |
76 | | - <mainClass>org.jetbrains.spark.api.examples.WordCountKt</mainClass> |
77 | | - </manifest> |
78 | | - </archive> |
79 | | - </configuration> |
80 | | - </plugin> |
81 | | - <plugin> |
82 | | - <groupId>org.apache.maven.plugins</groupId> |
83 | | - <artifactId>maven-site-plugin</artifactId> |
84 | | - <configuration> |
85 | | - <skip>true</skip> |
86 | | - </configuration> |
87 | | - </plugin> |
88 | | - <plugin> |
89 | | - <groupId>org.apache.maven.plugins</groupId> |
90 | | - <artifactId>maven-deploy-plugin</artifactId> |
91 | | - <configuration> |
92 | | - <skip>true</skip> |
93 | | - </configuration> |
94 | | - </plugin> |
95 | | - <plugin> |
96 | | - <groupId>org.sonatype.plugins</groupId> |
97 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
98 | | - <configuration> |
99 | | - <skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo> |
100 | | - </configuration> |
101 | | - </plugin> |
102 | | - <plugin> |
103 | | - <groupId>org.apache.maven.plugins</groupId> |
104 | | - <artifactId>maven-compiler-plugin</artifactId> |
105 | | - <configuration> |
106 | | - <source>8</source> |
107 | | - <target>8</target> |
108 | | - </configuration> |
109 | | - </plugin> |
110 | | - </plugins> |
111 | | - </build> |
| 44 | + <build> |
| 45 | + <sourceDirectory>src/main/kotlin</sourceDirectory> |
| 46 | + <testSourceDirectory>src/test/kotlin</testSourceDirectory> |
| 47 | + <directory>target/3.2/${scala.compat.version}</directory> |
| 48 | + <plugins> |
| 49 | + <plugin> |
| 50 | + <groupId>org.jetbrains.kotlin</groupId> |
| 51 | + <artifactId>kotlin-maven-plugin</artifactId> |
| 52 | + <executions> |
| 53 | + <execution> |
| 54 | + <id>compile</id> |
| 55 | + <goals> |
| 56 | + <goal>compile</goal> |
| 57 | + </goals> |
| 58 | + </execution> |
| 59 | + <execution> |
| 60 | + <id>test-compile</id> |
| 61 | + <goals> |
| 62 | + <goal>test-compile</goal> |
| 63 | + </goals> |
| 64 | + </execution> |
| 65 | + </executions> |
| 66 | + </plugin> |
| 67 | + <plugin> |
| 68 | + <groupId>org.apache.maven.plugins</groupId> |
| 69 | + <artifactId>maven-assembly-plugin</artifactId> |
| 70 | + <version>${maven-assembly-plugin.version}</version> |
| 71 | + <configuration> |
| 72 | + <descriptorRefs> |
| 73 | + <descriptorRef>jar-with-dependencies</descriptorRef> |
| 74 | + </descriptorRefs> |
| 75 | + <archive> |
| 76 | + <manifest> |
| 77 | + <mainClass>org.jetbrains.spark.api.examples.WordCountKt</mainClass> |
| 78 | + </manifest> |
| 79 | + </archive> |
| 80 | + </configuration> |
| 81 | + </plugin> |
| 82 | + <plugin> |
| 83 | + <groupId>org.apache.maven.plugins</groupId> |
| 84 | + <artifactId>maven-site-plugin</artifactId> |
| 85 | + <configuration> |
| 86 | + <skip>true</skip> |
| 87 | + </configuration> |
| 88 | + </plugin> |
| 89 | + <plugin> |
| 90 | + <groupId>org.apache.maven.plugins</groupId> |
| 91 | + <artifactId>maven-deploy-plugin</artifactId> |
| 92 | + <configuration> |
| 93 | + <skip>true</skip> |
| 94 | + </configuration> |
| 95 | + </plugin> |
| 96 | + <plugin> |
| 97 | + <groupId>org.sonatype.plugins</groupId> |
| 98 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 99 | + <configuration> |
| 100 | + <skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo> |
| 101 | + </configuration> |
| 102 | + </plugin> |
| 103 | + <plugin> |
| 104 | + <groupId>org.apache.maven.plugins</groupId> |
| 105 | + <artifactId>maven-compiler-plugin</artifactId> |
| 106 | + <version>${maven-compiler-plugin.version}</version> |
| 107 | + <configuration> |
| 108 | + <source>8</source> |
| 109 | + <target>8</target> |
| 110 | + </configuration> |
| 111 | + </plugin> |
| 112 | + </plugins> |
| 113 | + </build> |
112 | 114 | </project> |
0 commit comments