File tree Expand file tree Collapse file tree 30 files changed +308
-290
lines changed
appengine-simple-jetty-main
guestbook-cloud-firestore Expand file tree Collapse file tree 30 files changed +308
-290
lines changed Original file line number Diff line number Diff line change 14
14
<parent >
15
15
<groupId >com.google.cloud.samples</groupId >
16
16
<artifactId >shared-configuration</artifactId >
17
- <version >1.0.11 </version >
17
+ <version >1.0.12 </version >
18
18
</parent >
19
19
20
20
<properties >
66
66
<artifactId >exec-maven-plugin</artifactId >
67
67
<version >1.6.0</version >
68
68
<executions >
69
- <execution ><goals ><goal >java</goal ></goals ></execution >
69
+ <execution >
70
+ <goals >
71
+ <goal >java</goal >
72
+ </goals >
73
+ </execution >
70
74
</executions >
71
75
<configuration >
72
76
<mainClass >com.example.appengine.demo.jettymain.Main</mainClass >
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ cp ../../../appengine-java11/cloudsql/pom.xml ./
62
62
63
63
The following command will deploy the application to your Google Cloud project :
64
64
` ` `
65
- mvn clean package appengine:deploy -Dapp.deploy.projectId=<your-project-id>
65
+ mvn clean package appengine:deploy
66
66
` ` `
67
67
68
68
View your application :
Original file line number Diff line number Diff line change 29
29
<parent >
30
30
<groupId >com.google.cloud.samples</groupId >
31
31
<artifactId >shared-configuration</artifactId >
32
- <version >1.0.11 </version >
32
+ <version >1.0.12 </version >
33
33
</parent >
34
34
35
35
<properties >
139
139
<artifactId >appengine-maven-plugin</artifactId >
140
140
<version >2.2.0</version >
141
141
<configuration >
142
+ <projectId >GCLOUD_CONFIG</projectId >
142
143
<version >cloudsql</version >
143
144
</configuration >
144
145
</plugin >
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ Main class to your classpath:
44
44
45
45
- Deploy to App Engine standard environment using the following Maven command.
46
46
```
47
- mvn appengine:deploy -Dapp.deploy.projectId=<your-project-id>
47
+ mvn clean package appengine:deploy
48
48
```
49
49
- Direct your browser to ` https://<your-project-id>.appspot.com ` .
50
50
- View more in-depth metrics data on the [ StackDriver Monitoring Dashboard] [ dashboard ]
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ Copyright 2019 Google LLC
27
27
<parent >
28
28
<groupId >com.google.cloud.samples</groupId >
29
29
<artifactId >shared-configuration</artifactId >
30
- <version >1.0.11 </version >
30
+ <version >1.0.12 </version >
31
31
</parent >
32
32
33
33
<properties >
@@ -86,10 +86,11 @@ Copyright 2019 Google LLC
86
86
<artifactId >appengine-maven-plugin</artifactId >
87
87
<version >2.2.0</version >
88
88
<configuration >
89
+ <projectId >GCLOUD_CONFIG</projectId >
89
90
<version >gaeinfo</version >
90
91
</configuration >
91
92
</plugin >
92
-
93
+
93
94
<plugin >
94
95
<groupId >org.apache.maven.plugins</groupId >
95
96
<artifactId >maven-war-plugin</artifactId >
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ from the Select a database service screen:
67
67
Deploy your application using the maven plugin:
68
68
69
69
```
70
- mvn clean package appengine:deploy -Dapp.deploy.projectId=<your-project-id>
70
+ mvn clean package appengine:deploy
71
71
```
72
72
73
73
View your application:
Original file line number Diff line number Diff line change 26
26
<parent >
27
27
<groupId >com.google.cloud.samples</groupId >
28
28
<artifactId >shared-configuration</artifactId >
29
- <version >1.0.11 </version >
29
+ <version >1.0.12 </version >
30
30
</parent >
31
31
32
32
<properties >
96
96
<artifactId >appengine-maven-plugin</artifactId >
97
97
<version >2.2.0</version >
98
98
<configuration >
99
+ <projectId >GCLOUD_CONFIG</projectId >
99
100
<version >guestbook</version >
100
101
</configuration >
101
102
</plugin >
Original file line number Diff line number Diff line change @@ -94,6 +94,6 @@ Then visit: http://localhost:8080/hello
94
94
While in the ` helloworld-servlet ` directory, use the ` appengine-maven-plugin ` to
95
95
deploy your app:
96
96
```
97
- mvn clean package appengine:deploy -Dapp.deploy.projectId=<your-project-id>
97
+ mvn clean package appengine:deploy
98
98
```
99
99
Then visit: https://YOUR-PROJECT-ID.appspot.com/hello
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ limitations under the License.
28
28
<parent >
29
29
<groupId >com.google.cloud.samples</groupId >
30
30
<artifactId >shared-configuration</artifactId >
31
- <version >1.0.11 </version >
31
+ <version >1.0.12 </version >
32
32
</parent >
33
33
34
34
<!-- [START gae_java11_properties] -->
@@ -72,6 +72,7 @@ limitations under the License.
72
72
<artifactId >appengine-maven-plugin</artifactId >
73
73
<version >2.2.0</version >
74
74
<configuration >
75
+ <projectId >GCLOUD_CONFIG</projectId >
75
76
<version >helloworld</version >
76
77
</configuration >
77
78
</plugin >
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ See [Prerequisites](../README.md#Prerequisites).
11
11
## Deploy to App Engine Standard
12
12
13
13
```
14
- mvn clean package appengine:deploy -Dapp.deploy.projectId=<your-project-id>
14
+ mvn clean package appengine:deploy
15
15
```
16
16
17
17
To view your app, use command:
Original file line number Diff line number Diff line change 11
11
<parent >
12
12
<groupId >com.google.cloud.samples</groupId >
13
13
<artifactId >shared-configuration</artifactId >
14
- <version >1.0.11 </version >
14
+ <version >1.0.12 </version >
15
15
</parent >
16
16
17
17
34
34
</archive >
35
35
</configuration >
36
36
</plugin >
37
-
37
+
38
38
<plugin >
39
39
<groupId >com.google.cloud.tools</groupId >
40
40
<artifactId >appengine-maven-plugin</artifactId >
41
41
<version >2.2.0</version >
42
42
<configuration >
43
+ <projectId >GCLOUD_CONFIG</projectId >
43
44
<version >http-server</version >
44
45
</configuration >
45
46
</plugin >
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ See [Prerequisites](../README.md#Prerequisites).
10
10
## Deploying
11
11
12
12
``` bash
13
- mvn clean package appengine:deploy -Dapp.deploy.projectId= < your-project-id >
13
+ mvn clean package appengine:deploy
14
14
```
15
15
16
16
To view your app, use command:
You can’t perform that action at this time.
0 commit comments