Repository: flink
Updated Branches:
  refs/heads/master b8f58fab5 -> c24b8e6cb


[FLINK-2643] [build] Update Travis build matrix and change snapshot deploy 
profiles

This closes #1146


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/c24b8e6c
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/c24b8e6c
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/c24b8e6c

Branch: refs/heads/master
Commit: c24b8e6cb265564ec038dfaea1de87ca886c23a8
Parents: b8f58fa
Author: Stephan Ewen <se...@apache.org>
Authored: Fri Sep 18 12:47:07 2015 +0200
Committer: Stephan Ewen <se...@apache.org>
Committed: Tue Sep 22 13:25:20 2015 +0200

----------------------------------------------------------------------
 .travis.yml                                     |   8 +-
 .../flink-shaded-hadoop2/pom.xml                | 540 ++++++++++++++
 .../flink-shaded-include-yarn/pom.xml           | 734 -------------------
 flink-shaded-hadoop/pom.xml                     |   2 +-
 pom.xml                                         |  35 +-
 tools/deploy_to_maven.sh                        |  47 +-
 6 files changed, 577 insertions(+), 789 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/c24b8e6c/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index b67b893..83ce25d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -14,12 +14,12 @@ language: java
 #See https://issues.apache.org/jira/browse/FLINK-1072
 matrix:
   include:
-    - jdk: "openjdk7"
-      env: PROFILE="-Dhadoop.profile=1 -Dscala-2.11"
-    - jdk: "oraclejdk7" # this will also deploy a uberjar to s3 at some point
+    - jdk: "openjdk7" # this uploads the Hadoop 1 build to Maven and S3
       env: PROFILE="-Dhadoop.profile=1"
+    - jdk: "oraclejdk7" # this uploads the Hadoop 2 build to Maven and S3
+      env: PROFILE="-Dhadoop.version=2.3.0 -P!include-yarn-tests"
     - jdk: "openjdk7"
-      env: PROFILE="-Dhadoop.version=2.4.0"
+      env: PROFILE="-Dhadoop.version=2.4.0 -Dscala-2.11"
     - jdk: "oraclejdk8"
       env: PROFILE="-Dhadoop.version=2.5.0 -Dmaven.javadoc.skip=true"
     - jdk: "oraclejdk8"

http://git-wip-us.apache.org/repos/asf/flink/blob/c24b8e6c/flink-shaded-hadoop/flink-shaded-hadoop2/pom.xml
----------------------------------------------------------------------
diff --git a/flink-shaded-hadoop/flink-shaded-hadoop2/pom.xml 
b/flink-shaded-hadoop/flink-shaded-hadoop2/pom.xml
index 1923981..d482517 100644
--- a/flink-shaded-hadoop/flink-shaded-hadoop2/pom.xml
+++ b/flink-shaded-hadoop/flink-shaded-hadoop2/pom.xml
@@ -81,9 +81,89 @@ under the License.
                                        <artifactId>servlet-api</artifactId>
                                </exclusion>
                                <exclusion>
+                                       <groupId>org.mortbay.jetty</groupId>
+                                       <artifactId>jetty</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.mortbay.jetty</groupId>
+                                       <artifactId>jetty-util</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>com.sun.jersey</groupId>
+                                       <artifactId>jersey-core</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>com.sun.jersey</groupId>
+                                       <artifactId>jersey-json</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.codehaus.jettison</groupId>
+                                       <artifactId>jettison</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>com.sun.jersey</groupId>
+                                       <artifactId>jersey-server</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>tomcat</groupId>
+                                       <artifactId>jasper-compiler</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>tomcat</groupId>
+                                       <artifactId>jasper-runtime</artifactId>
+                               </exclusion>
+                               <exclusion>
                                        <groupId>javax.servlet.jsp</groupId>
                                        <artifactId>jsp-api</artifactId>
                                </exclusion>
+                               <exclusion>
+                                       
<groupId>com.sun.jersey.jersey-test-framework</groupId>
+                                       
<artifactId>jersey-test-framework-grizzly2</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       
<groupId>com.sun.jersey.jersey-test-framework</groupId>
+                                       
<artifactId>jersey-test-framework-core</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>javax.servlet</groupId>
+                                       
<artifactId>javax.servlet-api</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>com.sun.jersey</groupId>
+                                       <artifactId>jersey-client</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>com.sun.jersey</groupId>
+                                       <artifactId>jersey-grizzly2</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.glassfish.grizzly</groupId>
+                                       <artifactId>grizzly-http</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.glassfish.grizzly</groupId>
+                                       
<artifactId>grizzly-framework</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.glassfish.grizzly</groupId>
+                                       
<artifactId>grizzly-http-server</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.glassfish.grizzly</groupId>
+                                       <artifactId>grizzly-rcm</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.glassfish.grizzly</groupId>
+                                       
<artifactId>grizzly-http-servlet</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.glassfish</groupId>
+                                       <artifactId>javax.servlet</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       
<groupId>com.sun.jersey.contribs</groupId>
+                                       <artifactId>jersey-guice</artifactId>
+                               </exclusion>
                        </exclusions>
                </dependency>
 
