dejan2609 opened a new pull request, #13:
URL: https://github.com/apache/flink-ci-docker/pull/13

   ## Purpose of the change
   
   [FLINK-41784](https://issues.apache.org/jira/browse/FLINK-41784) upgrades 
Flink's Maven version from 3.9.16 to 3.10.2 (Flink draft PR: see "Related pull 
request" below).
   
   The CI image pre-downloads the Maven distributions listed in `MAVEN_WARM` 
(introduced in FLINK-41049), so `./mvnw` needs no network to bootstrap. 3.10.2 
is not in that list yet, so every Flink CI job would download it again.
   
   ## Brief change log
   
     - `base/Dockerfile`: 
`3.10.2:7d69999d218e025cf1c14691ba748a09706e47999bd505009403cef9d757c2df` is 
added to `MAVEN_WARM`.
     - Maven 3.8.6 and 3.9.16 stay, because active Flink branches still use 
them: 3.8.6 in `release-1.20`, `release-2.2` and `release-2.3`, and 3.9.16 in 
`release-2.4`. `release-2.2`, `release-2.3` and `release-2.4` already run on 
the current `resolute_v3` image.
   
   The SHA-256 was computed locally from `apache-maven-3.10.2-bin.zip` after 
verifying the zip against the SHA-512 published by Apache.
   
   ## Verifying this change
   
     - The `MAVEN_WARM` step was run locally for the 3.10.2 entry, with Maven 
Wrapper 3.3.4 and a temporary `MAVEN_USER_HOME`. For both wrapper types (`bin`, 
`only-script`):
       - the online `./mvnw --version` downloads Maven 3.10.2 and accepts the 
checksum;
       - after the zip is replaced by the empty placeholder, the offline 
`./mvnw --version` through the dead proxy succeeds.
     - The generated `distributionUrl` matches the URL in Flink's 
`.mvn/wrapper/maven-wrapper.properties` character for character. The 
`only-script` cache folder (`wrapper/dists/apache-maven-3.10.2/56124771`) is 
the same one Flink's own `./mvnw` uses.
     - The full image was not built locally.
   
   ## Impact and documentation
   
     - Adds about 10 MB (one more Maven distribution) to the image. Existing 
tools are unchanged.
     - **A new tag is required** (tags must never be reused), e.g. 
`java_8_11_17_21_25_maven_386_3916_3102_resolute`; the exact name is up to the 
maintainers.
     - Documentation: not applicable.
   
   ## Related pull request
   
   A draft PR in apache/flink (also FLINK-41784; link: _to be added once 
opened_) fixes a duplicate plugin declaration that Maven 3.10.2 rejects and 
bumps Flink's Maven from 3.9.16 to 3.10.2. It stays a draft until the image 
from this PR is available. Then it gets a second commit that switches Flink's 
CI to the new image tag (as in apache/flink@f03b4541b4d), and is marked ready 
for review.
   
   **Request:** once this PR is merged, could a maintainer build and push the 
image under a new tag and post the tag name here? Then the Flink PR can switch 
to it.
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes (please specify the tool below)
   
   Generated-by: Claude Code (Claude Opus 5.5)
   
   


-- 
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