This is a generated App Engine Standard Java application from the appengine-standard-archetype archetype.
See the Google App Engine standard environment documentation for more detailed instructions.
- Java 8
- Maven (at least 3.5)
- Google Cloud SDK (aka gcloud)
gcloud init
mvn -Plocal appengine:devserver
mvn jetty:run
mvn appengine:update -Dappengine.email=novaytech@gmail.com -Dappengine.noCookies=True -Dappengine.passin=True
mvn verify
mvn clean install package
As you add / modify the source code (src/main/java/...
) it's very useful to add
unit testing
to (src/main/test/...
). The following resources are quite useful:
An easy way to keep your projects up to date is to use the maven [Versions plugin][versions-plugin].
mvn versions:display-plugin-updates
mvn versions:display-dependency-updates
mvn versions:use-latest-versions
Note - Be careful when changing javax.servlet
as App Engine Standard uses 3.1 for Java 8, and 2.5
for Java 7.
Our usual process is to test, update the versions, then test again before committing back.