|
|
@@ -0,0 +1,145 @@
|
|
|
+<?xml version="1.0" encoding="UTF-8"?>
|
|
|
+<!--
|
|
|
+ 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/xsd/maven-4.0.0.xsd">
|
|
|
+ <modelVersion>4.0.0</modelVersion>
|
|
|
+ <parent>
|
|
|
+ <groupId>com.cloudera.hue.livy</groupId>
|
|
|
+ <artifactId>livy-main</artifactId>
|
|
|
+ <relativePath>../pom.xml</relativePath>
|
|
|
+ <version>0.2.0-SNAPSHOT</version>
|
|
|
+ </parent>
|
|
|
+
|
|
|
+ <artifactId>livy-spark_2.10</artifactId>
|
|
|
+ <version>0.2.0-SNAPSHOT</version>
|
|
|
+ <packaging>jar</packaging>
|
|
|
+
|
|
|
+ <dependencies>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.cloudera.hue.livy</groupId>
|
|
|
+ <artifactId>livy-core_${scala.binary.version}</artifactId>
|
|
|
+ <version>${project.version}</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.cloudera.hue.livy</groupId>
|
|
|
+ <artifactId>livy-core_${scala.binary.version}</artifactId>
|
|
|
+ <version>${project.version}</version>
|
|
|
+ <type>test-jar</type>
|
|
|
+ <scope>test</scope>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.cloudera.hue.livy</groupId>
|
|
|
+ <artifactId>livy-repl_${scala.binary.version}</artifactId>
|
|
|
+ <version>${project.version}</version>
|
|
|
+ <scope>test</scope>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.cloudera.hue.livy</groupId>
|
|
|
+ <artifactId>livy-yarn_${scala.binary.version}</artifactId>
|
|
|
+ <version>${project.version}</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.hadoop</groupId>
|
|
|
+ <artifactId>hadoop-client</artifactId>
|
|
|
+ <scope>provided</scope>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.hadoop</groupId>
|
|
|
+ <artifactId>hadoop-yarn-client</artifactId>
|
|
|
+ <scope>provided</scope>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.json4s</groupId>
|
|
|
+ <artifactId>json4s-ast_${scala.binary.version}</artifactId>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.json4s</groupId>
|
|
|
+ <artifactId>json4s-core_${scala.binary.version}</artifactId>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.json4s</groupId>
|
|
|
+ <artifactId>json4s-jackson_${scala.binary.version}</artifactId>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.scala-lang</groupId>
|
|
|
+ <artifactId>scala-library</artifactId>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.scalatest</groupId>
|
|
|
+ <artifactId>scalatest_${scala.binary.version}</artifactId>
|
|
|
+ <scope>test</scope>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.slf4j</groupId>
|
|
|
+ <artifactId>slf4j-api</artifactId>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>net.databinder.dispatch</groupId>
|
|
|
+ <artifactId>dispatch-core_${scala.binary.version}</artifactId>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>net.databinder.dispatch</groupId>
|
|
|
+ <artifactId>dispatch-json4s-jackson_${scala.binary.version}</artifactId>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ </dependencies>
|
|
|
+
|
|
|
+ <build>
|
|
|
+ <plugins>
|
|
|
+
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-surefire-plugin</artifactId>
|
|
|
+ </plugin>
|
|
|
+
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.scalatest</groupId>
|
|
|
+ <artifactId>scalatest-maven-plugin</artifactId>
|
|
|
+ <version>1.0</version>
|
|
|
+ <configuration>
|
|
|
+ <systemProperties>
|
|
|
+ <spark.master>local</spark.master>
|
|
|
+ <spark.driver.allowMultipleContexts>true</spark.driver.allowMultipleContexts>
|
|
|
+ <spark.ui.enabled>false</spark.ui.enabled>
|
|
|
+ <settings.usejavacp.value>true</settings.usejavacp.value>
|
|
|
+ <livy.repl.jar>../livy-repl/target/livy-repl_${scala.binary.version}-${project.version}.jar</livy.repl.jar>
|
|
|
+ </systemProperties>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+
|
|
|
+ </plugins>
|
|
|
+ </build>
|
|
|
+
|
|
|
+</project>
|
|
|
+
|