提交 96f4c794 编写于 作者: A Arvid Heise 提交者: Piotr Nowojski

[FLINK-15268][build] Correctly set Multi-Release in manifest.

FLINK-14905 introduced a multi-release approach to bundle libraries
for different JDK versions. However, the multi-release flag was not
correctly set, which effectively disabled the mechanism and lead to
incomplete dependencies on Java 11. This commit fixes the setup, such
that the Java 11 libraries are correctly loaded.
上级 e47bbcc6
......@@ -573,16 +573,16 @@ under the License.
<goals>
<goal>jar</goal>
</goals>
<configuration>
<archive>
<manifestEntries>
<!-- jaxb-api is packaged as an optional dependency that is only accessible on Java 11 -->
<Multi-Release>true</Multi-Release>
</manifestEntries>
</archive>
</configuration>
</execution>
</executions>
<configuration>
<archive>
<manifestEntries>
<!-- jaxb-api is packaged as an optional dependency that is only accessible on Java 11 -->
<Multi-Release>true</Multi-Release>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册