Created
May 14, 2015 23:38
-
-
Save pchalasani/03fb3d6da7b573c258cc to your computer and use it in GitHub Desktop.
pom with local hive
This file contains hidden or 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
<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>com.yahoo.floura</groupId> | |
<artifactId>floura</artifactId> | |
<version>2.0.0</version> | |
<packaging>jar</packaging> | |
<name>floura</name> | |
<properties> | |
<maven.compiler.source>1.7</maven.compiler.source> | |
<maven.compiler.target>1.7</maven.compiler.target> | |
<encoding>UTF-8</encoding> | |
<scala.version>2.10.4</scala.version> | |
<spark.version>1.3.1.0</spark.version> | |
<spark.hadoop.version>2.6.0.6.1502061521</spark.hadoop.version> | |
<spark.version.full>1.3.1.0_2.6.0.6.1502061521_1505111536</spark.version.full> | |
<slider.version>1.0.0</slider.version> | |
<maven.deploy.skip>true</maven.deploy.skip> | |
</properties> | |
<dependencies> | |
<dependency> | |
<groupId>org.scalaz</groupId> | |
<artifactId>scalaz-core_2.10</artifactId> | |
<version>7.1.1</version> | |
</dependency> | |
<dependency> | |
<groupId>com.github.nscala-time</groupId> | |
<artifactId>nscala-time_2.10</artifactId> | |
<version>1.8.0</version> | |
</dependency> | |
<dependency> | |
<groupId>net.sf.trove4j</groupId> | |
<artifactId>trove4j</artifactId> | |
<version>3.0.3</version> | |
</dependency> | |
<dependency> | |
<groupId>com.google.guava</groupId> | |
<artifactId>guava</artifactId> | |
<version>14.0.1</version> | |
</dependency> | |
<dependency> | |
<groupId>com.twitter</groupId> | |
<artifactId>algebird-core_2.10</artifactId> | |
<version>0.8.2</version> | |
</dependency> | |
<dependency> | |
<groupId>org.scalatest</groupId> | |
<artifactId>scalatest_2.10</artifactId> | |
<version>2.0</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>junit</groupId> | |
<artifactId>junit</artifactId> | |
<version>4.11</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>yahoo.yinst.yspark_yarn</groupId> | |
<artifactId>spark-assembly-${spark.version}-hadoop${spark.hadoop.version}</artifactId> | |
<version>${spark.version.full}</version> | |
<scope>provided</scope> | |
</dependency> | |
<!--<dependency>--> | |
<!--<groupId>org.apache.spark</groupId>--> | |
<!--<artifactId>spark-core_2.10</artifactId>--> | |
<!--<version>1.3.1</version>--> | |
<!--</dependency>--> | |
<!--<dependency>--> | |
<!--<groupId>org.apache.spark</groupId>--> | |
<!--<artifactId>spark-sql_2.10</artifactId>--> | |
<!--<version>1.3.1</version>--> | |
<!--</dependency>--> | |
<!--<dependency>--> | |
<!--<groupId>org.apache.spark</groupId>--> | |
<!--<artifactId>spark-mllib_2.10</artifactId>--> | |
<!--<version>1.3.1</version>--> | |
<!--</dependency>--> | |
<!--<dependency>--> | |
<!--<groupId>org.apache.spark</groupId>--> | |
<!--<artifactId>spark-hive_2.10</artifactId>--> | |
<!--<version>1.3.1</version>--> | |
<!--<scope>provided</scope>--> | |
<!--<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-serde</artifactId>--> | |
<!--</exclusion>--> | |
<!--<exclusion>--> | |
<!--<groupId>org.spark-project.hive</groupId>--> | |
<!--<artifactId>hive-common</artifactId>--> | |
<!--</exclusion>--> | |
<!--</exclusions>--> | |
<!--</dependency>--> | |
<dependency> | |
<groupId>yahoo.yinst.hive</groupId> | |
<artifactId>hive-common</artifactId> | |
<version>0.13.0.6.1502201219</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>yahoo.yinst.hive</groupId> | |
<artifactId>hive-exec</artifactId> | |
<version>0.13.0.6.1502201219</version> | |
<scope>provided</scope> | |
</dependency> | |
</dependencies> | |
<build> | |
<sourceDirectory>src/main/scala</sourceDirectory> | |
<testSourceDirectory>src/test/scala</testSourceDirectory> | |
<outputDirectory>target/scala-${scala.version}/classes</outputDirectory> | |
<testOutputDirectory>target/scala-${scala.version}/test-classes</testOutputDirectory> | |
<plugins> | |
<plugin> | |
<groupId>org.scala-tools</groupId> | |
<artifactId>maven-scala-plugin</artifactId> | |
<version>2.14.2</version> | |
<executions> | |
<execution> | |
<goals> | |
<goal>compile</goal> | |
<goal>testCompile</goal> | |
</goals> | |
<configuration> | |
<args> | |
<arg>-make:transitive</arg> | |
<arg>-dependencyfile</arg> | |
<arg>${project.build.directory}/.scala_dependencies</arg> | |
</args> | |
</configuration> | |
</execution> | |
</executions> | |
<configuration> | |
<sourceDir>src/main/java</sourceDir> | |
<jvmArgs> | |
<jvmArg>-Xms1028m</jvmArg> | |
<jvmArg>-Xmx4096m</jvmArg> | |
</jvmArgs> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-surefire-plugin</artifactId> | |
<version>2.12.4</version> | |
<configuration> | |
<skipTests>true</skipTests> | |
</configuration> | |
</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>WDF TestSuite.txt</filereports> | |
</configuration> | |
<executions> | |
<execution> | |
<id>test</id> | |
<goals> | |
<goal>test</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<artifactId>maven-assembly-plugin</artifactId> | |
<configuration> | |
<descriptorRefs> | |
<descriptorRef>jar-with-dependencies</descriptorRef> | |
</descriptorRefs> | |
</configuration> | |
<executions> | |
<execution> | |
<id>make-assembly</id> <!-- this is used for inheritance merges --> | |
<phase>package</phase> <!-- bind to the packaging phase --> | |
<goals> | |
<goal>single</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> | |
<repositories> | |
<repository> | |
<id>central</id> | |
<url>http://repo1.maven.org/maven2/</url> | |
<snapshots> | |
<enabled>false</enabled> | |
</snapshots> | |
<releases> | |
<enabled>true</enabled> | |
</releases> | |
</repository> | |
<repository> | |
<id>clojars</id> | |
<url>https://clojars.org/repo/</url> | |
<snapshots> | |
<enabled>true</enabled> | |
</snapshots> | |
<releases> | |
<enabled>true</enabled> | |
</releases> | |
</repository> | |
<repository> | |
<id>conjars</id> | |
<url>http://conjars.org/repo/</url> | |
<snapshots> | |
<enabled>true</enabled> | |
</snapshots> | |
<releases> | |
<enabled>true</enabled> | |
</releases> | |
</repository> | |
<repository> | |
<id>sonatype</id> | |
<url>http://oss.sonatype.org/content/groups/public/</url> | |
<snapshots> | |
<enabled>true</enabled> | |
</snapshots> | |
<releases> | |
<enabled>true</enabled> | |
</releases> | |
</repository> | |
<repository> | |
<name>twitter</name> | |
<id>twitter</id> | |
<url>http://maven.twttr.com</url> | |
</repository> | |
</repositories> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment