14

Is it possible to execute the exec goal with the exec-maven-plugin with the -e switch? I am getting a MojoExecutionException.

Ocaso Protal
  • 19,362
  • 8
  • 76
  • 83
MetaChrome
  • 3,210
  • 6
  • 31
  • 48

2 Answers2

10

right click the project > run as > maven build... > supply goal there with -e switch

Note 3 dots after maven build...

jmj
  • 237,923
  • 42
  • 401
  • 438
2

Right click your project and Run as -> Run Configurations...

enter image description here

Add the -e (or other switches for eg. -X, etc.) in the Goals input box. If you already have some goals add a space and then put your switch.

enter image description here

Umar Sid
  • 1,317
  • 1
  • 17
  • 24