Hi,

When I want to build my project in parallel  (
https://cwiki.apache.org/confluence/display/MAVEN/Parallel+builds+in+Maven+3
) I can simply do

mvn -T 1C


I found that the integration tests I have running within the
maven-invoker-plugin
are still being run sequentially.
Turns out that this plugin has a similar feature to run in parallel:


https://maven.apache.org/plugins/maven-invoker-plugin/examples/parallel-projects-execution.html

So right now I have put that flag into a property and when I want to really
run the build in parallel I now do:

      mvn -T1C -DparallelThreads=1C

Is this the best way to do this? Or can these two settings be linked
somehow?
I.e. Can I provide the maven-invoker-plugin automatically the same value as
set on the -T setting?

Or can I set this -T value within my pom.xml file?
So that I can simply create a profile that contains these.

-- 
Best regards / Met vriendelijke groeten,

Niels Basjes

Reply via email to