Skip to content

Instantly share code, notes, and snippets.

@LeRiton
Created November 28, 2023 14:54
Show Gist options
  • Save LeRiton/403e00402245074a95ae46e58a620948 to your computer and use it in GitHub Desktop.
Save LeRiton/403e00402245074a95ae46e58a620948 to your computer and use it in GitHub Desktop.
<?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">
<modelVersion>4.0.0</modelVersion>
<groupId>comm.foo</groupId>
<artifactId>test-compat</artifactId>
<version>1.0.0-SNAPSHOT</version>
<properties>
<scala.version.major>2.12</scala.version.major>
<scala.compat.version>${scala.version.major}</scala.compat.version>
<scala.version.minor>14</scala.version.minor>
<scala.version>${scala.version.major}.${scala.version.minor}</scala.version>
<spark.version>3.2.1</spark.version>
<testing-base.version>1.4.4</testing-base.version>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-sql_${scala.compat.version}</artifactId>
<version>${spark.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.holdenkarau</groupId>
<artifactId>spark-testing-base_${scala.compat.version}</artifactId>
<version>${spark.version}_${testing-base.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<sourceDirectory>src/main/scala</sourceDirectory>
<testSourceDirectory>src/test/scala</testSourceDirectory>
<plugins>
<plugin>
<groupId>net.alchim31.maven</groupId>
<artifactId>scala-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>compile</goal>
<goal>testCompile</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment