Created
May 18, 2017 14:59
-
-
Save MisterSpicy/3ae3205ba09668b8e9b9fc2d1655646e to your computer and use it in GitHub Desktop.
SPARK-14492 test pom.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.sparktest</groupId> | |
<artifactId>sparktest</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<properties> | |
<maven.compiler.source>1.8</maven.compiler.source> | |
<maven.compiler.target>1.8</maven.compiler.target> | |
<!--Encoding--> | |
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
<!--Dependencies--> | |
<junit.version>4.12</junit.version> | |
<spark.version>1.6.3</spark.version> | |
<scala.version>2.11</scala.version> | |
<hadoop.version>2.6.0</hadoop.version> | |
<hive.version>1.1.0</hive.version> | |
</properties> | |
<dependencies> | |
<dependency> | |
<groupId>org.apache.spark</groupId> | |
<artifactId>spark-sql_${scala.version}</artifactId> | |
<version>${spark.version}</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.spark</groupId> | |
<artifactId>spark-hive_${scala.version}</artifactId> | |
<version>${spark.version}</version> | |
<scope>provided</scope> | |
<!--Exclusions for the hive dependencies ensure the hive 1.1.0 jars ar loaded for hive--> | |
<exclusions> | |
<exclusion> | |
<groupId>org.spark-project.hive</groupId> | |
<artifactId>hive-metastore</artifactId> | |
</exclusion> | |
<exclusion> | |
<groupId>org.spark-project.hive</groupId> | |
<artifactId>hive-exec</artifactId> | |
</exclusion> | |
<exclusion> | |
<groupId>org.spark-project.hive</groupId> | |
<artifactId>hive-cli</artifactId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.spark</groupId> | |
<artifactId>spark-core_${scala.version}</artifactId> | |
<version>${spark.version}</version> | |
<scope>provided</scope> | |
<exclusions> | |
<exclusion> | |
<groupId>org.xerial.snappy</groupId> | |
<artifactId>snappy-java</artifactId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.spark</groupId> | |
<artifactId>spark-catalyst_${scala.version}</artifactId> | |
<version>${spark.version}</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.hive</groupId> | |
<artifactId>hive-exec</artifactId> | |
<version>${hive.version}</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.spark</groupId> | |
<artifactId>spark-network-common_${scala.version}</artifactId> | |
<version>${spark.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.xerial.snappy</groupId> | |
<artifactId>snappy-java</artifactId> | |
<version>1.1.2.6</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.hadoop</groupId> | |
<artifactId>hadoop-common</artifactId> | |
<version>${hadoop.version}</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>junit</groupId> | |
<artifactId>junit</artifactId> | |
<version>${junit.version}</version> | |
<scope>test</scope> | |
</dependency> | |
</dependencies> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-dependency-plugin</artifactId> | |
<version>2.10</version> | |
<executions> | |
<execution> | |
<id>analyze</id> | |
<goals> | |
<goal>analyze-only</goal> | |
</goals> | |
</execution> | |
<execution> | |
<id>copy-dependencies</id> | |
<goals> | |
<goal>copy-dependencies</goal> | |
</goals> | |
<configuration> | |
<outputDirectory>${project.build.directory}/classes/lib</outputDirectory> | |
<overWriteReleases>false</overWriteReleases> | |
<overWriteSnapshots>false</overWriteSnapshots> | |
<overWriteIfNewer>true</overWriteIfNewer> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment