Skip to content

Commit

Permalink
ci: dummy module now depends only on relevant subprojects
Browse files Browse the repository at this point in the history
Before this commit dummy module in project was dependant on both
versions of Scala and all supported versions of Spark, which is
incorrect.
  • Loading branch information
asm0dey committed Jul 16, 2021
1 parent 72fb5ea commit bb84603
Showing 1 changed file with 29 additions and 18 deletions.
47 changes: 29 additions & 18 deletions dummy/pom.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<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/xsd/maven-4.0.0.xsd">
<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/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>kotlin-spark-api-parent</artifactId>
<groupId>org.jetbrains.kotlinx.spark</groupId>
Expand All @@ -10,22 +11,32 @@
<name>Kotlin API for Apache Spark: not-needed</name>
<description>Module to workaround https://issues.sonatype.org/browse/NEXUS-9138</description>
<artifactId>dummy</artifactId>
<dependencies>
<dependency>
<groupId>org.jetbrains.kotlinx.spark</groupId>
<artifactId>examples-2.4_2.11</artifactId>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlinx.spark</groupId>
<artifactId>examples-2.4_2.12</artifactId>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlinx.spark</groupId>
<artifactId>examples-3.0_2.12</artifactId>
<version>${project.parent.version}</version>
</dependency>
</dependencies>
<profiles>
<profile>
<id>scala-2.11</id>
<dependencies>
<dependency>
<groupId>org.jetbrains.kotlinx.spark</groupId>
<artifactId>examples-2.4_2.11</artifactId>
<version>${project.parent.version}</version>
</dependency>
</dependencies>
</profile>
<profile>
<id>scala-2.12</id>
<dependencies>
<dependency>
<groupId>org.jetbrains.kotlinx.spark</groupId>
<artifactId>examples-2.4_2.12</artifactId>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlinx.spark</groupId>
<artifactId>examples-3.0_2.12</artifactId>
<version>${project.parent.version}</version>
</dependency>
</dependencies>
</profile>
</profiles>

</project>

0 comments on commit bb84603

Please sign in to comment.