Maven:如何在eclipse上配置Maven命令

原文:https://www.concretepage.com/build-tools/maven/eclipse-run-configuration-for-maven-goals

Eclipse Run Configuration for Maven Goals

By Arvind Rai, August 22, 2013

We can configure maven goals for our project. Once configured, then only we need to click on run. Configuration of goals in eclipse Run Configuration is necessary because it helps for fast development. So let's see how to do Run Configuration for maven Goals.

1. Write click on pom.xml and go to Run Configuration.
2. Click on Maven build in left panel and you will see the below screen.



3. Configure Name, Base directory, Goals etc. And then screen will look like



So now you have a maven build run configuration with the name JavaProject.

猜你喜欢

转载自blog.csdn.net/netyeaxi/article/details/88919931