AFIK this is one is unsolved. We have a number of kludges that involve
resolving all the required deps to the local repository *before*
starting the parallel process, at least 2 og 3 projects do it this
way. As far as I understand solving concurrent thread safe repo in the
latest maven version should be trivial, but it needs to be solved in
the core.

Kristian


2014-05-20 9:13 GMT+02:00 Baptiste Mathus <[email protected]>:
> Hi all,
>
> *TL;DR: does anyone use the parallelThreads option in maven-invoker-plugin?
> Do you also have issues with concurrent local repository access? If so, how
> do you solve them?*
>
> I've recently come across the parallelThreads option in
> maven-invoker-plugin. After having tried to use it a few times, I'm
> currently stuck.
>
> It fails randomly, and not surprisingly it seems like it comes from the
> fact the local-repo is shared between ITs. While downloading from the MRM,
> there's always one jars that fails to be written to the disk because of a
> likely concurrent access.
>
> My first thought was to try and have a separate localRepository per IT. But
> I can't find a property or even a workaround to do that.
>
> Because filing an issue to m-invoker-p, I wanted to check here if I was
> missing something.
>
> Thanks for your help.
>
> -- Baptiste

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to