79754354

Date: 2025-09-03 08:57:45
Score: 2
Natty:
Report link

Long time ago this question was asked .. and the only answer was "don't do it" :-)

Hmm ... I think this question is a valid one.

Why doesn't have multi-process-file-sync in maven for a shared local repo?!

I have currently a jenkins pipeline setup where multiple parallel jobs running a maven plugin and this maven setup have only one "local" (per jenkins agent) repo - doesn't make sense to have a repo per mvn process ... this would cause duplicated downloads.

So may meanwhile maven have better support?

I found https://maven.apache.org/resolver/maven-resolver-named-locks/

Kind regards

Andreas

Reasons:
  • Blacklisted phrase (1): regards
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Andreas Höhmann