nodejs-maven-plugin: allow usage of latest- version for nodeJs
Description
We would like to use the Node 8.X LTS Releases in our project but don't want to update the version manually.
There is a "latest-8.x" folder on https://nodejs.org/dist/ available where the current release can be downloaded. It would be a nice addition, if this plugin supports this.
Note: this already works for the npmVersion as the parameter is directly passed to node.
Activity
fair enough, just thought that a more generic support for the listed version might be helpful but I'm fine to close this too.
hmm - using a "dynamic" version which gives you any version in a range for a build is against all best practices of a maven build.
once you have such a dynamic version you are in danger of failing build without touching anyone because a new nodejs 8.x version is not compatible in a subtle detail as the previous one.
i do not recommend to do this. decades of learning in the maven community has taught us this, and the NPM community is catching up as well trying ways to freeze it's complex dependencies trees which produce flaky builds.