This is an automated email from the ASF dual-hosted git repository.

nkruber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git

commit c4ec9be6c8c1fca9633bb25a2a26f94338988445
Author: Nico Kruber <n...@ververica.com>
AuthorDate: Tue May 21 16:22:21 2019 +0200

    [FLINK-12839][dist] package flink-shaded-netty-tcnative-dynamic into opt/
    
    Please note that there is also a static version of netty-tcnative but we
    currently do not distribute it due to licensing issues. Once openSSL 
completes
    its switch to Apache License v2, we can provide this as well and maybe even
    make that one default (by putting it into lib/). Since there are to many 
things
    which may go wrong with the dynamically-linked library (based on the system 
you
    run on), we provide this only in opt/.
---
 flink-dist/pom.xml                     |  6 ++++++
 flink-dist/src/main/assemblies/opt.xml | 10 ++++++++++
 2 files changed, 16 insertions(+)

diff --git a/flink-dist/pom.xml b/flink-dist/pom.xml
index 59c2b77..8dd16bd 100644
--- a/flink-dist/pom.xml
+++ b/flink-dist/pom.xml
@@ -376,6 +376,12 @@ under the License.
                        <version>${project.version}</version>
                        <scope>provided</scope>
                </dependency>
+
+               <dependency>
+                       <groupId>org.apache.flink</groupId>
+                       
<artifactId>flink-shaded-netty-tcnative-dynamic</artifactId>
+                       <scope>provided</scope>
+               </dependency>
                <!-- end optional Flink libraries -->
 
                <!-- test dependencies -->
diff --git a/flink-dist/src/main/assemblies/opt.xml 
b/flink-dist/src/main/assemblies/opt.xml
index 7f872d4..84593ac 100644
--- a/flink-dist/src/main/assemblies/opt.xml
+++ b/flink-dist/src/main/assemblies/opt.xml
@@ -200,4 +200,14 @@
                        <fileMode>0644</fileMode>
                </fileSet>
        </fileSets>
+       <dependencySets>
+               <dependencySet>
+                       <unpack>false</unpack>
+                       <outputDirectory>opt</outputDirectory>
+                       <includes>
+                               
<include>org.apache.flink:flink-shaded-netty-tcnative-dynamic</include>
+                       </includes>
+                       <scope>provided</scope>
+               </dependencySet>
+       </dependencySets>
 </assembly>

Reply via email to