@@ -132,6 +212,90 @@ under the License.
                                        <groupId>javax.servlet</groupId>
                                        <artifactId>servlet-api</artifactId>
                                </exclusion>
+                               <exclusion>
+                                       <groupId>org.mortbay.jetty</groupId>
+                                       <artifactId>jetty</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.mortbay.jetty</groupId>
+                                       <artifactId>jetty-util</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>com.sun.jersey</groupId>
+                                       <artifactId>jersey-core</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>com.sun.jersey</groupId>
+                                       <artifactId>jersey-json</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.codehaus.jettison</groupId>
+                                       <artifactId>jettison</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>com.sun.jersey</groupId>
+                                       <artifactId>jersey-server</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>tomcat</groupId>
+                                       <artifactId>jasper-compiler</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>tomcat</groupId>
+                                       <artifactId>jasper-runtime</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>javax.servlet.jsp</groupId>
+                                       <artifactId>jsp-api</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       
<groupId>com.sun.jersey.jersey-test-framework</groupId>
+                                       
<artifactId>jersey-test-framework-grizzly2</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       
<groupId>com.sun.jersey.jersey-test-framework</groupId>
+                                       
<artifactId>jersey-test-framework-core</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>javax.servlet</groupId>
+                                       
<artifactId>javax.servlet-api</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>com.sun.jersey</groupId>
+                                       <artifactId>jersey-client</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>com.sun.jersey</groupId>
+                                       <artifactId>jersey-grizzly2</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.glassfish.grizzly</groupId>
+                                       <artifactId>grizzly-http</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.glassfish.grizzly</groupId>
+                                       
<artifactId>grizzly-framework</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.glassfish.grizzly</groupId>
+                                       
<artifactId>grizzly-http-server</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.glassfish.grizzly</groupId>
+                                       <artifactId>grizzly-rcm</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.glassfish.grizzly</groupId>
+                                       
<artifactId>grizzly-http-servlet</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.glassfish</groupId>
+                                       <artifactId>javax.servlet</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       
<groupId>com.sun.jersey.contribs</groupId>
+                                       <artifactId>jersey-guice</artifactId>
+                               </exclusion>
                        </exclusions>
                </dependency>
 
@@ -188,6 +352,382 @@ under the License.
                                        <groupId>io.netty</groupId>
                                        <artifactId>netty</artifactId>
                                </exclusion>
