File tree 1 file changed +21
-9
lines changed
1 file changed +21
-9
lines changed Original file line number Diff line number Diff line change 220
220
</execution >
221
221
</executions >
222
222
</plugin >
223
- <plugin >
224
- <groupId >org.apache.maven.plugins</groupId >
225
- <artifactId >maven-surefire-plugin</artifactId >
226
- <configuration >
227
- <!-- This arg line allows inter-module access when Gson serializes
228
- the private variables of java.time.Duration -->
229
- <argLine >--add-opens java.base/java.time=ALL-UNNAMED</argLine >
230
- </configuration >
231
- </plugin >
232
223
</plugins >
233
224
</pluginManagement >
234
225
</build >
308
299
</plugin >
309
300
</plugins >
310
301
</reporting >
302
+ <profiles >
303
+ <profile >
304
+ <id >java9</id >
305
+ <activation >
306
+ <jdk >[9,)</jdk >
307
+ </activation >
308
+ <build >
309
+ <plugins >
310
+ <plugin >
311
+ <groupId >org.apache.maven.plugins</groupId >
312
+ <artifactId >maven-surefire-plugin</artifactId >
313
+ <configuration >
314
+ <!-- This arg line allows inter-module access when Gson serializes
315
+ the private variables of java.time.Duration -->
316
+ <argLine >--add-opens java.base/java.time=ALL-UNNAMED</argLine >
317
+ </configuration >
318
+ </plugin >
319
+ </plugins >
320
+ </build >
321
+ </profile >
322
+ </profiles >
311
323
</project >
You can’t perform that action at this time.
0 commit comments