| <!-- |
| ~ 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/maven-v4_0_0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <groupId>org.apache</groupId> |
| <artifactId>apache</artifactId> |
| <version>23</version> |
| <relativePath /> |
| </parent> |
| <groupId>org.apache.sedona</groupId> |
| <artifactId>sedona-parent</artifactId> |
| <version>1.0.0-incubating</version> |
| <packaging>pom</packaging> |
| <name>sedona-parent</name> |
| <url>http://sedona.apache.org/</url> |
| <description>Apache Sedona is a cluster computing system for processing large-scale spatial data. Apache Sedona is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF. |
| </description> |
| <developers> |
| <developer><name>Apache Sedona</name></developer> |
| </developers> |
| <modules> |
| <module>core</module> |
| <module>sql</module> |
| <module>viz</module> |
| <module>python-adapter</module> |
| </modules> |
| <licenses> |
| <license> |
| <name>Apache License 2.0</name> |
| <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| <distribution>repo</distribution> |
| </license> |
| </licenses> |
| <mailingLists> |
| <mailingList> |
| <name>Sedona Developer List</name> |
| <post>dev@sedona.apache.org</post> |
| <subscribe>dev-subscribe@sedona.apache.org</subscribe> |
| <unsubscribe>dev-unsubscribe@sedona.apache.org</unsubscribe> |
| </mailingList> |
| </mailingLists> |
| <scm> |
| <connection>scm:git:https://github.com/apache/incubator-sedona.git</connection> |
| <developerConnection>scm:git:https://github.com/apache/incubator-sedona.git</developerConnection> |
| <url>https://github.com/apache/incubator-sedona</url> |
| <tag>sedona-1.0.0-incubator</tag> |
| </scm> |
| |
| <properties> |
| <geotools.version>24.0</geotools.version> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <dependency.scope>provided</dependency.scope> |
| <jts.version>1.18.0</jts.version> |
| <jts2geojson.version>0.14.3</jts2geojson.version> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-databind</artifactId> |
| <version>${jackson.version}</version> |
| <scope>${dependency.scope}</scope> |
| </dependency> |
| <dependency> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-core</artifactId> |
| <version>${jackson.version}</version> |
| <scope>${dependency.scope}</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.wololo</groupId> |
| <artifactId>jts2geojson</artifactId> |
| <version>${jts2geojson.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.locationtech.jts</groupId> |
| <artifactId>jts-core</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>*</artifactId> |
| </exclusion> |
| </exclusions> |
| <scope>${dependency.scope}</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.locationtech.jts</groupId> |
| <artifactId>jts-core</artifactId> |
| <version>${jts.version}</version> |
| <scope>${dependency.scope}</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.datasyslab</groupId> |
| <artifactId>sernetcdf</artifactId> |
| <version>0.1.0</version> |
| <scope>${dependency.scope}</scope> |
| </dependency> |
| <!--The following GeoTools dependencies use GNU Lesser General Public License and thus are excluded from the binary distribution--> |
| <!-- Users have to include them by themselves manually --> |
| <!-- See https://www.apache.org/legal/resolved.html#category-x --> |
| <!-- See https://github.com/geotools/geotools#license --> |
| <!--for CRS transformation--> |
| <dependency> |
| <groupId>org.geotools</groupId> |
| <artifactId>gt-main</artifactId> |
| <version>${geotools.version}</version> |
| <scope>${dependency.scope}</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>org.locationtech.jts</groupId> |
| <artifactId>jts-core</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>*</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <!--for CRS transformation--> |
| <dependency> |
| <groupId>org.geotools</groupId> |
| <artifactId>gt-referencing</artifactId> |
| <version>${geotools.version}</version> |
| <scope>${dependency.scope}</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>*</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <!--for CRS transformation--> |
| <dependency> |
| <groupId>org.geotools</groupId> |
| <artifactId>gt-epsg-hsql</artifactId> |
| <version>${geotools.version}</version> |
| <scope>${dependency.scope}</scope> |
| <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> |
| <version>${spark.version}</version> |
| <scope>${dependency.scope}</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>*</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.spark</groupId> |
| <artifactId>spark-sql_${scala.compat.version}</artifactId> |
| <version>${spark.version}</version> |
| <scope>${dependency.scope}</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-mapreduce-client-core</artifactId> |
| <version>2.8.2</version> |
| <scope>${dependency.scope}</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-common</artifactId> |
| <version>2.8.2</version> |
| <scope>${dependency.scope}</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-hdfs</artifactId> |
| <version>2.8.2</version> |
| <scope>${dependency.scope}</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <!-- Test --> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.12</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.scalatest</groupId> |
| <artifactId>scalatest_${scala.compat.version}</artifactId> |
| <version>3.1.1</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.scala-lang</groupId> |
| <artifactId>scala-compiler</artifactId> |
| <version>${scala.version}</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| <repositories> |
| <repository> |
| <id>maven2-repository.dev.java.net</id> |
| <name>Java.net repository</name> |
| <url>https://download.java.net/maven/2</url> |
| </repository> |
| <repository> |
| <id>osgeo</id> |
| <name>OSGeo Release Repository</name> |
| <url>https://repo.osgeo.org/repository/release/</url> |
| <snapshots> |
| <enabled>false</enabled> |
| </snapshots> |
| <releases> |
| <enabled>true</enabled> |
| </releases> |
| </repository> |
| </repositories> |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>net.alchim31.maven</groupId> |
| <artifactId>scala-maven-plugin</artifactId> |
| <version>3.2.1</version> |
| <executions> |
| <execution> |
| <id>scala-compile-first</id> |
| <phase>process-resources</phase> |
| <goals> |
| <goal>add-source</goal> |
| <goal>compile</goal> |
| </goals> |
| <configuration> |
| <args> |
| <arg>-dependencyfile</arg> |
| <arg>${project.build.directory}/.scala_dependencies</arg> |
| </args> |
| </configuration> |
| </execution> |
| <execution> |
| <id>scala-test-compile</id> |
| <phase>process-test-resources</phase> |
| <goals> |
| <goal>testCompile</goal> |
| </goals> |
| <configuration> |
| <args> |
| <arg>-dependencyfile</arg> |
| <arg>${project.build.directory}/.scala_dependencies</arg> |
| </args> |
| </configuration> |
| </execution> |
| <execution> |
| <id>attach-javadocs</id> |
| <goals> |
| <goal>doc-jar</goal> |
| </goals> |
| <configuration> |
| <args> |
| <arg>${scaladoc.arg}</arg> |
| </args> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>3.1</version> |
| <configuration> |
| <source>1.8</source> |
| <target>1.8</target> |
| </configuration> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>net.nicoulaj.maven.plugins</groupId> |
| <artifactId>checksum-maven-plugin</artifactId> |
| <version>1.9</version> |
| <executions> |
| <execution> |
| <goals> |
| <goal>artifacts</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <algorithms> |
| <algorithm>SHA-512</algorithm> |
| </algorithms> |
| </configuration> |
| </plugin> |
| <plugin> |
| <!-- see http://davidb.github.com/scala-maven-plugin --> |
| <groupId>net.alchim31.maven</groupId> |
| <artifactId>scala-maven-plugin</artifactId> |
| <version>3.2.1</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>compile</phase> |
| <goals> |
| <goal>compile</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-shade-plugin</artifactId> |
| <version>2.1</version> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>shade</goal> |
| </goals> |
| <configuration> |
| <transformers> |
| <!-- use transformer to handle merge of META-INF/services - see http://java.net/jira/browse/JERSEY-440?focusedCommentId=14822&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_14822 --> |
| <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" /> |
| <transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"> |
| <resource>reference.conf</resource> |
| </transformer> |
| </transformers> |
| <filters> |
| <!-- filter to address "Invalid signature file" issue - see http://stackoverflow.com/a/6743609/589215 --> |
| <filter> |
| <artifact>*:*</artifact> |
| <excludes> |
| <exclude>META-INF/*.SF</exclude> |
| <exclude>META-INF/*.DSA</exclude> |
| <exclude>META-INF/*.RSA</exclude> |
| </excludes> |
| </filter> |
| <filter> |
| <artifact>org.datasyslab:sernetcdf</artifact> |
| <excludes> |
| <exclude>com/fasterxml/**</exclude> |
| </excludes> |
| </filter> |
| </filters> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>2.18.1</version> |
| </plugin> |
| <plugin> |
| <groupId>org.scalatest</groupId> |
| <artifactId>scalatest-maven-plugin</artifactId> |
| <version>1.0</version> |
| <configuration> |
| <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory> |
| <junitxml>.</junitxml> |
| <filereports>TestSuiteReport.txt</filereports> |
| </configuration> |
| <executions> |
| <execution> |
| <id>test</id> |
| <goals> |
| <goal>test</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>2.10.4</version> |
| <executions> |
| <execution> |
| <id>attach-javadocs</id> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <additionalparam>-Xdoclint:none</additionalparam> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>io.paradoxical</groupId> |
| <artifactId>resolved-pom-maven-plugin</artifactId> |
| <version>1.0</version> |
| <configuration> |
| <properties> |
| <spark.compat.version>${spark.compat.version}</spark.compat.version> |
| <scala.compat.version>${scala.compat.version}</scala.compat.version> |
| </properties> |
| </configuration> |
| <executions> |
| <execution> |
| <id>resolve-my-pom</id> |
| <phase>prepare-package</phase> |
| <goals> |
| <goal>resolve-pom</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <version>0.13</version> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>exec-maven-plugin</artifactId> |
| <version>3.0.0</version> |
| <executions> |
| <execution> |
| <configuration> |
| <executable>python3</executable> |
| <workingDirectory>${maven.multiModuleProjectDirectory}</workingDirectory> |
| <arguments> |
| <argument>spark-version-converter.py</argument> |
| <argument>${spark.converter.version}</argument> |
| </arguments> |
| </configuration> |
| <id>python_build</id> |
| <phase>generate-resources</phase> |
| <goals> |
| <goal>exec</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| <profiles> |
| <profile> |
| <id>allow-snapshots</id> |
| <activation> |
| <activeByDefault>true</activeByDefault> |
| </activation> |
| <repositories> |
| <repository> |
| <id>snapshots-repo</id> |
| <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| <releases> |
| <enabled>false</enabled> |
| </releases> |
| <snapshots> |
| <enabled>true</enabled> |
| </snapshots> |
| </repository> |
| </repositories> |
| </profile> |
| <profile> |
| <id>spark3.0</id> |
| <activation> |
| <property> |
| <name>spark</name> |
| <value>3.0</value> |
| </property> |
| <activeByDefault>true</activeByDefault> |
| </activation> |
| <properties> |
| <spark.version>3.0.1</spark.version> |
| <spark.compat.version>3.0</spark.compat.version> |
| <spark.converter.version>spark3</spark.converter.version> |
| <jackson.version>2.10.0</jackson.version> |
| <maven.deploy.skip>false</maven.deploy.skip> |
| </properties> |
| </profile> |
| <profile> |
| <id>spark2.4</id> |
| <activation> |
| <property> |
| <name>spark</name> |
| <value>2.4</value> |
| </property> |
| <activeByDefault>false</activeByDefault> |
| </activation> |
| <properties> |
| <spark.version>2.4.7</spark.version> |
| <spark.compat.version>2.4</spark.compat.version> |
| <spark.converter.version>spark2</spark.converter.version> |
| <jackson.version>2.6.7</jackson.version> |
| <maven.deploy.skip>true</maven.deploy.skip> |
| </properties> |
| </profile> |
| <profile> |
| <id>scala2.12</id> |
| <activation> |
| <property> |
| <name>scala</name> |
| <value>2.12</value> |
| </property> |
| <activeByDefault>true</activeByDefault> |
| </activation> |
| <properties> |
| <scala.version>2.12.8</scala.version> |
| <scala.compat.version>2.12</scala.compat.version> |
| <scaladoc.arg>-no-java-comments</scaladoc.arg> |
| </properties> |
| </profile> |
| <profile> |
| <id>scala2.11</id> |
| <activation> |
| <property> |
| <name>scala</name> |
| <value>2.11</value> |
| </property> |
| <activeByDefault>false</activeByDefault> |
| </activation> |
| <properties> |
| <scala.version>2.11.8</scala.version> |
| <scala.compat.version>2.11</scala.compat.version> |
| <scaladoc.arg /> |
| </properties> |
| </profile> |
| </profiles> |
| </project> |