maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Baptiste Mathus <bmat...@batmat.net>
Subject Re: maven-invoker-plugin: running ITs in parallel?
Date Tue, 20 May 2014 12:08:09 GMT
Yup, I know this work is still underway, no problem. I realize I wasn't
clear enough (and my TL;DR may have been be misleading).

I was also wondering if there was a workaround where you could define a
specific path *per it* for the local repository. But unfortunately from a
quick look at InvokerMojo.java I don't think it is possible.

Thanks for your feedback.


2014-05-20 13:51 GMT+02:00 Kristian Rosenvold <kristian.rosenvold@gmail.com>
:

>
> 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 <ml@batmat.net>:
> > 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
Baptiste <Batmat> MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor !

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message