File tree Expand file tree Collapse file tree 5 files changed +29
-6
lines changed Expand file tree Collapse file tree 5 files changed +29
-6
lines changed Original file line number Diff line number Diff line change 1414 <type >jar</type >
1515 <scope >provided</scope >
1616 </dependency >
17+ <!-- [START dependencies] -->
1718 <dependency >
1819 <groupId >com.google.gcloud</groupId >
1920 <artifactId >gcloud-java-storage</artifactId >
2021 <version >0.1.3</version >
2122 </dependency >
23+ <!-- [END dependencies] -->
2224 </dependencies >
2325 <build >
2426 <!-- for hot reload of the web application -->
Original file line number Diff line number Diff line change 11# Appengine Helloworld sample for Google App Engine
22This sample demonstrates how to deploy an application on Google App Engine
3- ## Setup
4- 1 . Update the <application > tag in src/main/webapp/WEB-INF/appengine-web.xml with your project name
5- 1 . Update the <version > tag in src/main/webapp/WEB-INF/appengine-web.xml with your version name
63
74## Running locally
8- $ mvn appengine:devserver
5+ $ mvn jetty:run
96
107## Deploying
11- $ mvn appengine:update
8+ $ mvn gcloud:deploy
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
22<project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
33 xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
4+
45 <modelVersion >4.0.0</modelVersion >
56 <packaging >war</packaging >
67 <version >1.0-SNAPSHOT</version >
78 <groupId >com.example.managedvms</groupId >
8- <artifactId >appengine-helloworld-mvm</artifactId >
9+ <artifactId >managedvms-helloworld-mvm</artifactId >
10+
911 <dependencies >
1012 <dependency >
1113 <groupId >javax.servlet</groupId >
1517 <scope >provided</scope >
1618 </dependency >
1719 </dependencies >
20+
1821 <build >
1922 <!-- for hot reload of the web application -->
2023 <outputDirectory >${project.build.directory} /${project.build.finalName} /WEB-INF/classes</outputDirectory >
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <web-app xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xmlns =" http://java.sun.com/xml/ns/javaee"
3+ xmlns : web =" http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
4+ xsi : schemaLocation =" http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
5+ version =" 2.5" >
6+ <!-- turn security on by default -->
7+ <security-constraint >
8+ <web-resource-collection >
9+ <web-resource-name >secured-resource</web-resource-name >
10+ <url-pattern >/*</url-pattern >
11+ </web-resource-collection >
12+ <auth-constraint >
13+ <role-name >*</role-name >
14+ </auth-constraint >
15+ <user-data-constraint >
16+ <transport-guarantee >CONFIDENTIAL</transport-guarantee >
17+ </user-data-constraint >
18+ </security-constraint >
19+ </web-app >
Original file line number Diff line number Diff line change 1414 <type >jar</type >
1515 <scope >provided</scope >
1616 </dependency >
17+ <!-- [START dependencies] -->
1718 <dependency >
1819 <groupId >com.googlecode.xmemcached</groupId >
1920 <artifactId >xmemcached</artifactId >
2021 <version >2.0.0</version >
2122 </dependency >
23+ <!-- [END dependencies] -->
2224 </dependencies >
2325 <build >
2426 <!-- for hot reload of the web application -->
You can’t perform that action at this time.
0 commit comments