Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to run maven from eclipse with the -e switch

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

like image 682
MetaChrome Avatar asked Jul 27 '11 09:07

MetaChrome


1 Answers

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

like image 70
Umar Sid Avatar answered Sep 28 '22 01:09

Umar Sid