File tree Expand file tree Collapse file tree 4 files changed +24
-10
lines changed Expand file tree Collapse file tree 4 files changed +24
-10
lines changed Original file line number Diff line number Diff line change 15
15
runs-on : ubuntu-latest
16
16
strategy :
17
17
matrix :
18
- java : [ 11, 17 ]
18
+ java : [ 17 ]
19
19
distribution : [ temurin ]
20
20
steps :
21
21
- uses : actions/checkout@v3
36
36
needs : build
37
37
strategy :
38
38
matrix :
39
- java : [ 11 ]
39
+ java : [ 17 ]
40
40
distribution : [ temurin ]
41
41
steps :
42
42
- uses : actions/checkout@v3
68
68
needs : build
69
69
strategy :
70
70
matrix :
71
- java : [ 11 ]
71
+ java : [ 17 ]
72
72
distribution : [ temurin ]
73
73
steps :
74
74
- uses : actions/checkout@v3
Original file line number Diff line number Diff line change 12
12
- name : Set up Java and Maven
13
13
uses : actions/setup-java@v3
14
14
with :
15
- java-version : 11
15
+ java-version : 17
16
16
distribution : temurin
17
17
cache : ' maven'
18
18
- name : change version to release version
37
37
- name : Set up Java and Maven
38
38
uses : actions/setup-java@v3
39
39
with :
40
- java-version : 11
40
+ java-version : 17
41
41
distribution : temurin
42
42
cache : ' maven'
43
43
- name : change version to release version
Original file line number Diff line number Diff line change 65
65
<maven-javadoc-plugin .version>3.5.0</maven-javadoc-plugin .version>
66
66
<maven-gpg-plugin .version>3.1.0</maven-gpg-plugin .version>
67
67
<maven-source-plugin .version>3.2.1</maven-source-plugin .version>
68
- <spring-boot-dependencies .version>2.7.3 </spring-boot-dependencies .version>
68
+ <spring-boot-dependencies .version>3.1.0 </spring-boot-dependencies .version>
69
69
</properties >
70
70
71
71
<modules >
220
220
</plugins >
221
221
</pluginManagement >
222
222
<plugins >
223
+ <plugin >
224
+ <groupId >org.apache.maven.plugins</groupId >
225
+ <artifactId >maven-compiler-plugin</artifactId >
226
+ <version >${maven-compiler-plugin.version} </version >
227
+ <configuration >
228
+ <source >${java.version} </source >
229
+ <target >${java.version} </target >
230
+ <showDeprecation >true</showDeprecation >
231
+ <showWarnings >true</showWarnings >
232
+ </configuration >
233
+ </plugin >
223
234
<plugin >
224
235
<groupId >org.commonjava.maven.plugins</groupId >
225
236
<artifactId >directory-maven-plugin</artifactId >
Original file line number Diff line number Diff line change 14
14
<name >Kubernetes Webhooks Framework - Samples - Spring Boot</name >
15
15
16
16
<properties >
17
- <java .version>11 </java .version>
17
+ <java .version>17 </java .version>
18
18
<jib-maven-plugin .version>3.3.2</jib-maven-plugin .version>
19
19
</properties >
20
20
34
34
<dependency >
35
35
<groupId >org.springframework.boot</groupId >
36
36
<artifactId >spring-boot-starter</artifactId >
37
+ <exclusions >
38
+ <exclusion >
39
+ <groupId >ch.qos.logback</groupId >
40
+ <artifactId >logback-classic</artifactId >
41
+ </exclusion >
42
+ </exclusions >
37
43
</dependency >
38
44
<dependency >
39
45
<groupId >org.springframework.boot</groupId >
96
102
<artifactId >jib-maven-plugin</artifactId >
97
103
<version >${jib-maven-plugin.version} </version >
98
104
<configuration >
99
- <from >
100
- <image >gcr.io/distroless/java:11</image >
101
- </from >
102
105
<to >
103
106
<image >test/spring-boot-sample:${project.version} </image >
104
107
</to >
You can’t perform that action at this time.
0 commit comments