+                               <exclusion>
+                                       <groupId>javax.servlet</groupId>
+                                       <artifactId>servlet-api</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.mortbay.jetty</groupId>
+                                       <artifactId>jetty</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.mortbay.jetty</groupId>
+                                       <artifactId>jetty-util</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>com.sun.jersey</groupId>
+                                       <artifactId>jersey-core</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>com.sun.jersey</groupId>
+                                       <artifactId>jersey-json</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.codehaus.jettison</groupId>
+                                       <artifactId>jettison</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>com.sun.jersey</groupId>
+                                       <artifactId>jersey-server</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>tomcat</groupId>
+                                       <artifactId>jasper-compiler</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>tomcat</groupId>
+                                       <artifactId>jasper-runtime</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>javax.servlet.jsp</groupId>
+                                       <artifactId>jsp-api</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       
<groupId>com.sun.jersey.jersey-test-framework</groupId>
+                                       
<artifactId>jersey-test-framework-grizzly2</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       
<groupId>com.sun.jersey.jersey-test-framework</groupId>
+                                       
<artifactId>jersey-test-framework-core</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>javax.servlet</groupId>
+                                       
<artifactId>javax.servlet-api</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>com.sun.jersey</groupId>
+                                       <artifactId>jersey-client</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>com.sun.jersey</groupId>
+                                       <artifactId>jersey-grizzly2</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.glassfish.grizzly</groupId>
+                                       <artifactId>grizzly-http</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.glassfish.grizzly</groupId>
+                                       
<artifactId>grizzly-framework</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.glassfish.grizzly</groupId>
+                                       
<artifactId>grizzly-http-server</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.glassfish.grizzly</groupId>
+                                       <artifactId>grizzly-rcm</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.glassfish.grizzly</groupId>
+                                       
<artifactId>grizzly-http-servlet</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.glassfish</groupId>
+                                       <artifactId>javax.servlet</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       
<groupId>com.sun.jersey.contribs</groupId>
+                                       <artifactId>jersey-guice</artifactId>
+                               </exclusion>
+                       </exclusions>
+               </dependency>
+
+               <dependency>
+                       <groupId>org.apache.hadoop</groupId>
+                       <artifactId>hadoop-yarn-client</artifactId>
+                       <version>${hadoop.version}</version>
+                       <exclusions>
+                               <exclusion>
+                                       <groupId>asm</groupId>
+                                       <artifactId>asm</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.ow2.asm</groupId>
+                                       <artifactId>asm</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>tomcat</groupId>
+                                       <artifactId>jasper-compiler</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>tomcat</groupId>
+                                       <artifactId>jasper-runtime</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.mortbay.jetty</groupId>
+                                       <artifactId>jetty</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.mortbay.jetty</groupId>
+                                       <artifactId>jsp-api-2.1</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.mortbay.jetty</groupId>
+                                       <artifactId>jsp-2.1</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.mortbay.jetty</groupId>
+                                       <artifactId>jetty-util</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.eclipse.jdt</groupId>
+                                       <artifactId>core</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.apache.hadoop</groupId>
+                                       
<artifactId>hadoop-yarn-common</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       
<groupId>com.google.inject.extensions</groupId>
+                                       <artifactId>guice-servlet</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>io.netty</groupId>
+                                       <artifactId>netty</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>javax.servlet</groupId>
+                                       <artifactId>servlet-api</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.mortbay.jetty</groupId>
+                                       <artifactId>jetty</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.mortbay.jetty</groupId>
+                                       <artifactId>jetty-util</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>com.sun.jersey</groupId>
+                                       <artifactId>jersey-core</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>com.sun.jersey</groupId>
+                                       <artifactId>jersey-json</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.codehaus.jettison</groupId>
+                                       <artifactId>jettison</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>com.sun.jersey</groupId>
+                                       <artifactId>jersey-server</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>tomcat</groupId>
+                                       <artifactId>jasper-compiler</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>tomcat</groupId>
+                                       <artifactId>jasper-runtime</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>javax.servlet.jsp</groupId>
+                                       <artifactId>jsp-api</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       
<groupId>com.sun.jersey.jersey-test-framework</groupId>
+                                       
<artifactId>jersey-test-framework-grizzly2</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       
<groupId>com.sun.jersey.jersey-test-framework</groupId>
+                                       
<artifactId>jersey-test-framework-core</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>javax.servlet</groupId>
+                                       
<artifactId>javax.servlet-api</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>com.sun.jersey</groupId>
+                                       <artifactId>jersey-client</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>com.sun.jersey</groupId>
+                                       <artifactId>jersey-grizzly2</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.glassfish.grizzly</groupId>
+                                       <artifactId>grizzly-http</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.glassfish.grizzly</groupId>
+                                       
<artifactId>grizzly-framework</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.glassfish.grizzly</groupId>
+                                       
<artifactId>grizzly-http-server</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.glassfish.grizzly</groupId>
+                                       <artifactId>grizzly-rcm</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.glassfish.grizzly</groupId>
+                                       
<artifactId>grizzly-http-servlet</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.glassfish</groupId>
+                                       <artifactId>javax.servlet</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       
<groupId>com.sun.jersey.contribs</groupId>
+                                       <artifactId>jersey-guice</artifactId>
+                               </exclusion>
+                       </exclusions>
+               </dependency>
+
+               <dependency>
+                       <groupId>org.apache.hadoop</groupId>
+                       <artifactId>hadoop-yarn-common</artifactId>
+                       <version>${hadoop.version}</version>
+                       <exclusions>
+                               <exclusion>
+                                       <groupId>asm</groupId>
+                                       <artifactId>asm</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.ow2.asm</groupId>
+                                       <artifactId>asm</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>tomcat</groupId>
+                                       <artifactId>jasper-compiler</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>tomcat</groupId>
+                                       <artifactId>jasper-runtime</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.mortbay.jetty</groupId>
+                                       <artifactId>jetty</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.mortbay.jetty</groupId>
+                                       <artifactId>jsp-api-2.1</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.mortbay.jetty</groupId>
+                                       <artifactId>jsp-2.1</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.mortbay.jetty</groupId>
+                                       <artifactId>jetty-util</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.eclipse.jdt</groupId>
+                                       <artifactId>core</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.apache.hadoop</groupId>
+                                       
<artifactId>hadoop-yarn-common</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       
<groupId>com.google.inject.extensions</groupId>
+                                       <artifactId>guice-servlet</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>io.netty</groupId>
+                                       <artifactId>netty</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>javax.servlet</groupId>
+                                       <artifactId>servlet-api</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.mortbay.jetty</groupId>
+                                       <artifactId>jetty</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.mortbay.jetty</groupId>
+                                       <artifactId>jetty-util</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>com.sun.jersey</groupId>
+                                       <artifactId>jersey-core</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>com.sun.jersey</groupId>
+                                       <artifactId>jersey-json</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.codehaus.jettison</groupId>
+                                       <artifactId>jettison</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>com.sun.jersey</groupId>
+                                       <artifactId>jersey-server</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>tomcat</groupId>
+                                       <artifactId>jasper-compiler</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>tomcat</groupId>
+                                       <artifactId>jasper-runtime</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>javax.servlet.jsp</groupId>
+                                       <artifactId>jsp-api</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       
<groupId>com.sun.jersey.jersey-test-framework</groupId>
+                                       
<artifactId>jersey-test-framework-grizzly2</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       
<groupId>com.sun.jersey.jersey-test-framework</groupId>
+                                       
<artifactId>jersey-test-framework-core</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>javax.servlet</groupId>
+                                       
<artifactId>javax.servlet-api</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>com.sun.jersey</groupId>
+                                       <artifactId>jersey-client</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>com.sun.jersey</groupId>
+                                       <artifactId>jersey-grizzly2</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.glassfish.grizzly</groupId>
+                                       <artifactId>grizzly-http</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.glassfish.grizzly</groupId>
+                                       
<artifactId>grizzly-framework</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.glassfish.grizzly</groupId>
+                                       
<artifactId>grizzly-http-server</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.glassfish.grizzly</groupId>
+                                       <artifactId>grizzly-rcm</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.glassfish.grizzly</groupId>
+                                       
<artifactId>grizzly-http-servlet</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.glassfish</groupId>
+                                       <artifactId>javax.servlet</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       
<groupId>com.sun.jersey.contribs</groupId>
+                                       <artifactId>jersey-guice</artifactId>
+                               </exclusion>
                        </exclusions>
                </dependency>
        </dependencies>

