wenjin272 opened a new pull request, #1508: URL: https://github.com/apache/flink-agents/pull/1508
### Purpose of change The integration E2E module overrides the parent's Log4j test dependencies with the root `log4j2.version`, so tests against Flink 2.3.0 resolve Log4j 2.24.3 instead of Flink's 2.25.3. Remove the three duplicate declarations and inherit the E2E parent's dependencies. Their versions follow `flink.log4j2.version`: 2.25.3 for the default build and Flink 2.3, and 2.24.3 for the Flink 1.20, 2.0, 2.1, and 2.2 profiles. Update the stale exclusion comment to describe this inheritance. ### Tests - Checked `help:effective-pom` and `dependency:tree -Dincludes=org.apache.logging.log4j` for the default build and all five Flink profiles. All three Log4j dependencies resolve to the expected version with `test` scope. - `mvn -o -B --no-transfer-progress -pl e2e-test/flink-agents-end-to-end-tests-integration validate spotless:check` passed. - `git diff --check` passed. - Full E2E execution was not run; verification covers Maven inheritance and dependency resolution. ### API No public API changes. Production dependencies and distribution packaging are unchanged. ### Documentation - [ ] `doc-needed` - [x] `doc-not-needed` - [ ] `doc-included` ### Was this patch authored or co-authored using generative AI tooling? - [x] Yes - [ ] No Generated-by: Codex CLI 0.153.4 (GPT-6) -- 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]
