lhotari opened a new pull request, #20402: URL: https://github.com/apache/pulsar/pull/20402
### Motivation Downloading Maven dependencies is very slow when building the pulsar-all docker image in CI that is needed for running system tests. There are seem to be a lot of maven dependency cache misses which slow down CI builds. ### Modifications - `dependency:go-offline` used to build caches isn't caching all dependencies and pom files - use `-Pskip-all,skipDocker install` as the first step to trigger downloads and to improve cache coverage without requiring to build everything - add a new cache `m2-dependencies-docker-all` that is used for building the pulsar-all docker image - addresses downloading the dependencies required for building all NAR files for Pulsar IO connectors - add dependencies for integration tests in the m2-dependencies-all cache - unblock downloads from http repositories - blocking http repository downloads makes NAR file creation extra slow - disables CVE-2021-26291 mitigation in Maven 3.8.1 - https://maven.apache.org/docs/3.8.1/release-notes.html#cve-2021-26291 ### Documentation <!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. --> - [ ] `doc` <!-- Your PR contains doc changes. --> - [ ] `doc-required` <!-- Your PR changes impact docs and you will update later --> - [x] `doc-not-needed` <!-- Your PR changes do not impact docs --> - [ ] `doc-complete` <!-- Docs have been already added --> ### Matching PR in forked repository See https://github.com/lhotari/pulsar/actions/runs/5079566424 experiment -- 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: commits-unsubscr...@pulsar.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org