Right click on the project ->Run As -- >Run configurations.
Then select mavenBuild.
Then click new button to create a configuration of the selected type .Click on Browse workspace then select your project and in goals specify
Right click on the project ->Run As -- >Run configurations.
Then select mavenBuild.
Then click new button to create a configuration of the selected type .Click on Browse workspace then select your project and in goals specify
转载于:https://my.oschina.net/u/2308739/blog/823615