开发者

How do you run the maven-gae-plugin "mvn gae:run" command from inside Eclipse?

From the command line, the maven-gae-plugin can be run by calling:

mvn gae:run

I am working in a Maven project with a POM file that declares the use of the maven-gae-plugin.

I can run this maven command from the command-line in Windows. But, after setting up the source code开发者_开发知识库 as a project inside Eclipse, I don't know how to run this command from inside the Eclipse IDE. Is this possible?


Assuming you're using m2eclipse, right-click on your Maven project, go to Run AsMaven Build… and create your Run Configuration for a Maven Build. Here is an example:

How do you run the maven-gae-plugin "mvn gae:run" command from inside Eclipse?

This configuration would run the gae:run goal on the selected project.

To access it later, right-click on a Maven project and go to Run AsMaven Build (without the ), then select the launch configuration.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