【发布时间】:2015-10-08 21:47:52
【问题描述】:
我正在尝试使用 maven 并在 eclipse Kepler 下构建和运行一个项目。我知道我应该运行(在 linux 下使用终端)以下命令来构建和执行我的项目:
mvn clean install
mvn exec:java -Dexec.mainClass="com.example.App"
但我想知道,如何在eclipse下构建和执行我的项目。
在我的 Eclipse 中,我有六个命令:maven build、maven build...、maven clean、maven generate-sources、maven install 和 maven test。
如何在 Eclipse 上构建和执行我的项目?
【问题讨论】:
标签: eclipse maven maven-plugin