http://git-wip-us.apache.org/repos/asf/flink/blob/c24b8e6c/flink-shaded-hadoop/flink-shaded-include-yarn/pom.xml
----------------------------------------------------------------------
diff --git a/flink-shaded-hadoop/flink-shaded-include-yarn/pom.xml 
b/flink-shaded-hadoop/flink-shaded-include-yarn/pom.xml
deleted file mode 100644
index 03a27ed..0000000
--- a/flink-shaded-hadoop/flink-shaded-include-yarn/pom.xml
+++ /dev/null
@@ -1,734 +0,0 @@
-<?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/maven-v4_0_0.xsd";>
-
-       <modelVersion>4.0.0</modelVersion>
-
-       <parent>
-               <groupId>org.apache.flink</groupId>
-               <artifactId>flink-shaded-hadoop</artifactId>
-               <version>0.10-SNAPSHOT</version>
-               <relativePath>..</relativePath>
-       </parent>
-
-       <artifactId>flink-shaded-include-yarn</artifactId>
-       <name>flink-shaded-include-yarn</name>
-
-       <packaging>jar</packaging>
-
-       <dependencies>
-               <dependency>
-                       <groupId>org.apache.hadoop</groupId>
-                       <artifactId>hadoop-common</artifactId>
-                       <version>${hadoop.version}</version>
-                       <exclusions>
-                               <exclusion>
-                                       <groupId>asm</groupId>
-                                       <artifactId>asm</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.ow2.asm</groupId>
-                                       <artifactId>asm</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>tomcat</groupId>
-                                       <artifactId>jasper-compiler</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>tomcat</groupId>
-                                       <artifactId>jasper-runtime</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.mortbay.jetty</groupId>
-                                       <artifactId>jetty</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.mortbay.jetty</groupId>
-                                       <artifactId>jsp-api-2.1</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.mortbay.jetty</groupId>
-                                       <artifactId>jsp-2.1</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.mortbay.jetty</groupId>
-                                       <artifactId>jetty-util</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.eclipse.jdt</groupId>
-                                       <artifactId>core</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>javax.servlet</groupId>
-                                       <artifactId>servlet-api</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.mortbay.jetty</groupId>
-                                       <artifactId>jetty</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.mortbay.jetty</groupId>
-                                       <artifactId>jetty-util</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>com.sun.jersey</groupId>
-                                       <artifactId>jersey-core</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>com.sun.jersey</groupId>
-                                       <artifactId>jersey-json</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.codehaus.jettison</groupId>
-                                       <artifactId>jettison</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>com.sun.jersey</groupId>
-                                       <artifactId>jersey-server</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>tomcat</groupId>
-                                       <artifactId>jasper-compiler</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>tomcat</groupId>
-                                       <artifactId>jasper-runtime</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>javax.servlet.jsp</groupId>
-                                       <artifactId>jsp-api</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       
<groupId>com.sun.jersey.jersey-test-framework</groupId>
-                                       
<artifactId>jersey-test-framework-grizzly2</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       
<groupId>com.sun.jersey.jersey-test-framework</groupId>
-                                       
<artifactId>jersey-test-framework-core</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>javax.servlet</groupId>
-                                       
<artifactId>javax.servlet-api</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>com.sun.jersey</groupId>
-                                       <artifactId>jersey-client</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>com.sun.jersey</groupId>
-                                       <artifactId>jersey-grizzly2</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.glassfish.grizzly</groupId>
-                                       <artifactId>grizzly-http</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.glassfish.grizzly</groupId>
-                                       
<artifactId>grizzly-framework</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.glassfish.grizzly</groupId>
-                                       
<artifactId>grizzly-http-server</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.glassfish.grizzly</groupId>
-                                       <artifactId>grizzly-rcm</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.glassfish.grizzly</groupId>
-                                       
<artifactId>grizzly-http-servlet</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.glassfish</groupId>
-                                       <artifactId>javax.servlet</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       
<groupId>com.sun.jersey.contribs</groupId>
-                                       <artifactId>jersey-guice</artifactId>
-                               </exclusion>
-                       </exclusions> 
-               </dependency>
-
-               <dependency>
-                       <groupId>org.apache.hadoop</groupId>
-                       <artifactId>hadoop-hdfs</artifactId>
-                       <version>${hadoop.version}</version>
-                       <exclusions>
-                               <exclusion>
-                                       <groupId>asm</groupId>
-                                       <artifactId>asm</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.ow2.asm</groupId>
-                                       <artifactId>asm</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>tomcat</groupId>
-                                       <artifactId>jasper-compiler</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>tomcat</groupId>
-                                       <artifactId>jasper-runtime</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.mortbay.jetty</groupId>
-                                       <artifactId>jetty</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.mortbay.jetty</groupId>
-                                       <artifactId>jsp-api-2.1</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.mortbay.jetty</groupId>
-                                       <artifactId>jsp-2.1</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.mortbay.jetty</groupId>
-                                       <artifactId>jetty-util</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.eclipse.jdt</groupId>
-                                       <artifactId>core</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>javax.servlet</groupId>
-                                       <artifactId>servlet-api</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.mortbay.jetty</groupId>
-                                       <artifactId>jetty</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.mortbay.jetty</groupId>
-                                       <artifactId>jetty-util</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>com.sun.jersey</groupId>
-                                       <artifactId>jersey-core</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>com.sun.jersey</groupId>
-                                       <artifactId>jersey-json</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.codehaus.jettison</groupId>
-                                       <artifactId>jettison</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>com.sun.jersey</groupId>
-                                       <artifactId>jersey-server</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>tomcat</groupId>
-                                       <artifactId>jasper-compiler</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>tomcat</groupId>
-                                       <artifactId>jasper-runtime</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>javax.servlet.jsp</groupId>
-                                       <artifactId>jsp-api</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       
<groupId>com.sun.jersey.jersey-test-framework</groupId>
-                                       
<artifactId>jersey-test-framework-grizzly2</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       
<groupId>com.sun.jersey.jersey-test-framework</groupId>
-                                       
<artifactId>jersey-test-framework-core</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>javax.servlet</groupId>
-                                       
<artifactId>javax.servlet-api</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>com.sun.jersey</groupId>
-                                       <artifactId>jersey-client</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>com.sun.jersey</groupId>
-                                       <artifactId>jersey-grizzly2</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.glassfish.grizzly</groupId>
-                                       <artifactId>grizzly-http</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.glassfish.grizzly</groupId>
-                                       
<artifactId>grizzly-framework</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.glassfish.grizzly</groupId>
-                                       
<artifactId>grizzly-http-server</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.glassfish.grizzly</groupId>
-                                       <artifactId>grizzly-rcm</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.glassfish.grizzly</groupId>
-                                       
<artifactId>grizzly-http-servlet</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.glassfish</groupId>
-                                       <artifactId>javax.servlet</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       
<groupId>com.sun.jersey.contribs</groupId>
-                                       <artifactId>jersey-guice</artifactId>
-                               </exclusion>
-                       </exclusions>
-               </dependency>
-
-               <dependency>
-                       <groupId>org.apache.hadoop</groupId>
-                       <artifactId>hadoop-mapreduce-client-core</artifactId>
-                       <version>${hadoop.version}</version>
-                       <exclusions>
-                               <exclusion>
-                                       <groupId>asm</groupId>
-                                       <artifactId>asm</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.ow2.asm</groupId>
-                                       <artifactId>asm</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>tomcat</groupId>
-                                       <artifactId>jasper-compiler</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>tomcat</groupId>
-                                       <artifactId>jasper-runtime</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.mortbay.jetty</groupId>
-                                       <artifactId>jetty</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.mortbay.jetty</groupId>
-                                       <artifactId>jsp-api-2.1</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.mortbay.jetty</groupId>
-                                       <artifactId>jsp-2.1</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.mortbay.jetty</groupId>
-                                       <artifactId>jetty-util</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.eclipse.jdt</groupId>
-                                       <artifactId>core</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.apache.hadoop</groupId>
-                                       
<artifactId>hadoop-yarn-common</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       
<groupId>com.google.inject.extensions</groupId>
-                                       <artifactId>guice-servlet</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>io.netty</groupId>
-                                       <artifactId>netty</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>javax.servlet</groupId>
-                                       <artifactId>servlet-api</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.mortbay.jetty</groupId>
-                                       <artifactId>jetty</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.mortbay.jetty</groupId>
-                                       <artifactId>jetty-util</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>com.sun.jersey</groupId>
-                                       <artifactId>jersey-core</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>com.sun.jersey</groupId>
-                                       <artifactId>jersey-json</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.codehaus.jettison</groupId>
-                                       <artifactId>jettison</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>com.sun.jersey</groupId>
-                                       <artifactId>jersey-server</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>tomcat</groupId>
-                                       <artifactId>jasper-compiler</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>tomcat</groupId>
-                                       <artifactId>jasper-runtime</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>javax.servlet.jsp</groupId>
-                                       <artifactId>jsp-api</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       
<groupId>com.sun.jersey.jersey-test-framework</groupId>
-                                       
<artifactId>jersey-test-framework-grizzly2</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       
<groupId>com.sun.jersey.jersey-test-framework</groupId>
-                                       
<artifactId>jersey-test-framework-core</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>javax.servlet</groupId>
-                                       
<artifactId>javax.servlet-api</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>com.sun.jersey</groupId>
-                                       <artifactId>jersey-client</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>com.sun.jersey</groupId>
-                                       <artifactId>jersey-grizzly2</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.glassfish.grizzly</groupId>
-                                       <artifactId>grizzly-http</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.glassfish.grizzly</groupId>
-                                       
<artifactId>grizzly-framework</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.glassfish.grizzly</groupId>
-                                       
<artifactId>grizzly-http-server</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.glassfish.grizzly</groupId>
-                                       <artifactId>grizzly-rcm</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.glassfish.grizzly</groupId>
-                                       
<artifactId>grizzly-http-servlet</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.glassfish</groupId>
-                                       <artifactId>javax.servlet</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       
<groupId>com.sun.jersey.contribs</groupId>
-                                       <artifactId>jersey-guice</artifactId>
-                               </exclusion>
-                       </exclusions>
-               </dependency>
-
-               <dependency>
-                       <groupId>org.apache.hadoop</groupId>
-                       <artifactId>hadoop-yarn-client</artifactId>
-                       <version>${hadoop.version}</version>
-                       <exclusions>
-                               <exclusion>
-                                       <groupId>asm</groupId>
-                                       <artifactId>asm</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.ow2.asm</groupId>
-                                       <artifactId>asm</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>tomcat</groupId>
-                                       <artifactId>jasper-compiler</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>tomcat</groupId>
-                                       <artifactId>jasper-runtime</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.mortbay.jetty</groupId>
-                                       <artifactId>jetty</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.mortbay.jetty</groupId>
-                                       <artifactId>jsp-api-2.1</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.mortbay.jetty</groupId>
-                                       <artifactId>jsp-2.1</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.mortbay.jetty</groupId>
-                                       <artifactId>jetty-util</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.eclipse.jdt</groupId>
-                                       <artifactId>core</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.apache.hadoop</groupId>
-                                       
<artifactId>hadoop-yarn-common</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       
<groupId>com.google.inject.extensions</groupId>
-                                       <artifactId>guice-servlet</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>io.netty</groupId>
-                                       <artifactId>netty</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>javax.servlet</groupId>
-                                       <artifactId>servlet-api</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.mortbay.jetty</groupId>
-                                       <artifactId>jetty</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.mortbay.jetty</groupId>
-                                       <artifactId>jetty-util</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>com.sun.jersey</groupId>
-                                       <artifactId>jersey-core</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>com.sun.jersey</groupId>
-                                       <artifactId>jersey-json</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.codehaus.jettison</groupId>
-                                       <artifactId>jettison</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>com.sun.jersey</groupId>
-                                       <artifactId>jersey-server</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>tomcat</groupId>
-                                       <artifactId>jasper-compiler</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>tomcat</groupId>
-                                       <artifactId>jasper-runtime</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>javax.servlet.jsp</groupId>
-                                       <artifactId>jsp-api</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       
<groupId>com.sun.jersey.jersey-test-framework</groupId>
-                                       
<artifactId>jersey-test-framework-grizzly2</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       
<groupId>com.sun.jersey.jersey-test-framework</groupId>
-                                       
<artifactId>jersey-test-framework-core</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>javax.servlet</groupId>
-                                       
<artifactId>javax.servlet-api</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>com.sun.jersey</groupId>
-                                       <artifactId>jersey-client</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>com.sun.jersey</groupId>
-                                       <artifactId>jersey-grizzly2</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.glassfish.grizzly</groupId>
-                                       <artifactId>grizzly-http</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.glassfish.grizzly</groupId>
-                                       
<artifactId>grizzly-framework</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.glassfish.grizzly</groupId>
-                                       
<artifactId>grizzly-http-server</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.glassfish.grizzly</groupId>
-                                       <artifactId>grizzly-rcm</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.glassfish.grizzly</groupId>
-                                       
<artifactId>grizzly-http-servlet</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.glassfish</groupId>
-                                       <artifactId>javax.servlet</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       
<groupId>com.sun.jersey.contribs</groupId>
-                                       <artifactId>jersey-guice</artifactId>
-                               </exclusion>
-                       </exclusions>
-               </dependency>
-
-               <dependency>
-                       <groupId>org.apache.hadoop</groupId>
-                       <artifactId>hadoop-yarn-common</artifactId>
-                       <version>${hadoop.version}</version>
-                       <exclusions>
-                               <exclusion>
-                                       <groupId>asm</groupId>
-                                       <artifactId>asm</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.ow2.asm</groupId>
-                                       <artifactId>asm</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>tomcat</groupId>
-                                       <artifactId>jasper-compiler</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>tomcat</groupId>
-                                       <artifactId>jasper-runtime</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.mortbay.jetty</groupId>
-                                       <artifactId>jetty</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.mortbay.jetty</groupId>
-                                       <artifactId>jsp-api-2.1</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.mortbay.jetty</groupId>
-                                       <artifactId>jsp-2.1</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.mortbay.jetty</groupId>
-                                       <artifactId>jetty-util</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.eclipse.jdt</groupId>
-                                       <artifactId>core</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.apache.hadoop</groupId>
-                                       
<artifactId>hadoop-yarn-common</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       
<groupId>com.google.inject.extensions</groupId>
-                                       <artifactId>guice-servlet</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>io.netty</groupId>
-                                       <artifactId>netty</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>javax.servlet</groupId>
-                                       <artifactId>servlet-api</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.mortbay.jetty</groupId>
-                                       <artifactId>jetty</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.mortbay.jetty</groupId>
-                                       <artifactId>jetty-util</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>com.sun.jersey</groupId>
-                                       <artifactId>jersey-core</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>com.sun.jersey</groupId>
-                                       <artifactId>jersey-json</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.codehaus.jettison</groupId>
-                                       <artifactId>jettison</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>com.sun.jersey</groupId>
-                                       <artifactId>jersey-server</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>tomcat</groupId>
-                                       <artifactId>jasper-compiler</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>tomcat</groupId>
-                                       <artifactId>jasper-runtime</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>javax.servlet.jsp</groupId>
-                                       <artifactId>jsp-api</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       
<groupId>com.sun.jersey.jersey-test-framework</groupId>
-                                       
<artifactId>jersey-test-framework-grizzly2</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       
<groupId>com.sun.jersey.jersey-test-framework</groupId>
-                                       
<artifactId>jersey-test-framework-core</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>javax.servlet</groupId>
-                                       
<artifactId>javax.servlet-api</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>com.sun.jersey</groupId>
-                                       <artifactId>jersey-client</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>com.sun.jersey</groupId>
-                                       <artifactId>jersey-grizzly2</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.glassfish.grizzly</groupId>
-                                       <artifactId>grizzly-http</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.glassfish.grizzly</groupId>
-                                       
<artifactId>grizzly-framework</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.glassfish.grizzly</groupId>
-                                       
<artifactId>grizzly-http-server</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.glassfish.grizzly</groupId>
-                                       <artifactId>grizzly-rcm</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.glassfish.grizzly</groupId>
-                                       
<artifactId>grizzly-http-servlet</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.glassfish</groupId>
-                                       <artifactId>javax.servlet</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       
<groupId>com.sun.jersey.contribs</groupId>
-                                       <artifactId>jersey-guice</artifactId>
-                               </exclusion>
-                       </exclusions>
-               </dependency>
-       </dependencies>
-</project>

