Is it possible to execute the exec goal with the exec-maven-plugin with the -e switch? I am getting a MojoExecutionException
.
Asked
Active
Viewed 2.5k times
14

Ocaso Protal
- 19,362
- 8
- 76
- 83

MetaChrome
- 3,210
- 6
- 31
- 48
-
Can you elaborate more, what plugin you are using? Eclipse IAM or m2eclipse? – Daniel Baktiar Jul 27 '11 at 10:03
2 Answers
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...
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.

Umar Sid
- 1,317
- 1
- 17
- 24