Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Pass Node installation directory as Maven option argument #33

Open
requiemforameme opened this issue May 18, 2016 · 0 comments

Comments

@requiemforameme
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant