https://github.com/GoogleCloudPlatform/app-maven-plugin Requirements
Maven is required to build and run the plugin. http://maven.apache.org/
You must have Google Cloud SDK installed. https://cloud.google.com/sdk/
Cloud SDK app-engine-java component is also required. Install it by running:
gcloud components install app-engine-java
Login and configure Cloud SDK:
gcloud init
To use it in prod mode:
in /LinguaeLive/ ➜ mvn clean install (only one time)
in /LinguaeLive/LinguaeLive-server/ ➜ mvn appengine:devserver
then open your browser at http://localhost:8888/
To use it in dev mode:
in /LinguaeLive/ ➜ mvn install -pl LinguaeLive-shared -am (only one time)
in /LinguaeLive/LinguaeLive-server/ ➜ mvn appengine:devserver -Denv=dev -am
in /LinguaeLive/LinguaeLive-client/ ➜ mvn gwt:codeserver -am
then open your browser at http://localhost:8888/
Reference Documentation
App Engine Standard Environment:
Using Apache Maven and the App Engine Plugin (standard environment)
App Engine Maven Plugin Goals and Parameters (standard environment)
[INFO] App Engine Maven Plugin 2.0.0 This Maven plugin provides goals to build and deploy Google App Engine applications.
This plugin has 14 goals:
appengine:cloudSdkLogin Login and set the Cloud SDK common configuration user.
appengine:deploy Stage and deploy the application and all configs to Google App Engine.
appengine:deployAll Stage and deploy the application and all configs to Google App Engine.
appengine:deployCron Stage and deploy cron.yaml to Google App Engine.
appengine:deployDispatch Stage and deploy dispatch.yaml to Google App Engine.
appengine:deployDos Stage and deploy dos.yaml to Google App Engine.
appengine:deployIndex Stage and deploy index.yaml to Google App Engine.
appengine:deployQueue Stage and deploy queue.yaml to Google App Engine.
appengine:genRepoInfoFile Generates repository information files for the Stackdriver Debugger.
appengine:help Display help information on appengine-maven-plugin. Call mvn appengine:help -Ddetail=true -Dgoal= to display parameter details.
appengine:run Run App Engine Development App Server synchronously.
appengine:stage Generates a deploy-ready application directory for App Engine standard or flexible environment deployment.
appengine:start Starts running App Engine Development App Server asynchronously.
[INFO] --- gwt-maven-plugin:1.0-rc-10:help (default-cli) @ LinguaeLive-client --- [INFO] Maven Plugin for GWT 1.0-rc-10 Starting fresh on building GWT projects with Maven
This plugin has 12 goals:
gwt:add-super-sources Add super-source directory to project resources. The super-source directory contains emulated classes for GWT. Super-sources in GWT need to be in a subdirectory of the GWT module, and you can automatically relocate the super-source content within a super subfolder.
gwt:add-test-super-sources Add super-source directory to project test resources. The super-source directory contains emulated classes for GWT. Super-sources in GWT need to be in a subdirectory of the GWT module, and you can automatically relocate the super-source content within a super subfolder.
gwt:codeserver Runs GWT's CodeServer (SuperDevMode).
gwt:compile Invokes the GWT Compiler on the project's sources and resources.
gwt:devmode Runs GWT's DevMode.
gwt:enforce-encoding Enforces that the source encoding is UTF-8.
gwt:generate-module Generates a GWT module definition from Maven dependencies, or merge with a module template. When no module template exist, the behavior is identical to using an empty file.
META-INF/gwt/mainModule files from the project dependencies (not transitive) are used to generate directives. Those directives are inserted at the very beginning of the generated module (notably, they'll appear before any existing directive in the module template).
If moduleShortName is specified (and not empty), it overwrites any existing rename-to from the module template.
Unless the module template contains a source folder (either