Skip to content

Commit 521911a

Browse files
committed
Java 17 project name
1 parent fcd8bac commit 521911a

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

sample-apps/java17-examples/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,33 +34,33 @@ Download or clone this repository.
3434

3535
To create a new bucket for deployment artifacts, run `1-create-bucket.sh`.
3636

37-
java-basic$ ./1-create-bucket.sh
37+
java17-examples$ ./1-create-bucket.sh
3838
make_bucket: lambda-artifacts-a5e4xmplb5b22e0d
3939

4040
# Deploy
4141
To deploy the application, run `2-deploy.sh`.
4242

43-
java-basic$ ./2-deploy.sh
43+
java17-examples$ ./2-deploy.sh
4444
BUILD SUCCESSFUL in 1s
4545
Successfully packaged artifacts and wrote output template to file out.yml.
4646
Waiting for changeset to be created..
47-
Successfully created/updated stack - java-basic
47+
Successfully created/updated stack - java17-examples
4848

4949
This script uses AWS CloudFormation to deploy the Lambda functions and an IAM role. If the AWS CloudFormation stack that contains the resources already exists, the script updates it with any changes to the template or function code.
5050

5151
You can also build the application with Maven. To use maven, add `mvn` to the command.
5252

53-
java-basic$ ./2-deploy.sh mvn
53+
java17-examples$ ./2-deploy.sh mvn
5454
[INFO] Scanning for projects...
55-
[INFO] -----------------------< com.example:java-basic >-----------------------
56-
[INFO] Building java-basic-function 1.0-SNAPSHOT
55+
[INFO] -----------------------< com.example:java17-examples >-----------------------
56+
[INFO] Building java17-examples-function 1.0-SNAPSHOT
5757
[INFO] --------------------------------[ jar ]---------------------------------
5858
...
5959

6060
# Test
6161
To invoke the function, run `3-invoke.sh`.
6262

63-
java-basic$ ./3-invoke.sh
63+
java17-examples$ ./3-invoke.sh
6464
{
6565
"StatusCode": 200,
6666
"ExecutedVersion": "$LATEST"
@@ -72,4 +72,4 @@ Let the script invoke the function a few times and then press `CRTL+C` to exit.
7272
# Cleanup
7373
To delete the application, run `4-cleanup.sh`.
7474

75-
java-basic$ ./4-cleanup.sh
75+
java17-examples$ ./4-cleanup.sh

sample-apps/java17-examples/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>java17-examples</artifactId>
66
<packaging>jar</packaging>
77
<version>1.0-SNAPSHOT</version>
8-
<name>java-basic-function</name>
8+
<name>java17-examples-function</name>
99
<properties>
1010
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1111
<maven.compiler.source>17</maven.compiler.source>

0 commit comments

Comments
 (0)