Skip to content

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

Description

@requiemforameme

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions