提交 69905e19 编写于 作者: S sunjincheng121 提交者: Fabian Hueske

[FLINK-6247] [table] Put flink-table.jar with all dependencies into ./opt folder.

This closes #3666.
上级 fff04bfb
......@@ -56,6 +56,15 @@ under the License.
</exclusions>
</dependency>
<!-- streaming-java dependencies -->
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-streaming-java_2.10</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<!-- Add Kafka 0.10.x as a dependency -->
<dependency>
......
......@@ -76,6 +76,8 @@ under the License.
<scope>provided</scope>
</dependency>
<!-- flink-java dependencies -->
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-java</artifactId>
......@@ -83,6 +85,25 @@ under the License.
<scope>provided</scope>
</dependency>
<!-- flink-scala dependencies -->
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-scala_2.10</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<!-- streaming-scala dependencies -->
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-streaming-scala_2.10</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<!-- table dependencies -->
<dependency>
<groupId>org.apache.flink</groupId>
......@@ -93,6 +114,7 @@ under the License.
won't depend on flink-table. -->
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-shaded-hadoop2</artifactId>
......
......@@ -239,6 +239,13 @@ under the License.
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-table_2.10</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<!-- end optional Flink libraries -->
</dependencies>
......
......@@ -59,6 +59,14 @@
<fileMode>0644</fileMode>
</file>
<!-- TableAPI-->
<file>
<source>../flink-libraries/flink-table/target/flink-table_2.10-${project.version}.jar</source>
<outputDirectory>opt/</outputDirectory>
<destName>flink-table_2.10-${project.version}.jar</destName>
<fileMode>0644</fileMode>
</file>
<!-- ML -->
<file>
<source>../flink-libraries/flink-ml/target/flink-ml_2.10-${project.version}-jar-with-dependencies.jar</source>
......
......@@ -34,10 +34,19 @@ under the License.
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-table_2.10</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-streaming-scala_2.10</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>
......
......@@ -40,6 +40,7 @@ under the License.
<groupId>org.apache.flink</groupId>
<artifactId>flink-streaming-scala_2.10</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
......@@ -195,13 +196,17 @@ under the License.
<configuration>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>org-apache-calcite-jdbc.properties</exclude>
<exclude>org-apache-calcite-jdbc.properties</exclude>
<exclude>mozilla/**</exclude>
<exclude>codegen/**</exclude>
<exclude>google/**</exclude>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
</excludes>
</filter>
</filter>
</filters>
<artifactSet>
<includes combine.children="append">
......@@ -209,6 +214,7 @@ under the License.
<include>org.apache.calcite.avatica:*</include>
<include>net.hydromatic:*</include>
<include>org.reflections:*</include>
<include>org.codehaus.janino:*</include>
</includes>
</artifactSet>
<relocations>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册