【发布时间】:2015-02-22 11:12:46
【问题描述】:
我最近从 Eclipse 迁移到 IntelliJ,并尝试为我导入的 Maven 项目创建运行配置。 Eclipse 的说明相当简单,如下所述
要运行项目,首先要创建运行配置:
1) Select project name and right click
2) Choose `Run As` then `Run Configurations`
3) Launch new configuration and enter the project's location as the base directory
4) Set the `goal` to run on a `localhost`.
5) Click Configure button to configure the external maven location
我的问题出现在第 4 步。我正在尝试为我的 Maven 运行创建一个 goal,但我似乎无法在任何地方找到 goal 选项。有没有办法得到这个goal 选项?或者,在 IntelliJ 中运行 Maven 项目的最佳方式是什么?
【问题讨论】:
-
This 应该解释一下。
标签: java eclipse maven intellij-idea