views:

19

answers:

1

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?

+2  A: 

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:

alt text

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.

Pascal Thivent
This is great. Thank you!
Chris Collins