| <!-- |
| ~ 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.sedona</groupId> |
| <artifactId>sedona-spark-parent-${spark.compat.version}_${scala.compat.version}</artifactId> |
| <version>1.5.1</version> |
| <relativePath>../pom.xml</relativePath> |
| </parent> |
| <artifactId>sedona-spark-common-${spark.compat.version}_${scala.compat.version}</artifactId> |
| |
| <name>${project.groupId}:${project.artifactId}</name> |
| <description>A cluster computing system for processing large-scale spatial data: Common SQL API.</description> |
| <url>http://sedona.apache.org/</url> |
| <packaging>jar</packaging> |
| |
| <properties> |
| <maven.deploy.skip>false</maven.deploy.skip> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.sedona</groupId> |
| <artifactId>sedona-common</artifactId> |
| <version>${project.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>*</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.spark</groupId> |
| <artifactId>spark-core_${scala.compat.version}</artifactId> |
| <exclusions> |
| <!-- Make sure Hadoop's guava version is used for older versions of Spark tests --> |
| <exclusion> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| </exclusion> |
| <!-- These break the tests involving the mini HDFS cluster --> |
| <exclusion> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-client-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-client-runtime</artifactId> |
| </exclusion> |
| <!-- Exclude log4j 1 for older versions of Spark--> |
| <exclusion> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| </exclusion> |
| <!-- Exclude log4j-slf4j2-impl for Spark 3.4 --> |
| <exclusion> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-slf4j2-impl</artifactId> |
| </exclusion> |
| <!-- Exclude avro for Spark 3.5, which avoids incompatible version of jackson-core being included --> |
| <exclusion> |
| <groupId>org.apache.avro</groupId> |
| <artifactId>*</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.spark</groupId> |
| <artifactId>spark-sql_${scala.compat.version}</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-client</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>edu.ucar</groupId> |
| <artifactId>cdm-core</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>commons-lang</groupId> |
| <artifactId>commons-lang</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-1.2-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.geotools</groupId> |
| <artifactId>gt-main</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.geotools</groupId> |
| <artifactId>gt-referencing</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.geotools</groupId> |
| <artifactId>gt-epsg-hsql</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.geotools</groupId> |
| <artifactId>gt-shapefile</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.geotools</groupId> |
| <artifactId>gt-geotiff</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.geotools</groupId> |
| <artifactId>gt-process-feature</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.geotools</groupId> |
| <artifactId>gt-coverage</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.geotools</groupId> |
| <artifactId>gt-arcgrid</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>it.geosolutions.jaiext.jiffle</groupId> |
| <artifactId>jt-jiffle-language</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.locationtech.jts</groupId> |
| <artifactId>jts-core</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.wololo</groupId> |
| <artifactId>jts2geojson</artifactId> |
| <exclusions> |
| <exclusion> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>*</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.scala-lang</groupId> |
| <artifactId>scala-library</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.scala-lang.modules</groupId> |
| <artifactId>scala-collection-compat_${scala.compat.version}</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.scalatest</groupId> |
| <artifactId>scalatest_${scala.compat.version}</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-inline</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.beryx</groupId> |
| <artifactId>awt-color-factory</artifactId> |
| <version>1.0.0</version> |
| </dependency> |
| <dependency> |
| <groupId>com.amazonaws</groupId> |
| <artifactId>aws-java-sdk-s3</artifactId> |
| <version>1.12.362</version> |
| <scope>provided</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>*</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-minicluster</artifactId> |
| <version>${hadoop.version}</version> |
| <scope>test</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>ch.qos.reload4j</groupId> |
| <artifactId>reload4j</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>*</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| </dependencies> |
| <build> |
| <sourceDirectory>src/main/java</sourceDirectory> |
| <plugins> |
| <plugin> |
| <groupId>net.alchim31.maven</groupId> |
| <artifactId>scala-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>attach-javadocs</id> |
| <configuration> |
| <skip>true</skip> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.scalatest</groupId> |
| <artifactId>scalatest-maven-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.scalastyle</groupId> |
| <artifactId>scalastyle-maven-plugin</artifactId> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |