File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4545 <!-- For non-ci builds we'd like the build to still complete if jacoco metrics aren't met. -->
4646 <jacoco .haltOnFailure>false</jacoco .haltOnFailure>
4747 <jjwt .suite.version>0.11.2</jjwt .suite.version>
48+
49+ <surefire .argLine></surefire .argLine>
4850 </properties >
4951
5052 <build >
272274 <id >default-test</id >
273275 <configuration >
274276 <excludesFile >src/test/resources/slow-or-flaky-tests.txt</excludesFile >
277+ <argLine >${surefire.argLine} </argLine >
275278 </configuration >
276279 </execution >
277280 <execution >
284287 <rerunFailingTestsCount >2</rerunFailingTestsCount >
285288 <!-- There are some tests that take longer or are a little flaky. Run them here. -->
286289 <includesFile >src/test/resources/slow-or-flaky-tests.txt</includesFile >
290+ <argLine >${surefire.argLine} </argLine >
287291 </configuration >
288292 </execution >
289293 </executions >
561565 </pluginRepository >
562566 </pluginRepositories >
563567 <profiles >
568+ <profile >
569+ <id >jdk11+</id >
570+ <activation >
571+ <jdk >[11,)</jdk >
572+ </activation >
573+ <properties >
574+ <!-- this is required for GithubHttpUrlConnectionClient#setRequestMethod() to work with JDK 16+ -->
575+ <surefire .argLine>--add-opens java.base/java.net=ALL-UNNAMED</surefire .argLine>
576+ </properties >
577+ </profile >
564578 <profile >
565579 <id >ci-non-windows</id >
566580 <activation >
You can’t perform that action at this time.
0 commit comments