Skip to content

Commit 86ec40a

Browse files
author
Shun Fan
committed
Merge branch 'master' into java8
2 parents 43fa8a5 + 7d0e80d commit 86ec40a

File tree

5 files changed

+29
-6
lines changed

5 files changed

+29
-6
lines changed

managed_vms/cloudstorage/pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,13 @@
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 -->

managed_vms/helloworld/README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
# Appengine Helloworld sample for Google App Engine
22
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
63

74
## Running locally
8-
$ mvn appengine:devserver
5+
$ mvn jetty:run
96

107
## Deploying
11-
$ mvn appengine:update
8+
$ mvn gcloud:deploy

managed_vms/helloworld/pom.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
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>
@@ -15,6 +17,7 @@
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>
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
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>

managed_vms/memcache/pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,13 @@
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 -->

0 commit comments

Comments
 (0)