How to run maven build multithreaded all the time by default

前端 未结 1 690

I want to spare the time typing a -T3 on the command line as I want all the maven builds I will ever do to run multithreaded.

Maven 3.3.9 I googled but didn\'t find anyt

相关标签:
1条回答
  • 2021-01-22 08:00

    You can't configure thing like this settings.xml. This can be configured differently since Maven 3.3.1.

    You can use a file ${maven.projectBasedir}/.mvn/maven.config which contains the options given on command like within the root directory of your project which simply can contain:

    -T 3
    

    but this is limited on a project base not always.

    0 讨论(0)
提交回复
热议问题