Skip to content

Commit

Permalink
[FLINK-12839][dist] package flink-shaded-netty-tcnative-dynamic into …
Browse files Browse the repository at this point in the history
…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/.
  • Loading branch information
NicoK committed Jun 15, 2019
1 parent ddfd4b8 commit c4ec9be
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
6 changes: 6 additions & 0 deletions flink-dist/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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 -->
Expand Down
10 changes: 10 additions & 0 deletions flink-dist/src/main/assemblies/opt.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>

0 comments on commit c4ec9be

Please sign in to comment.