Repository navigation
Commit 919a4db
authored
chore(kokoro): fix java8-osx lock acquisition failure (#14812)
## Problem
- Parallel (`-T 1C`) Maven installs on slower macOS runners can wait
longer than the resolver named-lock timeout (30s by default before Maven
3.9.12) and fail with `Could not acquire lock(s)`.
## Solution
- Set `-Daether.syncContext.named.time=900` in `.mvn/maven.config`,
matching the Maven 3.9.12+ default, so every Maven invocation in the
repo gets the longer lock wait regardless of the Maven version installed
on the runner or how scripts set `MAVEN_OPTS`. Resolver locking stays
enabled.1 parent 6c46294 commit 919a4db
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
0 commit comments