michael-o commented on pull request #655: URL: https://github.com/apache/maven/pull/655#issuecomment-1008941405
> > I have a counter/additional proposal as well: > > > > 1. Log a warning when MT build is requested, but only one module is in the reactor. Hence, MT build is pointless. > > 2. Don't invoke a MT build with single module reactor even if `-T` is requesed and log info message > > > > WDYT? > > What about using `MavenSession#isParallel()` instead ? It's set to `true` by the `MultithreadedBuilder` when the number of threads is 2 or more, which sounds exactly what is needed. At which point? It will just replace `degreeOfConcurrency >= 2? Won't it? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
