Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Maven 3 parallel builds profile

Tags:

maven

maven-3

Is there a way to configure parallel build in Maven 3 without adding any command line options (e.g. configure a profile in settings.xml)?

like image 666
Andrew Yakovenko Avatar asked Jan 17 '11 17:01

Andrew Yakovenko


2 Answers

You can create an alias for your shell to do it

alias mvn='mvn -T4'
like image 20
Archimedes Trajano Avatar answered Sep 27 '22 16:09

Archimedes Trajano


Not from the maven documentation on parallel builds.

Couple of related links (though not an answer to the question) are jira issue related to this and a stackoverflow discussion

like image 106
Raghuram Avatar answered Sep 27 '22 17:09

Raghuram