|
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" |
3 | | - 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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
4 | 3 |
|
5 | | - <modelVersion>4.0.0</modelVersion> |
| 4 | + <modelVersion>4.0.0</modelVersion> |
6 | 5 |
|
7 | | - <parent> |
8 | | - <artifactId>kotlin-spark-api-parent</artifactId> |
9 | | - <groupId>org.jetbrains.kotlin.spark</groupId> |
10 | | - <version>0.3.2</version> |
11 | | - </parent> |
| 6 | + <parent> |
| 7 | + <groupId>org.jetbrains.kotlin.spark</groupId> |
| 8 | + <artifactId>kotlin-spark-api-parent</artifactId> |
| 9 | + <version>0.3.2</version> |
| 10 | + </parent> |
12 | 11 |
|
13 | | - <groupId>org.jetbrains.kotlin.spark.examples</groupId> |
14 | | - <artifactId>examples</artifactId> |
15 | | - <packaging>jar</packaging> |
| 12 | + <groupId>org.jetbrains.kotlin.spark.examples</groupId> |
| 13 | + <artifactId>examples</artifactId> |
| 14 | + <packaging>jar</packaging> |
16 | 15 |
|
17 | | - <name>Kotlin Spark API: Examples</name> |
| 16 | + <name>Kotlin Spark API: Examples</name> |
18 | 17 |
|
19 | | - <properties> |
20 | | - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
21 | | - <kotlin.version>1.3.72</kotlin.version> |
22 | | - <kotlin.code.style>official</kotlin.code.style> |
23 | | - <junit.version>4.12</junit.version> |
24 | | - </properties> |
| 18 | + <properties> |
| 19 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 20 | + <kotlin.version>1.3.72</kotlin.version> |
| 21 | + <kotlin.code.style>official</kotlin.code.style> |
| 22 | + <junit.version>4.12</junit.version> |
| 23 | + </properties> |
25 | 24 |
|
26 | | - <dependencies> |
27 | | - <dependency> |
28 | | - <groupId>org.jetbrains.kotlin.spark</groupId> |
29 | | - <artifactId>kotlin-spark-api</artifactId> |
30 | | - <version>${project.version}</version> |
31 | | - </dependency> |
32 | | - <dependency> |
33 | | - <groupId>org.apache.spark</groupId> |
34 | | - <artifactId>spark-sql_2.12</artifactId> |
35 | | - </dependency> |
| 25 | + <dependencies> |
| 26 | + <dependency> |
| 27 | + <groupId>org.jetbrains.kotlin.spark</groupId> |
| 28 | + <artifactId>kotlin-spark-api</artifactId> |
| 29 | + <version>${project.version}</version> |
| 30 | + </dependency> |
| 31 | + <dependency> |
| 32 | + <groupId>org.apache.spark</groupId> |
| 33 | + <artifactId>spark-sql_2.12</artifactId> |
| 34 | + </dependency> |
36 | 35 |
|
37 | | - </dependencies> |
| 36 | + </dependencies> |
38 | 37 |
|
39 | | - <build> |
40 | | - <sourceDirectory>src/main/kotlin</sourceDirectory> |
41 | | - <testSourceDirectory>src/test/kotlin</testSourceDirectory> |
| 38 | + <build> |
| 39 | + <sourceDirectory>src/main/kotlin</sourceDirectory> |
| 40 | + <testSourceDirectory>src/test/kotlin</testSourceDirectory> |
42 | 41 |
|
43 | | - <plugins> |
44 | | - <plugin> |
45 | | - <groupId>org.jetbrains.kotlin</groupId> |
46 | | - <artifactId>kotlin-maven-plugin</artifactId> |
47 | | - <version>${kotlin.version}</version> |
48 | | - <executions> |
49 | | - <execution> |
50 | | - <id>compile</id> |
51 | | - <phase>compile</phase> |
52 | | - <goals> |
53 | | - <goal>compile</goal> |
54 | | - </goals> |
55 | | - <configuration> |
56 | | - <jvmTarget>1.8</jvmTarget> |
57 | | - </configuration> |
58 | | - </execution> |
59 | | - <execution> |
60 | | - <id>test-compile</id> |
61 | | - <phase>test-compile</phase> |
62 | | - <goals> |
63 | | - <goal>test-compile</goal> |
64 | | - </goals> |
65 | | - </execution> |
66 | | - </executions> |
67 | | - </plugin> |
68 | | - <plugin> |
69 | | - <groupId>org.apache.maven.plugins</groupId> |
70 | | - <artifactId>maven-assembly-plugin</artifactId> |
71 | | - <version>3.3.0</version> |
72 | | - <configuration> |
73 | | - <descriptorRefs> |
74 | | - <descriptorRef>jar-with-dependencies</descriptorRef> |
75 | | - </descriptorRefs> |
76 | | - <archive> |
77 | | - <manifest> |
78 | | - <mainClass>org.jetbrains.spark.api.examples.WordCountKt</mainClass> |
79 | | - </manifest> |
80 | | - </archive> |
81 | | - </configuration> |
82 | | - </plugin> |
83 | | - </plugins> |
84 | | - </build> |
| 42 | + <plugins> |
| 43 | + <plugin> |
| 44 | + <groupId>org.jetbrains.kotlin</groupId> |
| 45 | + <artifactId>kotlin-maven-plugin</artifactId> |
| 46 | + <version>${kotlin.version}</version> |
| 47 | + <executions> |
| 48 | + <execution> |
| 49 | + <id>compile</id> |
| 50 | + <goals> |
| 51 | + <goal>compile</goal> |
| 52 | + </goals> |
| 53 | + <phase>compile</phase> |
| 54 | + <configuration> |
| 55 | + <jvmTarget>1.8</jvmTarget> |
| 56 | + </configuration> |
| 57 | + </execution> |
| 58 | + <execution> |
| 59 | + <id>test-compile</id> |
| 60 | + <goals> |
| 61 | + <goal>test-compile</goal> |
| 62 | + </goals> |
| 63 | + <phase>test-compile</phase> |
| 64 | + </execution> |
| 65 | + </executions> |
| 66 | + </plugin> |
| 67 | + <plugin> |
| 68 | + <groupId>org.apache.maven.plugins</groupId> |
| 69 | + <artifactId>maven-assembly-plugin</artifactId> |
| 70 | + <version>3.3.0</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 | + </plugins> |
| 83 | + </build> |
85 | 84 |
|
86 | 85 | </project> |
0 commit comments