File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,9 +4,9 @@ FROM node:18-slim
44# Set working directory
55WORKDIR /app
66
7- # Install Java 11 JDK and Maven
7+ # Install Java 17 JDK and Maven
88RUN apt-get update && \
9- apt-get install -y openjdk-11 -jdk maven && \
9+ apt-get install -y openjdk-17 -jdk-headless maven && \
1010 apt-get clean && \
1111 rm -rf /var/lib/apt/lists/*
1212
Original file line number Diff line number Diff line change 1616 <maven-resources-plugin .version>3.3.1</maven-resources-plugin .version>
1717 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
1818 <project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
19- <java .version>11 </java .version>
19+ <java .version>17 </java .version>
2020 <jersey .version>3.1.0</jersey .version>
21- <maven .compiler.source>11 </maven .compiler.source>
22- <maven .compiler.target>11 </maven .compiler.target>
21+ <maven .compiler.source>17 </maven .compiler.source>
22+ <maven .compiler.target>17 </maven .compiler.target>
2323 </properties >
2424
2525 <dependencies >
Original file line number Diff line number Diff line change 1919 <maven-surefire-plugin .version>3.2.2</maven-surefire-plugin .version>
2020 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
2121 <project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
22- <java .version>11</java .version>
23- <maven .compiler.source>11</maven .compiler.source>
24- <maven .compiler.target>11</maven .compiler.target>
25- <jersey .version>3.1.3</jersey .version>
22+ <java .version>17</java .version>
23+ <jersey .version>2.27</jersey .version>
2624 </properties >
2725
2826 <dependencies >
You can’t perform that action at this time.
0 commit comments