http://git-wip-us.apache.org/repos/asf/flink/blob/c24b8e6c/flink-shaded-hadoop/pom.xml
----------------------------------------------------------------------
diff --git a/flink-shaded-hadoop/pom.xml b/flink-shaded-hadoop/pom.xml
index 2aaf0e4..6e75b25 100644
--- a/flink-shaded-hadoop/pom.xml
+++ b/flink-shaded-hadoop/pom.xml
@@ -40,7 +40,7 @@ under the License.
 
        <profiles>
                <profile>
-                       <id>include-yarn</id>
+                       <id>include-yarn-tests</id>
                        <activation>
                                <property>
                                        <!-- Please do not remove the 'hadoop2' 
comment. See ./tools/generate_specific_pom.sh -->

http://git-wip-us.apache.org/repos/asf/flink/blob/c24b8e6c/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 082ece0..b5cbc4f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -73,7 +73,7 @@ under the License.
                
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
                <shading-artifact.name>error</shading-artifact.name>
                <hadoop-one.version>1.2.1</hadoop-one.version>
-               <hadoop-two.version>2.2.0</hadoop-two.version>
+               <hadoop-two.version>2.3.0</hadoop-two.version>
                <!-- Need to use a user property here because the 
surefire/failsafe
                         forkCount is not exposed as a property. With this we 
