Hi, a team I am supporting is using the plugin, and it works great. I have a Jenkins job that uses Maven alongside the NodeJS plugin for Jenkins. This works for how the current build is setup. However, I think it would be nice to be able to pass the NodeJS installation directory via a Maven option argument so that Node version managers (like NVM) can integrate. By default, I believe the yeoman-maven-plugin uses the globally installed version of Node.
I've tried to integrate NVM with Maven, but my efforts have been futile. Maybe I am going about it incorrectly, but something like passing -Dyo.node.dir=/path/to/node/bin would be cool.
Hi, a team I am supporting is using the plugin, and it works great. I have a Jenkins job that uses Maven alongside the NodeJS plugin for Jenkins. This works for how the current build is setup. However, I think it would be nice to be able to pass the NodeJS installation directory via a Maven option argument so that Node version managers (like NVM) can integrate. By default, I believe the yeoman-maven-plugin uses the globally installed version of Node.
I've tried to integrate NVM with Maven, but my efforts have been futile. Maybe I am going about it incorrectly, but something like passing
-Dyo.node.dir=/path/to/node/binwould be cool.