Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b2accd1

Browse files
Update buildspec.yml
1 parent 8ed853d commit b2accd1

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

‎buildspec.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,31 +3,29 @@ version: 0.2
33
phases:
44
install:
55
runtime-versions:
6-
java: corretto11
6+
java: corretto17
77
commands:
8-
- echo "Installing Maven"
9-
- yum install -y maven
8+
- echo "Installing dependencies..."
109

1110
pre_build:
1211
commands:
13-
- echo "Cleaning previous builds"
12+
- echo "Cleaning project..."
1413
- mvn clean
1514

1615
build:
1716
commands:
18-
- echo "Building the application"
17+
- echo "Packaging project..."
1918
- mvn package -DskipTests
20-
- echo "Copying JAR to output directory"
2119
- mkdir -p build
2220
- cp target/*.jar build/
2321

2422
post_build:
2523
commands:
26-
- echo "Zipping the JAR for Elastic Beanstalk"
24+
- echo "Zipping JAR for Elastic Beanstalk..."
2725
- cd build
2826
- zip ../app.zip *.jar
2927
- cd ..
30-
- echo "Build completed on `date`"
28+
- echo "Build completed."
3129

3230
artifacts:
3331
files:

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /