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 MojoEx开发者_开发知识库ecutionException
.
right click the project > run as > maven build...
> supply goal there with -e
switch
Note 3 dots after maven build...
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.
精彩评论