eirslett / frontend-maven-plugin

"Maven-node-grunt-gulp-npm-node-plugin to end all maven-node-grunt-gulp-npm-plugins." A Maven plugin that downloads/installs Node and NPM locally, runs NPM install, Grunt, Gulp and/or Karma.
Apache License 2.0
4.23k stars 867 forks source link

Add m2e support for npm and yarn goals #932

Open OLibutzki opened 4 years ago

OLibutzki commented 4 years ago

By looking into the source code I realized that the frontend-maven-plugin provides m2e support for several mojo's (Gulp, Grunt, Webpack). For all these mojos one can configure triggerfiles, srddir and outputdir.

The NpmMojo and the YarnMojo don't have these properties. Is there a specific reason why they are missing?

If not, it would be great if you add them. Beside the extended feature set it leads to a more homogeneous behaviour of the different maven goals.