frontend-maven-plugin icon indicating copy to clipboard operation
frontend-maven-plugin copied to clipboard

m2e integration: npm goal shouldn't be run incremental builds, only on full builds

Open karlvr opened this issue 10 years ago • 0 comments

I made an error when I create the M2E lifecycle mapping. The npm command should only be run on full project builds, rather than on every incremental build even if the package.json has changed. There are lots of reasons to change the package.json file, that don't necessarily mean that npm should be run.

This speeds up incremental builds by several seconds by skipping npm install.

karlvr avatar Jan 13 '15 10:01 karlvr