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 14
14
<type >jar</type >
15
15
<scope >provided</scope >
16
16
</dependency >
17
+ <!-- [START dependencies] -->
17
18
<dependency >
18
19
<groupId >com.google.gcloud</groupId >
19
20
<artifactId >gcloud-java-storage</artifactId >
20
21
<version >0.1.3</version >
21
22
</dependency >
23
+ <!-- [END dependencies] -->
22
24
</dependencies >
23
25
<build >
24
26
<!-- for hot reload of the web application -->
Original file line number Diff line number Diff line change 1
1
# Appengine Helloworld sample for Google App Engine
2
2
This 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
6
3
7
4
## Running locally
8
- $ mvn appengine:devserver
5
+ $ mvn jetty:run
9
6
10
7
## Deploying
11
- $ mvn appengine:update
8
+ $ mvn gcloud:deploy
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3
3
xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
4
+
4
5
<modelVersion >4.0.0</modelVersion >
5
6
<packaging >war</packaging >
6
7
<version >1.0-SNAPSHOT</version >
7
8
<groupId >com.example.managedvms</groupId >
8
- <artifactId >appengine-helloworld-mvm</artifactId >
9
+ <artifactId >managedvms-helloworld-mvm</artifactId >
10
+
9
11
<dependencies >
10
12
<dependency >
11
13
<groupId >javax.servlet</groupId >
15
17
<scope >provided</scope >
16
18
</dependency >
17
19
</dependencies >
20
+
18
21
<build >
19
22
<!-- for hot reload of the web application -->
20
23
<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 14
14
<type >jar</type >
15
15
<scope >provided</scope >
16
16
</dependency >
17
+ <!-- [START dependencies] -->
17
18
<dependency >
18
19
<groupId >com.googlecode.xmemcached</groupId >
19
20
<artifactId >xmemcached</artifactId >
20
21
<version >2.0.0</version >
21
22
</dependency >
23
+ <!-- [END dependencies] -->
22
24
</dependencies >
23
25
<build >
24
26
<!-- for hot reload of the web application -->
You can’t perform that action at this time.
0 commit comments