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 As → Maven Build… and create your Run Configuration for a Maven Build. Here is an example:
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 As → Maven Build (without the …), then select the launch configuration.
精彩评论