maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Debraj Manna <subharaj.ma...@gmail.com>
Subject Re: Maven local repo in a common global directory for multiple parallel execution
Date Sun, 26 May 2019 14:35:02 GMT
Yes it is jenkins.

Can you please explain why do you suggest to use separate caches / local
repo for each execution?

On Sun, May 26, 2019 at 7:26 PM Karl Heinz Marbaise <khmarbaise@gmx.de>
wrote:

> Hi,
> On 26.05.19 15:48, Debraj Manna wrote:
> > I have a machine in which multiple parallel maven execution happen . Each
> > execution executes the below command in a seperate workspace directory
>
> Kind of a build server with a CI solution like Jenkins?
>
> >
> > mvn -f main/pom.xml clean package -DskipTests -T 6
>
> Why using "-f main/pom.xml" ?
>
>
> >
> > Can someone let me know should I use a seperate maven local repo path (
> > -Dmaven.repo.local=$MAVEN_REPO) for each execution or I can use a common
> .m2
> > directory for all parallel runs? What is the best practice?
>
> I can recommend to use separate caches for each execution..
>
>
> >
> >
> >     - Maven Version 3.5
>
> I would suggest to upgrade to most recent Maven version.. Also define
> all versions of all plugins in your build...
>
> Kind regards
> Karl Heinz Marbaise
>
> >     - Java 8
> >
>

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