2

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?

Pascal Thivent
  • 562,542
  • 136
  • 1,062
  • 1,124
Chris Collins
  • 3,440
  • 5
  • 27
  • 24

1 Answers1

5

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.

Donal Fellows
  • 133,037
  • 18
  • 149
  • 215
Pascal Thivent
  • 562,542
  • 136
  • 1,062
  • 1,124