Re: Maven local repo in a common global directory for multiple parallel execution
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 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 > > >
Re: Maven local repo in a common global directory for multiple parallel execution
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
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