I see a lot of newer Maven plugins for JavaScript require NodeJS to be installed on the machine where the build takes place (both local and CI servers). For example: yeoman-maven-plugin, npm-maven-plugin, etc.
The question is: Does it make sense to check for existence of NodeJS and install it if missing via Maven as a dependency?
Bonus question: If you think this is a good idea, how would you accomplish this task?