File tree Expand file tree Collapse file tree 3 files changed +39
-10
lines changed Expand file tree Collapse file tree 3 files changed +39
-10
lines changed Original file line number Diff line number Diff line change @@ -15,10 +15,10 @@ jobs:
15
15
- uses : actions/checkout@v3
16
16
with :
17
17
fetch-depth : 0
18
- - name : Set up JDK 8
18
+ - name : Set up JDK 11
19
19
uses : actions/setup-java@v3
20
20
with :
21
- java-version : 8
21
+ java-version : 11
22
22
distribution : ' temurin'
23
23
- name : Cache Maven packages
24
24
uses : actions/cache@v3
@@ -37,10 +37,10 @@ jobs:
37
37
- uses : actions/checkout@v3
38
38
with :
39
39
fetch-depth : 0
40
- - name : Set up JDK 8
40
+ - name : Set up JDK 11
41
41
uses : actions/setup-java@v3
42
42
with :
43
- java-version : 8
43
+ java-version : 11
44
44
distribution : ' temurin'
45
45
- name : Cache Maven packages
46
46
uses : actions/cache@v3
74
74
- name : Set up Maven Central Repository
75
75
uses : actions/setup-java@v3
76
76
with :
77
- java-version : 8
77
+ java-version : 11
78
78
distribution : ' temurin'
79
79
server-id : central
80
80
server-username : MAVEN_USERNAME
Original file line number Diff line number Diff line change 81
81
<plugin >
82
82
<artifactId >maven-compiler-plugin</artifactId >
83
83
<version >3.14.0</version >
84
- <configuration >
85
- <source >1.8</source >
86
- <target >1.8</target >
87
- </configuration >
84
+ <executions >
85
+ <execution >
86
+ <id >compile-java-8</id >
87
+ <goals >
88
+ <goal >compile</goal >
89
+ </goals >
90
+ <configuration >
91
+ <source >1.8</source >
92
+ <target >1.8</target >
93
+ </configuration >
94
+ </execution >
95
+ <execution >
96
+ <id >compile-java-9</id >
97
+ <phase >compile</phase >
98
+ <goals >
99
+ <goal >compile</goal >
100
+ </goals >
101
+ <configuration >
102
+ <release >9</release >
103
+ <compileSourceRoots >
104
+ <compileSourceRoot >${project.basedir} /src/main/java9</compileSourceRoot >
105
+ </compileSourceRoots >
106
+ <multiReleaseOutput >true</multiReleaseOutput >
107
+ </configuration >
108
+ </execution >
109
+ </executions >
88
110
</plugin >
89
111
<plugin >
90
112
<groupId >org.apache.maven.plugins</groupId >
93
115
<configuration >
94
116
<archive >
95
117
<manifestEntries >
96
- <Automatic-Module-Name >org.openapitools.jackson.nullable</ Automatic-Module-Name >
118
+ <Multi-Release >true</ Multi-Release >
97
119
</manifestEntries >
98
120
</archive >
99
121
</configuration >
Original file line number Diff line number Diff line change
1
+ module org .openapitools .jackson .nullable {
2
+ requires com .fasterxml .jackson .databind ;
3
+ requires static jakarta .validation ;
4
+ requires static java .validation ;
5
+
6
+ exports org .openapitools .jackson .nullable ;
7
+ }
You can’t perform that action at this time.
0 commit comments