diff --git a/managed_vms/helloworld/README.md b/managed_vms/helloworld/README.md
index f178137ddf8..2f3da6f4144 100644
--- a/managed_vms/helloworld/README.md
+++ b/managed_vms/helloworld/README.md
@@ -2,7 +2,7 @@
This sample demonstrates how to deploy an application on Google App Engine
## Running locally
- $ mvn gcloud:run
+ $ mvn jetty:run
## Deploying
$ mvn gcloud:deploy
diff --git a/managed_vms/helloworld/pom.xml b/managed_vms/helloworld/pom.xml
index 40d601d137d..ee2d44ba23b 100644
--- a/managed_vms/helloworld/pom.xml
+++ b/managed_vms/helloworld/pom.xml
@@ -1,11 +1,13 @@
+
4.0.0
war
1.0-SNAPSHOT
com.example.managedvms
- appengine-helloworld-mvm
+ managedvms-helloworld-mvm
+
javax.servlet
@@ -15,10 +17,18 @@
provided
+
${project.build.directory}/${project.build.finalName}/WEB-INF/classes
+
+
+ org.eclipse.jetty
+ jetty-maven-plugin
+ 9.3.7.v20160115
+
+
org.apache.maven.plugins
maven-war-plugin
@@ -27,20 +37,23 @@
false
+
org.apache.maven.plugins
3.3
maven-compiler-plugin
- 1.7
- 1.7
+ 1.8
+ 1.8
+
com.google.appengine
gcloud-maven-plugin
- 2.0.9.90.v20151210
+ 2.0.9.92.v20160118
+
org.apache.maven.plugins
maven-checkstyle-plugin
@@ -55,6 +68,7 @@
check
+
diff --git a/managed_vms/helloworld/src/main/appengine/app.yaml b/managed_vms/helloworld/src/main/appengine/app.yaml
new file mode 100644
index 00000000000..33aa147fe92
--- /dev/null
+++ b/managed_vms/helloworld/src/main/appengine/app.yaml
@@ -0,0 +1,2 @@
+vm: true
+runtime: java
diff --git a/managed_vms/helloworld/src/main/webapp/WEB-INF/appengine-web.xml b/managed_vms/helloworld/src/main/webapp/WEB-INF/appengine-web.xml
deleted file mode 100644
index dba606c1666..00000000000
--- a/managed_vms/helloworld/src/main/webapp/WEB-INF/appengine-web.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
- true
- true
-
-
-
-
-
diff --git a/managed_vms/helloworld/src/main/webapp/WEB-INF/web.xml b/managed_vms/helloworld/src/main/webapp/WEB-INF/web.xml
index d8ab62f95b9..4f63923b876 100644
--- a/managed_vms/helloworld/src/main/webapp/WEB-INF/web.xml
+++ b/managed_vms/helloworld/src/main/webapp/WEB-INF/web.xml
@@ -5,23 +5,15 @@
version="2.5">
-
- profile
- /profile/*
-
-
- *
-
+
+ secured-resource
+ /*
+
+
+ *
+
+
+ CONFIDENTIAL
+
-
-
-
- admin
- /admin/*
-
-
- admin
-
-
-