From d3d3a95b13b5446afd64b1f6ea4e786603718dc7 Mon Sep 17 00:00:00 2001 From: Aaron Wanjala Date: Wed, 11 May 2022 19:45:53 -0400 Subject: [PATCH] docs(bundled services): Include instructions to add bundled services JAR Since most users looking to access bundled services will want to use the App Engine APIs directly, I think it makes sense to include steps to add the required dependency. --- appengine-java11-bundled-services/README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/appengine-java11-bundled-services/README.md b/appengine-java11-bundled-services/README.md index dfd651aced4..700f8fb1de2 100644 --- a/appengine-java11-bundled-services/README.md +++ b/appengine-java11-bundled-services/README.md @@ -39,9 +39,10 @@ access control, billing, and services. ## Development differences between App Engine Java8 and Java11 Bundled Services -The only difference between a Java8 application and a Java11 application is in the `appengine-web.xml` file +The only differences between a Java8 application and a Java11 application are the addition of the bundled services JAR, and an added line in the `appengine-web.xml` file where you need to define the Java11 runtime and declare you need the App Engine APIs: +In `appengine-web.xml`: ```XML java11 @@ -49,6 +50,16 @@ where you need to define the Java11 runtime and declare you need the App Engine ``` +In your `pom.xml`'s ``: +```XML + + com.google.appengine + appengine-api-1.0-sdk + 2.0.4 + +``` + + ```shell mvn appengine:deploy ```