Skip to content

Commit 4e938df

Browse files
committed
chore: 🤖 Update module names to show compatible versions
+ updates package names to be consitent with groupId BREAKING CHANGE: 🧨 package, groupId and artefact renames!
1 parent 66ae60e commit 4e938df

File tree

22 files changed

+109
-58
lines changed

22 files changed

+109
-58
lines changed

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -374,5 +374,5 @@ csvpath/
374374
orcpath/
375375

376376
.env
377-
/kotlin-spark-api/.allure/
378-
/kotlin-spark-api/allure-results/
377+
/kotlin-spark-api-3.0.0_2.12/.allure/
378+
/kotlin-spark-api-3.0.0_2.12/allure-results/

core/pom.xml renamed to core-3.0.0_2.12/pom.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@
22
<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">
33
<modelVersion>4.0.0</modelVersion>
44
<parent>
5-
<groupId>org.jetbrains.kotlin.spark</groupId>
5+
<groupId>org.jetbrains.kotlinx.spark</groupId>
66
<artifactId>kotlin-spark-api-parent</artifactId>
7-
<version>1.0.0-preview1</version>
7+
<version>1.0.0-preview1-SNAPSHOT</version>
88
</parent>
9-
<artifactId>core</artifactId>
9+
<artifactId>core-3.0.0_2.12</artifactId>
1010
<name>Kotlin Spark API: Scala core</name>
11+
<description>Scala-Spark 3.0.0 compatibility layer for Kotlin for Apache Spark</description>
1112

1213
<properties>
1314
<maven.compiler.source>1.8</maven.compiler.source>

core/src/main/scala/org/jetbrains/spark/extensions/KSparkExtensions.scala renamed to core-3.0.0_2.12/src/main/scala/org/jetbrains/kotinx/spark/extensions/KSparkExtensions.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* limitations under the License.
1818
* =LICENSEEND=
1919
*/
20-
package org.jetbrains.spark.extensions
20+
package org.jetbrains.kotinx.spark.extensions
2121

2222
import java.util
2323

examples/pom.xml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@
44
<modelVersion>4.0.0</modelVersion>
55

66
<parent>
7-
<groupId>org.jetbrains.kotlin.spark</groupId>
7+
<groupId>org.jetbrains.kotlinx.spark</groupId>
88
<artifactId>kotlin-spark-api-parent</artifactId>
9-
<version>1.0.0-preview1</version>
9+
<version>1.0.0-preview1-SNAPSHOT</version>
1010
</parent>
1111

1212
<groupId>org.jetbrains.kotlin.spark.examples</groupId>
1313
<artifactId>examples</artifactId>
1414
<packaging>jar</packaging>
15+
<description>Example of usage</description>
1516

1617
<name>Kotlin Spark API: Examples</name>
1718

@@ -22,8 +23,8 @@
2223

2324
<dependencies>
2425
<dependency>
25-
<groupId>org.jetbrains.kotlin.spark</groupId>
26-
<artifactId>kotlin-spark-api</artifactId>
26+
<groupId>org.jetbrains.kotlinx.spark</groupId>
27+
<artifactId>kotlin-spark-api-3.0.0_2.12</artifactId>
2728
<version>${project.version}</version>
2829
</dependency>
2930
<dependency>

examples/src/main/kotlin/org/jetbrains/spark/api/examples/CachedOperations.kt renamed to examples/src/main/kotlin/org/jetbrains/kotlinx/spark/examples/CachedOperations.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
* limitations under the License.
1818
* =LICENSEEND=
1919
*/
20-
package org.jetbrains.spark.api.examples
20+
package org.jetbrains.kotlinx.spark.examples
2121

22-
import org.jetbrains.spark.api.*
22+
import org.jetbrains.kotlinx.spark.api.*
2323

2424
fun main() {
2525
withSpark {

examples/src/main/kotlin/org/jetbrains/spark/api/examples/Collect.kt renamed to examples/src/main/kotlin/org/jetbrains/kotlinx/spark/examples/Collect.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
* limitations under the License.
1818
* =LICENSEEND=
1919
*/
20-
package org.jetbrains.spark.api.examples
20+
package org.jetbrains.kotlinx.spark.examples
2121

2222
import org.apache.spark.sql.Row
23-
import org.jetbrains.spark.api.*
23+
import org.jetbrains.kotlinx.spark.api.*
2424

2525
fun main() {
2626
withSpark {

examples/src/main/kotlin/org/jetbrains/spark/api/examples/Join.kt renamed to examples/src/main/kotlin/org/jetbrains/kotlinx/spark/examples/Join.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
* limitations under the License.
1818
* =LICENSEEND=
1919
*/
20-
package org.jetbrains.spark.api.examples
20+
package org.jetbrains.kotlinx.spark.examples
2121

22-
import org.jetbrains.spark.api.*
22+
import org.jetbrains.kotlinx.spark.api.*
2323

2424

2525
data class Left(val id: Int, val name: String)

examples/src/main/kotlin/org/jetbrains/spark/api/examples/Main.kt renamed to examples/src/main/kotlin/org/jetbrains/kotlinx/spark/examples/Main.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
* limitations under the License.
1818
* =LICENSEEND=
1919
*/
20-
package org.jetbrains.spark.api.examples
20+
package org.jetbrains.kotlinx.spark.examples
2121

2222
import org.apache.spark.api.java.function.ReduceFunction
23-
import org.jetbrains.spark.api.*
23+
import org.jetbrains.kotlinx.spark.api.*
2424

2525
data class Q<T>(val id: Int, val text: T)
2626
object Main {

0 commit comments

Comments
 (0)