James Z.M. Gao created FLINK-30372:
--------------------------------------
Summary: dependencyManagement bom for flink-dist
Key: FLINK-30372
URL: https://issues.apache.org/jira/browse/FLINK-30372
Project: Flink
Issue Type: New Feature
Components: API / Core
Reporter: James Z.M. Gao
The flink-dist and other artifacts shipped within the prebuilt .tgz archives
should be depended with the 'provided' scope when developing a flink app. But
many artifacts are shaded directly or indirectly, and not clear to a flink app
developer.
Can we publish a new pom in bom style for org.apache.fink:flink-dist with only
<dependencyManagement> section, which declares all the shaded or shipped
dependencies with 'provided' or 'test' scopes. Then we can import this pom when
in the app pom like this:
{noformat}
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-dist-bom</artifactId>
<version>1.16.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
{noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)