Maven "Threads" option doesn't work Follow
Hi everyone,
I noticed that using the "Threads" option in the maven plugin's defintions doesn't do anything when I'm doing maven builds from within intellij using the Execute Maven Goal option.
First, I can see it doesn't add anything to the command line and second I see the build time doesn't reduce.
If however, I manually add "-T 2c" to the maven command the build time greatly improves.
I'm using Idea 13.1.5.
Thanks,
Guy
Please sign in to leave a comment.
I've written "2c" into the "Threads" field and got "-T 2c" in the command line on executing a "package" goal (the goal does not matter, just to try). So, the setting has an effect on composing the command line.
Regards,
Alexander.
Yes, when I select a goal from the maven tree on the right it indeed adds the -T option, but if I use the "Execute Maven Goal" button (In the Maven Projects tab toolbar - 6th button from the right) it doesn't add the -T.
I think it should. Should I open a feature request for this?
Thanks,
Guy
This dialog has Command line field for manual editing, so user can control what parameters to add, and this is a kind of advantage.
But your case is reasonable, so I've created a feature with more generic request. Please check: https://youtrack.jetbrains.com/issue/IDEA-132724
Regards,
Alexander.
Thanks