0

I have maven exec plugin in my pom for executing grunt. Is there a way to skip the plugin execution when I call mvn clean install. I cant put the <skip>true</skip in configuration. I am looking for an option like mvn clean install -Dexec.skip=true. Any clue?

Upen
  • 1,388
  • 1
  • 22
  • 49

1 Answers1

0

Than you didn't read the docs well, cause there are the following information:

Excerpt from the docs:

skip:

Skip the execution.

  • Type: boolean
  • Since: 1.0.1
  • Required: No
  • User Property: skip
  • Default: false

The entry User Property: skip will guide you to use the following:

mvn -Dskip=true ....
khmarbaise
  • 92,914
  • 28
  • 189
  • 235