How to start maven from eclipse with the -e switch

Is it possible to fulfill the exec target with exec-maven-plugin with the -e switch? I get a MojoExecutionException .

+8
java eclipse maven exec-maven-plugin
source share
2 answers

right click on the project> run as> maven build... > delivery target using the -e switch

Note 3 points after maven build...

+8
source share

Right click on your project and run it as -> Run Configurations ...

enter image description here

Add -e (or other keys, for example, -X, etc.) to the goal input field. If you already have several goals, add a space and then select the radio button.

enter image description here

0
source share

All Articles