can set
                         it on the "mvn" commandline in travis. -->
@@ -344,6 +344,8 @@ under the License.
        </dependencyManagement>
 
        <profiles>
+               
+               <!-- Profile to switch to Scala Version 2.11 -->
                <profile>
                        <id>scala-2.11</id>
                        <activation>
@@ -357,6 +359,7 @@ under the License.
                        </properties>
                </profile>
 
+               <!-- Profile to switch to Hadoop 1 -->
                <profile>
                        <id>hadoop-1</id>
                        <activation>
@@ -370,6 +373,8 @@ under the License.
                                
<shading-artifact.name>flink-shaded-hadoop1</shading-artifact.name>
                        </properties>
                </profile>
+
+               <!-- Default profile, which builds for Hadoop 2 -->
                <profile>
                        <id>hadoop-2</id>
                        <activation>
@@ -382,31 +387,33 @@ under the License.
                                
<hadoop.version>${hadoop-two.version}</hadoop.version>
                                
<shading-artifact.name>flink-shaded-hadoop2</shading-artifact.name>
                        </properties>
+                       <modules>
+                               <module>flink-yarn</module>
+                       </modules>
                </profile>
 
+               <!-- Profile to deactivate the YARN tests -->
                <profile>
-                       <id>include-tez</id>
-                       <properties>
-                               <hadoop.version>2.6.0</hadoop.version>
-                       </properties>
-               </profile>
-               <profile>
-                       <id>include-yarn</id>
+                       <id>include-yarn-tests</id>
                        <activation>
                                <property>
