Skip to content

Commit 2334c7a

Browse files
ludochgae-java-bot
authored andcommitted
Upgrade GAE Java version from 5.0.1 to 5.0.2 and prepare next version 5.0.3-SNAPSHOT
PiperOrigin-RevId: 915475797 Change-Id: Ief1c33e43b4de5111bcdaefd501d1b2078fe1704
1 parent 54ec549 commit 2334c7a

115 files changed

Lines changed: 137 additions & 136 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
See the License for the specific language governing permissions and
1414
limitations under the License.
1515
-->
16+
1617
[![Java17/21/25](https://github.com/GoogleCloudPlatform/appengine-java-standard/actions/workflows/maven.yml/badge.svg)](https://github.com/GoogleCloudPlatform/appengine-java-standard/actions/workflows/maven.yml)
1718
[![Maven][maven-version-image]][maven-version-link]
1819
[![Code of conduct](https://img.shields.io/badge/%E2%9D%A4-code%20of%20conduct-blue.svg)](https://github.com/GoogleCloudPlatform/appengine-java-standard/blob/main/CODE_OF_CONDUCT.md)
@@ -74,7 +75,7 @@ The packages `com.google.appengine.api.blobstore.ee10` and `com.google.appengine
7475
<dependency>
7576
<groupId>com.google.appengine</groupId>
7677
<artifactId>appengine-api-1.0-sdk</artifactId>
77-
<version>5.0.0</version><!-- or later-->
78+
<version>5.0.2</version><!-- or later-->
7879
</dependency>
7980
<dependency>
8081
<groupId>javax.servlet</groupId>
@@ -94,7 +95,7 @@ The packages `com.google.appengine.api.blobstore.ee10` and `com.google.appengine
9495
<dependency>
9596
<groupId>com.google.appengine</groupId>
9697
<artifactId>appengine-api-1.0-sdk</artifactId>
97-
<version>5.0.0</version><!-- or later-->
98+
<version>5.0.2</version><!-- or later-->
9899
</dependency>
99100
<dependency>
100101
<groupId>jakarta.servlet</groupId>
@@ -114,7 +115,7 @@ The packages `com.google.appengine.api.blobstore.ee10` and `com.google.appengine
114115
<dependency>
115116
<groupId>com.google.appengine</groupId>
116117
<artifactId>appengine-api-1.0-sdk</artifactId>
117-
<version>5.0.0</version><!-- or later-->
118+
<version>5.0.2</version><!-- or later-->
118119
</dependency>
119120
<dependency>
120121
<groupId>jakarta.servlet</groupId>
@@ -223,7 +224,7 @@ Source code for remote APIs for App Engine.
223224
<dependency>
224225
<groupId>com.google.appengine</groupId>
225226
<artifactId>appengine-remote-api</artifactId>
226-
<version>5.0.0</version><!-- or later-->
227+
<version>5.0.2</version><!-- or later-->
227228
</dependency>
228229
```
229230
@@ -246,7 +247,7 @@ We moved `com.google.appengine.api.memcache.stdimpl` and its old dependency
246247
<dependency>
247248
<groupId>com.google.appengine</groupId>
248249
<artifactId>appengine-api-legacy.jar/artifactId>
249-
<version>5.0.0</version><!-- Or later-->
250+
<version>5.0.2</version><!-- Or later-->
250251
</dependency>
251252
```
252253
@@ -261,19 +262,19 @@ We moved `com.google.appengine.api.memcache.stdimpl` and its old dependency
261262
<dependency>
262263
<groupId>com.google.appengine</groupId>
263264
<artifactId>appengine-testing</artifactId>
264-
<version>5.0.0</version><!-- or later-->
265+
<version>5.0.2</version><!-- or later-->
265266
<scope>test</scope>
266267
</dependency>
267268
<dependency>
268269
<groupId>com.google.appengine</groupId>
269270
<artifactId>appengine-api-stubs</artifactId>
270-
<version>5.0.0</version><!-- or later-->
271+
<version>5.0.2</version><!-- or later-->
271272
<scope>test</scope>
272273
</dependency>
273274
<dependency>
274275
<groupId>com.google.appengine</groupId>
275276
<artifactId>appengine-tools-sdk</artifactId>
276-
<version>5.0.0</version><!-- or later-->
277+
<version>5.0.2</version><!-- or later-->
277278
<scope>test</scope>
278279
</dependency>
279280
```

TRYLATESTBITSINPROD.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ top of your web application and change the entrypoint to boot with these jars in
4747
./mvnw clean install
4848
```
4949

50-
Let's assume the current build version is `5.0.2-SNAPSHOT`.
50+
Let's assume the current build version is `5.0.3-SNAPSHOT`.
5151

5252
See the output of the runtime deployment module which contains all the jars needed by the runtime:
5353

@@ -67,7 +67,7 @@ Add the dependency for the GAE runtime jars in your application pom.xml file:
6767

6868
```
6969
<properties>
70-
<appengine.runtime.version>5.0.2-SNAPSHOT</appengine.runtime.version>
70+
<appengine.runtime.version>5.0.3-SNAPSHOT</appengine.runtime.version>
7171
<appengine.runtime.location>target/${project.artifactId}-${project.version}</appengine.runtime.location>
7272
<properties>
7373
...
@@ -185,13 +185,13 @@ fi
185185
if grep -q "<properties>" "$POM_FILE"; then
186186
# Inserts the properties before the closing </properties> tag
187187
sed -i '/<\/properties>/i \
188-
<appengine.runtime.version>5.0.2-SNAPSHOT<\/appengine.runtime.version>\
188+
<appengine.runtime.version>5.0.3-SNAPSHOT<\/appengine.runtime.version>\
189189
<appengine.runtime.location>target/${project.artifactId}-${project.version}<\/appengine.runtime.location>' "$POM_FILE"
190190
else
191191
# If no properties tag exists, insert it before dependencies
192192
sed -i '/<dependencies>/i \
193193
<properties>\
194-
<appengine.runtime.version>5.0.2-SNAPSHOT<\/appengine.runtime.version>\
194+
<appengine.runtime.version>5.0.3-SNAPSHOT<\/appengine.runtime.version>\
195195
<appengine.runtime.location>target/${project.artifactId}-${project.version}<\/appengine.runtime.location>\
196196
<\/properties>' "$POM_FILE"
197197
fi
@@ -266,14 +266,14 @@ If you are using the Gradle build system, you can apply the following changes to
266266

267267
These instructions configure the `war` task to do two important things:
268268
1. **Move the jars to the top of the WAR directory:** The `into("")` (or `into('.')`) block combined with `eachFile { path = name }` extracts the jars and flattens the directory structure, placing them directly in the root of the generated WAR.
269-
2. **Rename the jars:** The `rename` block strips the version string (e.g., `-5.0.2-SNAPSHOT`) from the extracted jars so their names exactly match the `-Djava.class.path=runtime-main.jar` argument specified in the `appengine-web.xml` entrypoint.
269+
2. **Rename the jars:** The `rename` block strips the version string (e.g., `-5.0.3-SNAPSHOT`) from the extracted jars so their names exactly match the `-Djava.class.path=runtime-main.jar` argument specified in the `appengine-web.xml` entrypoint.
270270

271271
### Kotlin
272272
```
273273
import org.gradle.api.tasks.bundling.War
274274
275275
// 1. Define the target runtime version
276-
val gaeRuntimeVersion = "5.0.2-SNAPSHOT" // Change this to your desired version
276+
val gaeRuntimeVersion = "5.0.3-SNAPSHOT" // Change this to your desired version
277277
278278
// 2. Create a custom configuration for the runtime zip
279279
val gaeRuntimeZip by configurations.creating
@@ -309,7 +309,7 @@ tasks.named<War>("war") {
309309

310310
```
311311
// 1. Define the target runtime version
312-
def gaeRuntimeVersion = "5.0.2-SNAPSHOT" // Change this to your desired version
312+
def gaeRuntimeVersion = "5.0.3-SNAPSHOT" // Change this to your desired version
313313
314314
// 2. Create a custom configuration for the runtime zip
315315
configurations {
@@ -336,7 +336,7 @@ war {
336336
}
337337
338338
// Strip the version number from the jar files
339-
// (e.g., 'runtime-main-5.0.2-SNAPSHOT.jar' becomes 'runtime-main.jar')
339+
// (e.g., 'runtime-main-5.0.3-SNAPSHOT.jar' becomes 'runtime-main.jar')
340340
rename { String fileName ->
341341
fileName.replace("-${gaeRuntimeVersion}", "")
342342
}

api/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>com.google.appengine</groupId>
2323
<artifactId>parent</artifactId>
24-
<version>5.0.2-SNAPSHOT</version>
24+
<version>5.0.3-SNAPSHOT</version>
2525
</parent>
2626
<properties>
2727
<maven.deploy.skip>true</maven.deploy.skip>

api_dev/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<parent>
2424
<groupId>com.google.appengine</groupId>
2525
<artifactId>parent</artifactId>
26-
<version>5.0.2-SNAPSHOT</version>
26+
<version>5.0.3-SNAPSHOT</version>
2727
</parent>
2828

2929
<packaging>jar</packaging>

api_legacy/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>com.google.appengine</groupId>
2424
<artifactId>parent</artifactId>
25-
<version>5.0.2-SNAPSHOT</version>
25+
<version>5.0.3-SNAPSHOT</version>
2626
</parent>
2727

2828
<packaging>jar</packaging>

appengine-api-1.0-sdk/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<groupId>com.google.appengine</groupId>
2222
<artifactId>parent</artifactId>
23-
<version>5.0.2-SNAPSHOT</version>
23+
<version>5.0.3-SNAPSHOT</version>
2424
</parent>
2525
<packaging>jar</packaging>
2626
<name>AppEngine :: appengine-api-1.0-sdk</name>

appengine-api-stubs/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<parent>
2424
<groupId>com.google.appengine</groupId>
2525
<artifactId>parent</artifactId>
26-
<version>5.0.2-SNAPSHOT</version>
26+
<version>5.0.3-SNAPSHOT</version>
2727
</parent>
2828

2929
<packaging>jar</packaging>

appengine_init/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<parent>
2424
<groupId>com.google.appengine</groupId>
2525
<artifactId>parent</artifactId>
26-
<version>5.0.2-SNAPSHOT</version>
26+
<version>5.0.3-SNAPSHOT</version>
2727
</parent>
2828

2929
<packaging>jar</packaging>

appengine_jsr107/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<parent>
2727
<groupId>com.google.appengine</groupId>
2828
<artifactId>parent</artifactId>
29-
<version>5.0.2-SNAPSHOT</version>
29+
<version>5.0.3-SNAPSHOT</version>
3030
</parent>
3131

3232
<dependencies>

appengine_resources/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>com.google.appengine</groupId>
2323
<artifactId>parent</artifactId>
24-
<version>5.0.2-SNAPSHOT</version>
24+
<version>5.0.3-SNAPSHOT</version>
2525
</parent>
2626
<packaging>jar</packaging>
2727
<name>AppEngine :: appengine-resources</name>

0 commit comments

Comments
 (0)