🚌 In February 2024, this library has moved to appengine-plugins/app-maven-plugin. This repository will be archived in the future. Future releases will appear in the new repository (https://github.com/GoogleCloudPlatform/appengine-plugins/releases). The Maven artifact coordinates (com.google.cloud.tools:appengine-maven-plugin) remain the same.
This Maven plugin provides goals to build and deploy Google App Engine applications.
Maven is required to build and run the plugin.
Google Cloud SDK is required but will be automatically installed by the plugin.
In your Maven App Engine Java app, add the following plugin to your pom.xml:
<plugin>
<groupId>com.google.cloud.tools</groupId>
<artifactId>appengine-maven-plugin</artifactId>
<version>2.4.4</version>
</plugin>
You can now run commands like mvn package appengine:deploy
in the root folder of your Java application.
Please see the USER GUIDE for a full list of supported goals and configuration options.
App Engine Standard Environment:
- (Java 8) Using Apache Maven and the App Engine Plugin (standard environment)
- (Java 8) App Engine Maven Plugin Goals and Parameters (standard environment)
- Using Apache Maven and the App Engine Plugin (standard environment)
- App Engine Maven Plugin Goals and Parameters (standard environment)
App Engine Flexible Environment: