sd4324530 opened a new pull request, #4632:
URL: https://github.com/apache/flink-cdc/pull/4632

   ## What is the purpose of this pull request?
   
   Rename the two Flink compatibility modules after the Flink version they 
target, and nest them under a `flink-cdc-flink` aggregate:
   
   * `flink-cdc-flink1-compat` -> `flink-cdc-flink/flink-cdc-flink-1.20`
   * `flink-cdc-flink2-compat` -> `flink-cdc-flink/flink-cdc-flink-2.2`
   
   With the compatibility layer named per version, a future Flink line can be 
added as a sibling module instead of a generation-wide switch - the layout 
Paimon (`paimon-flink-1.20`, ...) and Fluss (`fluss-flink-1.20`, ...) already 
use.
   
   This is the first step of the multi-version compatibility refactor tracked 
in FLINK-41452. The original attempt (#4623) bundled the whole refactor into 
one PR and was found too large to review, so it is being reworked as a series 
of small sub-task PRs; this PR supersedes #4623 and contains only the rename 
(sub-task: FLINK-41641). The remaining steps (root-pom consolidation, 
compat-layer split, per-version dist and connector artifacts, docs) follow as 
separate PRs.
   
   ## Brief change log
   
   Pure rename - zero class-content change. 75 files: 57 pure renames, 17 files 
with a few lines each, 1 new aggregate pom.
   
   * The two modules move under a new `flink-cdc-flink` aggregate (packaging 
pom, two modules); their artifactIds and parent declarations follow.
   * References updated: 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` 
(repository guidance kept in sync).
   * No profile id, property, CI workflow, guava handling or download-page GAV 
is touched.
   
   ## Verifying this change
   
   * Full `mvn clean install -DskipTests` on JDK 11 for both generations 
(default and `-Pflink2`), with the repository gates (spotless / checkstyle) 
green.
   * Artifact-level check that nothing fell out of the fat jars after the 
shade-wildcard change: the dist and SQL connector fat jars were verified to 
contain the complete compat class set on both lines (21 / 38 classes, none 
missing).
   * No reference to the old module names remains anywhere in the tree.
   * E2E is covered by CI as usual.
   
   ## Documentation
   
   - Does this pull request introduce a new feature? (no)
   - If yes, how is the feature documented? (not applicable)
   
   `AGENTS.md`, the repository guidance file, is updated to the new module 
names.
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [x] Yes (please specify the tool below)
   
   Generated-by: CodeBuddy (GLM-5.3)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to