Yes disk required will be more .

I don't have a requirement where one of my projects requires artifact
created by another. So I can use a common local repo for all parallel
executions?

On Mon, May 27, 2019 at 11:34 AM Golan, Yaron <[email protected]>
wrote:

> Please remember that you need much bigger disk space as you are
> duplicating binaries.
>
>
> -----Original Message-----
> From: Debraj Manna <[email protected]>
> Sent: Sunday, May 26, 2019 4:49 PM
> To: Maven Users List <[email protected]>
> Subject: Maven local repo in a common global directory for multiple
> parallel execution
>
> I have a machine in which multiple parallel maven execution happen . Each
> execution executes the below command in a seperate workspace directory
>
> mvn -f main/pom.xml clean package -DskipTests -T 6
>
> 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?
>
>
>    - Maven Version 3.5
>    - Java 8
>

Reply via email to