Skip to content

Commit 253979c

Browse files
authored
Update Maven config GAE 11 (#2441)
1 parent d18e13f commit 253979c

File tree

30 files changed

+308
-290
lines changed

30 files changed

+308
-290
lines changed

appengine-java11/appengine-simple-jetty-main/pom.xml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<parent>
1515
<groupId>com.google.cloud.samples</groupId>
1616
<artifactId>shared-configuration</artifactId>
17-
<version>1.0.11</version>
17+
<version>1.0.12</version>
1818
</parent>
1919

2020
<properties>
@@ -66,7 +66,11 @@
6666
<artifactId>exec-maven-plugin</artifactId>
6767
<version>1.6.0</version>
6868
<executions>
69-
<execution><goals><goal>java</goal></goals></execution>
69+
<execution>
70+
<goals>
71+
<goal>java</goal>
72+
</goals>
73+
</execution>
7074
</executions>
7175
<configuration>
7276
<mainClass>com.example.appengine.demo.jettymain.Main</mainClass>

appengine-java11/cloudsql/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ cp ../../../appengine-java11/cloudsql/pom.xml ./
6262

6363
The following command will deploy the application to your Google Cloud project:
6464
```
65-
mvn clean package appengine:deploy -Dapp.deploy.projectId=<your-project-id>
65+
mvn clean package appengine:deploy
6666
```
6767

6868
View your application:

appengine-java11/cloudsql/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<parent>
3030
<groupId>com.google.cloud.samples</groupId>
3131
<artifactId>shared-configuration</artifactId>
32-
<version>1.0.11</version>
32+
<version>1.0.12</version>
3333
</parent>
3434

3535
<properties>
@@ -139,6 +139,7 @@
139139
<artifactId>appengine-maven-plugin</artifactId>
140140
<version>2.2.0</version>
141141
<configuration>
142+
<projectId>GCLOUD_CONFIG</projectId>
142143
<version>cloudsql</version>
143144
</configuration>
144145
</plugin>

appengine-java11/gaeinfo/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Main class to your classpath:
4444

4545
- Deploy to App Engine standard environment using the following Maven command.
4646
```
47-
mvn appengine:deploy -Dapp.deploy.projectId=<your-project-id>
47+
mvn clean package appengine:deploy
4848
```
4949
- Direct your browser to `https://<your-project-id>.appspot.com`.
5050
- View more in-depth metrics data on the [StackDriver Monitoring Dashboard][dashboard]

appengine-java11/gaeinfo/pom.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Copyright 2019 Google LLC
2727
<parent>
2828
<groupId>com.google.cloud.samples</groupId>
2929
<artifactId>shared-configuration</artifactId>
30-
<version>1.0.11</version>
30+
<version>1.0.12</version>
3131
</parent>
3232

3333
<properties>
@@ -86,10 +86,11 @@ Copyright 2019 Google LLC
8686
<artifactId>appengine-maven-plugin</artifactId>
8787
<version>2.2.0</version>
8888
<configuration>
89+
<projectId>GCLOUD_CONFIG</projectId>
8990
<version>gaeinfo</version>
9091
</configuration>
9192
</plugin>
92-
93+
9394
<plugin>
9495
<groupId>org.apache.maven.plugins</groupId>
9596
<artifactId>maven-war-plugin</artifactId>

appengine-java11/guestbook-cloud-firestore/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ from the Select a database service screen:
6767
Deploy your application using the maven plugin:
6868

6969
```
70-
mvn clean package appengine:deploy -Dapp.deploy.projectId=<your-project-id>
70+
mvn clean package appengine:deploy
7171
```
7272

7373
View your application:

appengine-java11/guestbook-cloud-firestore/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<parent>
2727
<groupId>com.google.cloud.samples</groupId>
2828
<artifactId>shared-configuration</artifactId>
29-
<version>1.0.11</version>
29+
<version>1.0.12</version>
3030
</parent>
3131

3232
<properties>
@@ -96,6 +96,7 @@
9696
<artifactId>appengine-maven-plugin</artifactId>
9797
<version>2.2.0</version>
9898
<configuration>
99+
<projectId>GCLOUD_CONFIG</projectId>
99100
<version>guestbook</version>
100101
</configuration>
101102
</plugin>

appengine-java11/helloworld-servlet/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,6 @@ Then visit: http://localhost:8080/hello
9494
While in the `helloworld-servlet` directory, use the `appengine-maven-plugin` to
9595
deploy your app:
9696
```
97-
mvn clean package appengine:deploy -Dapp.deploy.projectId=<your-project-id>
97+
mvn clean package appengine:deploy
9898
```
9999
Then visit: https://YOUR-PROJECT-ID.appspot.com/hello

appengine-java11/helloworld-servlet/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ limitations under the License.
2828
<parent>
2929
<groupId>com.google.cloud.samples</groupId>
3030
<artifactId>shared-configuration</artifactId>
31-
<version>1.0.11</version>
31+
<version>1.0.12</version>
3232
</parent>
3333

3434
<!-- [START gae_java11_properties] -->
@@ -72,6 +72,7 @@ limitations under the License.
7272
<artifactId>appengine-maven-plugin</artifactId>
7373
<version>2.2.0</version>
7474
<configuration>
75+
<projectId>GCLOUD_CONFIG</projectId>
7576
<version>helloworld</version>
7677
</configuration>
7778
</plugin>

appengine-java11/http-server/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ See [Prerequisites](../README.md#Prerequisites).
1111
## Deploy to App Engine Standard
1212

1313
```
14-
mvn clean package appengine:deploy -Dapp.deploy.projectId=<your-project-id>
14+
mvn clean package appengine:deploy
1515
```
1616

1717
To view your app, use command:

appengine-java11/http-server/pom.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<parent>
1212
<groupId>com.google.cloud.samples</groupId>
1313
<artifactId>shared-configuration</artifactId>
14-
<version>1.0.11</version>
14+
<version>1.0.12</version>
1515
</parent>
1616

1717

@@ -34,12 +34,13 @@
3434
</archive>
3535
</configuration>
3636
</plugin>
37-
37+
3838
<plugin>
3939
<groupId>com.google.cloud.tools</groupId>
4040
<artifactId>appengine-maven-plugin</artifactId>
4141
<version>2.2.0</version>
4242
<configuration>
43+
<projectId>GCLOUD_CONFIG</projectId>
4344
<version>http-server</version>
4445
</configuration>
4546
</plugin>

appengine-java11/kotlin-ktor/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ See [Prerequisites](../README.md#Prerequisites).
1010
## Deploying
1111

1212
```bash
13-
mvn clean package appengine:deploy -Dapp.deploy.projectId=<your-project-id>
13+
mvn clean package appengine:deploy
1414
```
1515

1616
To view your app, use command:

0 commit comments

Comments
 (0)