File tree Expand file tree Collapse file tree 5 files changed +29
-57
lines changed Expand file tree Collapse file tree 5 files changed +29
-57
lines changed Original file line number Diff line number Diff line change 21
21
com .sun .mail .gimap .GmailProvider , com .sun .mail .gimap .GmailSSLProvider ;
22
22
23
23
requires jakarta .mail ;
24
+ requires jakarta .activation ;
24
25
requires java .logging ;
25
26
requires java .security .sasl ;
26
27
requires com .sun .mail .imap ;
Original file line number Diff line number Diff line change 41
41
com.sun.mail.iap; version=${mail.osgiversion}
42
42
</mail .packages.export>
43
43
</properties >
44
+
45
+ <build >
46
+ <plugins >
47
+ <plugin >
48
+ <artifactId >maven-compiler-plugin</artifactId >
49
+ <executions >
50
+ <execution >
51
+ <id >default-compile</id >
52
+ <configuration >
53
+ <skipMain >false</skipMain >
54
+ </configuration >
55
+ </execution >
56
+ </executions >
57
+ </plugin >
58
+ </plugins >
59
+ </build >
44
60
</project >
Original file line number Diff line number Diff line change 22
22
com .sun .mail .imap .IMAPProvider , com .sun .mail .imap .IMAPSSLProvider ;
23
23
24
24
requires jakarta .mail ;
25
+ requires jakarta .activation ;
25
26
requires java .logging ;
26
27
requires java .security .sasl ;
27
28
}
Original file line number Diff line number Diff line change 105
105
</build >
106
106
</profile >
107
107
108
- <!--
109
- A special profile used when compiling with the real JDK 11 compiler.
110
- Override the release setting from the parent's "11" profile so
111
- that we produce JDK 1.8 compatible class files.
112
- -->
113
- <profile >
114
- <id >11</id >
115
- <activation >
116
- <jdk >11</jdk >
117
- </activation >
118
- <build >
119
- <plugins >
120
- <plugin >
121
- <artifactId >maven-compiler-plugin</artifactId >
122
- <configuration >
123
- <release combine.self=" override" ></release >
124
- <compilerArgs >
125
- <arg >-Xlint</arg >
126
- <arg >-Xlint:-options</arg >
127
- <arg >-Xlint:-path</arg >
128
- <!--
129
- Too many finalize warnings.
130
- <arg>-Werror</arg>
131
- -->
132
- </compilerArgs >
133
- </configuration >
134
- </plugin >
135
- </plugins >
136
- </build >
137
- </profile >
138
108
</profiles >
139
109
140
110
<build >
155
125
<plugin >
156
126
<artifactId >maven-compiler-plugin</artifactId >
157
127
<configuration >
158
- <source >1.8</source >
159
- <target >1.8</target >
160
128
<compilerArgs >
161
129
<arg >-Xlint</arg >
162
130
<arg >-Xlint:-options</arg >
163
131
<arg >-Xlint:-path</arg >
164
- <arg >-Werror</arg >
132
+ <!-- < arg>-Werror</arg> -- >
165
133
</compilerArgs >
166
134
<showDeprecation >true</showDeprecation >
167
135
<showWarnings >true</showWarnings >
168
- <excludes >
169
- <exclude >
170
- module-info.java
171
- </exclude >
172
- </excludes >
173
136
</configuration >
174
137
</plugin >
175
138
Original file line number Diff line number Diff line change 264
264
<execution >
265
265
<id >default-compile</id >
266
266
<configuration >
267
- <source >1.8</source >
268
- <target >1.8</target >
267
+ <release >9</release >
268
+ </configuration >
269
+ </execution >
270
+ <execution >
271
+ <id >base-compile</id >
272
+ <goals >
273
+ <goal >compile</goal >
274
+ </goals >
275
+ <configuration >
276
+ <release >8</release >
269
277
<excludes >
270
278
<exclude >module-info.java</exclude >
271
279
</excludes >
280
288
</compilerArgs >
281
289
</configuration >
282
290
</execution >
283
- <execution >
284
- <id >module-info-compile</id >
285
- <goals >
286
- <goal >compile</goal >
287
- </goals >
288
- <configuration >
289
- <release >9</release >
290
- <includes >
291
- <include >module-info.java</include >
292
- </includes >
293
- </configuration >
294
- </execution >
295
291
<execution >
296
292
<id >default-testCompile</id >
297
293
<configuration >
450
446
https://issues.apache.org/jira/browse/MCOMPILER-209
451
447
-->
452
448
<useIncrementalCompilation >false</useIncrementalCompilation >
453
- <excludes >
454
- <exclude >
455
- module-info.java
456
- </exclude >
457
- </excludes >
458
449
</configuration >
459
450
</execution >
460
451
<execution >
You can’t perform that action at this time.
0 commit comments