Skip to content

Commit 07dc43a

Browse files
ludochgae-java-bot
authored andcommitted
Upgrade GAE Java version from 5.0.0 to 5.0.1 and prepare next version 5.0.2-SNAPSHOT
PiperOrigin-RevId: 904668595 Change-Id: I3472d2cbbcfb592d4ad448d42df4b187f5dd0bc2
1 parent 4e04dea commit 07dc43a

117 files changed

Lines changed: 131 additions & 131 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.

TRYLATESTBITSINPROD.md

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

52-
Let's assume the current build version is `5.0.1-SNAPSHOT`.
52+
Let's assume the current build version is `5.0.2-SNAPSHOT`.
5353

5454
See the output of the runtime deployment module which contains all the jars needed by the runtime:
5555

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

7171
```
7272
<properties>
73-
<appengine.runtime.version>5.0.1-SNAPSHOT</appengine.runtime.version>
73+
<appengine.runtime.version>5.0.2-SNAPSHOT</appengine.runtime.version>
7474
<appengine.runtime.location>target/${project.artifactId}-${project.version}</appengine.runtime.location>
7575
<properties>
7676
...
@@ -196,13 +196,13 @@ fi
196196
if grep -q "<properties>" "$POM_FILE"; then
197197
# Inserts the properties before the closing </properties> tag
198198
sed -i '/<\/properties>/i \
199-
<appengine.runtime.version>5.0.1-SNAPSHOT<\/appengine.runtime.version>\
199+
<appengine.runtime.version>5.0.2-SNAPSHOT<\/appengine.runtime.version>\
200200
<appengine.runtime.location>target/${project.artifactId}-${project.version}<\/appengine.runtime.location>' "$POM_FILE"
201201
else
202202
# If no properties tag exists, insert it before dependencies
203203
sed -i '/<dependencies>/i \
204204
<properties>\
205-
<appengine.runtime.version>5.0.1-SNAPSHOT<\/appengine.runtime.version>\
205+
<appengine.runtime.version>5.0.2-SNAPSHOT<\/appengine.runtime.version>\
206206
<appengine.runtime.location>target/${project.artifactId}-${project.version}<\/appengine.runtime.location>\
207207
<\/properties>' "$POM_FILE"
208208
fi
@@ -285,14 +285,14 @@ If you are using the Gradle build system, you can apply the following changes to
285285

286286
These instructions configure the `war` task to do two important things:
287287
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.
288-
2. **Rename the jars:** The `rename` block strips the version string (e.g., `-5.0.1-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.
288+
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.
289289

290290
### Kotlin
291291
```
292292
import org.gradle.api.tasks.bundling.War
293293
294294
// 1. Define the target runtime version
295-
val gaeRuntimeVersion = "5.0.1-SNAPSHOT" // Change this to your desired version
295+
val gaeRuntimeVersion = "5.0.2-SNAPSHOT" // Change this to your desired version
296296
297297
// 2. Create a custom configuration for the runtime zip
298298
val gaeRuntimeZip by configurations.creating
@@ -328,7 +328,7 @@ tasks.named<War>("war") {
328328

329329
```
330330
// 1. Define the target runtime version
331-
def gaeRuntimeVersion = "5.0.1-SNAPSHOT" // Change this to your desired version
331+
def gaeRuntimeVersion = "5.0.2-SNAPSHOT" // Change this to your desired version
332332
333333
// 2. Create a custom configuration for the runtime zip
334334
configurations {
@@ -355,7 +355,7 @@ war {
355355
}
356356
357357
// Strip the version number from the jar files
358-
// (e.g., 'runtime-main-5.0.1-SNAPSHOT.jar' becomes 'runtime-main.jar')
358+
// (e.g., 'runtime-main-5.0.2-SNAPSHOT.jar' becomes 'runtime-main.jar')
359359
rename { String fileName ->
360360
fileName.replace("-${gaeRuntimeVersion}", "")
361361
}

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.1-SNAPSHOT</version>
24+
<version>5.0.2-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.1-SNAPSHOT</version>
26+
<version>5.0.2-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.1-SNAPSHOT</version>
25+
<version>5.0.2-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.1-SNAPSHOT</version>
23+
<version>5.0.2-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.1-SNAPSHOT</version>
26+
<version>5.0.2-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.1-SNAPSHOT</version>
26+
<version>5.0.2-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.1-SNAPSHOT</version>
29+
<version>5.0.2-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.1-SNAPSHOT</version>
24+
<version>5.0.2-SNAPSHOT</version>
2525
</parent>
2626
<packaging>jar</packaging>
2727
<name>AppEngine :: appengine-resources</name>

appengine_setup/apiserver_local/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>appengine_setup</artifactId>
23-
<version>5.0.1-SNAPSHOT</version>
23+
<version>5.0.2-SNAPSHOT</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

0 commit comments

Comments
 (0)