|
|
@@ -0,0 +1,321 @@
|
|
|
+<?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</groupId>
|
|
|
+ <artifactId>hue-parent</artifactId>
|
|
|
+ <relativePath>../../../maven/pom.xml</relativePath>
|
|
|
+ <version>3.7.0-SNAPSHOT</version>
|
|
|
+ </parent>
|
|
|
+
|
|
|
+ <groupId>com.cloudera.sparker</groupId>
|
|
|
+ <artifactId>spark-server</artifactId>
|
|
|
+ <packaging>jar</packaging>
|
|
|
+ <version>3.7.0-SNAPSHOT</version>
|
|
|
+
|
|
|
+ <name>Spark Server</name>
|
|
|
+ <description>Spark Server</description>
|
|
|
+
|
|
|
+ <licenses>
|
|
|
+ <license>
|
|
|
+ <name>The Apache Software License, Version 2.0</name>
|
|
|
+ <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
|
|
+ </license>
|
|
|
+ </licenses>
|
|
|
+
|
|
|
+ <organization>
|
|
|
+ <name>Cloudera Inc</name>
|
|
|
+ <url>http://www.cloudera.com</url>
|
|
|
+ </organization>
|
|
|
+
|
|
|
+ <properties>
|
|
|
+ <javaVersion>1.7</javaVersion>
|
|
|
+ <!--
|
|
|
+ <hadoop.version>${cdh.hadoop.version}</hadoop.version>
|
|
|
+ <spark.version>${cdh.spark.version}</spark.version>
|
|
|
+ <slf4j.version>${cdh.slf4j.version}</slf4j.version>
|
|
|
+ <jetty.version>8.1.14.v20131031</jetty.version>
|
|
|
+ -->
|
|
|
+ <spark.version></spark.version>
|
|
|
+ </properties>
|
|
|
+
|
|
|
+ <repositories>
|
|
|
+ <repository>
|
|
|
+ <id>cdh.repo</id>
|
|
|
+ <url>https://repository.cloudera.com/content/groups/cloudera-repos</url>
|
|
|
+ <name>Cloudera Repositories</name>
|
|
|
+ <snapshots>
|
|
|
+ <enabled>false</enabled>
|
|
|
+ </snapshots>
|
|
|
+ </repository>
|
|
|
+ <repository>
|
|
|
+ <id>cdh.snapshots.repo</id>
|
|
|
+ <url>https://repository.cloudera.com/content/repositories/snapshots</url>
|
|
|
+ <name>Cloudera Snapshots Repository</name>
|
|
|
+ <snapshots>
|
|
|
+ <enabled>true</enabled>
|
|
|
+ </snapshots>
|
|
|
+ <releases>
|
|
|
+ <enabled>false</enabled>
|
|
|
+ </releases>
|
|
|
+ </repository>
|
|
|
+ <repository>
|
|
|
+ <id>Codehaus repository</id>
|
|
|
+ <url>http://repository.codehaus.org/</url>
|
|
|
+ <snapshots>
|
|
|
+ <enabled>false</enabled>
|
|
|
+ </snapshots>
|
|
|
+ </repository>
|
|
|
+ </repositories>
|
|
|
+
|
|
|
+ <dependencies>
|
|
|
+ <!--
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.spark</groupId>
|
|
|
+ <artifactId>spark-core_2.10</artifactId>
|
|
|
+ <version>${spark.version}</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.spark</groupId>
|
|
|
+ <artifactId>spark-bagel_2.10</artifactId>
|
|
|
+ <version>${spark.version}</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.spark</groupId>
|
|
|
+ <artifactId>spark-mllib_2.10</artifactId>
|
|
|
+ <version>${spark.version}</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.spark</groupId>
|
|
|
+ <artifactId>spark-streaming_2.10</artifactId>
|
|
|
+ <version>${spark.version}</version>
|
|
|
+ </dependency>
|
|
|
+ -->
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.spark</groupId>
|
|
|
+ <artifactId>spark-repl_2.10</artifactId>
|
|
|
+ <version>1.1.0-cdh5.2.0-SNAPSHOT</version>
|
|
|
+
|
|
|
+
|
|
|
+ <!--
|
|
|
+ ${spark.version}</version>
|
|
|
+ -->
|
|
|
+
|
|
|
+ <exclusions>
|
|
|
+ <exclusion>
|
|
|
+ <groupId>javax.servlet</groupId>
|
|
|
+ <artifactId>servlet-api</artifactId>
|
|
|
+ </exclusion>
|
|
|
+ </exclusions>
|
|
|
+ </dependency>
|
|
|
+ </dependencies>
|
|
|
+
|
|
|
+ <build>
|
|
|
+ <pluginManagement>
|
|
|
+ <plugins>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-enforcer-plugin</artifactId>
|
|
|
+ <version>1.0</version>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-compiler-plugin</artifactId>
|
|
|
+ <version>2.5.1</version>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-site-plugin</artifactId>
|
|
|
+ <version>3.3</version>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-javadoc-plugin</artifactId>
|
|
|
+ <version>2.8.1</version>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-assembly-plugin</artifactId>
|
|
|
+ <version>2.2</version>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-antrun-plugin</artifactId>
|
|
|
+ <version>1.6</version>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.codehaus.mojo</groupId>
|
|
|
+ <artifactId>build-helper-maven-plugin</artifactId>
|
|
|
+ <version>1.8</version>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.hadoop</groupId>
|
|
|
+ <artifactId>hadoop-maven-plugins</artifactId>
|
|
|
+ <version>${hadoop.version}</version>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-jar-plugin</artifactId>
|
|
|
+ <version>2.3.2</version>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-source-plugin</artifactId>
|
|
|
+ <version>2.1.2</version>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>com.atlassian.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-clover2-plugin</artifactId>
|
|
|
+ <version>3.0.5</version>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.rat</groupId>
|
|
|
+ <artifactId>apache-rat-plugin</artifactId>
|
|
|
+ <version>0.8</version>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-deploy-plugin</artifactId>
|
|
|
+ <version>2.7</version>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.felix</groupId>
|
|
|
+ <artifactId>maven-bundle-plugin</artifactId>
|
|
|
+ <version>2.4.0</version>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
+ </pluginManagement>
|
|
|
+
|
|
|
+ <plugins>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-enforcer-plugin</artifactId>
|
|
|
+ <inherited>false</inherited>
|
|
|
+ <configuration>
|
|
|
+ <rules>
|
|
|
+ <requireMavenVersion>
|
|
|
+ <version>[3.0.0,)</version>
|
|
|
+ </requireMavenVersion>
|
|
|
+ <requireJavaVersion>
|
|
|
+ <version>[${javaVersion}.0,${javaVersion}.1000}]</version>
|
|
|
+ </requireJavaVersion>
|
|
|
+ <requireOS>
|
|
|
+ <family>unix</family>
|
|
|
+ </requireOS>
|
|
|
+ </rules>
|
|
|
+ </configuration>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <id>clean</id>
|
|
|
+ <goals>
|
|
|
+ <goal>enforce</goal>
|
|
|
+ </goals>
|
|
|
+ <phase>pre-clean</phase>
|
|
|
+ </execution>
|
|
|
+ <execution>
|
|
|
+ <id>default</id>
|
|
|
+ <goals>
|
|
|
+ <goal>enforce</goal>
|
|
|
+ </goals>
|
|
|
+ <phase>validate</phase>
|
|
|
+ </execution>
|
|
|
+ <execution>
|
|
|
+ <id>site</id>
|
|
|
+ <goals>
|
|
|
+ <goal>enforce</goal>
|
|
|
+ </goals>
|
|
|
+ <phase>pre-site</phase>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-compiler-plugin</artifactId>
|
|
|
+ <configuration>
|
|
|
+ <source>1.6</source>
|
|
|
+ <target>1.6</target>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ <!--
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-jar-plugin</artifactId>
|
|
|
+ <configuration>
|
|
|
+ <archive>
|
|
|
+ <manifest>
|
|
|
+ <mainClass>com.cloudera.sparker.SparkerMain</mainClass>
|
|
|
+ </manifest>
|
|
|
+ </archive>
|
|
|
+ </configuration>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <id>test-package</id>
|
|
|
+ <phase>package</phase>
|
|
|
+ <goals>
|
|
|
+ <goal>test-jar</goal>
|
|
|
+ </goals>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
+ -->
|
|
|
+
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-shade-plugin</artifactId>
|
|
|
+ <version>2.3</version>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <phase>package</phase>
|
|
|
+ <goals>
|
|
|
+ <goal>shade</goal>
|
|
|
+ </goals>
|
|
|
+ <configuration>
|
|
|
+ <transformers>
|
|
|
+ <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
|
|
+ <mainClass>com.cloudera.sparker.SparkerMain</mainClass>
|
|
|
+ </transformer>
|
|
|
+ </transformers>
|
|
|
+ </configuration>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+
|
|
|
+ <configuration>
|
|
|
+ <filters>
|
|
|
+ <filter>
|
|
|
+ <artifact>*:*</artifact>
|
|
|
+ <excludes>
|
|
|
+ <exclude>META-INF/*.SF</exclude>
|
|
|
+ <exclude>META-INF/*.DSA</exclude>
|
|
|
+ <exclude>META-INF/*.RSA</exclude>
|
|
|
+ </excludes>
|
|
|
+ </filter>
|
|
|
+ </filters>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
+ </build>
|
|
|
+
|
|
|
+</project>
|