"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.27k
stars
873
forks
source link
npx goal causes "Plugin execution not covered by lifecycle configuration" warning in VS Code #1150
VS Code warns that "Plugin execution not covered by lifecycle configuration" when there is an npx execution in pom.xml.
Full error:
Plugin execution not covered by lifecycle configuration: com.github.eirslett:frontend-maven-plugin:1.15.0:npx (execution: sass, phase: generate-resources)Java(0)
There are no errors or warning when I compile on the command line. This is similar to the behavior in #531, and I was able to fix the issue locally by adding npx to lifecycle-mapping-metadata.xml. I can submit a PR if that's desirable.
If the current behavior is a bug, please provide the steps to reproduce.
Add an <execution> that uses the npx goal to pom.xml. In my case, the <build> section of pom.xml looks like this:
Do you want to request a feature or report a bug?
Report a bug
What is the current behavior?
VS Code warns that "Plugin execution not covered by lifecycle configuration" when there is an
npx
execution inpom.xml
.Full error:
There are no errors or warning when I compile on the command line. This is similar to the behavior in #531, and I was able to fix the issue locally by adding
npx
tolifecycle-mapping-metadata.xml
. I can submit a PR if that's desirable.If the current behavior is a bug, please provide the steps to reproduce.
Add an
<execution>
that uses thenpx
goal topom.xml
. In my case, the<build>
section ofpom.xml
looks like this:The cowsay example works just as well.
What is the expected behavior?
An
npx
execution inpom.xml
does not trigger a warning in VS Code.Please mention your frontend-maven-plugin and operating system version.
plugin version: 1.15.0 operating system: macOS Ventura 13.6.3 VS Code: 1.89.1