adoroszlai opened a new pull request, #12165: URL: https://github.com/apache/ozone/pull/12165
## What changes were proposed in this pull request? Maven Wrapper changes less frequently and is stored in different directory. We can cache it separately to avoid [error](https://github.com/adoroszlai/ozone/actions/runs/45584506316/job/139102551900#step:4:14) when rebuilding the cache for `pom.xml` changes: ``` Couldn't find MAVEN_HOME, downloading and installing it ... Downloading from: https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.10.1/apache-maven-3.10.1-bin.zip Downloading to: /tmp/tmp.FSDdyTiAA8/apache-maven-3.10.1-bin.zip Found wget ... using wget --2026-11-25 09:21:07-- https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.10.1/apache-maven-3.10.1-bin.zip Resolving repo.maven.apache.org (repo.maven.apache.org)... 104.18.19.12, 104.18.18.12, 2606:4700::6812:130c, ... Connecting to repo.maven.apache.org (repo.maven.apache.org)|104.18.19.12|:443... connected. HTTP request sent, awaiting response... 429 Too Many Requests 2026-11-25 09:21:07 ERROR 429: Too Many Requests. wget: Failed to fetch https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.10.1/apache-maven-3.10.1-bin.zip ``` https://issues.apache.org/jira/browse/HDDS-17927 ## How was this patch tested? [Cache](https://github.com/adoroszlai/ozone/actions/runs/45595555328/job/139140595873#step:3:455): ``` Cache not found for input keys: maven-wrapper-9566f1ee584e083432c31cbb6c5b907bca6561cedabb4ff964cd78e2ce2ef80f ... Couldn't find MAVEN_HOME, downloading and installing it ... ... Found extracted Maven distribution directory: apache-maven-3.10.1 Apache Maven 3.10.1 (3afd8084b5629f80b97750906a719879ed4cd283) ... Cache saved with key: maven-wrapper-9566f1ee584e083432c31cbb6c5b907bca6561cedabb4ff964cd78e2ce2ef80f ``` [Use](https://github.com/adoroszlai/ozone/actions/runs/45595555328/job/139141946654#step:17:24): ``` Cache restored from key: maven-wrapper-9566f1ee584e083432c31cbb6c5b907bca6561cedabb4ff964cd78e2ce2ef80f ... found existing MAVEN_HOME at /home/runner/.m2/wrapper/dists/apache-maven-3.10.1/987df3ef Apache Maven 3.10.1 (3afd8084b5629f80b97750906a719879ed4cd283) Maven home: /home/runner/.m2/wrapper/dists/apache-maven-3.10.1/987df3ef ``` -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
