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


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to