i've done some digging and left a comment on a maven related thread here:
https://github.com/apache/maven-mvnd/issues/836#issuecomment-3468472309
surprisingly, this problem seems to go away, if i remove the
`:mvn/repos {"datomic-cloud" {:url "s3://datomic-releases-1fc2183a/maven/releases"}}`
entry from our `deps.edn`.
what gave me this idea was noticing that the problematic lib (junit in our case)
was being pulled from both maven central and datomic-cloud:
```
Downloading: org/junit/junit-bom/5.10.0/junit-bom-5.10.0.pom from datomic-cloud
Downloading: org/junit/junit-bom/5.10.0/junit-bom-5.10.0.pom from central
Execution error (IllegalStateException) at org.eclipse.aether.internal.impl.synccontext.named.NamedLockFactoryAdapter$AdaptedLockSyncContext/acquire (NamedLockFactoryAdapter.java:165).
Could not acquire write lock for 'artifact:org.junit:junit-bom:5.10.0'
```
simply upgrading to the latest Clojure CLI version 1.12.3.1577 hasn't made any difference;
it failed the same way, as with version 1.12.0.1530, which is the version bundled with
the `cimg/clojure:1.12.0-openjdk-17.0-node` CircleCI Clojure convenience image
https://github.com/CircleCI-Public/cimg-clojure/blob/main/1.12/17.0/Dockerfile#L13