提交 2f347a03 编写于 作者: R Robert Metzger

[FLINK-2037] Provide flink-python.jar in lib/

This closes #691
上级 93e960d8
...@@ -314,6 +314,7 @@ under the License. ...@@ -314,6 +314,7 @@ under the License.
<exclude>org.apache.flink:flink-java-examples</exclude> <exclude>org.apache.flink:flink-java-examples</exclude>
<exclude>org.apache.flink:flink-scala-examples</exclude> <exclude>org.apache.flink:flink-scala-examples</exclude>
<exclude>org.apache.flink:flink-streaming-examples</exclude> <exclude>org.apache.flink:flink-streaming-examples</exclude>
<exclude>org.apache.flink:flink-python</exclude>
</excludes> </excludes>
</artifactSet> </artifactSet>
<transformers> <transformers>
......
...@@ -28,6 +28,22 @@ under the License. ...@@ -28,6 +28,22 @@ under the License.
<includeBaseDirectory>true</includeBaseDirectory> <includeBaseDirectory>true</includeBaseDirectory>
<baseDirectory>flink-${project.version}</baseDirectory> <baseDirectory>flink-${project.version}</baseDirectory>
<!-- Include flink-python.jar in lib/ -->
<dependencySets>
<dependencySet>
<outputDirectory>lib</outputDirectory>
<unpack>false</unpack>
<useTransitiveDependencies>true</useTransitiveDependencies>
<useProjectArtifact>false</useProjectArtifact>
<useProjectAttachments>false</useProjectAttachments>
<useTransitiveFiltering>true</useTransitiveFiltering>
<includes>
<include>org.apache.flink:flink-python</include>
</includes>
</dependencySet>
</dependencySets>
<files> <files>
<!-- copy fat jar --> <!-- copy fat jar -->
<file> <file>
......
...@@ -22,4 +22,4 @@ bin=`cd "$bin"; pwd` ...@@ -22,4 +22,4 @@ bin=`cd "$bin"; pwd`
. "$bin"/config.sh . "$bin"/config.sh
"$FLINK_BIN_DIR"/flink run -v "$FLINK_ROOT_DIR"/lib/flink-python-0.9-SNAPSHOT.jar "2" "$@" "$FLINK_BIN_DIR"/flink run -v "$FLINK_ROOT_DIR"/lib/flink-python*.jar "2" "$@"
...@@ -22,4 +22,5 @@ bin=`cd "$bin"; pwd` ...@@ -22,4 +22,5 @@ bin=`cd "$bin"; pwd`
. "$bin"/config.sh . "$bin"/config.sh
"$FLINK_BIN_DIR"/flink run -v "$FLINK_ROOT_DIR"/lib/flink-python-0.9-SNAPSHOT.jar "3" "$@"
"$FLINK_BIN_DIR"/flink run -v "$FLINK_ROOT_DIR"/lib/flink-python*.jar "3" "$@"
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册