|
|
@@ -4,13 +4,13 @@
|
|
|
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.sparker</groupId>
|
|
|
- <artifactId>sparker-main</artifactId>
|
|
|
+ <groupId>com.cloudera.hue.livy</groupId>
|
|
|
+ <artifactId>livy-main</artifactId>
|
|
|
<relativePath>../pom.xml</relativePath>
|
|
|
<version>3.7.0-SNAPSHOT</version>
|
|
|
</parent>
|
|
|
|
|
|
- <artifactId>sparker-yarn</artifactId>
|
|
|
+ <artifactId>livy-yarn</artifactId>
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
<properties>
|
|
|
@@ -47,10 +47,18 @@
|
|
|
<artifactId>scala-library</artifactId>
|
|
|
<version>${scala.version}</version>
|
|
|
</dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.cloudera.hue.livy</groupId>
|
|
|
+ <artifactId>livy-repl</artifactId>
|
|
|
+ <version>${project.version}</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
</dependencies>
|
|
|
|
|
|
<build>
|
|
|
<plugins>
|
|
|
+
|
|
|
<plugin>
|
|
|
<groupId>org.scala-tools</groupId>
|
|
|
<artifactId>maven-scala-plugin</artifactId>
|
|
|
@@ -63,53 +71,26 @@
|
|
|
</goals>
|
|
|
</execution>
|
|
|
</executions>
|
|
|
+ <!--
|
|
|
<configuration>
|
|
|
- <scalaVersion>${scala.version}</scalaVersion>
|
|
|
- </configuration
|
|
|
- <plugin>
|
|
|
- <artifactId>maven-assembly-plugin</artifactId>
|
|
|
- <version>2.4</version>
|
|
|
- <configuration>
|
|
|
- <descriptor>src/main/assembly/dist.xml</descriptor>
|
|
|
+ <compilerPlugins>
|
|
|
+ <compilerPlugin>
|
|
|
+ <groupId>org.scalamacros</groupId>
|
|
|
+ <artifactId>paradise_${scala.version}</artifactId>
|
|
|
+ <version>${scala.macros.version}</version>
|
|
|
+ </compilerPlugin>
|
|
|
+ </compilerPlugins>
|
|
|
</configuration>
|
|
|
+ -->
|
|
|
</plugin>
|
|
|
|
|
|
- <!--
|
|
|
<plugin>
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
- <artifactId>maven-shade-plugin</artifactId>
|
|
|
- <version>1.6</version>
|
|
|
+ <artifactId>maven-assembly-plugin</artifactId>
|
|
|
+ <version>2.4</version>
|
|
|
<configuration>
|
|
|
- <createDependencyReducedPom>true</createDependencyReducedPom>
|
|
|
- <filters>
|
|
|
- <filter>
|
|
|
- <artifact>*:*</artifact>
|
|
|
- <excludes>
|
|
|
- <exclude>META-INF/*.SF</exclude>
|
|
|
- <exclude>META-INF/*.DSA</exclude>
|
|
|
- <exclude>META-INF/*.RSA</exclude>
|
|
|
- </excludes>
|
|
|
- </filter>
|
|
|
- </filters>
|
|
|
+ <descriptor>src/main/assembly/dist.xml</descriptor>
|
|
|
</configuration>
|
|
|
- <executions>
|
|
|
- <execution>
|
|
|
- <phase>package</phase>
|
|
|
- <goals>
|
|
|
- <goal>shade</goal>
|
|
|
- </goals>
|
|
|
- <configuration>
|
|
|
- <transformers>
|
|
|
- <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
|
|
|
- <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
|
|
- <mainClass>com.cloudera.hue.sparker.yarn.Client</mainClass>
|
|
|
- </transformer>
|
|
|
- </transformers>
|
|
|
- </configuration>
|
|
|
- </execution>
|
|
|
- </executions>
|
|
|
</plugin>
|
|
|
--->
|
|
|
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
@@ -130,6 +111,7 @@
|
|
|
</execution>
|
|
|
</executions>
|
|
|
</plugin>
|
|
|
+
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
@@ -138,10 +120,10 @@
|
|
|
<manifest>
|
|
|
<addClasspath>true</addClasspath>
|
|
|
<classpathPrefix>lib/</classpathPrefix>
|
|
|
- <maisparkerss>com.cloudera.hue.livy.yarn.Client</mainClass>
|
|
|
+ <mainClass>com.cloudera.hue.livy.yarn.Client</mainClass>
|
|
|
</manifest>
|
|
|
</archive>
|
|
|
- </configuratio>>
|
|
|
+ </configuration>
|
|
|
</plugin>
|
|
|
|
|
|
</plugins>
|