-                               <!-- Please do not remove the 'hadoop1' 
comment. See ./tools/generate_specific_pom.sh -->
-                               <!--hadoop2--><name>!hadoop.profile</name>
+                                       <!-- Please do not remove the 'hadoop1' 
comment. See ./tools/generate_specific_pom.sh -->
+                                       
<!--hadoop2--><name>!hadoop.profile</name>
                                </property>
                        </activation>
-                       <properties>
-                               
<shading-artifact.name>flink-shaded-include-yarn</shading-artifact.name>
-                       </properties>
                        <modules>
-                               <module>flink-yarn</module>
                                <module>flink-yarn-tests</module>
                        </modules>
                </profile>
 
+               <!-- Profile to set the Hadoop 2 version properly for TEZ -->
+               <profile>
+                       <id>include-tez</id>
+                       <properties>
+                               <hadoop.version>2.6.0</hadoop.version>
+                       </properties>
+               </profile>
+               
                <profile>
                        <id>vendor-repos</id>
                        <!-- Add vendor maven repositories -->

http://git-wip-us.apache.org/repos/asf/flink/blob/c24b8e6c/tools/deploy_to_maven.sh
----------------------------------------------------------------------
diff --git a/tools/deploy_to_maven.sh b/tools/deploy_to_maven.sh
index ac33100..e51e0aa 100755
--- a/tools/deploy_to_maven.sh
+++ b/tools/deploy_to_maven.sh
@@ -21,12 +21,11 @@
 #Please ask @rmetzger (on GitHub) before changing anything here. It contains 
