| <?xml version="1.0" encoding="UTF-8"?> | |
| <!-- | |
| ~ Licensed to the Apache Software Foundation (ASF) under one or more | |
| ~ contributor license agreements. See the NOTICE file distributed with | |
| ~ this work for additional information regarding copyright ownership. | |
| ~ The ASF licenses this file to You under the Apache License, Version 2.0 | |
| ~ (the "License"); you may not use this file except in compliance with | |
| ~ the License. You may obtain a copy of the License at | |
| ~ | |
| ~ http://www.apache.org/licenses/LICENSE-2.0 | |
| ~ | |
| ~ Unless required by applicable law or agreed to in writing, software | |
| ~ distributed under the License is distributed on an "AS IS" BASIS, | |
| ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| ~ See the License for the specific language governing permissions and | |
| ~ limitations under the License. | |
| --> | |
| <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> | |
| <parent> | |
| <groupId>org.apache</groupId> | |
| <artifactId>apache</artifactId> | |
| <version>35</version> | |
| </parent> | |
| <groupId>org.apache.auron</groupId> | |
| <artifactId>auron-parent_${scalaVersion}</artifactId> | |
| <version>${project.version}</version> | |
| <packaging>pom</packaging> | |
| <name>Apache Auron Parent Pom</name> | |
| <description>Apache Auron</description> | |
| <url>https://github.com/apache/auron.git</url> | |
| <modules> | |
| <module>auron-core</module> | |
| <module>common</module> | |
| <module>spark-version-annotation-macros</module> | |
| <module>spark-extension</module> | |
| <module>spark-extension-shims-spark</module> | |
| <module>hadoop-shim</module> | |
| <module>dev/mvn-build-helper/assembly</module> | |
| <module>dev/mvn-build-helper/proto</module> | |
| <module>auron-spark-ui</module> | |
| </modules> | |
| <properties> | |
| <project.version>9.0.0-SNAPSHOT</project.version> | |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
| <arrowVersion>16.0.0</arrowVersion> | |
| <bytebuddyVersion>1.14.11</bytebuddyVersion> | |
| <hadoopVersion>3.4.3</hadoopVersion> | |
| <protobufVersion>3.25.5</protobufVersion> | |
| <parquetVersion>1.16.0</parquetVersion> | |
| <nettyVersion>4.2.7.Final</nettyVersion> | |
| <javaVersion>8</javaVersion> | |
| <maven.compiler.source>${javaVersion}</maven.compiler.source> | |
| <maven.compiler.target>${javaVersion}</maven.compiler.target> | |
| <semanticdb.version>4.14.5</semanticdb.version> | |
| <scalafmtVersion>3.9.9</scalafmtVersion> | |
| <scalaVersion>2.12</scalaVersion> | |
| <scalaLongVersion>2.12.18</scalaLongVersion> | |
| <scala-xml.version>2.1.0</scala-xml.version> | |
| <scalaJava8CompatVersion>1.0.2</scalaJava8CompatVersion> | |
| <scalaCollectionCompatVersion>2.12.0</scalaCollectionCompatVersion> | |
| <maven.version>3.9.16</maven.version> | |
| <maven.plugin.scala.version>4.9.2</maven.plugin.scala.version> | |
| <maven.plugin.scalatest.version>2.2.0</maven.plugin.scalatest.version> | |
| <maven.plugin.scalastyle.version>1.0.0</maven.plugin.scalastyle.version> | |
| <maven.plugin.scalatest.exclude.tags /> | |
| <maven.plugin.scalatest.include.tags /> | |
| <maven.plugin.scalatest.debug.enabled>false</maven.plugin.scalatest.debug.enabled> | |
| <maven.plugin.surefire.version>3.5.3</maven.plugin.surefire.version> | |
| <maven.plugin.shade.version>3.5.2</maven.plugin.shade.version> | |
| <os-maven-plugin.version>1.7.1</os-maven-plugin.version> | |
| <maven.plugin.templating.version>3.0.0</maven.plugin.templating.version> | |
| <maven-enforcer-plugin.version>3.5.0</maven-enforcer-plugin.version> | |
| <spotless.plugin.version>2.30.0</spotless.plugin.version> | |
| <maven.plugin.flatten.version>1.3.0</maven.plugin.flatten.version> | |
| <exec-maven-plugin.version>3.1.0</exec-maven-plugin.version> | |
| <icebergVersion>1.10.1</icebergVersion> | |
| <icebergEnabled>false</icebergEnabled> | |
| <releaseMode>pre</releaseMode> | |
| <buildNativeWithRelease>false</buildNativeWithRelease> | |
| <buildWithFeatures /> | |
| <checkstyle-plugin.version>3.6.0</checkstyle-plugin.version> | |
| <scalamacros.paradise.version>2.1.1</scalamacros.paradise.version> | |
| <junit.jupiter.version>5.13.4</junit.jupiter.version> | |
| <restrict-imports.enforcer.version>2.6.0</restrict-imports.enforcer.version> | |
| <extraJavaTestArgs>-XX:+IgnoreUnrecognizedVMOptions | |
| --add-opens=java.base/java.lang=ALL-UNNAMED | |
| --add-opens=java.base/java.lang.invoke=ALL-UNNAMED | |
| --add-opens=java.base/java.lang.reflect=ALL-UNNAMED | |
| --add-opens=java.base/java.io=ALL-UNNAMED | |
| --add-opens=java.base/java.net=ALL-UNNAMED | |
| --add-opens=java.base/java.nio=ALL-UNNAMED | |
| --add-opens=java.base/java.util=ALL-UNNAMED | |
| --add-opens=java.base/java.util.concurrent=ALL-UNNAMED | |
| --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED | |
| --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED | |
| --add-opens=java.base/sun.nio.ch=ALL-UNNAMED | |
| --add-opens=java.base/sun.nio.cs=ALL-UNNAMED | |
| --add-opens=java.base/sun.security.action=ALL-UNNAMED | |
| --add-opens=java.base/sun.security.tools.keytool=ALL-UNNAMED | |
| --add-opens=java.base/sun.security.x509=ALL-UNNAMED | |
| --add-opens=java.base/sun.util.calendar=ALL-UNNAMED | |
| -Djdk.reflect.useDirectMethodHandle=false | |
| -Dio.netty.tryReflectionSetAccessible=true</extraJavaTestArgs> | |
| <debugArgLine>-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005</debugArgLine> | |
| </properties> | |
| <dependencyManagement> | |
| <dependencies> | |
| <dependency> | |
| <groupId>org.scala-lang</groupId> | |
| <artifactId>scala-library</artifactId> | |
| <version>${scalaLongVersion}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.scala-lang</groupId> | |
| <artifactId>scala-compiler</artifactId> | |
| <version>${scalaLongVersion}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.scala-lang</groupId> | |
| <artifactId>scala-reflect</artifactId> | |
| <version>${scalaLongVersion}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.scala-lang.modules</groupId> | |
| <artifactId>scala-java8-compat_${scalaVersion}</artifactId> | |
| <version>${scalaJava8CompatVersion}</version> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>org.scala-lang</groupId> | |
| <artifactId>scala-library</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.scala-lang.modules</groupId> | |
| <artifactId>scala-collection-compat_${scalaVersion}</artifactId> | |
| <version>${scalaCollectionCompatVersion}</version> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>org.scala-lang</groupId> | |
| <artifactId>scala-library</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.spark</groupId> | |
| <artifactId>spark-core_${scalaVersion}</artifactId> | |
| <version>${sparkVersion}</version> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>io.netty</groupId> | |
| <artifactId>*</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.spark</groupId> | |
| <artifactId>spark-hive_${scalaVersion}</artifactId> | |
| <version>${sparkVersion}</version> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>org.apache.arrow</groupId> | |
| <artifactId>*</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.spark</groupId> | |
| <artifactId>spark-hive_${scalaVersion}</artifactId> | |
| <version>${sparkVersion}</version> | |
| <type>test-jar</type> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>org.apache.arrow</groupId> | |
| <artifactId>*</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.spark</groupId> | |
| <artifactId>spark-sql_${scalaVersion}</artifactId> | |
| <version>${sparkVersion}</version> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>io.netty</groupId> | |
| <artifactId>*</artifactId> | |
| </exclusion> | |
| <exclusion> | |
| <groupId>org.apache.arrow</groupId> | |
| <artifactId>*</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.hadoop</groupId> | |
| <artifactId>hadoop-client-api</artifactId> | |
| <version>${hadoopVersion}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.hadoop</groupId> | |
| <artifactId>hadoop-client-runtime</artifactId> | |
| <version>${hadoopVersion}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.paimon</groupId> | |
| <artifactId>paimon-core</artifactId> | |
| <version>${paimonVersion}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.arrow</groupId> | |
| <artifactId>arrow-c-data</artifactId> | |
| <version>${arrowVersion}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.arrow</groupId> | |
| <artifactId>arrow-compression</artifactId> | |
| <version>${arrowVersion}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.arrow</groupId> | |
| <artifactId>arrow-memory-core</artifactId> | |
| <version>${arrowVersion}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.arrow</groupId> | |
| <artifactId>arrow-memory-netty</artifactId> | |
| <version>${arrowVersion}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.arrow</groupId> | |
| <artifactId>arrow-memory-unsafe</artifactId> | |
| <version>${arrowVersion}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.arrow</groupId> | |
| <artifactId>arrow-vector</artifactId> | |
| <version>${arrowVersion}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.google.protobuf</groupId> | |
| <artifactId>protobuf-java</artifactId> | |
| <version>${protobufVersion}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>net.bytebuddy</groupId> | |
| <artifactId>byte-buddy</artifactId> | |
| <version>${bytebuddyVersion}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>net.bytebuddy</groupId> | |
| <artifactId>byte-buddy-agent</artifactId> | |
| <version>${bytebuddyVersion}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.scalatest</groupId> | |
| <artifactId>scalatest_${scalaVersion}</artifactId> | |
| <version>${scalaTestVersion}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.scalatestplus</groupId> | |
| <artifactId>scalatestplus-scalacheck_${scalaVersion}</artifactId> | |
| <version>3.1.0.0-RC2</version> | |
| <scope>test</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.spark</groupId> | |
| <artifactId>spark-core_${scalaVersion}</artifactId> | |
| <version>${sparkVersion}</version> | |
| <type>test-jar</type> | |
| <scope>test</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.spark</groupId> | |
| <artifactId>spark-catalyst_${scalaVersion}</artifactId> | |
| <version>${sparkVersion}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.spark</groupId> | |
| <artifactId>spark-catalyst_${scalaVersion}</artifactId> | |
| <version>${sparkVersion}</version> | |
| <type>test-jar</type> | |
| <scope>test</scope> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>org.apache.arrow</groupId> | |
| <artifactId>arrow-memory-netty</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.spark</groupId> | |
| <artifactId>spark-sql_${scalaVersion}</artifactId> | |
| <version>${sparkVersion}</version> | |
| <type>test-jar</type> | |
| <scope>test</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.spark</groupId> | |
| <artifactId>spark-tags_${scalaVersion}</artifactId> | |
| <version>${sparkVersion}</version> | |
| <type>test-jar</type> | |
| <scope>test</scope> | |
| </dependency> | |
| </dependencies> | |
| </dependencyManagement> | |
| <dependencies> | |
| <dependency> | |
| <groupId>org.scala-lang</groupId> | |
| <artifactId>scala-library</artifactId> | |
| <scope>provided</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.scala-lang</groupId> | |
| <artifactId>scala-compiler</artifactId> | |
| <scope>provided</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.scala-lang</groupId> | |
| <artifactId>scala-reflect</artifactId> | |
| <scope>provided</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.scala-lang.modules</groupId> | |
| <artifactId>scala-collection-compat_${scalaVersion}</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.scalatest</groupId> | |
| <artifactId>scalatest_${scalaVersion}</artifactId> | |
| <scope>test</scope> | |
| </dependency> | |
| </dependencies> | |
| <repositories> | |
| <repository> | |
| <releases> | |
| <enabled>true</enabled> | |
| </releases> | |
| <snapshots> | |
| <enabled>false</enabled> | |
| </snapshots> | |
| <id>gcs-maven-central-mirror</id> | |
| <name>GCS Maven Central mirror Asia Pacific</name> | |
| <url>https://maven-central-asia.storage-download.googleapis.com/maven2/</url> | |
| </repository> | |
| <repository> | |
| <releases> | |
| <enabled>true</enabled> | |
| </releases> | |
| <snapshots> | |
| <enabled>false</enabled> | |
| </snapshots> | |
| <id>central</id> | |
| <name>Maven Repository</name> | |
| <url>https://repo.maven.apache.org/maven2</url> | |
| </repository> | |
| </repositories> | |
| <pluginRepositories> | |
| <pluginRepository> | |
| <releases> | |
| <enabled>true</enabled> | |
| </releases> | |
| <snapshots> | |
| <enabled>false</enabled> | |
| </snapshots> | |
| <id>gcs-maven-central-mirror</id> | |
| <name>GCS Maven Central mirror Asia Pacific</name> | |
| <url>https://maven-central-asia.storage-download.googleapis.com/maven2/</url> | |
| </pluginRepository> | |
| <pluginRepository> | |
| <releases> | |
| <enabled>true</enabled> | |
| </releases> | |
| <snapshots> | |
| <enabled>false</enabled> | |
| </snapshots> | |
| <id>central</id> | |
| <url>https://repo.maven.apache.org/maven2</url> | |
| </pluginRepository> | |
| </pluginRepositories> | |
| <build> | |
| <plugins> | |
| <!-- compile java --> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-compiler-plugin</artifactId> | |
| <version>3.14.1</version> | |
| <configuration> | |
| <source>${javaVersion}</source> | |
| <target>${javaVersion}</target> | |
| </configuration> | |
| </plugin> | |
| <!-- compile scala --> | |
| <plugin> | |
| <groupId>net.alchim31.maven</groupId> | |
| <artifactId>scala-maven-plugin</artifactId> | |
| <version>${maven.plugin.scala.version}</version> | |
| <configuration> | |
| <source>${javaVersion}</source> | |
| <target>${javaVersion}</target> | |
| <scalaVersion>${scalaLongVersion}</scalaVersion> | |
| <args> | |
| <arg>-deprecation</arg> | |
| <arg>-feature</arg> | |
| <arg>-Ywarn-unused</arg> | |
| <arg>-Xlint:_</arg> | |
| <arg>-Xfatal-warnings</arg> | |
| <arg>-Wconf:msg=method newInstance in class Class is deprecated:s</arg> | |
| <arg>-Wconf:msg=class ThreadDeath in package lang is deprecated:s</arg> | |
| <!-- Auron implements Spark plugin SPIs whose contracts use `private[spark]` types | |
| (e.g. ElementTrackingStore, SparkUI, IndexShuffleBlockResolver, | |
| ShuffleWriteMetricsReporter). Exposing them is required by Spark, not a defect. --> | |
| <arg>-Wconf:cat=lint-inaccessible:s</arg> | |
| </args> | |
| </configuration> | |
| <dependencies> | |
| <dependency> | |
| <groupId>com.google.code.findbugs</groupId> | |
| <artifactId>jsr305</artifactId> | |
| <version>2.0.2</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>io.netty</groupId> | |
| <artifactId>netty-all</artifactId> | |
| <version>${nettyVersion}</version> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>io.netty</groupId> | |
| <artifactId>netty-handler-ssl-ocsp</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| </dependencies> | |
| <executions> | |
| <execution> | |
| <id>scala-compile-first</id> | |
| <goals> | |
| <goal>compile</goal> | |
| </goals> | |
| <phase>process-resources</phase> | |
| </execution> | |
| <execution> | |
| <id>scala-test-compile</id> | |
| <goals> | |
| <goal>testCompile</goal> | |
| </goals> | |
| <phase>process-test-resources</phase> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-checkstyle-plugin</artifactId> | |
| <version>${checkstyle-plugin.version}</version> | |
| <configuration> | |
| <failOnViolation>true</failOnViolation> | |
| <includeTestSourceDirectory>true</includeTestSourceDirectory> | |
| <sourceDirectories> | |
| <directory>${project.basedir}/src/main/java</directory> | |
| <directory>${project.basedir}/src/main/scala</directory> | |
| </sourceDirectories> | |
| <testSourceDirectories> | |
| <directory>${project.basedir}/src/test/java</directory> | |
| </testSourceDirectories> | |
| <suppressionsLocation>${maven.multiModuleProjectDirectory}/dev/checkstyle-suppressions.xml</suppressionsLocation> | |
| <configLocation>${maven.multiModuleProjectDirectory}/dev/checkstyle.xml</configLocation> | |
| <outputFile>${project.basedir}/target/checkstyle-output.xml</outputFile> | |
| <inputEncoding>UTF-8</inputEncoding> | |
| <outputEncoding>UTF-8</outputEncoding> | |
| </configuration> | |
| <dependencies> | |
| <dependency> | |
| <groupId>com.puppycrawl.tools</groupId> | |
| <artifactId>checkstyle</artifactId> | |
| <version>8.29</version> | |
| </dependency> | |
| </dependencies> | |
| <executions> | |
| <execution> | |
| <goals> | |
| <goal>check</goal> | |
| </goals> | |
| <phase>validate</phase> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <!-- disable surefire globally, only enable it on pure Java modules --> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-surefire-plugin</artifactId> | |
| <version>${maven.plugin.surefire.version}</version> | |
| <!-- Note config is repeated in scalatest config --> | |
| <configuration> | |
| <forkCount>1</forkCount> | |
| <reuseForks>false</reuseForks> | |
| <skipTests>false</skipTests> | |
| <failIfNoSpecifiedTests>false</failIfNoSpecifiedTests> | |
| <argLine>${extraJavaTestArgs}</argLine> | |
| <environmentVariables /> | |
| <systemPropertyVariables> | |
| <log4j.configurationFile>file:src/test/resources/log4j2.properties</log4j.configurationFile> | |
| <java.io.tmpdir>${project.build.directory}/tmp</java.io.tmpdir> | |
| <spark.driver.memory>1g</spark.driver.memory> | |
| </systemPropertyVariables> | |
| </configuration> | |
| </plugin> | |
| <!-- enable scalatest --> | |
| <plugin> | |
| <groupId>org.scalatest</groupId> | |
| <artifactId>scalatest-maven-plugin</artifactId> | |
| <version>${maven.plugin.scalatest.version}</version> | |
| <!-- Note config is repeated in surefire config --> | |
| <configuration> | |
| <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory> | |
| <junitxml>.</junitxml> | |
| <filereports>TestSuite.txt</filereports> | |
| <forkMode>once</forkMode> | |
| <argLine>${extraJavaTestArgs}</argLine> | |
| <environmentVariables /> | |
| <systemProperties> | |
| <log4j.configurationFile>file:src/test/resources/log4j2.properties</log4j.configurationFile> | |
| <java.io.tmpdir>${project.build.directory}/tmp</java.io.tmpdir> | |
| <spark.driver.memory>1g</spark.driver.memory> | |
| </systemProperties> | |
| <tagsToExclude>${maven.plugin.scalatest.exclude.tags}</tagsToExclude> | |
| <tagsToInclude>${maven.plugin.scalatest.include.tags}</tagsToInclude> | |
| <debugForkedProcess>${maven.plugin.scalatest.debug.enabled}</debugForkedProcess> | |
| <debugArgLine>${debugArgLine}</debugArgLine> | |
| </configuration> | |
| <executions> | |
| <execution> | |
| <id>test</id> | |
| <goals> | |
| <goal>test</goal> | |
| </goals> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.scalastyle</groupId> | |
| <artifactId>scalastyle-maven-plugin</artifactId> | |
| <version>${maven.plugin.scalastyle.version}</version> | |
| <configuration> | |
| <verbose>false</verbose> | |
| <failOnViolation>true</failOnViolation> | |
| <includeTestSourceDirectory>false</includeTestSourceDirectory> | |
| <failOnWarning>false</failOnWarning> | |
| <sourceDirectory>${basedir}/src/main/scala</sourceDirectory> | |
| <testSourceDirectory>${basedir}/src/test/scala</testSourceDirectory> | |
| <configLocation>${maven.multiModuleProjectDirectory}/dev/scalastyle-config.xml</configLocation> | |
| <outputFile>${basedir}/target/scalastyle-output.xml</outputFile> | |
| <inputEncoding>${project.build.sourceEncoding}</inputEncoding> | |
| <outputEncoding>${project.reporting.outputEncoding}</outputEncoding> | |
| </configuration> | |
| <executions> | |
| <execution> | |
| <goals> | |
| <goal>check</goal> | |
| </goals> | |
| <phase>validate</phase> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.codehaus.mojo</groupId> | |
| <artifactId>flatten-maven-plugin</artifactId> | |
| <version>${maven.plugin.flatten.version}</version> | |
| <configuration> | |
| <flattenMode>oss</flattenMode> | |
| </configuration> | |
| <executions> | |
| <execution> | |
| <id>flatten</id> | |
| <goals> | |
| <goal>flatten</goal> | |
| </goals> | |
| <phase>process-resources</phase> | |
| </execution> | |
| <execution> | |
| <id>flatten.clean</id> | |
| <goals> | |
| <goal>clean</goal> | |
| </goals> | |
| <phase>clean</phase> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <!-- directory plugin --> | |
| <plugin> | |
| <groupId>org.commonjava.maven.plugins</groupId> | |
| <artifactId>directory-maven-plugin</artifactId> | |
| <version>0.1</version> | |
| <executions> | |
| <execution> | |
| <id>directories</id> | |
| <goals> | |
| <goal>highest-basedir</goal> | |
| </goals> | |
| <phase>initialize</phase> | |
| <configuration> | |
| <property>rootDir</property> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <!-- spotless --> | |
| <plugin> | |
| <groupId>com.diffplug.spotless</groupId> | |
| <artifactId>spotless-maven-plugin</artifactId> | |
| <version>${spotless.plugin.version}</version> | |
| <configuration> | |
| <java> | |
| <palantirJavaFormat /> | |
| <removeUnusedImports /> | |
| <licenseHeader> | |
| <file>${maven.multiModuleProjectDirectory}/dev/license-header</file> | |
| </licenseHeader> | |
| </java> | |
| <scala> | |
| <scalafmt> | |
| <version>${scalafmtVersion}</version> | |
| <file>${maven.multiModuleProjectDirectory}/scalafmt.conf</file> | |
| <scalaMajorVersion>${scalaVersion}</scalaMajorVersion> | |
| </scalafmt> | |
| <licenseHeader> | |
| <file>${maven.multiModuleProjectDirectory}/dev/license-header</file> | |
| </licenseHeader> | |
| </scala> | |
| <pom> | |
| <sortPom> | |
| <encoding>UTF-8</encoding> | |
| <lineSeparator>${line.separator}</lineSeparator> | |
| <expandEmptyElements>false</expandEmptyElements> | |
| <spaceBeforeCloseEmptyElement>true</spaceBeforeCloseEmptyElement> | |
| <keepBlankLines>true</keepBlankLines> | |
| <nrOfIndentSpace>2</nrOfIndentSpace> | |
| <indentBlankLines>false</indentBlankLines> | |
| <indentSchemaLocation>false</indentSchemaLocation> | |
| <predefinedSortOrder>recommended_2008_06</predefinedSortOrder> | |
| <sortOrderFile /> | |
| <sortDependencies /> | |
| <sortDependencyExclusions /> | |
| <sortPlugins /> | |
| <sortProperties>false</sortProperties> | |
| <sortModules>false</sortModules> | |
| <sortExecutions>false</sortExecutions> | |
| </sortPom> | |
| </pom> | |
| </configuration> | |
| <executions> | |
| <execution> | |
| <id>scalafix</id> | |
| <goals> | |
| <goal>apply</goal> | |
| </goals> | |
| <phase>validate</phase> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <!-- scalafix --> | |
| <plugin> | |
| <groupId>io.github.evis</groupId> | |
| <artifactId>scalafix-maven-plugin_${scalaVersion}</artifactId> | |
| <version>0.1.4_0.9.31</version> | |
| <configuration> | |
| <config>${maven.multiModuleProjectDirectory}/scalafix.conf</config> | |
| </configuration> | |
| <dependencies> | |
| <dependency> | |
| <groupId>com.nequissimus</groupId> | |
| <artifactId>sort-imports_${scalaVersion}</artifactId> | |
| <version>0.6.1</version> | |
| </dependency> | |
| </dependencies> | |
| <executions> | |
| <execution> | |
| <id>scalafix</id> | |
| <goals> | |
| <goal>scalafix</goal> | |
| </goals> | |
| <phase>prepare-package</phase> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.rat</groupId> | |
| <artifactId>apache-rat-plugin</artifactId> | |
| <inherited>true</inherited> | |
| <configuration> | |
| <excludeSubProjects>false</excludeSubProjects> | |
| <numUnapprovedLicenses>0</numUnapprovedLicenses> | |
| <licenseFamilies> | |
| <licenseFamily implementation="org.apache.rat.license.SimpleLicenseFamily"> | |
| <familyName>Apache License 2.0</familyName> | |
| </licenseFamily> | |
| </licenseFamilies> | |
| <excludesFile>.rat-excludes</excludesFile> | |
| </configuration> | |
| <executions> | |
| <execution> | |
| <goals> | |
| <goal>check</goal> | |
| </goals> | |
| <phase>verify</phase> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <!-- Configuring maven-enforcer-plugin to enforce Maven/Java versions and restrict imports --> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-enforcer-plugin</artifactId> | |
| <version>${maven-enforcer-plugin.version}</version> | |
| <configuration> | |
| <rules> | |
| <requireMavenVersion> | |
| <version>[3.0.2,)</version> | |
| </requireMavenVersion> | |
| <requireJavaVersion> | |
| <version>[1.8,)</version> | |
| </requireJavaVersion> | |
| </rules> | |
| </configuration> | |
| <dependencies> | |
| <dependency> | |
| <groupId>de.skuzzle.enforcer</groupId> | |
| <artifactId>restrict-imports-enforcer-rule</artifactId> | |
| <version>${restrict-imports.enforcer.version}</version> | |
| </dependency> | |
| </dependencies> | |
| <executions> | |
| <execution> | |
| <id>banned-illegal-imports</id> | |
| <goals> | |
| <goal>enforce</goal> | |
| </goals> | |
| <phase>process-sources</phase> | |
| <configuration> | |
| <rules> | |
| <restrictImports> | |
| <includeTestCode>true</includeTestCode> | |
| <reason>Use JUnit5</reason> | |
| <bannedImports> | |
| <bannedImport>org.junit.**</bannedImport> | |
| </bannedImports> | |
| <allowedImports> | |
| <allowedImport>org.junit.jupiter.**</allowedImport> | |
| <allowedImport>org.junit.platform.**</allowedImport> | |
| </allowedImports> | |
| </restrictImports> | |
| </rules> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| <profiles> | |
| <profile> | |
| <id>release</id> | |
| <properties> | |
| <releaseMode>release</releaseMode> | |
| <buildNativeWithRelease>true</buildNativeWithRelease> | |
| <buildWithFeatures /> | |
| </properties> | |
| </profile> | |
| <profile> | |
| <id>release-with-jemalloc-pprof</id> | |
| <properties> | |
| <releaseMode>release</releaseMode> | |
| <buildNativeWithRelease>true</buildNativeWithRelease> | |
| <buildWithFeatures>jemalloc-pprof</buildWithFeatures> | |
| </properties> | |
| </profile> | |
| <profile> | |
| <id>pre</id> | |
| <properties> | |
| <releaseMode>pre</releaseMode> | |
| <buildNativeWithRelease>false</buildNativeWithRelease> | |
| <buildWithFeatures /> | |
| </properties> | |
| </profile> | |
| <profile> | |
| <id>spark-3.0</id> | |
| <properties> | |
| <shimName>spark-3.0</shimName> | |
| <scalaTestVersion>3.0.8</scalaTestVersion> | |
| <sparkVersion>3.0.3</sparkVersion> | |
| <parquetVersion>1.10.1</parquetVersion> | |
| <shortSparkVersion>3.0</shortSparkVersion> | |
| <nettyVersion>4.1.47.Final</nettyVersion> | |
| </properties> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-enforcer-plugin</artifactId> | |
| <version>${maven-enforcer-plugin.version}</version> | |
| <executions> | |
| <execution> | |
| <id>spark30-disallow-iceberg</id> | |
| <goals> | |
| <goal>enforce</goal> | |
| </goals> | |
| <configuration> | |
| <rules> | |
| <requireProperty> | |
| <property>icebergEnabled</property> | |
| <regex>false</regex> | |
| <regexMessage>Spark 3.0 is not supported for Iceberg. Use Spark 3.4-4.0 or disable icebergEnabled.</regexMessage> | |
| </requireProperty> | |
| </rules> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </profile> | |
| <profile> | |
| <id>spark-3.1</id> | |
| <properties> | |
| <shimName>spark-3.1</shimName> | |
| <scalaTestVersion>3.2.9</scalaTestVersion> | |
| <sparkVersion>3.1.3</sparkVersion> | |
| <parquetVersion>1.10.1</parquetVersion> | |
| <shortSparkVersion>3.1</shortSparkVersion> | |
| <nettyVersion>4.1.51.Final</nettyVersion> | |
| </properties> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-enforcer-plugin</artifactId> | |
| <version>${maven-enforcer-plugin.version}</version> | |
| <executions> | |
| <execution> | |
| <id>spark31-disallow-iceberg</id> | |
| <goals> | |
| <goal>enforce</goal> | |
| </goals> | |
| <configuration> | |
| <rules> | |
| <requireProperty> | |
| <property>icebergEnabled</property> | |
| <regex>false</regex> | |
| <regexMessage>Spark 3.1 is not supported for Iceberg. Use Spark 3.4-4.0 or disable icebergEnabled.</regexMessage> | |
| </requireProperty> | |
| </rules> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </profile> | |
| <profile> | |
| <id>spark-3.2</id> | |
| <properties> | |
| <shimName>spark-3.2</shimName> | |
| <scalaTestVersion>3.2.9</scalaTestVersion> | |
| <sparkVersion>3.2.4</sparkVersion> | |
| <parquetVersion>1.12.2</parquetVersion> | |
| <shortSparkVersion>3.2</shortSparkVersion> | |
| <nettyVersion>4.1.68.Final</nettyVersion> | |
| </properties> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-enforcer-plugin</artifactId> | |
| <version>${maven-enforcer-plugin.version}</version> | |
| <executions> | |
| <execution> | |
| <id>spark32-disallow-iceberg</id> | |
| <goals> | |
| <goal>enforce</goal> | |
| </goals> | |
| <configuration> | |
| <rules> | |
| <requireProperty> | |
| <property>icebergEnabled</property> | |
| <regex>false</regex> | |
| <regexMessage>Spark 3.2 is not supported for Iceberg. Use Spark 3.4-4.0 or disable icebergEnabled.</regexMessage> | |
| </requireProperty> | |
| </rules> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </profile> | |
| <profile> | |
| <id>spark-3.3</id> | |
| <properties> | |
| <shimName>spark-3.3</shimName> | |
| <scalaTestVersion>3.2.9</scalaTestVersion> | |
| <sparkVersion>3.3.4</sparkVersion> | |
| <parquetVersion>1.12.2</parquetVersion> | |
| <shortSparkVersion>3.3</shortSparkVersion> | |
| <nettyVersion>4.1.74.Final</nettyVersion> | |
| </properties> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-enforcer-plugin</artifactId> | |
| <version>${maven-enforcer-plugin.version}</version> | |
| <executions> | |
| <execution> | |
| <id>spark33-disallow-iceberg</id> | |
| <goals> | |
| <goal>enforce</goal> | |
| </goals> | |
| <configuration> | |
| <rules> | |
| <requireProperty> | |
| <property>icebergEnabled</property> | |
| <regex>false</regex> | |
| <regexMessage>Spark 3.3 is not supported for Iceberg. Use Spark 3.4-4.0 or disable icebergEnabled.</regexMessage> | |
| </requireProperty> | |
| </rules> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </profile> | |
| <profile> | |
| <id>spark-3.4</id> | |
| <properties> | |
| <shimName>spark-3.4</shimName> | |
| <scalaTestVersion>3.2.9</scalaTestVersion> | |
| <sparkVersion>3.4.4</sparkVersion> | |
| <parquetVersion>1.12.3</parquetVersion> | |
| <shortSparkVersion>3.4</shortSparkVersion> | |
| <nettyVersion>4.1.87.Final</nettyVersion> | |
| <icebergVersion>1.10.1</icebergVersion> | |
| </properties> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-enforcer-plugin</artifactId> | |
| <version>${maven-enforcer-plugin.version}</version> | |
| <executions> | |
| <execution> | |
| <id>spark34-enforce-iceberg-version</id> | |
| <goals> | |
| <goal>enforce</goal> | |
| </goals> | |
| <configuration> | |
| <rules> | |
| <requireProperty> | |
| <property>icebergVersion</property> | |
| <regex>1\.10\.1</regex> | |
| <regexMessage>Spark 3.4 requires Iceberg 1.10.1. Current: ${icebergVersion}</regexMessage> | |
| </requireProperty> | |
| </rules> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </profile> | |
| <profile> | |
| <id>spark-3.5</id> | |
| <properties> | |
| <shimName>spark-3.5</shimName> | |
| <scalaTestVersion>3.2.9</scalaTestVersion> | |
| <sparkVersion>3.5.8</sparkVersion> | |
| <parquetVersion>1.13.1</parquetVersion> | |
| <shortSparkVersion>3.5</shortSparkVersion> | |
| <nettyVersion>4.1.96.Final</nettyVersion> | |
| <icebergVersion>1.10.1</icebergVersion> | |
| </properties> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-enforcer-plugin</artifactId> | |
| <version>${maven-enforcer-plugin.version}</version> | |
| <executions> | |
| <execution> | |
| <id>spark35-enforce-iceberg-version</id> | |
| <goals> | |
| <goal>enforce</goal> | |
| </goals> | |
| <configuration> | |
| <rules> | |
| <requireProperty> | |
| <property>icebergVersion</property> | |
| <regex>1\.10\.1</regex> | |
| <regexMessage>Spark 3.5 requires Iceberg 1.10.1. Current: ${icebergVersion}</regexMessage> | |
| </requireProperty> | |
| </rules> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </profile> | |
| <profile> | |
| <id>spark-4.0</id> | |
| <properties> | |
| <shimName>spark-4.0</shimName> | |
| <scalaTestVersion>3.2.9</scalaTestVersion> | |
| <sparkVersion>4.0.2</sparkVersion> | |
| <parquetVersion>1.15.2</parquetVersion> | |
| <shortSparkVersion>4.0</shortSparkVersion> | |
| <nettyVersion>4.1.111.Final</nettyVersion> | |
| <icebergVersion>1.10.1</icebergVersion> | |
| </properties> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-enforcer-plugin</artifactId> | |
| <version>${maven-enforcer-plugin.version}</version> | |
| <executions> | |
| <execution> | |
| <id>spark40-enforce-java-scala-version</id> | |
| <goals> | |
| <goal>enforce</goal> | |
| </goals> | |
| <configuration> | |
| <rules> | |
| <!-- Spark 4.0 requires JDK 17+ and Scala 2.13.x --> | |
| <requireJavaVersion> | |
| <version>[17,)</version> | |
| <message>Spark 4.0 requires JDK 17 or higher. Current: ${java.version}</message> | |
| </requireJavaVersion> | |
| <requireProperty> | |
| <property>scalaLongVersion</property> | |
| <regex>2\.13\.\d+</regex> | |
| <regexMessage>Spark 4.0 requires Scala 2.13.x. Current: ${scalaLongVersion}</regexMessage> | |
| </requireProperty> | |
| </rules> | |
| </configuration> | |
| </execution> | |
| <execution> | |
| <id>spark40-enforce-iceberg-version</id> | |
| <goals> | |
| <goal>enforce</goal> | |
| </goals> | |
| <configuration> | |
| <rules> | |
| <requireProperty> | |
| <property>icebergVersion</property> | |
| <regex>1\.10\.1</regex> | |
| <regexMessage>Spark 4.0 requires Iceberg 1.10.1. Current: ${icebergVersion}</regexMessage> | |
| </requireProperty> | |
| </rules> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </profile> | |
| <profile> | |
| <id>spark-4.1</id> | |
| <properties> | |
| <shimName>spark-4.1</shimName> | |
| <scalaTestVersion>3.2.9</scalaTestVersion> | |
| <sparkVersion>4.1.1</sparkVersion> | |
| <parquetVersion>1.16.0</parquetVersion> | |
| <shortSparkVersion>4.1</shortSparkVersion> | |
| <nettyVersion>4.1.118.Final</nettyVersion> | |
| </properties> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-enforcer-plugin</artifactId> | |
| <version>${maven-enforcer-plugin.version}</version> | |
| <executions> | |
| <execution> | |
| <id>spark41-enforce-java-scala-version</id> | |
| <goals> | |
| <goal>enforce</goal> | |
| </goals> | |
| <configuration> | |
| <rules> | |
| <!-- Spark 4.1 requires JDK 17+ and Scala 2.13.x --> | |
| <requireJavaVersion> | |
| <version>[17,)</version> | |
| <message>Spark 4.1 requires JDK 17 or higher. Current: ${java.version}</message> | |
| </requireJavaVersion> | |
| <requireProperty> | |
| <property>scalaLongVersion</property> | |
| <regex>2\.13\.\d+</regex> | |
| <regexMessage>Spark 4.1 requires Scala 2.13.x. Current: ${scalaLongVersion}</regexMessage> | |
| </requireProperty> | |
| </rules> | |
| </configuration> | |
| </execution> | |
| <execution> | |
| <id>spark41-disallow-iceberg</id> | |
| <goals> | |
| <goal>enforce</goal> | |
| </goals> | |
| <configuration> | |
| <rules> | |
| <requireProperty> | |
| <property>icebergEnabled</property> | |
| <regex>false</regex> | |
| <regexMessage>Spark 4.1 is not supported for Iceberg. Use Spark 3.4-4.0 or disable icebergEnabled.</regexMessage> | |
| </requireProperty> | |
| </rules> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </profile> | |
| <profile> | |
| <id>spark-4.2</id> | |
| <properties> | |
| <shimName>spark-4.2</shimName> | |
| <scalaTestVersion>3.2.9</scalaTestVersion> | |
| <sparkVersion>4.2.0</sparkVersion> | |
| <parquetVersion>1.17.0</parquetVersion> | |
| <shortSparkVersion>4.2</shortSparkVersion> | |
| <nettyVersion>4.2.13.Final</nettyVersion> | |
| </properties> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-enforcer-plugin</artifactId> | |
| <version>${maven-enforcer-plugin.version}</version> | |
| <executions> | |
| <execution> | |
| <id>spark42-enforce-java-scala-version</id> | |
| <goals> | |
| <goal>enforce</goal> | |
| </goals> | |
| <configuration> | |
| <rules> | |
| <!-- Spark 4.2 requires JDK 17+ and Scala 2.13.x --> | |
| <requireJavaVersion> | |
| <version>[17,)</version> | |
| <message>Spark 4.2 requires JDK 17 or higher. Current: ${java.version}</message> | |
| </requireJavaVersion> | |
| <requireProperty> | |
| <property>scalaLongVersion</property> | |
| <regex>2\.13\.\d+</regex> | |
| <regexMessage>Spark 4.2 requires Scala 2.13.x. Current: ${scalaLongVersion}</regexMessage> | |
| </requireProperty> | |
| </rules> | |
| </configuration> | |
| </execution> | |
| <execution> | |
| <id>spark42-disallow-iceberg</id> | |
| <goals> | |
| <goal>enforce</goal> | |
| </goals> | |
| <configuration> | |
| <rules> | |
| <requireProperty> | |
| <property>icebergEnabled</property> | |
| <regex>false</regex> | |
| <regexMessage>Spark 4.2 is not supported for Iceberg. Use Spark 3.4-4.0 or disable icebergEnabled.</regexMessage> | |
| </requireProperty> | |
| </rules> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </profile> | |
| <profile> | |
| <id>jdk-8</id> | |
| <activation> | |
| <jdk>1.8</jdk> | |
| </activation> | |
| <properties> | |
| <javaVersion>8</javaVersion> | |
| <spotless.plugin.version>2.30.0</spotless.plugin.version> | |
| </properties> | |
| </profile> | |
| <profile> | |
| <id>jdk-11</id> | |
| <activation> | |
| <jdk>11</jdk> | |
| </activation> | |
| <properties> | |
| <javaVersion>11</javaVersion> | |
| <spotless.plugin.version>2.30.0</spotless.plugin.version> | |
| </properties> | |
| </profile> | |
| <profile> | |
| <id>jdk-17</id> | |
| <activation> | |
| <jdk>17</jdk> | |
| </activation> | |
| <properties> | |
| <javaVersion>17</javaVersion> | |
| <spotless.plugin.version>2.45.0</spotless.plugin.version> | |
| </properties> | |
| </profile> | |
| <profile> | |
| <id>jdk-21</id> | |
| <activation> | |
| <jdk>21</jdk> | |
| </activation> | |
| <properties> | |
| <javaVersion>21</javaVersion> | |
| <spotless.plugin.version>2.45.0</spotless.plugin.version> | |
| </properties> | |
| </profile> | |
| <profile> | |
| <id>scala-2.12</id> | |
| <activation> | |
| <property> | |
| <name>scalaVersion</name> | |
| <value>2.12</value> | |
| </property> | |
| </activation> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>net.alchim31.maven</groupId> | |
| <artifactId>scala-maven-plugin</artifactId> | |
| <configuration> | |
| <compilerPlugins> | |
| <compilerPlugin> | |
| <groupId>org.scalameta</groupId> | |
| <artifactId>semanticdb-scalac_${scalaLongVersion}</artifactId> | |
| <version>${semanticdb.version}</version> | |
| </compilerPlugin> | |
| <compilerPlugin> | |
| <groupId>org.scalamacros</groupId> | |
| <artifactId>paradise_${scalaLongVersion}</artifactId> | |
| <version>${scalamacros.paradise.version}</version> | |
| </compilerPlugin> | |
| </compilerPlugins> | |
| </configuration> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </profile> | |
| <profile> | |
| <id>scala-2.13</id> | |
| <activation> | |
| <property> | |
| <name>scalaVersion</name> | |
| <value>2.13</value> | |
| </property> | |
| </activation> | |
| <properties> | |
| <scalaVersion>2.13</scalaVersion> | |
| <scalaLongVersion>2.13.17</scalaLongVersion> | |
| </properties> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>net.alchim31.maven</groupId> | |
| <artifactId>scala-maven-plugin</artifactId> | |
| <configuration> | |
| <args> | |
| <arg>-deprecation</arg> | |
| <arg>-feature</arg> | |
| <arg>-Ywarn-unused</arg> | |
| <!-- https://github.com/scalamacros/paradise is no longer actively developed. --> | |
| <!-- In Scala 2.13, the plugin's functionality has been included in the compiler --> | |
| <!-- directly under the -Ymacro-annotations flag. --> | |
| <arg>-Ymacro-annotations</arg> | |
| <arg>-Xlint:_</arg> | |
| <arg>-Xfatal-warnings</arg> | |
| <arg>-Wconf:cat=deprecation:wv,any:e</arg> | |
| <arg>-Wconf:cat=other-nullary-override:s</arg> | |
| <arg>-Wconf:msg=^(?=.*?method|value|type|object|trait|inheritance)(?=.*?deprecated)(?=.*?since 2.13).+$:s</arg> | |
| <arg>-Wconf:msg=Auto-application to \`\(\)\` is deprecated:s</arg> | |
| <arg>-Wconf:msg=object JavaConverters in package collection is deprecated:s</arg> | |
| <arg>-Wconf:msg=method newInstance in class Class is deprecated:s</arg> | |
| <arg>-Wconf:msg=class ThreadDeath in package lang is deprecated:s</arg> | |
| <arg>-Wconf:cat=unchecked&msg=outer reference:s</arg> | |
| <arg>-Wconf:cat=unchecked&msg=eliminated by erasure:s</arg> | |
| <arg>-Wconf:cat=unused-nowarn:s</arg> | |
| <arg>-Wconf:msg=early initializers are deprecated:s</arg> | |
| <arg>-Wconf:cat=other-match-analysis:s</arg> | |
| <arg>-Wconf:cat=feature-existentials:s</arg> | |
| <!-- See note in base profile: Spark plugin SPIs require exposing `private[spark]` types. --> | |
| <arg>-Wconf:cat=lint-inaccessible:s</arg> | |
| </args> | |
| <compilerPlugins> | |
| <compilerPlugin> | |
| <groupId>org.scalameta</groupId> | |
| <artifactId>semanticdb-scalac_${scalaLongVersion}</artifactId> | |
| <version>${semanticdb.version}</version> | |
| </compilerPlugin> | |
| </compilerPlugins> | |
| </configuration> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </profile> | |
| <profile> | |
| <id>celeborn-0.5</id> | |
| <modules> | |
| <module>thirdparty/auron-celeborn-0.5</module> | |
| </modules> | |
| <properties> | |
| <celebornVersion>0.5.4</celebornVersion> | |
| </properties> | |
| </profile> | |
| <profile> | |
| <id>celeborn-0.6</id> | |
| <modules> | |
| <module>thirdparty/auron-celeborn-0.6</module> | |
| </modules> | |
| <properties> | |
| <celebornVersion>0.6.3</celebornVersion> | |
| </properties> | |
| </profile> | |
| <profile> | |
| <id>uniffle-0.10</id> | |
| <modules> | |
| <module>thirdparty/auron-uniffle</module> | |
| </modules> | |
| <properties> | |
| <uniffleVersion>0.10.0</uniffleVersion> | |
| </properties> | |
| </profile> | |
| <profile> | |
| <id>paimon-1.2</id> | |
| <modules> | |
| <module>thirdparty/auron-paimon</module> | |
| </modules> | |
| <properties> | |
| <paimonVersion>1.2.0</paimonVersion> | |
| </properties> | |
| </profile> | |
| <profile> | |
| <id>hudi-0.15</id> | |
| <modules> | |
| <module>thirdparty/auron-hudi</module> | |
| </modules> | |
| <properties> | |
| <hudiVersion>0.15.0</hudiVersion> | |
| </properties> | |
| </profile> | |
| <profile> | |
| <id>flink-1.18</id> | |
| <modules> | |
| <module>auron-flink-extension</module> | |
| </modules> | |
| <properties> | |
| <flink.version>1.18.1</flink.version> | |
| </properties> | |
| </profile> | |
| <profile> | |
| <id>iceberg-1.10.1</id> | |
| <modules> | |
| <module>thirdparty/auron-iceberg</module> | |
| </modules> | |
| <properties> | |
| <icebergEnabled>true</icebergEnabled> | |
| </properties> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-enforcer-plugin</artifactId> | |
| <version>${maven-enforcer-plugin.version}</version> | |
| <executions> | |
| <execution> | |
| <id>iceberg-enforce-version</id> | |
| <goals> | |
| <goal>enforce</goal> | |
| </goals> | |
| <configuration> | |
| <rules> | |
| <requireProperty> | |
| <property>icebergVersion</property> | |
| <regex>1\.10\.1</regex> | |
| <regexMessage>Iceberg integration supports only Iceberg 1.10.1. Current: ${icebergVersion}</regexMessage> | |
| </requireProperty> | |
| </rules> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </profile> | |
| <profile> | |
| <id>spark-tests</id> | |
| <modules> | |
| <module>auron-spark-tests</module> | |
| </modules> | |
| </profile> | |
| </profiles> | |
| </project> |