[go: up one dir, main page]

Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

GoogleCloudPlatform/app-maven-plugin

Repository files navigation

🚌 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.

project status image Unit Tests Maven Central

Google App Engine Maven plugin

This Maven plugin provides goals to build and deploy Google App Engine applications.

Requirements

Maven is required to build and run the plugin.

Google Cloud SDK is required but will be automatically installed by the plugin.

How to use

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.

Goals and Configuration

Please see the USER GUIDE for a full list of supported goals and configuration options.

Reference Documentation

App Engine Standard Environment:

App Engine Flexible Environment: