frontend-maven-plugin
frontend-maven-plugin copied to clipboard
Add m2e support for npm, npx and yarn goals
Summary
Adds support for running scripts when source files change without having to bump the package.json
My specific use case is automatically rebuilding an Angular frontend when its source is modified.
Theoretically the common functionality between EmberMojo, GruntMojo, GulpMojo, NpmMojo, NpxMojo, WebpackMojo, and YarnMojo could be factored out into a new class, but for now I've only endeavored to make their behavior consistent.
Resolves #932 Fixes #329, Closes #682 (included)
Tests and Documentation
Tests passed. (Not that there is coverage anyway.)
Updated CHANGELOG.md and README.md I can update the Wiki on merge.
@zraexy thanks for providing this PR. What about the failed check?
@zraexy thanks for providing this PR. What about the failed check?
It is a known issue with maven-plugin-plugin 3.2 which was fixed in 3.2.2. For whatever reason 3.2.2 doesn't appear to be in Maven Central. I'm not sure why this is only now presenting. I've made a few tweaks and added a commit bumping it to 3.3.