Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
doujutun3207
flink
提交
c24b8e6c
F
flink
项目概览
doujutun3207
/
flink
与 Fork 源项目一致
从无法访问的项目Fork
通知
24
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
F
flink
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
c24b8e6c
编写于
9月 18, 2015
作者:
S
Stephan Ewen
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[FLINK-2643] [build] Update Travis build matrix and change snapshot deploy profiles
This closes #1146
上级
b8f58fab
变更
6
展开全部
隐藏空白更改
内联
并排
Showing
6 changed file
with
577 addition
and
789 deletion
+577
-789
.travis.yml
.travis.yml
+4
-4
flink-shaded-hadoop/flink-shaded-hadoop2/pom.xml
flink-shaded-hadoop/flink-shaded-hadoop2/pom.xml
+540
-0
flink-shaded-hadoop/flink-shaded-include-yarn/pom.xml
flink-shaded-hadoop/flink-shaded-include-yarn/pom.xml
+0
-734
flink-shaded-hadoop/pom.xml
flink-shaded-hadoop/pom.xml
+1
-1
pom.xml
pom.xml
+21
-14
tools/deploy_to_maven.sh
tools/deploy_to_maven.sh
+11
-36
未找到文件。
.travis.yml
浏览文件 @
c24b8e6c
...
...
@@ -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"
...
...
flink-shaded-hadoop/flink-shaded-hadoop2/pom.xml
浏览文件 @
c24b8e6c
...
...
@@ -80,10 +80,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>
...
...
@@ -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>
...
...
flink-shaded-hadoop/flink-shaded-include-yarn/pom.xml
已删除
100644 → 0
浏览文件 @
b8f58fab
此差异已折叠。
点击以展开。
flink-shaded-hadoop/pom.xml
浏览文件 @
c24b8e6c
...
...
@@ -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 -->
...
...
pom.xml
浏览文件 @
c24b8e6c
...
...
@@ -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 -->
...
...
tools/deploy_to_maven.sh
浏览文件 @
c24b8e6c
...
...
@@ -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 "metzgerr@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
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录