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

Skip execution step conditionally #917

Closed SagarGupta1 closed 4 years ago

SagarGupta1 commented 4 years ago

We need to execute certain steps in executions only in dev landscape but not in prod landscape in Jenkins while maven build process. Kindly let me know if there is away to configure some condition for the execution step to skip if want to avoid that step.

eirslett commented 4 years ago

I think you can use Maven profiles for this. Not for this plugin specifically, but for maven plugins in general.