Skip to content

Commit 1051a59

Browse files
committed
Removed -Dversion parameter for App Identity example.
This flag seems to be ignored by the gcloud plugin and the Managed VMs environment creates a new version if one isn't provided, anyway.
1 parent a4111dd commit 1051a59

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

appengine/appidentity/README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,16 @@ To run this sample locally:
1010

1111
## Deploying
1212
In the following command, replace YOUR-PROJECT-ID with your
13-
[Google Cloud Project ID](https://developers.google.com/console/help/new/#projectnumber)
14-
and YOUR-VERSION with a suitable version identifier.
13+
[Google Cloud Project ID](https://developers.google.com/console/help/new/#projectnumber).
1514

16-
$ mvn gcloud:deploy -Dversion=YOUR-VERSION -Dgcloud_project=YOUR-PROJECT-ID
15+
$ mvn gcloud:deploy -Dgcloud_project=YOUR-PROJECT-ID
1716

1817
## Setup
1918
To save your project settings so that you don't need to enter the
20-
`-Dgcloud_project=YOUR-CLOUD-PROJECT-ID` or `-Dversion=YOUR-VERSION-NAME`
21-
parameters, you can make the following changes:
19+
`-Dgcloud_project=YOUR-CLOUD-PROJECT-ID` parameters, you can:
2220

23-
1. Update the <application> tag in src/main/webapp/WEB-INF/appengine-web.xml with your project name
24-
1. Update the <version> tag in src/main/webapp/WEB-INF/appengine-web.xml with your version name
21+
1. Update the <application> tag in src/main/webapp/WEB-INF/appengine-web.xml
22+
with your project name.
2523

2624
You will now be able to run
2725

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
33
<application>YOUR-PROJECT-ID</application>
4-
<version>YOUR-VERSION-ID</version>
54
<threadsafe>true</threadsafe>
65
<vm>true</vm>
76
</appengine-web-app>

0 commit comments

Comments
 (0)