<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  <parent>
    <artifactId>sedona-parent</artifactId>
    <groupId>org.apache.sedona</groupId>
    <version>1.6.0</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <artifactId>sedona-spark-shaded-3.5_2.13</artifactId>
  <name>${project.groupId}:${project.artifactId}</name>
  <description>A cluster computing system for processing large-scale spatial data: Spark Shaded.</description>
  <url>http://sedona.apache.org/</url>
  <build>
    <sourceDirectory>src/main/scala</sourceDirectory>
    <plugins>
      <plugin>
        <groupId>io.paradoxical</groupId>
        <artifactId>resolved-pom-maven-plugin</artifactId>
        <version>1.0</version>
        <executions>
          <execution>
            <id>resolve-my-pom</id>
            <phase>none</phase>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
            <configuration>
              <transformers>
                <transformer />
                <transformer>
                  <resource>reference.conf</resource>
                </transformer>
              </transformers>
              <artifactSet>
                <excludes>
                  <exclude>org.scala-lang:scala-library</exclude>
                </excludes>
              </artifactSet>
              <filters>
                <filter>
                  <artifact>*:*</artifact>
                  <excludes>
                    <exclude>META-INF/*.SF</exclude>
                    <exclude>META-INF/*.DSA</exclude>
                    <exclude>META-INF/*.RSA</exclude>
                  </excludes>
                </filter>
              </filters>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
  <profiles>
    <profile>
      <id>geotools</id>
      <properties>
        <geotools.scope>compile</geotools.scope>
      </properties>
    </profile>
  </profiles>
  <dependencies>
    <dependency>
      <groupId>org.geotools</groupId>
      <artifactId>gt-main</artifactId>
      <version>28.2</version>
      <scope>provided</scope>
      <exclusions>
        <exclusion>
          <artifactId>jai_core</artifactId>
          <groupId>javax.media</groupId>
        </exclusion>
        <exclusion>
          <artifactId>jai_codec</artifactId>
          <groupId>javax.media</groupId>
        </exclusion>
        <exclusion>
          <artifactId>jai_imageio</artifactId>
          <groupId>javax.media</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.geotools</groupId>
      <artifactId>gt-referencing</artifactId>
      <version>28.2</version>
      <scope>provided</scope>
      <exclusions>
        <exclusion>
          <artifactId>jai_core</artifactId>
          <groupId>javax.media</groupId>
        </exclusion>
        <exclusion>
          <artifactId>jai_codec</artifactId>
          <groupId>javax.media</groupId>
        </exclusion>
        <exclusion>
          <artifactId>jai_imageio</artifactId>
          <groupId>javax.media</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.geotools</groupId>
      <artifactId>gt-epsg-hsql</artifactId>
      <version>28.2</version>
      <scope>provided</scope>
      <exclusions>
        <exclusion>
          <artifactId>jai_core</artifactId>
          <groupId>javax.media</groupId>
        </exclusion>
        <exclusion>
          <artifactId>jai_codec</artifactId>
          <groupId>javax.media</groupId>
        </exclusion>
        <exclusion>
          <artifactId>jai_imageio</artifactId>
          <groupId>javax.media</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.geotools</groupId>
      <artifactId>gt-geotiff</artifactId>
      <version>28.2</version>
      <scope>provided</scope>
      <exclusions>
        <exclusion>
          <artifactId>jai_core</artifactId>
          <groupId>javax.media</groupId>
        </exclusion>
        <exclusion>
          <artifactId>jai_codec</artifactId>
          <groupId>javax.media</groupId>
        </exclusion>
        <exclusion>
          <artifactId>jai_imageio</artifactId>
          <groupId>javax.media</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.geotools</groupId>
      <artifactId>gt-process-feature</artifactId>
      <version>28.2</version>
      <scope>provided</scope>
      <exclusions>
        <exclusion>
          <artifactId>jai_core</artifactId>
          <groupId>javax.media</groupId>
        </exclusion>
        <exclusion>
          <artifactId>jai_codec</artifactId>
          <groupId>javax.media</groupId>
        </exclusion>
        <exclusion>
          <artifactId>jai_imageio</artifactId>
          <groupId>javax.media</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.geotools</groupId>
      <artifactId>gt-arcgrid</artifactId>
      <version>28.2</version>
      <scope>provided</scope>
      <exclusions>
        <exclusion>
          <artifactId>jai_core</artifactId>
          <groupId>javax.media</groupId>
        </exclusion>
        <exclusion>
          <artifactId>jai_codec</artifactId>
          <groupId>javax.media</groupId>
        </exclusion>
        <exclusion>
          <artifactId>jai_imageio</artifactId>
          <groupId>javax.media</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.geotools</groupId>
      <artifactId>gt-coverage</artifactId>
      <version>28.2</version>
      <scope>provided</scope>
      <exclusions>
        <exclusion>
          <artifactId>jai_core</artifactId>
          <groupId>javax.media</groupId>
        </exclusion>
        <exclusion>
          <artifactId>jai_codec</artifactId>
          <groupId>javax.media</groupId>
        </exclusion>
        <exclusion>
          <artifactId>jai_imageio</artifactId>
          <groupId>javax.media</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.13.1</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>hamcrest-core</artifactId>
          <groupId>org.hamcrest</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.apache.logging.log4j</groupId>
      <artifactId>log4j-core</artifactId>
      <version>2.20.0</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>log4j-api</artifactId>
          <groupId>org.apache.logging.log4j</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.apache.logging.log4j</groupId>
      <artifactId>log4j-slf4j-impl</artifactId>
      <version>2.20.0</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>log4j-api</artifactId>
          <groupId>org.apache.logging.log4j</groupId>
        </exclusion>
      </exclusions>
    </dependency>
  </dependencies>
  <properties>
    <geotools.scope>provided</geotools.scope>
    <cdm.scope>compile</cdm.scope>
    <maven.deploy.skip>false</maven.deploy.skip>
  </properties>
</project>
