peiyu created FLINK-41641:
-----------------------------
Summary: Rename the Flink compat modules to version-specific names
Key: FLINK-41641
URL: https://issues.apache.org/jira/browse/FLINK-41641
Project: Flink
Issue Type: Sub-task
Components: Flink CDC
Affects Versions: cdc-3.7.0
Reporter: peiyu
h2. Purpose
Name the compatibility modules after the Flink version they target, and nest
them under a flink-cdc-flink aggregate, so future Flink lines can grow as
sibling modules - the layout used by Paimon (paimon-flink-1.20 ...) and Fluss
(fluss-flink-1.20 ...).
h2. Changes
Pure rename, zero class-content change:
* {{flink-cdc-flink1-compat}} -> {{flink-cdc-flink/flink-cdc-flink-1.20}}
* {{flink-cdc-flink2-compat}} -> {{flink-cdc-flink/flink-cdc-flink-2.2}}
* New aggregate pom {{flink-cdc-flink/pom.xml}} (packaging pom, two modules).
* Reference updates (17 files, a few lines each): root pom {{<modules>}}; the
compat dependency declarations, neutralization profiles and test-classpath copy
steps in cli / common / composer / runtime / dist / connect /
source-connectors; the shade include wildcard in the 7 SQL connector fat jar
poms ({{flink-cdc-flink*-compat}} -> {{flink-cdc-flink-*}}); the javadoc
exclusion list in docs.sh (switched to relative paths - bare artifactIds only
match root-level modules); AGENTS.md.
h2. Non-goals
No profile id, property or behavior change; guava handling untouched; CI
untouched (no workflow references a compat module name); download-page GAVs
untouched.
h2. Verification
Full clean install on JDK 11 for both generations (default and {{-Pflink2}}),
repository gates green. Every fat jar was checked to still shade the complete
compat class set: the dist and SQL connector fat jars on both lines (21 / 38
classes, none missing). No reference to the old module names remains in the
tree.
h2. Dependencies
None - first step of the series.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)