/
githubmirror
/
spark
Обзор
Документация
Войти
/
githubmirror
/
spark
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
pom.xml
3 766 строк
135 KB
Uros Bojanic
[SPARK-58663][BUILD] Fix typos and grammar in root pom.xml comments
10 авг 2026, 07:30
10 авг 2026, 07:30
2d14781
Код
Авторство
О чём код?
<?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>34</version> </parent> <groupId>org.apache.spark</groupId> <artifactId>spark-parent_2.13</artifactId> <version>5.0.0-SNAPSHOT</version> <packaging>pom</packaging> <name>Spark Project Parent POM</name> <url>https://spark.apache.org/</url> <licenses> <license> <name>Apache-2.0</name> <url>https://www.apache.org/licenses/LICENSE-2.0.html</url> <distribution>repo</distribution> </license> </licenses> <scm> <connection>scm:git:git@github.com:apache/spark.git</connection> <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/spark.git</developerConnection> <url>scm:git:git@github.com:apache/spark.git</url> <tag>HEAD</tag> </scm> <organization> <name>Apache Software Foundation</name> <url>https://www.apache.org</url> </organization> <issueManagement> <system>JIRA</system> <url>https://issues.apache.org/jira/browse/SPARK</url> </issueManagement> <mailingLists> <mailingList> <name>Dev Mailing List</name> <post>dev@spark.apache.org</post> <subscribe>dev-subscribe@spark.apache.org</subscribe> <unsubscribe>dev-unsubscribe@spark.apache.org</unsubscribe> </mailingList> <mailingList> <name>User Mailing List</name> <post>user@spark.apache.org</post> <subscribe>user-subscribe@spark.apache.org</subscribe> <unsubscribe>user-unsubscribe@spark.apache.org</unsubscribe> </mailingList> <mailingList> <name>Commits Mailing List</name> <post>commits@spark.apache.org</post> <subscribe>commits-subscribe@spark.apache.org</subscribe> <unsubscribe>commits-unsubscribe@spark.apache.org</unsubscribe> </mailingList> </mailingLists> <modules> <module>common/sketch</module> <module>common/kvstore</module> <module>common/network-common</module> <module>common/network-shuffle</module> <module>common/unsafe</module> <module>common/utils</module> <module>common/utils-java</module> <module>common/variant</module> <module>common/tags</module> <module>common/config</module> <module>sql/connect/shims</module> <module>core</module> <module>graphx</module> <module>mllib</module> <module>mllib-local</module> <module>tools</module> <module>streaming</module> <module>sql/api</module> <module>sql/catalyst</module> <module>sql/core</module> <module>sql/hive</module> <module>sql/pipelines</module> <module>sql/connect/server</module> <module>sql/connect/common</module> <module>sql/connect/client/jdbc</module> <module>sql/connect/client/jvm</module> <module>assembly</module> <module>examples</module> <module>repl</module> <module>launcher</module> <module>connector/kafka-0-10-token-provider</module> <module>connector/kafka-0-10</module> <module>connector/kafka-0-10-assembly</module> <module>connector/kafka-0-10-sql</module> <module>connector/avro</module> <module>connector/protobuf</module> <module>udf/worker/proto</module> <module>udf/worker/core</module> <module>udf/worker/grpc</module> <!-- See additional modules enabled by profiles below --> </modules> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <java.version>17</java.version> <java.minimum.version>17.0.11</java.minimum.version> <maven.compiler.release>${java.version}</maven.compiler.release> <maven.version>3.9.16</maven.version> <exec-maven-plugin.version>3.6.1</exec-maven-plugin.version> <sbt.project.name>spark</sbt.project.name> <asm.version>9.10.1</asm.version> <slf4j.version>2.0.17</slf4j.version> <log4j.version>2.26.0</log4j.version> <!-- make sure to update IsolatedClientLoader whenever this version is changed --> <hadoop.version>3.5.0</hadoop.version> <!-- SPARK-41247: When updating `protobuf.version`, also need to update `protoVersion` in `SparkBuild.scala` --> <protobuf.version>4.33.5</protobuf.version> <protoc-jar-maven-plugin.version>3.11.4</protoc-jar-maven-plugin.version> <zookeeper.version>3.9.5</zookeeper.version> <curator.version>5.9.0</curator.version> <hive.group>org.apache.hive</hive.group> <hive.classifier>core</hive.classifier> <!-- Version used in Maven Hive dependency --> <hive.version>2.3.10</hive.version> <!-- note that this should be compatible with Kafka brokers version 0.10 and up --> <kafka.version>3.9.2</kafka.version> <!-- After 10.17.1.0, the minimum required version is JDK19 --> <derby.version>10.16.1.1</derby.version> <parquet.version>1.17.1</parquet.version> <orc.version>2.3.1</orc.version> <orc.classifier>shaded-protobuf</orc.classifier> <jetty.version>12.1.11</jetty.version> <jakartaservlet.version>6.0.0</jakartaservlet.version> <!-- SPARK-46938: Required by Hive / LibThrift libs --> <javaxservlet.version>4.0.1</javaxservlet.version> <chill.version>0.10.0</chill.version> <kryo.version>4.0.3</kryo.version> <ivy.version>2.5.3</ivy.version> <oro.version>2.0.8</oro.version> <!-- If you change codahale.metrics.version, you also need to change the link to metrics.dropwizard.io in docs/monitoring.md. --> <codahale.metrics.version>4.2.37</codahale.metrics.version> <!-- Should be consistent with SparkBuild.scala and docs --> <avro.version>1.12.1</avro.version> <aws.kinesis.client.version>2.7.2</aws.kinesis.client.version> <!-- Should be consistent with Kinesis client dependency --> <aws.java.sdk.v2.version>2.35.4</aws.java.sdk.v2.version> <!-- the producer is used in tests --> <aws.kinesis.producer.version>1.0.6</aws.kinesis.producer.version> <analyticsaccelerator-s3.version>1.3.1</analyticsaccelerator-s3.version> <!-- org.apache.httpcomponents/httpclient--> <commons.httpclient.version>4.5.14</commons.httpclient.version> <commons.httpcore.version>4.4.16</commons.httpcore.version> <commons.math3.version>3.6.1</commons.math3.version> <commons.collections4.version>4.5.0</commons.collections4.version> <scala.version>2.13.18</scala.version> <scala.binary.version>2.13</scala.binary.version> <scalatest-maven-plugin.version>2.2.0</scalatest-maven-plugin.version> <scala-maven-plugin.version>4.9.10</scala-maven-plugin.version> <maven.scaladoc.skip>false</maven.scaladoc.skip> <versions-maven-plugin.version>2.21.0</versions-maven-plugin.version> <!-- for now, not running scalafmt as part of default verify pipeline --> <scalafmt.skip>true</scalafmt.skip> <scalafmt.validateOnly>true</scalafmt.validateOnly> <scalafmt.changedOnly>true</scalafmt.changedOnly> <!-- Should be consistent with SparkBuild.scala and docs --> <fasterxml.jackson.version>2.22.0</fasterxml.jackson.version> <ws.xmlschema.version>2.3.1</ws.xmlschema.version> <snappy.version>1.1.10.8</snappy.version> <netlib.ludovic.dev.version>3.2.0</netlib.ludovic.dev.version> <commons-codec.version>1.22.0</commons-codec.version> <commons-compress.version>1.28.0</commons-compress.version> <commons-io.version>2.22.0</commons-io.version> <!-- To support Hive UDF jars built by Hive 2.0.0 ~ 2.3.9 and 3.0.0 ~ 3.1.3. --> <commons-lang2.version>2.6</commons-lang2.version> <!-- org.apache.commons/commons-lang3/--> <commons-lang3.version>3.20.0</commons-lang3.version> <!-- org.apache.commons/commons-pool2/--> <commons-pool2.version>2.13.1</commons-pool2.version> <datanucleus-core.version>4.1.17</datanucleus-core.version> <guava.version>33.6.0-jre</guava.version> <guava.failureaccess.version>1.0.3</guava.failureaccess.version> <gson.version>2.14.0</gson.version> <janino.version>3.1.9</janino.version> <jersey.version>3.1.11</jersey.version> <joda.version>2.14.3</joda.version> <jsr305.version>3.0.0</jsr305.version> <jaxb.version>2.2.11</jaxb.version> <libthrift.version>0.16.0</libthrift.version> <antlr4.version>4.13.1</antlr4.version> <jpam.version>1.1</jpam.version> <selenium.version>4.32.0</selenium.version> <htmlunit3-driver.version>4.32.0</htmlunit3-driver.version> <maven-antrun.version>3.1.0</maven-antrun.version> <commons-crypto.version>1.1.0</commons-crypto.version> <commons-cli.version>1.11.0</commons-cli.version> <bouncycastle.version>1.84</bouncycastle.version> <tink.version>1.23.0</tink.version> <!-- TODO: Once upgrade datasketches to a version that supports Java 25, SPARK-53327 workaround should be reverted. --> <datasketches.version>6.2.0</datasketches.version> <netty.version>4.2.17.Final</netty.version> <netty-tcnative.version>2.0.81.Final</netty-tcnative.version> <icu4j.version>78.3</icu4j.version> <junit.version>6.0.3</junit.version> <jline.version>2.14.6</jline.version> <!-- SPARK-50299: When updating `sbt-jupiter-interface.version`, also need to update the version in `SparkBuild.scala` and `plugins.sbt`. --> <sbt-jupiter-interface.version>0.17.0</sbt-jupiter-interface.version> <!-- If you are changing Arrow version specification, please check ./python/pyspark/sql/pandas/utils.py, ./python/packaging/classic/setup.py, ./python/packaging/client/setup.py, and ./python/packaging/connect/setup.py too. --> <arrow.version>19.0.0</arrow.version> <ammonite.version>3.0.9</ammonite.version> <jjwt.version>0.13.0</jjwt.version> <!-- org.fusesource.leveldbjni will be used except on arm64 platform. --> <leveldbjni.group>org.fusesource.leveldbjni</leveldbjni.group> <kubernetes-client.version>7.8.0</kubernetes-client.version> <vertx.version>4.5.28</vertx.version> <xz.version>1.12</xz.version> <test.java.home>${java.home}</test.java.home> <!-- SPARK-51558: During the testing process, the env `OBJC_DISABLE_INITIALIZE_FORK_SAFETY` is automatically set, with a default value of `NO`. When testing on macOS, it will be automatically set to `YES`. --> <test.objc.disable.initialize.fork.safety>NO</test.objc.disable.initialize.fork.safety> <!-- Some UI tests require Chrome and Chrome driver installed so those tests are disabled by default. --> <test.default.exclude.tags>org.apache.spark.tags.ChromeUITest</test.default.exclude.tags> <test.exclude.tags></test.exclude.tags> <test.include.tags></test.include.tags> <test.jdwp.address>localhost:0</test.jdwp.address> <test.jdwp.suspend>y</test.jdwp.suspend> <test.jdwp.server>y</test.jdwp.server> <test.debug.suite>false</test.debug.suite> <!-- Package to use when relocating shaded classes. --> <spark.shade.packageName>org.sparkproject</spark.shade.packageName> <!-- Modules that copy jars to the build directory should do so under this location. --> <jars.target.dir>${project.build.directory}/scala-${scala.binary.version}/jars</jars.target.dir> <!-- Allow modules to enable / disable certain build plugins easily. --> <build.testJarPhase>prepare-package</build.testJarPhase> <build.copyDependenciesPhase>none</build.copyDependenciesPhase> <!-- Dependency scopes that can be overridden by enabling certain profiles. These profiles are declared in the projects that build assemblies. For other projects the scope should remain as "compile", otherwise they are not available during compilation if the dependency is transitive (e.g. "graphx/" depending on "core/" and needing Hadoop classes in the classpath to compile). --> <derby.deps.scope>compile</derby.deps.scope> <hadoop.deps.scope>compile</hadoop.deps.scope> <hive.deps.scope>compile</hive.deps.scope> <hive.storage.version>2.8.1</hive.storage.version> <hive.storage.scope>compile</hive.storage.scope> <hive.common.scope>compile</hive.common.scope> <hive.llap.scope>test</hive.llap.scope> <hive.serde.scope>compile</hive.serde.scope> <hive.shims.scope>compile</hive.shims.scope> <orc.deps.scope>compile</orc.deps.scope> <parquet.deps.scope>compile</parquet.deps.scope> <parquet.test.deps.scope>test</parquet.test.deps.scope> <jjwt.deps.scope>compile</jjwt.deps.scope> <spark.yarn.isHadoopProvided>false</spark.yarn.isHadoopProvided> <!-- Overridable test home. So that you can call individual pom files directly without things breaking. --> <spark.test.home>${session.executionRootDirectory}</spark.test.home> <spark.test.webdriver.chrome.driver></spark.test.webdriver.chrome.driver> <spark.test.docker.keepContainer>false</spark.test.docker.keepContainer> <spark.test.docker.removePulledImage>true</spark.test.docker.removePulledImage> <!-- Version used in Connect --> <io.grpc.version>1.76.0</io.grpc.version> <mima.version>1.1.4</mima.version> <!-- Version used in Profiler --> <ap-loader.version>4.5-13</ap-loader.version> <CodeCacheSize>128m</CodeCacheSize> <!-- Needed for consistent times --> <maven.build.timestamp.format>yyyy-MM-dd HH:mm:ss z</maven.build.timestamp.format> <!-- SPARK-36796 for JDK-17 test--> <extraJavaTestArgs> -XX:+IgnoreUnrecognizedVMOptions --add-modules=jdk.incubator.vector --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.util.calendar=ALL-UNNAMED -Dio.netty.tryReflectionSetAccessible=true -Dio.netty.allocator.type=pooled -Dio.netty.handler.ssl.defaultEndpointVerificationAlgorithm=NONE --sun-misc-unsafe-memory-access=allow --enable-native-access=ALL-UNNAMED -XX:+EnableDynamicAgentLoading </extraJavaTestArgs> <mariadb.java.client.version>3.5.7</mariadb.java.client.version> <mysql.connector.version>9.6.0</mysql.connector.version> <postgresql.version>42.7.13</postgresql.version> <db2.jcc.version>12.1.4.0</db2.jcc.version> <mssql.jdbc.version>13.2.1.jre11</mssql.jdbc.version> <ojdbc17.version>23.26.1.0.0</ojdbc17.version> <databricks.jdbc.version>3.3.1</databricks.jdbc.version> <snowflake.jdbc.version>4.1.0</snowflake.jdbc.version> <terajdbc.version>20.00.00.39</terajdbc.version> <!-- Used for SBT build to retrieve the Spark version --> <spark.version>${project.version}</spark.version> <maven-jar-plugin.version>3.5.0</maven-jar-plugin.version> </properties> <repositories> <repository> <id>gcs-maven-central-mirror</id> <!-- Google Mirror of Maven Central, placed first so that it's used instead of flaky Maven Central. See https://storage-download.googleapis.com/maven-central/index.html --> <name>GCS Maven Central mirror</name> <url>https://maven-central.storage-download.googleapis.com/maven2/</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> </snapshots> </repository> <repository> <!-- This is used as a fallback when the first try fails. --> <id>central</id> <name>Maven Repository</name> <url>https://repo.maven.apache.org/maven2</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> </snapshots> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>gcs-maven-central-mirror</id> <!-- Google Mirror of Maven Central, placed first so that it's used instead of flaky Maven Central. See https://storage-download.googleapis.com/maven-central/index.html --> <name>GCS Maven Central mirror</name> <url>https://maven-central.storage-download.googleapis.com/maven2/</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> </snapshots> </pluginRepository> <pluginRepository> <id>central</id> <url>https://repo.maven.apache.org/maven2</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> </snapshots> </pluginRepository> </pluginRepositories> <dependencies> <!-- This is a dummy dependency that is used to trigger the maven-shade plugin so that Spark's published POMs are flattened and do not contain variables. Without this dependency, some subprojects' published POMs would contain variables like ${scala.binary.version} that will be substituted according to the default properties instead of the ones determined by the profiles that were active during publishing, causing the Scala 2.10 build's POMs to have 2.11 dependencies due to the incorrect substitutions. By ensuring that maven-shade runs for all subprojects, we eliminate this problem because the substitutions are baked into the final POM. For more details, see SPARK-3812 and MNG-2971. --> <dependency> <groupId>org.spark-project.spark</groupId> <artifactId>unused</artifactId> <version>1.0.0</version> </dependency> <!-- This is needed by the scalatest plugin, and so is declared here to be available in all child modules, just as scalatest is run in all children --> <dependency> <groupId>org.scalatest</groupId> <artifactId>scalatest_${scala.binary.version}</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.scalatestplus</groupId> <artifactId>scalacheck-1-18_${scala.binary.version}</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.scalatestplus</groupId> <artifactId>mockito-5-18_${scala.binary.version}</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.scalatestplus</groupId> <artifactId>selenium-4-21_${scala.binary.version}</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>com.github.sbt.junit</groupId> <artifactId>jupiter-interface</artifactId> <scope>test</scope> </dependency> </dependencies> <dependencyManagement> <dependencies> <dependency> <groupId>org.apache.spark</groupId> <artifactId>spark-tags_${scala.binary.version}</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.apache.spark</groupId> <artifactId>spark-tags_${scala.binary.version}</artifactId> <version>${project.version}</version> <type>test-jar</type> </dependency> <dependency> <groupId>org.scala-lang.modules</groupId> <artifactId>scala-parallel-collections_${scala.binary.version}</artifactId> <version>1.2.0</version> </dependency> <dependency> <groupId>com.twitter</groupId> <artifactId>chill_${scala.binary.version}</artifactId> <version>${chill.version}</version> <exclusions> <exclusion> <groupId>org.apache.xbean</groupId> <artifactId>xbean-asm7-shaded</artifactId> </exclusion> <exclusion> <groupId>com.esotericsoftware</groupId> <artifactId>kryo-shaded</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>com.twitter</groupId> <artifactId>chill-java</artifactId> <version>${chill.version}</version> <exclusions> <exclusion> <groupId>com.esotericsoftware</groupId> <artifactId>kryo-shaded</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>com.esotericsoftware</groupId> <artifactId>kryo-shaded</artifactId> <version>${kryo.version}</version> <exclusions> <exclusion> <groupId>org.objenesis</groupId> <artifactId>objenesis</artifactId> </exclusion> </exclusions> </dependency> <!-- SPARK-51806: Kryo 4.0.x depends on objenesis 2.5.1, while Spark currently depends on objenesis 3.5. Here, it is uniformly defined as version 3.5. --> <dependency> <groupId>org.objenesis</groupId> <artifactId>objenesis</artifactId> <version>3.5</version> </dependency> <dependency> <groupId>com.github.jnr</groupId> <artifactId>jnr-posix</artifactId> <version>3.2.1</version> <scope>test</scope> </dependency> <!-- This artifact is a shaded version of ASM 9.x. The POM that was used to produce this is at https://github.com/apache/geronimo-xbean/tree/trunk/xbean-asm9-shaded For context on why we shade ASM, see SPARK-782 and SPARK-6152. --> <dependency> <groupId>org.apache.xbean</groupId> <artifactId>xbean-asm9-shaded</artifactId> <version>4.31</version> </dependency> <!-- Shaded deps marked as provided. These are promoted to compile scope in the modules where we want the shaded classes to appear in the associated jar. --> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-http</artifactId> <version>${jetty.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.eclipse.jetty.ee10</groupId> <artifactId>jetty-ee10-servlet</artifactId> <version>${jetty.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.eclipse.jetty.ee10</groupId> <artifactId>jetty-ee10-servlets</artifactId> <version>${jetty.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.eclipse.jetty.ee10</groupId> <artifactId>jetty-ee10-proxy</artifactId> <version>${jetty.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-client</artifactId> <version>${jetty.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-util</artifactId> <version>${jetty.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-security</artifactId> <version>${jetty.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.eclipse.jetty.ee10</groupId> <artifactId>jetty-ee10-plus</artifactId> <version>${jetty.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-server</artifactId> <version>${jetty.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.eclipse.jetty.ee10</groupId> <artifactId>jetty-ee10-webapp</artifactId> <version>${jetty.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.eclipse.jetty.compression</groupId> <artifactId>jetty-compression-server</artifactId> <version>${jetty.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.eclipse.jetty.compression</groupId> <artifactId>jetty-compression-common</artifactId> <version>${jetty.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.eclipse.jetty.compression</groupId> <artifactId>jetty-compression-gzip</artifactId> <version>${jetty.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>${guava.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.google.guava</groupId> <artifactId>failureaccess</artifactId> <version>${guava.failureaccess.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.jpmml</groupId> <artifactId>pmml-model</artifactId> <version>1.7.1</version> <scope>provided</scope> <exclusions> <exclusion> <groupId>org.jpmml</groupId> <artifactId>pmml-agent</artifactId> </exclusion> </exclusions> </dependency> <!-- End of shaded deps --> <dependency> <groupId>com.google.code.gson</groupId> <artifactId>gson</artifactId> <version>${gson.version}</version> <exclusions> <exclusion> <groupId>com.google.errorprone</groupId> <artifactId>error_prone_annotations</artifactId> </exclusion> </exclusions> </dependency> <!-- Provide a JAXB impl; no longer auto available in Java 9+ in the JDK --> <dependency> <groupId>org.glassfish.jaxb</groupId> <artifactId>jaxb-runtime</artifactId> <version>4.0.6</version> <scope>compile</scope> <exclusions> <exclusion> <groupId>org.glassfish.jaxb</groupId> <artifactId>txw2</artifactId> </exclusion> <exclusion> <groupId>org.eclipse.angus</groupId> <artifactId>angus-activation</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>jakarta.xml.bind</groupId> <artifactId>jakarta.xml.bind-api</artifactId> <version>4.0.5</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <version>${commons-lang3.version}</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-text</artifactId> <version>1.15.0</version> </dependency> <dependency> <groupId>commons-lang</groupId> <artifactId>commons-lang</artifactId> <version>${commons-lang2.version}</version> </dependency> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <version>${commons-io.version}</version> </dependency> <dependency> <groupId>commons-codec</groupId> <artifactId>commons-codec</artifactId> <version>${commons-codec.version}</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-compress</artifactId> <version>${commons-compress.version}</version> <exclusions> <exclusion> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> </exclusion> <exclusion> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-math3</artifactId> <version>${commons.math3.version}</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-collections4</artifactId> <version>${commons.collections4.version}</version> </dependency> <dependency> <groupId>org.apache.ivy</groupId> <artifactId>ivy</artifactId> <version>${ivy.version}</version> </dependency> <dependency> <groupId>com.google.code.findbugs</groupId> <artifactId>jsr305</artifactId> <version>${jsr305.version}</version> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> <version>${commons.httpclient.version}</version> <exclusions> <exclusion> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpmime</artifactId> <version>${commons.httpclient.version}</version> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpcore</artifactId> <version>${commons.httpcore.version}</version> </dependency> <dependency> <groupId>org.rocksdb</groupId> <artifactId>rocksdbjni</artifactId> <version>10.10.1.1</version> </dependency> <dependency> <groupId>${leveldbjni.group}</groupId> <artifactId>leveldbjni-all</artifactId> <version>1.8</version> </dependency> <dependency> <groupId>org.seleniumhq.selenium</groupId> <artifactId>selenium-java</artifactId> <version>${selenium.version}</version> <scope>test</scope> <exclusions> <exclusion> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> </exclusion> <exclusion> <groupId>com.google.auto.service</groupId> <artifactId>*</artifactId> </exclusion> <exclusion> <groupId>io.netty</groupId> <artifactId>*</artifactId> </exclusion> <exclusion> <groupId>net.bytebuddy</groupId> <artifactId>byte-buddy</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.seleniumhq.selenium</groupId> <artifactId>htmlunit3-driver</artifactId> <version>${htmlunit3-driver.version}</version> <scope>test</scope> <exclusions> <exclusion> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> </exclusion> </exclusions> </dependency> <!-- log4j --> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>${slf4j.version}</version> <scope>${hadoop.deps.scope}</scope> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>jul-to-slf4j</artifactId> <version>${slf4j.version}</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>jcl-over-slf4j</artifactId> <version>${slf4j.version}</version> <!-- runtime scope is appropriate, but causes SBT build problems --> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-slf4j2-impl</artifactId> <version>${log4j.version}</version> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-api</artifactId> <version>${log4j.version}</version> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-core</artifactId> <version>${log4j.version}</version> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-layout-template-json</artifactId> <version>${log4j.version}</version> </dependency> <dependency> <!-- API bridge between log4j 1 and 2 --> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-1.2-api</artifactId> <version>${log4j.version}</version> </dependency> <!-- end --> <dependency> <groupId>com.ning</groupId> <artifactId>compress-lzf</artifactId> <version>1.2.0</version> </dependency> <dependency> <groupId>org.xerial.snappy</groupId> <artifactId>snappy-java</artifactId> <version>${snappy.version}</version> </dependency> <dependency> <groupId>at.yawk.lz4</groupId> <artifactId>lz4-java</artifactId> <version>1.11.2</version> </dependency> <dependency> <groupId>com.github.luben</groupId> <artifactId>zstd-jni</artifactId> <version>1.5.7-9</version> </dependency> <dependency> <groupId>com.clearspring.analytics</groupId> <artifactId>stream</artifactId> <version>2.9.8</version> <exclusions> <!-- Only HyperLogLogPlus is used, which doesn't depend on fastutil --> <exclusion> <groupId>it.unimi.dsi</groupId> <artifactId>fastutil</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>com.google.protobuf</groupId> <artifactId>protobuf-java</artifactId> <version>${protobuf.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.google.protobuf</groupId> <artifactId>protobuf-java-util</artifactId> <version>${protobuf.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.roaringbitmap</groupId> <artifactId>RoaringBitmap</artifactId> <version>1.6.10</version> </dependency> <!-- Netty Begin --> <dependency> <groupId>io.netty</groupId> <artifactId>netty-all</artifactId> <version>${netty.version}</version> <exclusions> <exclusion> <groupId>io.netty</groupId> <artifactId>netty-codec-haproxy</artifactId> </exclusion> <exclusion> <groupId>io.netty</groupId> <artifactId>netty-codec-memcache</artifactId> </exclusion> <exclusion> <groupId>io.netty</groupId> <artifactId>netty-codec-mqtt</artifactId> </exclusion> <exclusion> <groupId>io.netty</groupId> <artifactId>netty-codec-redis</artifactId> </exclusion> <exclusion> <groupId>io.netty</groupId> <artifactId>netty-codec-smtp</artifactId> </exclusion> <exclusion> <groupId>io.netty</groupId> <artifactId>netty-codec-stomp</artifactId> </exclusion> <exclusion> <groupId>io.netty</groupId> <artifactId>netty-codec-xml</artifactId> </exclusion> <exclusion> <groupId>io.netty</groupId> <artifactId>netty-codec-http3</artifactId> </exclusion> <exclusion> <groupId>io.netty</groupId> <artifactId>netty-codec-marshalling</artifactId> </exclusion> <exclusion> <groupId>io.netty</groupId> <artifactId>netty-codec-classes-quic</artifactId> </exclusion> <exclusion> <groupId>io.netty</groupId> <artifactId>netty-codec-native-quic</artifactId> </exclusion> <exclusion> <groupId>io.netty</groupId> <artifactId>netty-codec-protobuf</artifactId> </exclusion> <exclusion> <groupId>io.netty</groupId> <artifactId>netty-resolver-dns-classes-macos</artifactId> </exclusion> <exclusion> <groupId>io.netty</groupId> <artifactId>netty-resolver-dns-native-macos</artifactId> </exclusion> <exclusion> <groupId>io.netty</groupId> <artifactId>netty-transport-rxtx</artifactId> </exclusion> <exclusion> <groupId>io.netty</groupId> <artifactId>netty-transport-sctp</artifactId> </exclusion> <exclusion> <groupId>io.netty</groupId> <artifactId>netty-transport-udt</artifactId> </exclusion> <exclusion> <groupId>io.netty</groupId> <artifactId>netty-transport-classes-io_uring</artifactId> </exclusion> <exclusion> <groupId>io.netty</groupId> <artifactId>netty-transport-native-io_uring</artifactId> </exclusion> <exclusion> <groupId>io.netty</groupId> <artifactId>netty-handler-ssl-ocsp</artifactId> </exclusion> <exclusion> <groupId>org.jctools</groupId> <artifactId>jctools-core</artifactId> </exclusion> </exclusions> </dependency> <!-- SPARK-38885: After Netty 4.1.76, add the following `Netty` dependencies explicitly to ensure `./dev/test-dependencies.sh` produces the same results on Linux and macOS. --> <dependency> <groupId>io.netty</groupId> <artifactId>netty-transport-native-epoll</artifactId> <version>${netty.version}</version> <classifier>linux-x86_64</classifier> </dependency> <dependency> <groupId>io.netty</groupId> <artifactId>netty-transport-native-epoll</artifactId> <version>${netty.version}</version> <classifier>linux-aarch_64</classifier> </dependency> <dependency> <groupId>io.netty</groupId> <artifactId>netty-transport-native-kqueue</artifactId> <version>${netty.version}</version> <classifier>osx-aarch_64</classifier> </dependency> <dependency> <groupId>io.netty</groupId> <artifactId>netty-transport-native-kqueue</artifactId> <version>${netty.version}</version> <classifier>osx-x86_64</classifier> </dependency> <dependency> <groupId>io.netty</groupId> <artifactId>netty-tcnative-boringssl-static</artifactId> <version>${netty-tcnative.version}</version> <classifier>linux-x86_64</classifier> </dependency> <dependency> <groupId>io.netty</groupId> <artifactId>netty-tcnative-boringssl-static</artifactId> <version>${netty-tcnative.version}</version> <classifier>linux-aarch_64</classifier> </dependency> <dependency> <groupId>io.netty</groupId> <artifactId>netty-tcnative-boringssl-static</artifactId> <version>${netty-tcnative.version}</version> <classifier>osx-aarch_64</classifier> </dependency> <dependency> <groupId>io.netty</groupId> <artifactId>netty-tcnative-boringssl-static</artifactId> <version>${netty-tcnative.version}</version> <classifier>osx-x86_64</classifier> </dependency> <!-- Netty End --> <dependency> <groupId>org.apache.derby</groupId> <artifactId>derby</artifactId> <version>${derby.version}</version> <scope>${derby.deps.scope}</scope> </dependency> <dependency> <groupId>org.apache.derby</groupId> <artifactId>derbytools</artifactId> <version>${derby.version}</version> <scope>${derby.deps.scope}</scope> </dependency> <dependency> <groupId>io.dropwizard.metrics</groupId> <artifactId>metrics-core</artifactId> <version>${codahale.metrics.version}</version> </dependency> <dependency> <groupId>io.dropwizard.metrics</groupId> <artifactId>metrics-jvm</artifactId> <version>${codahale.metrics.version}</version> </dependency> <dependency> <groupId>io.dropwizard.metrics</groupId> <artifactId>metrics-json</artifactId> <version>${codahale.metrics.version}</version> </dependency> <dependency> <groupId>io.dropwizard.metrics</groupId> <artifactId>metrics-graphite</artifactId> <version>${codahale.metrics.version}</version> </dependency> <dependency> <groupId>io.dropwizard.metrics</groupId> <artifactId>metrics-jmx</artifactId> <version>${codahale.metrics.version}</version> </dependency> <dependency> <groupId>com.fasterxml.jackson</groupId> <artifactId>jackson-bom</artifactId> <version>${fasterxml.jackson.version}</version> <scope>import</scope> <type>pom</type> </dependency> <dependency> <groupId>io.jsonwebtoken</groupId> <artifactId>jjwt-bom</artifactId> <version>${jjwt.version}</version> <type>pom</type> <scope>import</scope> </dependency> <dependency> <groupId>io.grpc</groupId> <artifactId>grpc-bom</artifactId> <version>${io.grpc.version}</version> <type>pom</type> <scope>import</scope> </dependency> <dependency> <groupId>io.fabric8</groupId> <artifactId>kubernetes-client-bom</artifactId> <version>${kubernetes-client.version}</version> <type>pom</type> <scope>import</scope> </dependency> <dependency> <groupId>org.apache.ws.xmlschema</groupId> <artifactId>xmlschema-core</artifactId> <version>${ws.xmlschema.version}</version> </dependency> <dependency> <groupId>org.glassfish.jersey.core</groupId> <artifactId>jersey-server</artifactId> <version>${jersey.version}</version> </dependency> <dependency> <groupId>org.glassfish.jersey.core</groupId> <artifactId>jersey-common</artifactId> <version>${jersey.version}</version> <!-- SPARK-28765 Unused JDK11-specific dependency --> <exclusions> <exclusion> <groupId>com.sun.activation</groupId> <artifactId>jakarta.activation</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.glassfish.jersey.core</groupId> <artifactId>jersey-client</artifactId> <version>${jersey.version}</version> </dependency> <dependency> <groupId>org.glassfish.jersey.containers</groupId> <artifactId>jersey-container-servlet</artifactId> <version>${jersey.version}</version> </dependency> <dependency> <groupId>org.glassfish.jersey.containers</groupId> <artifactId>jersey-container-servlet-core</artifactId> <version>${jersey.version}</version> </dependency> <dependency> <groupId>org.glassfish.jersey.inject</groupId> <artifactId>jersey-hk2</artifactId> <version>${jersey.version}</version> </dependency> <dependency> <groupId>org.glassfish.jersey.test-framework.providers</groupId> <artifactId>jersey-test-framework-provider-simple</artifactId> <version>${jersey.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.glassfish.jersey</groupId> <artifactId>jersey-client</artifactId> <version>${jersey.version}</version> </dependency> <dependency> <groupId>javax.xml.bind</groupId> <artifactId>jaxb-api</artifactId> <version>${jaxb.version}</version> </dependency> <dependency> <groupId>org.scalanlp</groupId> <artifactId>breeze_${scala.binary.version}</artifactId> <version>2.1.0</version> <exclusions> <exclusion> <groupId>org.apache.commons</groupId> <artifactId>commons-math3</artifactId> </exclusion> <exclusion> <groupId>org.scala-lang.modules</groupId> <artifactId>scala-collection-compat_${scala.binary.version}</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.json4s</groupId> <artifactId>json4s-jackson_${scala.binary.version}</artifactId> <version>4.0.7</version> <exclusions> <exclusion> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>*</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.scala-lang.modules</groupId> <artifactId>scala-xml_${scala.binary.version}</artifactId> <version>2.4.0</version> </dependency> <dependency> <groupId>org.scala-lang</groupId> <artifactId>scala-compiler</artifactId> <version>${scala.version}</version> <exclusions> <exclusion> <groupId>org.scala-lang.modules</groupId> <artifactId>scala-xml_2.13</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.scala-lang</groupId> <artifactId>scala-reflect</artifactId> <version>${scala.version}</version> </dependency> <dependency> <groupId>org.scala-lang</groupId> <artifactId>scala-library</artifactId> <version>${scala.version}</version> </dependency> <dependency> <groupId>org.scala-lang.modules</groupId> <artifactId>scala-parser-combinators_${scala.binary.version}</artifactId> <version>2.4.0</version> </dependency> <dependency> <groupId>jline</groupId> <artifactId>jline</artifactId> <version>${jline.version}</version> </dependency> <dependency> <groupId>org.scalatest</groupId> <artifactId>scalatest_${scala.binary.version}</artifactId> <version>3.2.19</version> <scope>test</scope> </dependency> <dependency> <groupId>org.scalatestplus</groupId> <artifactId>scalacheck-1-18_${scala.binary.version}</artifactId> <version>3.2.19.0</version> <scope>test</scope> </dependency> <dependency> <groupId>org.scalatestplus</groupId> <artifactId>mockito-5-18_${scala.binary.version}</artifactId> <version>3.2.19.0</version> <scope>test</scope> </dependency> <dependency> <groupId>org.scalatestplus</groupId> <artifactId>selenium-4-21_${scala.binary.version}</artifactId> <version>3.2.19.0</version> <scope>test</scope> <exclusions> <exclusion> <groupId>org.seleniumhq.selenium</groupId> <artifactId>htmlunit-driver</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <version>5.23.0</version> <scope>test</scope> </dependency> <dependency> <groupId>net.bytebuddy</groupId> <artifactId>byte-buddy</artifactId> <version>1.18.11</version> <scope>test</scope> </dependency> <dependency> <groupId>net.bytebuddy</groupId> <artifactId>byte-buddy-agent</artifactId> <version>1.18.11</version> <scope>test</scope> </dependency> <dependency> <groupId>org.jmock</groupId> <artifactId>jmock-junit5</artifactId> <scope>test</scope> <version>2.13.1</version> </dependency> <dependency> <groupId>org.scalacheck</groupId> <artifactId>scalacheck_${scala.binary.version}</artifactId> <version>1.18.0</version> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter</artifactId> <version>${junit.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-api</artifactId> <version>${junit.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-engine</artifactId> <version>${junit.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-params</artifactId> <version>${junit.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.platform</groupId> <artifactId>junit-platform-commons</artifactId> <version>${junit.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.platform</groupId> <artifactId>junit-platform-engine</artifactId> <version>${junit.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.platform</groupId> <artifactId>junit-platform-launcher</artifactId> <version>${junit.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>com.github.sbt.junit</groupId> <artifactId>jupiter-interface</artifactId> <version>${sbt-jupiter-interface.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>com.github.docker-java</groupId> <artifactId>docker-java</artifactId> <version>3.6.0</version> <scope>test</scope> <exclusions> <exclusion> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> </exclusion> <exclusion> <groupId>com.github.docker-java</groupId> <artifactId>docker-java-transport-netty</artifactId> </exclusion> <exclusion> <groupId>com.github.docker-java</groupId> <artifactId>docker-java-transport-jersey</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>com.github.docker-java</groupId> <artifactId>docker-java-transport-zerodep</artifactId> <version>3.6.0</version> <scope>test</scope> </dependency> <dependency> <groupId>com.mysql</groupId> <artifactId>mysql-connector-j</artifactId> <version>${mysql.connector.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mariadb.jdbc</groupId> <artifactId>mariadb-java-client</artifactId> <version>${mariadb.java.client.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.postgresql</groupId> <artifactId>postgresql</artifactId> <version>${postgresql.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>com.ibm.db2</groupId> <artifactId>jcc</artifactId> <version>${db2.jcc.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>com.microsoft.sqlserver</groupId> <artifactId>mssql-jdbc</artifactId> <version>${mssql.jdbc.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>com.oracle.database.jdbc</groupId> <artifactId>ojdbc17</artifactId> <version>${ojdbc17.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>com.databricks</groupId> <artifactId>databricks-jdbc</artifactId> <version>${databricks.jdbc.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>net.snowflake</groupId> <artifactId>snowflake-jdbc</artifactId> <version>${snowflake.jdbc.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>com.teradata.jdbc</groupId> <artifactId>terajdbc</artifactId> <version>${terajdbc.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.curator</groupId> <artifactId>curator-recipes</artifactId> <version>${curator.version}</version> <scope>${hadoop.deps.scope}</scope> <exclusions> <exclusion> <groupId>org.jboss.netty</groupId> <artifactId>netty</artifactId> </exclusion> <exclusion> <groupId>jline</groupId> <artifactId>jline</artifactId> </exclusion> <exclusion> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> </exclusion> <exclusion> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> </exclusion> <exclusion> <groupId>log4j</groupId> <artifactId>log4j</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.curator</groupId> <artifactId>curator-client</artifactId> <version>${curator.version}</version> </dependency> <dependency> <groupId>org.apache.curator</groupId> <artifactId>curator-framework</artifactId> <version>${curator.version}</version> </dependency> <dependency> <groupId>org.apache.curator</groupId> <artifactId>curator-test</artifactId> <version>${curator.version}</version> <scope>test</scope> </dependency> <!-- Hadoop 3.x dependencies --> <dependency> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-client-api</artifactId> <version>${hadoop.version}</version> <scope>${hadoop.deps.scope}</scope> </dependency> <dependency> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-client-runtime</artifactId> <version>${hadoop.version}</version> <scope>${hadoop.deps.scope}</scope> <exclusions> <exclusion> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-client-minicluster</artifactId> <version>${hadoop.version}</version> <scope>test</scope> </dependency> <!-- End of Hadoop 3.x dependencies --> <dependency> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-minikdc</artifactId> <version>${hadoop.version}</version> <scope>test</scope> <exclusions> <exclusion> <groupId>org.apache.directory.api</groupId> <artifactId>api-ldap-schema-data</artifactId> </exclusion> <exclusion> <groupId>log4j</groupId> <artifactId>log4j</artifactId> </exclusion> <exclusion> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> </exclusion> <exclusion> <groupId>org.slf4j</groupId> <artifactId>slf4j-reload4j</artifactId> </exclusion> <exclusion> <groupId>junit</groupId> <artifactId>junit</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.bouncycastle</groupId> <artifactId>bcprov-jdk18on</artifactId> <version>${bouncycastle.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.bouncycastle</groupId> <artifactId>bcpkix-jdk18on</artifactId> <version>${bouncycastle.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.avro</groupId> <artifactId>avro</artifactId> <version>${avro.version}</version> <exclusions> <exclusion> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> </exclusion> <exclusion> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.avro</groupId> <artifactId>avro-mapred</artifactId> <version>${avro.version}</version> <scope>${hive.deps.scope}</scope> <exclusions> <exclusion> <groupId>org.apache.avro</groupId> <artifactId>avro-ipc-jetty</artifactId> </exclusion> <exclusion> <groupId>io.netty</groupId> <artifactId>netty</artifactId> </exclusion> <exclusion> <groupId>org.mortbay.jetty</groupId> <artifactId>jetty</artifactId> </exclusion> <exclusion> <groupId>org.mortbay.jetty</groupId> <artifactId>jetty-util</artifactId> </exclusion> <exclusion> <groupId>org.mortbay.jetty</groupId> <artifactId>servlet-api</artifactId> </exclusion> <exclusion> <groupId>org.apache.velocity</groupId> <artifactId>velocity-engine-core</artifactId> </exclusion> <exclusion> <groupId>javax.annotation</groupId> <artifactId>javax.annotation-api</artifactId> </exclusion> <exclusion> <groupId>com.github.luben</groupId> <artifactId>zstd-jni</artifactId> </exclusion> <exclusion> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> </exclusion> <exclusion> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> </exclusion> </exclusions> </dependency> <!-- SPARK-41031: `xz` is marked as optional in the dependency tree of `avro`, we need to manually check `xz` version when upgrading `avro`. --> <dependency> <groupId>org.tukaani</groupId> <artifactId>xz</artifactId> <version>${xz.version}</version> </dependency> <dependency> <groupId>org.apache.zookeeper</groupId> <artifactId>zookeeper</artifactId> <version>${zookeeper.version}</version> <scope>${hadoop.deps.scope}</scope> <exclusions> <exclusion> <groupId>org.jboss.netty</groupId> <artifactId>netty</artifactId> </exclusion> <exclusion> <groupId>jline</groupId> <artifactId>jline</artifactId> </exclusion> <exclusion> <groupId>io.netty</groupId> <artifactId>netty-handler</artifactId> </exclusion> <exclusion> <groupId>io.netty</groupId> <artifactId>netty-transport-native-epoll</artifactId> </exclusion> <exclusion> <groupId>io.netty</groupId> <artifactId>netty-tcnative-boringssl-static</artifactId> </exclusion> <exclusion> <groupId>com.github.spotbugs</groupId> <artifactId>spotbugs-annotations</artifactId> </exclusion> <exclusion> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> </exclusion> <exclusion> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> </exclusion> <exclusion> <groupId>log4j</groupId> <artifactId>log4j</artifactId> </exclusion> <exclusion> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> </exclusion> <exclusion> <groupId>ch.qos.logback</groupId> <artifactId>logback-core</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>${hive.group}</groupId> <artifactId>hive-beeline</artifactId> <version>${hive.version}</version> <scope>${hive.deps.scope}</scope> <exclusions> <exclusion> <groupId>${hive.group}</groupId> <artifactId>hive-common</artifactId> </exclusion> <exclusion> <groupId>${hive.group}</groupId> <artifactId>hive-exec</artifactId> </exclusion> <exclusion> <groupId>${hive.group}</groupId> <artifactId>hive-jdbc</artifactId> </exclusion> <exclusion> <groupId>${hive.group}</groupId> <artifactId>hive-metastore</artifactId> </exclusion> <exclusion> <groupId>${hive.group}</groupId> <artifactId>hive-service</artifactId> </exclusion> <exclusion> <groupId>${hive.group}</groupId> <artifactId>hive-service-rpc</artifactId> </exclusion> <exclusion> <groupId>${hive.group}</groupId> <artifactId>hive-shims</artifactId> </exclusion> <exclusion> <groupId>org.apache.thrift</groupId> <artifactId>libthrift</artifactId> </exclusion> <exclusion> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> </exclusion> <exclusion> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> </exclusion> <exclusion> <groupId>log4j</groupId> <artifactId>log4j</artifactId> </exclusion> <exclusion> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>${hive.group}</groupId> <artifactId>hive-cli</artifactId> <version>${hive.version}</version> <scope>${hive.deps.scope}</scope> <exclusions> <exclusion> <groupId>${hive.group}</groupId> <artifactId>hive-common</artifactId> </exclusion> <exclusion> <groupId>${hive.group}</groupId> <artifactId>hive-exec</artifactId> </exclusion> <exclusion> <groupId>${hive.group}</groupId> <artifactId>hive-jdbc</artifactId> </exclusion> <exclusion> <groupId>${hive.group}</groupId> <artifactId>hive-metastore</artifactId> </exclusion> <exclusion> <groupId>${hive.group}</groupId> <artifactId>hive-serde</artifactId> </exclusion> <exclusion> <groupId>${hive.group}</groupId> <artifactId>hive-service</artifactId> </exclusion> <exclusion> <groupId>${hive.group}</groupId> <artifactId>hive-shims</artifactId> </exclusion> <exclusion> <groupId>org.apache.thrift</groupId> <artifactId>libthrift</artifactId> </exclusion> <exclusion> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> </exclusion> <exclusion> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> </exclusion> <exclusion> <groupId>log4j</groupId> <artifactId>log4j</artifactId> </exclusion> <exclusion> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>${hive.group}</groupId> <artifactId>hive-common</artifactId> <version>${hive.version}</version> <scope>${hive.deps.scope}</scope> <exclusions> <exclusion> <groupId>${hive.group}</groupId> <artifactId>hive-shims</artifactId> </exclusion> <exclusion> <groupId>org.apache.ant</groupId> <artifactId>ant</artifactId> </exclusion> <exclusion> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-common</artifactId> </exclusion> <exclusion> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-auth</artifactId> </exclusion> <exclusion> <groupId>org.apache.zookeeper</groupId> <artifactId>zookeeper</artifactId> </exclusion> <exclusion> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> </exclusion> <exclusion> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> </exclusion> <exclusion> <groupId>log4j</groupId> <artifactId>log4j</artifactId> </exclusion> <exclusion> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> </exclusion> <!-- ORC is needed, but the version should be consistent with the `sql/core` ORC data source. Looks like this is safe, please see the major changes from ORC 1.3.3 to 1.5.4: HIVE-17631 and HIVE-19465 --> <exclusion> <groupId>org.apache.orc</groupId> <artifactId>orc-core</artifactId> </exclusion> <!-- jetty-all conflict with Spark's built-in Jetty version --> <exclusion> <groupId>org.eclipse.jetty.aggregate</groupId> <artifactId>jetty-all</artifactId> </exclusion> <exclusion> <groupId>org.apache.logging.log4j</groupId> <artifactId>*</artifactId> </exclusion> <!-- Hive includes javax.servlet to fix the Hive on Spark test failure; see HIVE-12783 --> <exclusion> <groupId>org.eclipse.jetty.orbit</groupId> <artifactId>javax.servlet</artifactId> </exclusion> <!-- hive-storage-api is needed and must be explicitly included later --> <exclusion> <groupId>${hive.group}</groupId> <artifactId>hive-storage-api</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>${hive.group}</groupId> <artifactId>hive-exec</artifactId> <classifier>${hive.classifier}</classifier> <version>${hive.version}</version> <scope>${hive.deps.scope}</scope> <exclusions> <!-- pull this in when needed; the explicit definition culls the surplus--> <exclusion> <groupId>${hive.group}</groupId> <artifactId>hive-metastore</artifactId> </exclusion> <exclusion> <groupId>${hive.group}</groupId> <artifactId>hive-shims</artifactId> </exclusion> <exclusion> <groupId>${hive.group}</groupId> <artifactId>hive-ant</artifactId> </exclusion> <exclusion> <groupId>${hive.group}</groupId> <artifactId>hive-vector-code-gen</artifactId> </exclusion> <!-- break the loop --> <exclusion> <groupId>${hive.group}</groupId> <artifactId>spark-client</artifactId> </exclusion> <!-- excluded dependencies & transitive. Some may be needed to be explicitly included--> <exclusion> <groupId>ant</groupId> <artifactId>ant</artifactId> </exclusion> <exclusion> <groupId>org.apache.ant</groupId> <artifactId>ant</artifactId> </exclusion> <exclusion> <groupId>com.esotericsoftware.kryo</groupId> <artifactId>kryo</artifactId> </exclusion> <exclusion> <groupId>commons-codec</groupId> <artifactId>commons-codec</artifactId> </exclusion> <exclusion> <groupId>org.apache.avro</groupId> <artifactId>avro-mapred</artifactId> </exclusion> <!-- Do not need Calcite because we disabled hive.cbo.enable --> <exclusion> <groupId>org.apache.calcite</groupId> <artifactId>calcite-core</artifactId> </exclusion> <exclusion> <groupId>org.apache.calcite</groupId> <artifactId>calcite-avatica</artifactId> </exclusion> <exclusion> <groupId>org.apache.curator</groupId> <artifactId>apache-curator</artifactId> </exclusion> <exclusion> <groupId>org.apache.curator</groupId> <artifactId>curator-client</artifactId> </exclusion> <exclusion> <groupId>org.apache.curator</groupId> <artifactId>curator-framework</artifactId> </exclusion> <exclusion> <groupId>org.apache.thrift</groupId> <artifactId>libthrift</artifactId> </exclusion> <exclusion> <groupId>org.apache.thrift</groupId> <artifactId>libfb303</artifactId> </exclusion> <exclusion> <groupId>org.apache.zookeeper</groupId> <artifactId>zookeeper</artifactId> </exclusion> <exclusion> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> </exclusion> <exclusion> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> </exclusion> <exclusion> <groupId>log4j</groupId> <artifactId>log4j</artifactId> </exclusion> <exclusion> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> </exclusion> <exclusion> <groupId>org.codehaus.groovy</groupId> <artifactId>groovy-all</artifactId> </exclusion> <exclusion> <groupId>jline</groupId> <artifactId>jline</artifactId> </exclusion> <!-- Cat X license now; see SPARK-18262 --> <exclusion> <groupId>org.json</groupId> <artifactId>json</artifactId> </exclusion> <!-- Do not need Tez --> <exclusion> <groupId>${hive.group}</groupId> <artifactId>hive-llap-tez</artifactId> </exclusion> <!-- Do not need Calcite, see SPARK-27054 --> <exclusion> <groupId>org.apache.calcite</groupId> <artifactId>calcite-druid</artifactId> </exclusion> <exclusion> <groupId>org.apache.calcite.avatica</groupId> <artifactId>avatica</artifactId> </exclusion> <exclusion> <groupId>org.apache.logging.log4j</groupId> <artifactId>*</artifactId> </exclusion> <exclusion> <groupId>net.hydromatic</groupId> <artifactId>eigenbase-properties</artifactId> </exclusion> <exclusion> <groupId>org.codehaus.janino</groupId> <artifactId>commons-compiler</artifactId> </exclusion> <exclusion> <groupId>org.codehaus.janino</groupId> <artifactId>janino</artifactId> </exclusion> <exclusion> <groupId>net.hydromatic</groupId> <artifactId>aggdesigner-algorithm</artifactId> </exclusion> <!-- javax.xml.stream is provided by the JDK (java.xml module) --> <exclusion> <groupId>stax</groupId> <artifactId>stax-api</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>${hive.group}</groupId> <artifactId>hive-jdbc</artifactId> <version>${hive.version}</version> <exclusions> <exclusion> <groupId>${hive.group}</groupId> <artifactId>hive-common</artifactId> </exclusion> <exclusion> <groupId>${hive.group}</groupId> <artifactId>hive-metastore</artifactId> </exclusion> <exclusion> <groupId>${hive.group}</groupId> <artifactId>hive-serde</artifactId> </exclusion> <exclusion> <groupId>${hive.group}</groupId> <artifactId>hive-service</artifactId> </exclusion> <exclusion> <groupId>${hive.group}</groupId> <artifactId>hive-service-rpc</artifactId> </exclusion> <exclusion> <groupId>${hive.group}</groupId> <artifactId>hive-shims</artifactId> </exclusion> <exclusion> <groupId>org.apache.curator</groupId> <artifactId>curator-framework</artifactId> </exclusion> <exclusion> <groupId>org.apache.thrift</groupId> <artifactId>libthrift</artifactId> </exclusion> <exclusion> <groupId>org.apache.thrift</groupId> <artifactId>libfb303</artifactId> </exclusion> <exclusion> <groupId>org.apache.zookeeper</groupId> <artifactId>zookeeper</artifactId> </exclusion> <exclusion> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> </exclusion> <exclusion> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> </exclusion> <exclusion> <groupId>log4j</groupId> <artifactId>log4j</artifactId> </exclusion> <exclusion> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> </exclusion> <exclusion> <groupId>org.codehaus.groovy</groupId> <artifactId>groovy-all</artifactId> </exclusion> <exclusion> <groupId>com.lmax</groupId> <artifactId>disruptor</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>${hive.group}</groupId> <artifactId>hive-metastore</artifactId> <version>${hive.version}</version> <scope>${hive.deps.scope}</scope> <exclusions> <exclusion> <groupId>${hive.group}</groupId> <artifactId>hive-serde</artifactId> </exclusion> <exclusion> <groupId>${hive.group}</groupId> <artifactId>hive-shims</artifactId> </exclusion> <exclusion> <groupId>org.apache.thrift</groupId> <artifactId>libfb303</artifactId> </exclusion> <exclusion> <groupId>org.apache.thrift</groupId> <artifactId>libthrift</artifactId> </exclusion> <exclusion> <groupId>org.mortbay.jetty</groupId> <artifactId>servlet-api</artifactId> </exclusion> <exclusion> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> </exclusion> <exclusion> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> </exclusion> <exclusion> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> </exclusion> <!-- Hive removes the HBase Metastore; see HIVE-17234 --> <exclusion> <groupId>org.apache.hbase</groupId> <artifactId>hbase-client</artifactId> </exclusion> <exclusion> <groupId>co.cask.tephra</groupId> <artifactId>*</artifactId> </exclusion> <exclusion> <groupId>com.jolbox</groupId> <artifactId>bonecp</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>${hive.group}</groupId> <artifactId>hive-serde</artifactId> <version>${hive.version}</version> <scope>${hive.deps.scope}</scope> <exclusions> <exclusion> <groupId>${hive.group}</groupId> <artifactId>hive-common</artifactId> </exclusion> <exclusion> <groupId>${hive.group}</groupId> <artifactId>hive-shims</artifactId> </exclusion> <exclusion> <groupId>commons-codec</groupId> <artifactId>commons-codec</artifactId> </exclusion> <exclusion> <groupId>com.google.code.findbugs</groupId> <artifactId>jsr305</artifactId> </exclusion> <exclusion> <groupId>org.apache.avro</groupId> <artifactId>avro</artifactId> </exclusion> <exclusion> <groupId>org.apache.thrift</groupId> <artifactId>libthrift</artifactId> </exclusion> <exclusion> <groupId>org.apache.thrift</groupId> <artifactId>libfb303</artifactId> </exclusion> <exclusion> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> </exclusion> <exclusion> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> </exclusion> <exclusion> <groupId>log4j</groupId> <artifactId>log4j</artifactId> </exclusion> <exclusion> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> </exclusion> <exclusion> <groupId>org.codehaus.groovy</groupId> <artifactId>groovy-all</artifactId> </exclusion> <exclusion> <groupId>${hive.group}</groupId> <artifactId>hive-service-rpc</artifactId> </exclusion> <!-- Parquet is needed, but the version should be consistent with the `sql/core` Parquet data source. --> <exclusion> <groupId>org.apache.parquet</groupId> <artifactId>parquet-hadoop-bundle</artifactId> </exclusion> <!-- Do not need Jasper, see HIVE-19799 --> <exclusion> <groupId>tomcat</groupId> <artifactId>jasper-compiler</artifactId> </exclusion> <exclusion> <groupId>tomcat</groupId> <artifactId>jasper-runtime</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>${hive.group}</groupId> <artifactId>hive-service-rpc</artifactId> <version>4.0.0</version> <exclusions> <exclusion> <groupId>*</groupId> <artifactId>*</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>net.sf.jpam</groupId> <artifactId>jpam</artifactId> <scope>${hive.deps.scope}</scope> <version>${jpam.version}</version> <exclusions> <exclusion> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> </exclusion> </exclusions> </dependency> <!-- hive shims pulls in hive 0.23 and a transitive dependency of the Hadoop version Hive was built against. This dependency cuts out the YARN/hadoop dependency, which is needed by Hive to submit work to a YARN cluster.--> <dependency> <groupId>${hive.group}</groupId> <artifactId>hive-shims</artifactId> <version>${hive.version}</version> <scope>${hive.deps.scope}</scope> <exclusions> <exclusion> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> </exclusion> <exclusion> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-yarn-server-resourcemanager</artifactId> </exclusion> <exclusion> <groupId>org.apache.curator</groupId> <artifactId>curator-framework</artifactId> </exclusion> <exclusion> <groupId>org.apache.thrift</groupId> <artifactId>libthrift</artifactId> </exclusion> <exclusion> <groupId>org.apache.zookeeper</groupId> <artifactId>zookeeper</artifactId> </exclusion> <exclusion> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> </exclusion> <exclusion> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> </exclusion> <exclusion> <groupId>log4j</groupId> <artifactId>log4j</artifactId> </exclusion> <exclusion> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> </exclusion> <exclusion> <groupId>org.codehaus.groovy</groupId> <artifactId>groovy-all</artifactId> </exclusion> <!-- Exclude log4j-slf4j-impl, otherwise throw NCDFE when starting spark-shell --> <exclusion> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-slf4j-impl</artifactId> </exclusion> </exclusions> </dependency> <!-- hive-llap-common is needed when registering UDFs in Hive 2.3. We add it here, otherwise -Phive-provided won't work. --> <dependency> <groupId>${hive.group}</groupId> <artifactId>hive-llap-common</artifactId> <version>${hive.version}</version> <scope>${hive.llap.scope}</scope> <exclusions> <exclusion> <groupId>${hive.group}</groupId> <artifactId>hive-common</artifactId> </exclusion> <exclusion> <groupId>${hive.group}</groupId> <artifactId>hive-serde</artifactId> </exclusion> <exclusion> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> </exclusion> </exclusions> </dependency> <!-- hive-llap-client is needed when running MapReduce tests in Hive 2.3. --> <dependency> <groupId>${hive.group}</groupId> <artifactId>hive-llap-client</artifactId> <version>${hive.version}</version> <scope>test</scope> <exclusions> <exclusion> <groupId>${hive.group}</groupId> <artifactId>hive-common</artifactId> </exclusion> <exclusion> <groupId>${hive.group}</groupId> <artifactId>hive-serde</artifactId> </exclusion> <exclusion> <groupId>${hive.group}</groupId> <artifactId>hive-llap-common</artifactId> </exclusion> <exclusion> <groupId>org.apache.curator</groupId> <artifactId>curator-framework</artifactId> </exclusion> <exclusion> <groupId>org.apache.curator</groupId> <artifactId>apache-curator</artifactId> </exclusion> <exclusion> <groupId>org.apache.zookeeper</groupId> <artifactId>zookeeper</artifactId> </exclusion> <exclusion> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.orc</groupId> <artifactId>orc-format</artifactId> <version>1.1.1</version> <classifier>${orc.classifier}</classifier> <scope>${orc.deps.scope}</scope> </dependency> <dependency> <groupId>org.apache.orc</groupId> <artifactId>orc-core</artifactId> <version>${orc.version}</version> <classifier>${orc.classifier}</classifier> <scope>${orc.deps.scope}</scope> <exclusions> <exclusion> <groupId>org.apache.orc</groupId> <artifactId>orc-format</artifactId> </exclusion> <exclusion> <groupId>com.github.luben</groupId> <artifactId>zstd-jni</artifactId> </exclusion> <exclusion> <groupId>com.aayushatharva.brotli4j</groupId> <artifactId>brotli4j</artifactId> </exclusion> <exclusion> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-common</artifactId> </exclusion> <exclusion> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-hdfs</artifactId> </exclusion> <exclusion> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-client-api</artifactId> </exclusion> <exclusion> <groupId>${hive.group}</groupId> <artifactId>hive-storage-api</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>io.airlift</groupId> <artifactId>aircompressor</artifactId> <version>2.0.3</version> </dependency> <dependency> <groupId>org.apache.orc</groupId> <artifactId>orc-mapreduce</artifactId> <version>${orc.version}</version> <classifier>${orc.classifier}</classifier> <scope>${orc.deps.scope}</scope> <exclusions> <exclusion> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-common</artifactId> </exclusion> <exclusion> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-mapreduce-client-core</artifactId> </exclusion> <exclusion> <groupId>org.apache.orc</groupId> <artifactId>orc-core</artifactId> </exclusion> <exclusion> <groupId>${hive.group}</groupId> <artifactId>hive-storage-api</artifactId> </exclusion> <exclusion> <groupId> com.esotericsoftware</groupId> <artifactId>kryo-shaded</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.parquet</groupId> <artifactId>parquet-column</artifactId> <version>${parquet.version}</version> <scope>${parquet.deps.scope}</scope> </dependency> <dependency> <groupId>org.apache.parquet</groupId> <artifactId>parquet-column</artifactId> <version>${parquet.version}</version> <scope>${parquet.test.deps.scope}</scope> <type>test-jar</type> </dependency> <dependency> <groupId>org.apache.parquet</groupId> <artifactId>parquet-hadoop</artifactId> <version>${parquet.version}</version> <scope>${parquet.deps.scope}</scope> <exclusions> <exclusion> <groupId>commons-pool</groupId> <artifactId>commons-pool</artifactId> </exclusion> <exclusion> <groupId>javax.annotation</groupId> <artifactId>javax.annotation-api</artifactId> </exclusion> <exclusion> <groupId>com.github.luben</groupId> <artifactId>zstd-jni</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.parquet</groupId> <artifactId>parquet-avro</artifactId> <version>${parquet.version}</version> <scope>${parquet.test.deps.scope}</scope> </dependency> <dependency> <groupId>org.codehaus.janino</groupId> <artifactId>janino</artifactId> <version>${janino.version}</version> </dependency> <dependency> <groupId>org.codehaus.janino</groupId> <artifactId>commons-compiler</artifactId> <version>${janino.version}</version> </dependency> <dependency> <groupId>joda-time</groupId> <artifactId>joda-time</artifactId> <version>${joda.version}</version> </dependency> <dependency> <groupId>org.datanucleus</groupId> <artifactId>datanucleus-core</artifactId> <version>${datanucleus-core.version}</version> </dependency> <dependency> <groupId>org.apache.thrift</groupId> <artifactId>libthrift</artifactId> <version>${libthrift.version}</version> <exclusions> <exclusion> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> </exclusion> <exclusion> <groupId>javax.annotation</groupId> <artifactId>javax.annotation-api</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.thrift</groupId> <artifactId>libfb303</artifactId> <version>0.9.3</version> <exclusions> <exclusion> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.antlr</groupId> <artifactId>antlr4-runtime</artifactId> <version>${antlr4.version}</version> </dependency> <dependency> <groupId>com.ibm.icu</groupId> <artifactId>icu4j</artifactId> <version>${icu4j.version}</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-crypto</artifactId> <version>${commons-crypto.version}</version> <exclusions> <exclusion> <groupId>net.java.dev.jna</groupId> <artifactId>jna</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>com.google.crypto.tink</groupId> <artifactId>tink</artifactId> <version>${tink.version}</version> <exclusions> <exclusion> <groupId>com.google.errorprone</groupId> <artifactId>error_prone_annotations</artifactId> </exclusion> <exclusion> <groupId>com.google.http-client</groupId> <artifactId>google-http-client</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.arrow</groupId> <artifactId>arrow-vector</artifactId> <version>${arrow.version}</version> <exclusions> <exclusion> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-annotations</artifactId> </exclusion> <exclusion> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-core</artifactId> </exclusion> <exclusion> <groupId>io.netty</groupId> <artifactId>netty-common</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.arrow</groupId> <artifactId>arrow-compression</artifactId> <version>${arrow.version}</version> <exclusions> <exclusion> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-annotations</artifactId> </exclusion> <exclusion> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-core</artifactId> </exclusion> <exclusion> <groupId>io.netty</groupId> <artifactId>netty-common</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.arrow</groupId> <artifactId>arrow-memory-netty</artifactId> <version>${arrow.version}</version> <exclusions> <exclusion> <groupId>io.netty</groupId> <artifactId>netty-buffer</artifactId> </exclusion> <exclusion> <groupId>io.netty</groupId> <artifactId>netty-common</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>com.univocity</groupId> <artifactId>univocity-parsers</artifactId> <version>2.9.1</version> </dependency> <dependency> <groupId>${hive.group}</groupId> <artifactId>hive-storage-api</artifactId> <version>${hive.storage.version}</version> <scope>${hive.storage.scope}</scope> <exclusions> <exclusion> <groupId>commons-lang</groupId> <artifactId>commons-lang</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>commons-cli</groupId> <artifactId>commons-cli</artifactId> <version>${commons-cli.version}</version> </dependency> <dependency> <groupId>dev.ludovic.netlib</groupId> <artifactId>blas</artifactId> <version>${netlib.ludovic.dev.version}</version> </dependency> <dependency> <groupId>dev.ludovic.netlib</groupId> <artifactId>lapack</artifactId> <version>${netlib.ludovic.dev.version}</version> </dependency> <dependency> <groupId>dev.ludovic.netlib</groupId> <artifactId>arpack</artifactId> <version>${netlib.ludovic.dev.version}</version> </dependency> <!-- SPARK-16484 add `datasketches-java` to support Datasketches HllSketch --> <dependency> <groupId>org.apache.datasketches</groupId> <artifactId>datasketches-java</artifactId> <version>${datasketches.version}</version> </dependency> <dependency> <groupId>jakarta.servlet</groupId> <artifactId>jakarta.servlet-api</artifactId> <version>${jakartaservlet.version}</version> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>javax.servlet-api</artifactId> <version>${javaxservlet.version}</version> </dependency> </dependencies> </dependencyManagement> <build> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <version>3.6.2</version> <executions> <execution> <id>enforce-versions</id> <goals> <goal>enforce</goal> </goals> <configuration> <rules> <requireMavenVersion> <version>${maven.version}</version> </requireMavenVersion> <requireJavaVersion> <version>${java.version}</version> </requireJavaVersion> <bannedDependencies> <excludes> <exclude>org.apache.hadoop:hadoop-common</exclude> <exclude>org.apache.hadoop:hadoop-hdfs-client</exclude> <exclude>org.apache.hadoop:hadoop-mapreduce-client-core</exclude> <exclude>org.apache.hadoop:hadoop-mapreduce-client-jobclient</exclude> <exclude>org.jboss.netty</exclude> <exclude>org.codehaus.groovy</exclude> <exclude>com.amazonaws:aws-java-sdk-bundle</exclude> <exclude>org.lz4:lz4-java</exclude> <exclude>*:*_2.12</exclude> <exclude>*:*_2.11</exclude> <exclude>*:*_2.10</exclude> </excludes> <searchTransitive>true</searchTransitive> </bannedDependencies> <enforceBytecodeVersion> <maxJdkVersion>${java.version}</maxJdkVersion> <ignoredScopes>test</ignoredScopes> <ignoredScopes>provided</ignoredScopes> </enforceBytecodeVersion> </rules> </configuration> </execution> <execution> <id>enforce-no-duplicate-dependencies</id> <goals> <goal>enforce</goal> </goals> <configuration> <rules> <banDuplicatePomDependencyVersions/> </rules> </configuration> </execution> </executions> <dependencies> <dependency> <groupId>org.codehaus.mojo</groupId> <artifactId>extra-enforcer-rules</artifactId> <version>1.12.0</version> </dependency> </dependencies> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <version>3.6.1</version> <executions> <execution> <id>module-timestamp-property</id> <phase>validate</phase> <goals> <goal>timestamp-property</goal> </goals> <configuration> <name>module.build.timestamp</name> <pattern>${maven.build.timestamp.format}</pattern> <timeSource>current</timeSource> <timeZone>America/Los_Angeles</timeZone> </configuration> </execution> <execution> <id>local-timestamp-property</id> <phase>validate</phase> <goals> <goal>timestamp-property</goal> </goals> <configuration> <name>local.build.timestamp</name> <pattern>${maven.build.timestamp.format}</pattern> <timeSource>build</timeSource> <timeZone>America/Los_Angeles</timeZone> </configuration> </execution> </executions> </plugin> <plugin> <groupId>net.alchim31.maven</groupId> <artifactId>scala-maven-plugin</artifactId> <version>${scala-maven-plugin.version}</version> <executions> <execution> <id>eclipse-add-source</id> <goals> <goal>add-source</goal> </goals> </execution> <execution> <id>scala-compile-first</id> <goals> <goal>compile</goal> </goals> </execution> <execution> <id>scala-test-compile-first</id> <goals> <goal>testCompile</goal> </goals> </execution> <execution> <id>attach-scaladocs</id> <phase>verify</phase> <goals> <goal>doc-jar</goal> </goals> <configuration> <skip>${maven.scaladoc.skip}</skip> </configuration> </execution> </executions> <configuration> <scalaVersion>${scala.version}</scalaVersion> <checkMultipleScalaVersions>true</checkMultipleScalaVersions> <failOnMultipleScalaVersions>true</failOnMultipleScalaVersions> <recompileMode>incremental</recompileMode> <args> <arg>-unchecked</arg> <arg>-deprecation</arg> <arg>-feature</arg> <arg>-explaintypes</arg> <arg>-release</arg> <arg>17</arg> <arg>-Wconf:any:e</arg> <arg>-Wconf:cat=deprecation:wv</arg> <arg>-Wunused:imports</arg> <arg>-Wconf:cat=scaladoc:wv</arg> <arg>-Wconf:msg=^(?=.*?method|value|type|object|trait|inheritance)(?=.*?deprecated)(?=.*?since 2.13).+$:e</arg> <arg>-Wconf:msg=^(?=.*?Widening conversion from)(?=.*?is deprecated because it loses precision).+$:e</arg> <!-- SPARK-45610 Convert "Auto-application to `()` is deprecated" to compile error, as it will become a compile error in Scala 3. --> <arg>-Wconf:cat=deprecation&msg=Auto-application to \`\(\)\` is deprecated:e</arg> <!-- SPARK-35574 Prevent the recurrence of compilation warnings related to `procedure syntax is deprecated` --> <arg>-Wconf:cat=deprecation&msg=procedure syntax is deprecated:e</arg> <!-- SPARK-45627 Symbol literals are deprecated in Scala 2.13 and it's a compile error in Scala 3. --> <arg>-Wconf:cat=deprecation&msg=symbol literal is deprecated:e</arg> <!-- SPARK-45627 `enum`, `export` and `given` will become keywords in Scala 3, so they are prohibited from being used as variable names in Scala 2.13 to reduce the cost of migration in subsequent versions. --> <arg>-Wconf:cat=deprecation&msg=it will become a keyword in Scala 3:e</arg> <!-- SPARK-49937 ban call the method `SparkThrowable#getErrorClass` --> <arg>-Wconf:cat=deprecation&msg=method getErrorClass in trait SparkThrowable is deprecated:e</arg> </args> <jvmArgs> <jvmArg>-Xss128m</jvmArg> <jvmArg>-Xms4g</jvmArg> <jvmArg>-Xmx4g</jvmArg> <jvmArg>-XX:MaxMetaspaceSize=2g</jvmArg> <jvmArg>-XX:ReservedCodeCacheSize=${CodeCacheSize}</jvmArg> <jvmArg>--enable-native-access=ALL-UNNAMED</jvmArg> </jvmArgs> <javacArgs> <javacArg>--release</javacArg> <javacArg>${java.version}</javacArg> <javacArg>-Xlint:all,-serial,-path,-try</javacArg> <javacArg>-proc:full</javacArg> </javacArgs> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.14.1</version> <configuration> <skipMain>true</skipMain> <!-- skip compile --> <skip>true</skip> <!-- skip testCompile --> </configuration> </plugin> <plugin> <groupId>org.antlr</groupId> <artifactId>antlr4-maven-plugin</artifactId> <version>${antlr4.version}</version> </plugin> <!-- Surefire runs all Java tests --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>3.5.3</version> <!-- Note config is repeated in scalatest config --> <configuration> <includes> <include>**/Test*.java</include> <include>**/*Test.java</include> <include>**/*TestCase.java</include> <include>**/*Suite.java</include> </includes> <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory> <argLine>-ea -Xmx4g -Xss4m -XX:MaxMetaspaceSize=2g -XX:ReservedCodeCacheSize=${CodeCacheSize} ${extraJavaTestArgs}</argLine> <environmentVariables> <!-- Setting SPARK_DIST_CLASSPATH is a simple way to make sure any child processes launched by the tests have access to the correct test-time classpath. --> <SPARK_DIST_CLASSPATH>${test_classpath}</SPARK_DIST_CLASSPATH> <SPARK_PREPEND_CLASSES>1</SPARK_PREPEND_CLASSES> <SPARK_SCALA_VERSION>${scala.binary.version}</SPARK_SCALA_VERSION> <SPARK_TESTING>1</SPARK_TESTING> <JAVA_HOME>${test.java.home}</JAVA_HOME> <SPARK_BEELINE_OPTS>-DmyKey=yourValue</SPARK_BEELINE_OPTS> <OBJC_DISABLE_INITIALIZE_FORK_SAFETY>${test.objc.disable.initialize.fork.safety}</OBJC_DISABLE_INITIALIZE_FORK_SAFETY> </environmentVariables> <systemPropertyVariables> <log4j.configurationFile>file:src/test/resources/log4j2.properties</log4j.configurationFile> <derby.system.durability>test</derby.system.durability> <java.awt.headless>true</java.awt.headless> <java.io.tmpdir>${project.build.directory}/tmp</java.io.tmpdir> <spark.test.home>${spark.test.home}</spark.test.home> <spark.testing>1</spark.testing> <spark.master.rest.enabled>false</spark.master.rest.enabled> <spark.ui.enabled>false</spark.ui.enabled> <spark.ui.showConsoleProgress>false</spark.ui.showConsoleProgress> <spark.unsafe.exceptionOnMemoryLeak>true</spark.unsafe.exceptionOnMemoryLeak> <spark.hadoop.hadoop.caller.context.enabled>true</spark.hadoop.hadoop.caller.context.enabled> <spark.memory.debugFill>true</spark.memory.debugFill> <!-- Needed by sql/hive tests. --> <test.src.tables>src</test.src.tables> <hive.conf.validation>false</hive.conf.validation> </systemPropertyVariables> <failIfNoTests>false</failIfNoTests> <failIfNoSpecifiedTests>false</failIfNoSpecifiedTests> <excludedGroups>${test.exclude.tags}</excludedGroups> <groups>${test.include.tags}</groups> </configuration> <executions> <execution> <id>test</id> <goals> <goal>test</goal> </goals> </execution> </executions> </plugin> <!-- Scalatest runs all Scala tests --> <plugin> <groupId>org.scalatest</groupId> <artifactId>scalatest-maven-plugin</artifactId> <version>${scalatest-maven-plugin.version}</version> <!-- Note config is repeated in surefire config --> <configuration> <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory> <junitxml>.</junitxml> <filereports>SparkTestSuite.txt</filereports> <argLine>-ea -Xmx4g -Xss4m -XX:MaxMetaspaceSize=2g -XX:ReservedCodeCacheSize=${CodeCacheSize} ${extraJavaTestArgs}</argLine> <stderr/> <environmentVariables> <!-- Setting SPARK_DIST_CLASSPATH is a simple way to make sure any child processes launched by the tests have access to the correct test-time classpath. --> <SPARK_DIST_CLASSPATH>${test_classpath}</SPARK_DIST_CLASSPATH> <SPARK_PREPEND_CLASSES>1</SPARK_PREPEND_CLASSES> <SPARK_SCALA_VERSION>${scala.binary.version}</SPARK_SCALA_VERSION> <SPARK_TESTING>1</SPARK_TESTING> <JAVA_HOME>${test.java.home}</JAVA_HOME> <OBJC_DISABLE_INITIALIZE_FORK_SAFETY>${test.objc.disable.initialize.fork.safety}</OBJC_DISABLE_INITIALIZE_FORK_SAFETY> </environmentVariables> <systemProperties> <log4j.configurationFile>file:src/test/resources/log4j2.properties</log4j.configurationFile> <derby.system.durability>test</derby.system.durability> <java.awt.headless>true</java.awt.headless> <java.io.tmpdir>${project.build.directory}/tmp</java.io.tmpdir> <spark.hadoop.hadoop.caller.context.enabled>true</spark.hadoop.hadoop.caller.context.enabled> <spark.test.home>${spark.test.home}</spark.test.home> <spark.testing>1</spark.testing> <spark.ui.enabled>false</spark.ui.enabled> <spark.ui.showConsoleProgress>false</spark.ui.showConsoleProgress> <spark.unsafe.exceptionOnMemoryLeak>true</spark.unsafe.exceptionOnMemoryLeak> <spark.test.webdriver.chrome.driver>${spark.test.webdriver.chrome.driver}</spark.test.webdriver.chrome.driver> <spark.test.docker.keepContainer>${spark.test.docker.keepContainer}</spark.test.docker.keepContainer> <spark.test.docker.removePulledImage>${spark.test.docker.removePulledImage}</spark.test.docker.removePulledImage> <!-- Needed by sql/hive tests. --> <test.src.tables>__not_used__</test.src.tables> </systemProperties> <tagsToExclude>${test.exclude.tags},${test.default.exclude.tags}</tagsToExclude> <tagsToInclude>${test.include.tags}</tagsToInclude> </configuration> <executions> <execution> <id>test</id> <goals> <goal>test</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>${maven-jar-plugin.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <version>${maven-antrun.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.3.1</version> <configuration> <attach>true</attach> </configuration> <executions> <execution> <id>create-source-jar</id> <goals> <goal>jar-no-fork</goal> <goal>test-jar-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-clean-plugin</artifactId> <version>3.5.0</version> <configuration> <filesets> <fileset> <directory>work</directory> </fileset> <fileset> <directory>checkpoint</directory> </fileset> <fileset> <directory>lib_managed</directory> </fileset> <fileset> <directory>metastore_db</directory> </fileset> <fileset> <directory>spark-warehouse</directory> </fileset> <fileset> <directory>dist</directory> </fileset> </filesets> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.11.2</version> <configuration> <additionalJOptions> <additionalJOption>-Xdoclint:all</additionalJOption> <additionalJOption>-Xdoclint:-missing</additionalJOption> </additionalJOptions> <tags> <tag> <name>example</name> <placement>a</placement> <head>Example:</head> </tag> <tag> <name>note</name> <placement>a</placement> <head>Note:</head> </tag> <tag> <name>group</name> <placement>X</placement> </tag> <tag> <name>tparam</name> <placement>X</placement> </tag> <tag> <name>constructor</name> <placement>X</placement> </tag> <tag> <name>todo</name> <placement>X</placement> </tag> <tag> <name>groupname</name> <placement>X</placement> </tag> </tags> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <version>${exec-maven-plugin.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> <version>3.7.1</version> <configuration> <tarLongFileMode>posix</tarLongFileMode> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <version>3.6.0</version> <dependencies> <dependency> <groupId>org.ow2.asm</groupId> <artifactId>asm</artifactId> <version>${asm.version}</version> </dependency> <dependency> <groupId>org.ow2.asm</groupId> <artifactId>asm-commons</artifactId> <version>${asm.version}</version> </dependency> </dependencies> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-install-plugin</artifactId> <version>3.1.4</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> <version>3.1.4</version> <configuration> <retryFailedDeploymentCount>3</retryFailedDeploymentCount> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <version>3.8.1</version> <executions> <execution> <id>default-cli</id> <goals> <goal>build-classpath</goal> </goals> <configuration> <!-- This includes dependencies with 'runtime' and 'compile' scopes; see the docs for includeScope for more details --> <includeScope>runtime</includeScope> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>versions-maven-plugin</artifactId> <version>${versions-maven-plugin.version}</version> </plugin> </plugins> </pluginManagement> <plugins> <!-- This plugin dumps the test classpath into a file --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <id>generate-test-classpath</id> <phase>test-compile</phase> <goals> <goal>build-classpath</goal> </goals> <configuration> <includeScope>test</includeScope> <outputProperty>test_classpath</outputProperty> </configuration> </execution> <execution> <id>copy-module-dependencies</id> <phase>${build.copyDependenciesPhase}</phase> <goals> <goal>copy-dependencies</goal> </goals> <configuration> <includeScope>runtime</includeScope> <outputDirectory>${jars.target.dir}</outputDirectory> </configuration> </execution> </executions> </plugin> <!-- The shade plug-in is used here to create effective pom's (see SPARK-3812), and also remove references from the shaded libraries from artifacts published by Spark. --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <configuration> <shadedArtifactAttached>false</shadedArtifactAttached> <artifactSet> <includes> <include>org.spark-project.spark:unused</include> <include>com.google.guava:guava</include> <include>com.google.guava:failureaccess</include> <include>org.jpmml:*</include> </includes> </artifactSet> <relocations> <relocation> <pattern>org.eclipse.jetty</pattern> <shadedPattern>${spark.shade.packageName}.jetty</shadedPattern> <includes> <include>org.eclipse.jetty.**</include> </includes> </relocation> <relocation> <pattern>com.google.common</pattern> <shadedPattern>${spark.shade.packageName}.guava</shadedPattern> </relocation> <relocation> <pattern>com.google.thirdparty</pattern> <shadedPattern>${spark.shade.packageName}.guava.thirdparty</shadedPattern> </relocation> <relocation> <pattern>org.dmg.pmml</pattern> <shadedPattern>${spark.shade.packageName}.dmg.pmml</shadedPattern> </relocation> <relocation> <pattern>org.jpmml</pattern> <shadedPattern>${spark.shade.packageName}.jpmml</shadedPattern> </relocation> </relocations> </configuration> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> </plugin> <plugin> <groupId>net.alchim31.maven</groupId> <artifactId>scala-maven-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> </plugin> <!-- Scalastyle is intentionally NOT bound to a phase here; activate the `scalastyle` profile (or run `mvn scalastyle:check` explicitly) to run it. Default Maven builds skip scalastyle so that a single violation does not cascade into every Maven-invoked CI job; the dedicated lint job is the single source of truth for style. --> <plugin> <groupId>org.scalastyle</groupId> <artifactId>scalastyle-maven-plugin</artifactId> <version>1.0.0</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>scalastyle-config.xml</configLocation> <outputFile>${basedir}/target/scalastyle-output.xml</outputFile> <inputEncoding>${project.build.sourceEncoding}</inputEncoding> <outputEncoding>${project.reporting.outputEncoding}</outputEncoding> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <version>3.6.0</version> <configuration> <failOnViolation>false</failOnViolation> <includeTestSourceDirectory>true</includeTestSourceDirectory> <sourceDirectories> <directory>${basedir}/src/main/java</directory> <directory>${basedir}/src/main/scala</directory> </sourceDirectories> <testSourceDirectories> <directory>${basedir}/src/test/java</directory> </testSourceDirectories> <configLocation>dev/checkstyle.xml</configLocation> <outputFile>${basedir}/target/checkstyle-output.xml</outputFile> <inputEncoding>${project.build.sourceEncoding}</inputEncoding> <outputEncoding>${project.reporting.outputEncoding}</outputEncoding> </configuration> <dependencies> <dependency> <!-- If you are changing the dependency setting for checkstyle plugin, please check project/plugins.sbt too. --> <groupId>com.puppycrawl.tools</groupId> <artifactId>checkstyle</artifactId> <version>11.0.1</version> </dependency> </dependencies> <executions> <execution> <goals> <goal>check</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> <id>create-tmp-dir</id> <phase>generate-test-resources</phase> <goals> <goal>run</goal> </goals> <configuration> <target> <mkdir dir="${project.build.directory}/tmp" /> </target> </configuration> </execution> </executions> </plugin> <!-- Enable surefire and scalatest in all children, in one place: --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> </plugin> <plugin> <groupId>org.scalatest</groupId> <artifactId>scalatest-maven-plugin</artifactId> </plugin> <!-- Build test-jar's for all projects, since some projects depend on tests from others --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <executions> <execution> <id>prepare-test-jar</id> <phase>${build.testJarPhase}</phase> <goals> <goal>test-jar</goal> </goals> <configuration> <excludes> <exclude>log4j2.properties</exclude> </excludes> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.antipathy</groupId> <artifactId>mvn-scalafmt_${scala.binary.version}</artifactId> <version>1.1.1713302731.c3d0074</version> <configuration> <validateOnly>${scalafmt.validateOnly}</validateOnly> <!-- (Optional) skip formatting --> <skipSources>${scalafmt.skip}</skipSources> <skipTestSources>${scalafmt.skip}</skipTestSources> <configLocation>dev/.scalafmt.conf</configLocation> <!-- (Optional) config location --> <onlyChangedFiles>${scalafmt.changedOnly}</onlyChangedFiles> </configuration> <executions> <execution> <phase>validate</phase> <goals> <goal>format</goal> </goals> </execution> </executions> </plugin> <!-- A couple of dependencies are coming in bundle format (bundle is just a normal jar which contains OSGi metadata in the manifest). If one doesn't use OSGi, then a bundle will work as any other jar. Since maven doesn't have native bundle support it needs an external plugin to handle it. If the plugin is not added then the build can't resolve bundle dependencies. --> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <version>4.2.0</version> <extensions>true</extensions> </plugin> <plugin> <groupId>org.cyclonedx</groupId> <artifactId>cyclonedx-maven-plugin</artifactId> <version>2.9.1</version> <executions> <execution> <phase>package</phase> <goals> <goal>makeBom</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <profiles> <!-- Opt-in profile that binds scalastyle:check to the `verify` phase. Used by the dedicated lint job; default Maven builds intentionally skip scalastyle to avoid cascading a style violation into every Maven CI job. --> <profile> <id>scalastyle</id> <build> <pluginManagement> <plugins> <plugin> <groupId>org.scalastyle</groupId> <artifactId>scalastyle-maven-plugin</artifactId> <executions> <execution> <goals> <goal>check</goal> </goals> </execution> </executions> </plugin> </plugins> </pluginManagement> </build> </profile> <!-- This profile is enabled automatically by the sbt build. It changes the scope for shaded dependencies, since we don't shade it in the artifacts generated by the sbt build. --> <profile> <id>sbt</id> <dependencies> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <scope>compile</scope> </dependency> <dependency> <groupId>org.jpmml</groupId> <artifactId>pmml-model</artifactId> <scope>compile</scope> </dependency> </dependencies> </profile> <!-- Ganglia integration is not included by default due to LGPL-licensed code --> <profile> <id>spark-ganglia-lgpl</id> <modules> <module>connector/spark-ganglia-lgpl</module> </modules> </profile> <!-- Kinesis integration is not included by default due to ASL-licensed code --> <profile> <id>kinesis-asl</id> <modules> <module>connector/kinesis-asl</module> <module>connector/kinesis-asl-assembly</module> </modules> </profile> <profile> <id>docker-integration-tests</id> <modules> <module>connector/docker-integration-tests</module> </modules> </profile> <!-- A series of build profiles where customizations for particular Hadoop releases can be made --> <!-- Hadoop-a.b.c dependencies can be found at http://hadoop.apache.org/docs/ra.b.c/hadoop-project-dist/hadoop-common/dependency-analysis.html --> <profile> <id>hadoop-3</id> <!-- Default hadoop profile. Uses global properties. --> </profile> <profile> <id>yarn</id> <modules> <module>resource-managers/yarn</module> <module>common/network-yarn</module> </modules> </profile> <profile> <id>kubernetes</id> <modules> <module>resource-managers/kubernetes/core</module> </modules> </profile> <!-- generally not enabled for automated builds, but will run k8s tests --> <profile> <id>kubernetes-integration-tests</id> <modules> <module>resource-managers/kubernetes/integration-tests</module> </modules> </profile> <profile> <id>hive-thriftserver</id> <modules> <module>sql/hive-thriftserver</module> </modules> </profile> <profile> <id>hadoop-cloud</id> <modules> <module>hadoop-cloud</module> </modules> </profile> <profile> <id>jvm-profiler</id> <modules> <module>connector/profiler</module> </modules> </profile> <profile> <id>credential-aws</id> <modules> <module>connector/credential-aws</module> </modules> </profile> <profile> <id>test-java-home</id> <activation> <property><name>env.JAVA_HOME</name></property> </activation> <properties> <test.java.home>${env.JAVA_HOME}</test.java.home> </properties> </profile> <profile> <id>maven-mirror</id> <activation> <property><name>env.MAVEN_MIRROR_URL</name></property> </activation> <repositories> <repository> <id>maven-mirror</id> <url>${env.MAVEN_MIRROR_URL}</url> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>maven-mirror</id> <url>${env.MAVEN_MIRROR_URL}</url> </pluginRepository> </pluginRepositories> </profile> <!-- SPARK-34774 Add this property to ensure change-scala-version.sh can replace the public `scala.version` property correctly. --> <!-- <profile> <id>scala-2.13</id> <properties> <scala.version>2.13.11</scala.version> </properties> <build> <pluginManagement> <plugins> </plugins> </pluginManagement> </build> </profile> --> <!-- This is a profile to enable the use of the ASF snapshot and staging repositories during a build. It is useful when testing against nightly or RC releases of dependencies. It MUST NOT be used when building copies of Spark to use in production or for distribution, --> <profile> <id>snapshots-and-staging</id> <properties> <!-- override point for ASF staging/snapshot repos --> <asf.staging>https://repository.apache.org/content/groups/staging/</asf.staging> <asf.snapshots>https://repository.apache.org/content/repositories/snapshots/</asf.snapshots> </properties> <pluginRepositories> <pluginRepository> <id>ASF Staging</id> <url>${asf.staging}</url> </pluginRepository> <pluginRepository> <id>ASF Snapshots</id> <url>${asf.snapshots}</url> <snapshots> <enabled>true</enabled> </snapshots> <releases> <enabled>false</enabled> </releases> </pluginRepository> </pluginRepositories> <repositories> <repository> <id>ASF Staging</id> <url>${asf.staging}</url> </repository> <repository> <id>ASF Snapshots</id> <url>${asf.snapshots}</url> <snapshots> <enabled>true</enabled> </snapshots> <releases> <enabled>false</enabled> </releases> </repository> </repositories> </profile> <!-- These empty profiles are available in some sub-modules. Declare them here so that maven does not complain when they're provided on the command line for a sub-module that does not have them. --> <profile> <id>hadoop-provided</id> <properties> <spark.yarn.isHadoopProvided>true</spark.yarn.isHadoopProvided> </properties> </profile> <profile> <id>derby-provided</id> </profile> <profile> <id>hive-provided</id> </profile> <profile> <id>orc-provided</id> </profile> <profile> <id>parquet-provided</id> </profile> <profile> <id>sparkr</id> </profile> <profile> <id>jjwt-provided</id> </profile> <!-- use org.openlabtesting.leveldbjni on aarch64 platform except macOS --> <profile> <id>aarch64</id> <properties> <leveldbjni.group>org.openlabtesting.leveldbjni</leveldbjni.group> </properties> <activation> <os> <family>linux</family> <arch>aarch64</arch> </os> </activation> </profile> <profile> <id>applesilicon</id> <properties> <test.default.exclude.tags>org.apache.spark.tags.ChromeUITest,org.apache.spark.tags.ExtendedLevelDBTest</test.default.exclude.tags> </properties> <activation> <os> <family>mac</family> <arch>aarch64</arch> </os> </activation> </profile> <profile> <id>macOS</id> <properties> <test.objc.disable.initialize.fork.safety>YES</test.objc.disable.initialize.fork.safety> </properties> <activation> <os> <family>mac</family> </os> </activation> </profile> <profile> <id>jdwp-test-debug</id> <properties> <jdwp.arg.line>-agentlib:jdwp=transport=dt_socket,suspend=${test.jdwp.suspend},server=${test.jdwp.server},address=${test.jdwp.address}</jdwp.arg.line> <debugArgLine>${jdwp.arg.line}</debugArgLine> <maven.surefire.debug>${jdwp.arg.line}</maven.surefire.debug> <debugForkedProcess>${test.debug.suite}</debugForkedProcess> </properties> </profile> <profile> <id>only-eclipse</id> <activation> <property> <!-- Eclipse M2E plugin exports this property and auto-activates this profile --> <name>m2e.version</name> </property> </activation> <build> <pluginManagement> <plugins> <!-- This plugin's configuration is used to store Eclipse m2e settings only. --> <!-- It has no influence on the Maven build itself. --> <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId> <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions> <pluginExecution> <pluginExecutionFilter> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <versionRange>[2.8,)</versionRange> <goals> <goal>build-classpath</goal> </goals> </pluginExecutionFilter> <action> <ignore></ignore> </action> </pluginExecution> <pluginExecution> <pluginExecutionFilter> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <versionRange>${maven-jar-plugin.version}</versionRange> <goals> <goal>test-jar</goal> </goals> </pluginExecutionFilter> <action> <ignore></ignore> </action> </pluginExecution> <pluginExecution> <pluginExecutionFilter> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <versionRange>[${maven-antrun.version},)</versionRange> <goals> <goal>run</goal> </goals> </pluginExecutionFilter> <action> <ignore></ignore> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata> </configuration> </plugin> </plugins> </pluginManagement> </build> </profile> </profiles> </project>