1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <project xmlns =" http://maven.apache.org/POM/4.0.0"
3+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
5+
6+ <modelVersion >4.0.0</modelVersion >
7+
8+ <name >Kotlin Spark API: Jupyter integration for Spark 3.2+ (Scala 2.12)</name >
9+ <artifactId >kotlin-spark-api-jupyter-3.2</artifactId >
10+ <description >Jupyter integration</description >
11+ <parent >
12+ <groupId >org.jetbrains.kotlinx.spark</groupId >
13+ <artifactId >kotlin-spark-api-parent_2.12</artifactId >
14+ <version >1.0.4-SNAPSHOT</version >
15+ <relativePath >../pom_2.12.xml</relativePath >
16+ </parent >
17+ <packaging >jar</packaging >
18+
19+
20+ <properties >
21+ <maven .compiler.source>11</maven .compiler.source>
22+ <maven .compiler.target>11</maven .compiler.target>
23+ </properties >
24+
25+ <repositories >
26+ <repository >
27+ <id >kotlinx-html</id >
28+ <name >kotlinx-html</name >
29+ <url >https://maven.pkg.jetbrains.space/public/p/kotlinx-html/maven</url >
30+ </repository >
31+ <repository >
32+ <id >kotlin</id >
33+ <name >kotlin</name >
34+ <url >https://maven.pkg.jetbrains.space/kotlin/p/kotlin/dev</url >
35+ </repository >
36+ </repositories >
37+
38+ <dependencies >
39+ <dependency >
40+ <groupId >org.jetbrains.kotlinx.spark</groupId >
41+ <artifactId >kotlin-spark-api-3.2</artifactId >
42+ <version >${project.version} </version >
43+ </dependency >
44+ <dependency >
45+ <groupId >org.jetbrains.kotlinx</groupId >
46+ <artifactId >kotlinx-html-jvm</artifactId >
47+ <version >${kotlinx.html.version} </version >
48+ </dependency >
49+ <dependency > <!-- Needed for Jupyter -->
50+ <groupId >org.apache.spark</groupId >
51+ <artifactId >spark-repl_${scala.compat.version}</artifactId >
52+ <version >${spark3.version} </version >
53+ </dependency >
54+ <dependency >
55+ <groupId >org.jetbrains.kotlinx</groupId >
56+ <artifactId >kotlin-jupyter-api</artifactId >
57+ <version >${kotlin-jupyter-api.version} </version >
58+ </dependency >
59+
60+ <!-- Testing -->
61+ <dependency >
62+ <groupId >io.kotest</groupId >
63+ <artifactId >kotest-runner-junit5-jvm</artifactId >
64+ <version >${kotest.version} </version >
65+ <scope >test</scope >
66+ </dependency >
67+ <dependency >
68+ <groupId >io.kotest.extensions</groupId >
69+ <artifactId >kotest-extensions-allure</artifactId >
70+ <version >${kotest-extensions-allure.version} </version >
71+ <scope >test</scope >
72+ </dependency >
73+ <dependency >
74+ <groupId >org.jetbrains.kotlinx</groupId >
75+ <artifactId >kotlin-jupyter-test-kit</artifactId >
76+ <version >${kotlin-jupyter-api.version} </version >
77+ <scope >test</scope >
78+ </dependency >
79+ </dependencies >
80+
81+ <build >
82+ <sourceDirectory >src/main/kotlin</sourceDirectory >
83+ <testSourceDirectory >src/test/kotlin</testSourceDirectory >
84+ <directory >target/${scala.compat.version} </directory >
85+ <plugins >
86+ <plugin >
87+ <groupId >org.jetbrains.kotlin</groupId >
88+ <artifactId >kotlin-maven-plugin</artifactId >
89+ <executions >
90+ <execution >
91+ <id >compile</id >
92+ <goals >
93+ <goal >compile</goal >
94+ </goals >
95+ </execution >
96+ <execution >
97+ <id >test-compile</id >
98+ <goals >
99+ <goal >test-compile</goal >
100+ </goals >
101+ </execution >
102+ </executions >
103+ </plugin >
104+ <plugin >
105+ <groupId >org.apache.maven.plugins</groupId >
106+ <artifactId >maven-assembly-plugin</artifactId >
107+ <version >${maven-assembly-plugin.version} </version >
108+ <configuration >
109+ <descriptorRefs >
110+ <descriptorRef >jar-with-dependencies</descriptorRef >
111+ </descriptorRefs >
112+ <archive >
113+ <manifest >
114+ <mainClass >org.jetbrains.spark.api.examples.WordCountKt</mainClass >
115+ </manifest >
116+ </archive >
117+ </configuration >
118+ </plugin >
119+ <plugin >
120+ <groupId >org.apache.maven.plugins</groupId >
121+ <artifactId >maven-site-plugin</artifactId >
122+ <configuration >
123+ <skip >true</skip >
124+ </configuration >
125+ </plugin >
126+ <plugin >
127+ <groupId >org.apache.maven.plugins</groupId >
128+ <artifactId >maven-deploy-plugin</artifactId >
129+ <configuration >
130+ <skip >false</skip >
131+ </configuration >
132+ </plugin >
133+ <plugin >
134+ <groupId >org.sonatype.plugins</groupId >
135+ <artifactId >nexus-staging-maven-plugin</artifactId >
136+ <configuration >
137+ <skipNexusStagingDeployMojo >false</skipNexusStagingDeployMojo >
138+ </configuration >
139+ </plugin >
140+ <plugin >
141+ <groupId >org.apache.maven.plugins</groupId >
142+ <artifactId >maven-compiler-plugin</artifactId >
143+ <version >${maven-compiler-plugin.version} </version >
144+ <configuration >
145+ <source >9</source >
146+ <target >9</target >
147+ </configuration >
148+ </plugin >
149+ </plugins >
150+ </build >
151+ </project >
0 commit comments