some magic.
 
 # Build Responsibilities
-# 1. Deploy snapshot (hadoop1)
-# 2. Deploy to s3  (hadoop1)
-# 3. Nothing (hadoop200alpha)
-# 4. deploy snapshot and s3 (hadoop2 - 2.2.0)
-# 5. Nothing (hadoop2 - 2.5.1)
-
+# 1. Deploy snapshot & S3 (hadoop1)
+# 2. Deploy snapshot & S3 (hadoop2)
+# 3. Nothing
+# 4. Nothing
+# 5. Nothing
 
 
 echo "install lifecylce mapping fake plugin"
@@ -77,44 +76,20 @@ if [[ $TRAVIS_PULL_REQUEST == "false" ]] ; then
                mvn -B -f pom.hadoop1.xml -Pdocs-and-source -DskipTests 
-Drat.ignoreErrors=true deploy --settings deploysettings.xml; 
        fi
 
-       if [[ $TRAVIS_JOB_NUMBER == *4 ]] && [[ $TRAVIS_PULL_REQUEST == "false" 
]] && [[ $CURRENT_FLINK_VERSION == *SNAPSHOT* ]] ; then 
+       if [[ $TRAVIS_JOB_NUMBER == *2 ]] && [[ $TRAVIS_PULL_REQUEST == "false" 
]] && [[ $CURRENT_FLINK_VERSION == *SNAPSHOT* ]] ; then 
                # deploy hadoop v2 (yarn)
                echo "deploy standard version (hadoop2)"
                mvn -B -DskipTests -Pdocs-and-source -Drat.ignoreErrors=true 
clean deploy --settings deploysettings.xml;
        fi
 
-       # The block below took care of deploying javadoc to github.io. We now 
host the javadocs on the website.
-       # if [[ $TRAVIS_JOB_NUMBER == *5 ]] && [[ $TRAVIS_PULL_REQUEST == 
"false" ]] && [[ $CURRENT_FLINK_VERSION == *SNAPSHOT* ]] ; then 
-       #       cd flink-java
-       #       mvn javadoc:javadoc
-       #       cd target
-       #       cd apidocs
-       #       git init
-       #       git config --global user.email "metzg...@web.de"
-       #       git config --global user.name "Travis-CI"
-       #       git add *
-       #       git commit -am "Javadocs from '$(date)'"
-       #       git config credential.helper "store --file=.git/credentials"
-       #       echo "https://$JAVADOCS_DEPLOY:@github.com"; > .git/credentials
-       #       git push -f 
https://github.com/stratosphere-javadocs/stratosphere-javadocs.github.io.git 
master:master
-       #       rm .git/credentials
-       #       cd ..
-       #       cd ..
-       #       cd ..
-       # fi
-
-       if [[ $TRAVIS_JOB_NUMBER == *2 ]] || [[ $TRAVIS_JOB_NUMBER == *4 ]] ; 
then
+       if [[ $TRAVIS_JOB_NUMBER == *1 ]] || [[ $TRAVIS_JOB_NUMBER == *2 ]] ; 
then
                echo "Uploading build to amazon s3. Job Number: 
$TRAVIS_JOB_NUMBER"
+               
                HD="hadoop1"
-               # job nr 4 is YARN
-               if [[ $TRAVIS_JOB_NUMBER == *4 ]] ; then
-                       # move to current dir
-                       mkdir flink-$CURRENT_FLINK_VERSION
-                       cp -r flink-dist/target/flink-*-bin/flink-yarn*/* 
flink-$CURRENT_FLINK_VERSION/
-                       tar -czf 
flink-$CURRENT_FLINK_VERSION-bin-hadoop2-yarn.tgz flink-$CURRENT_FLINK_VERSION
-                       travis-artifacts upload --path 
flink-$CURRENT_FLINK_VERSION-bin-hadoop2-yarn.tgz --target-path / 
+               
+               # job nr 2 is hadoop 2
+               if [[ $TRAVIS_JOB_NUMBER == *2 ]] ; then
                        HD="hadoop2"
-                       rm -r flink-$CURRENT_FLINK_VERSION
                fi
 
                mkdir flink-$CURRENT_FLINK_VERSION

Reply via email to