Commit ecdd223
authored
fix(java-runtime): dependency ranges make Maven download too many files (#5005)
Given a dependency version range, Maven will download metadata for all
possible versions before every (uncached) build. This takes a long time,
before finally resolving to the latest version anyway.
Instead, we use the Maven 'versions' plugin to resolve our wide ranges
to point versions. We want the "latest matching" version anyway, and if
we don't the resolution now (which downloads the .poms of all possible
versions) it will happen during every single build.
---
By submitting this pull request, I confirm that my contribution is made
under the terms of the [Apache 2.0 license].
[Apache 2.0 license]: https://www.apache.org/licenses/LICENSE-2.01 parent 018396e commit ecdd223
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
0 commit comments