Purushottam Sinha created FLINK-40066: -----------------------------------------
Summary: flink-connector-mongodb: update flink-connector-parent to
2.0.0 and flink.version to 2.1.2
Key: FLINK-40066
URL: https://issues.apache.org/jira/browse/FLINK-40066
Project: Flink
Issue Type: Improvement
Components: Connectors / MongoDB
Reporter: Purushottam Sinha
Problem
The connector still builds with flink-connector-parent 1.1.0 (Java 8 era).
Parent 2.0.0 raises the base Java version to 11 (FLINK-38048) and runs the RAT
license check by default (FLINK-39007), which this
repo currently misses.
Evidence
- pom.xml: parent version 1.1.0, <flink.version> 2.1.0; japicmp plugin
referenced as io.github.zentol.japicmp, but parent 2.0.0 manages
com.github.siom79.japicmp
- tools/maven/checkstyle.xml: legacy JavadocMethod properties
(allowMissingJavadoc, allowUndeclaredRTE) rejected by Checkstyle 10.18.2, which
parent 2.0.0 pins
- Same update done for Kafka (FLINK-39138), OpenSearch (FLINK-39707), AWS
(FLINK-40065)
Proposed fix
- Bump parent to 2.0.0, flink.version to 2.1.2, japicmp groupId to
com.github.siom79.japicmp in pom.xml
- Fix JavadocMethod config in tools/maven/checkstyle.xml; apply Spotless
(google-java-format 1.24.0)
- Update push_pr.yml matrix [2.1-SNAPSHOT, 2.2-SNAPSHOT] → released [2.1.2,
2.2.1]
Acceptance
- mvn clean install passes (Checkstyle, Spotless, RAT included)
- CI matrix builds against Flink 2.1.2 and 2.2.1
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
