Re: [I] Is mvnd "safe" for parallel builds where "mvn" alone is not? [maven-mvnd]

2023-10-22 Thread via GitHub
cstamas commented on issue #896: URL: https://github.com/apache/maven-mvnd/issues/896#issuecomment-1774124644 Split local repository is new feature, but you have to be aware that in Maven 3 land not all plugins "play nice" with it, see https://issues.apache.org/jira/browse/MNG-7706 In

Re: [I] Is mvnd "safe" for parallel builds where "mvn" alone is not? [maven-mvnd]

2023-10-22 Thread via GitHub
jimklimov commented on issue #896: URL: https://github.com/apache/maven-mvnd/issues/896#issuecomment-1774122880 And circling back to this repository's topic, with some new knowledge in mind - does current `mvnd` benefit from the new concurrency-safe resolver like maven 3.9.x does? A

Re: [I] Is mvnd "safe" for parallel builds where "mvn" alone is not? [maven-mvnd]

2023-10-22 Thread via GitHub
jimklimov commented on issue #896: URL: https://github.com/apache/maven-mvnd/issues/896#issuecomment-1774121080 While at it, I am trying to wrap my head around the https://maven.apache.org/resolver/local-repository.html#split-local-repository feature. Is there some trick that would allow

Re: [I] Is mvnd "safe" for parallel builds where "mvn" alone is not? [maven-mvnd]

2023-10-21 Thread via GitHub
jimklimov commented on issue #896: URL: https://github.com/apache/maven-mvnd/issues/896#issuecomment-1773940773 Thanks for the options, my first shot missed the "file-gav" part ;) Putting them into SCM as part of the components' source seems a bit like overkill... they should be

Re: [I] Is mvnd "safe" for parallel builds where "mvn" alone is not? [maven-mvnd]

2023-10-21 Thread via GitHub
cstamas commented on issue #896: URL: https://github.com/apache/maven-mvnd/issues/896#issuecomment-1773936232 create (and check in into SCM) a file in project like this: ``` .mvn/maven.config ``` with contents ``` -Daether.syncContext.named.factory=file-lock

Re: [I] Is mvnd "safe" for parallel builds where "mvn" alone is not? [maven-mvnd]

2023-10-21 Thread via GitHub
jimklimov commented on issue #896: URL: https://github.com/apache/maven-mvnd/issues/896#issuecomment-1773928553 Oh that funny moment when the huge internet looks like a small village: https://www.mail-archive.com/users@maven.apache.org/msg144072.html > Configuration should be as easy

Re: [I] Is mvnd "safe" for parallel builds where "mvn" alone is not? [maven-mvnd]

2023-10-21 Thread via GitHub
cstamas commented on issue #896: URL: https://github.com/apache/maven-mvnd/issues/896#issuecomment-1773851213 Maven 3.9 introduced "locks" for local repository, trying to solve exactly that: shared access to local repository from multiple processes... So best would be to try it out

Re: [I] Is mvnd "safe" for parallel builds where "mvn" alone is not? [maven-mvnd]

2023-10-21 Thread via GitHub
jimklimov commented on issue #896: URL: https://github.com/apache/maven-mvnd/issues/896#issuecomment-1773848683 Thanks for suggestions, checked that the workers used maven 3.8.6... So change to 3.9.x could just fix the situation while keeping all those build calls independent as they are

Re: [I] Is mvnd "safe" for parallel builds where "mvn" alone is not? [maven-mvnd]

2023-10-21 Thread via GitHub
cstamas commented on issue #896: URL: https://github.com/apache/maven-mvnd/issues/896#issuecomment-1773845614 First, please forget the "built in" parallel builder, use instead this https://github.com/takari/takari-smart-builder (same is used by mvnd). Second, did you try maven 3.9.x

[I] Is mvnd "safe" for parallel builds where "mvn" alone is not? [maven-mvnd]

2023-10-21 Thread via GitHub
jimklimov opened a new issue, #896: URL: https://github.com/apache/maven-mvnd/issues/896 Related context: > Generally, for using mvnd on the CI: > * If you expect faster builds thanks to building Maven modules in parallel, then you may consider using stock Maven's `-T` option.