| <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> |
| <groupId>org.datasyslab</groupId> |
| <artifactId>geospark-parent</artifactId> |
| <version>1.3.2-SNAPSHOT</version> |
| <packaging>pom</packaging> |
| <name>geospark-parent</name> |
| <url>http://maven.apache.org</url> |
| <description>Apache Spark geospatial extention: SpatialRDD, SpatialSQL and map visualization</description> |
| <modules> |
| <module>core</module> |
| <module>sql</module> |
| <module>viz</module> |
| </modules> |
| |
| <licenses> |
| <license> |
| <name>MIT license</name> |
| <url>https://opensource.org/licenses/MIT</url> |
| </license> |
| </licenses> |
| |
| <developers> |
| <developer> |
| <name>Jia Yu</name> |
| <email>jiayu2@asu.edu</email> |
| <organization>Arizona State University Data Systems Lab</organization> |
| <organizationUrl>http://www.datasyslab.org/</organizationUrl> |
| </developer> |
| <developer> |
| <name>Mohamed Sarwat</name> |
| <email>msarwat@asu.edu</email> |
| <organization>Arizona State University Data Systems Lab</organization> |
| <organizationUrl>http://www.datasyslab.org/</organizationUrl> |
| </developer> |
| </developers> |
| <scm> |
| <connection>scm:git:git@github.com:DataSystemsLab/GeoSpark.git</connection> |
| <developerConnection>scm:git:git@github.com:DataSystemsLab/GeoSpark.git</developerConnection> |
| <url>git@github.com:DataSystemsLab/GeoSpark.git</url> |
| </scm> |
| |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <scala.version>2.11.8</scala.version> |
| <scala.compat.version>2.11</scala.compat.version> |
| <geotools.version>17.0</geotools.version> |
| <spark.version>2.1.3</spark.version> |
| </properties> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.spark</groupId> |
| <artifactId>spark-core_${scala.compat.version}</artifactId> |
| <version>${spark.version}</version> |
| <scope>provided</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>*</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-mapreduce-client-core</artifactId> |
| <version>2.7.2</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-common</artifactId> |
| <version>2.7.2</version> |
| <scope>provided</scope> |
| </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>2.2.4</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> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>3.1</version> |
| <configuration> |
| <source>1.7</source> |
| <target>1.7</target> |
| </configuration> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| <plugins> |
| <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> |
| </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> |
| </plugins> |
| </build> |
| <profiles> |
| <profile> |
| <id>release-sign-artifacts</id> |
| <activation> |
| <property> |
| <name>performRelease</name> |
| <value>true</value> |
| </property> |
| </activation> |
| <distributionManagement> |
| <snapshotRepository> |
| <id>ossrh</id> |
| <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| </snapshotRepository> |
| <repository> |
| <id>ossrh</id> |
| <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| </repository> |
| </distributionManagement> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.sonatype.plugins</groupId> |
| <artifactId>nexus-staging-maven-plugin</artifactId> |
| <version>1.6.7</version> |
| <extensions>true</extensions> |
| <configuration> |
| <serverId>ossrh</serverId> |
| <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| <stagingProfileId>21756750b51471</stagingProfileId> |
| <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-gpg-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>sign-artifacts</id> |
| <phase>verify</phase> |
| <goals> |
| <goal>sign</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| <version>3.0.1</version> |
| <executions> |
| <execution> |
| <id>attach-sources</id> |
| <goals> |
| <goal>jar</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> |
| </plugins> |
| </build> |
| </profile> |
| <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> |
| </profiles> |
| </project> |