File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed
Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change 407407 <groupId >org.apache.maven.plugins</groupId >
408408 <artifactId >maven-surefire-plugin</artifactId >
409409 <configuration >
410- <!-- Suppresses the warning when Narcissus is loaded -->
411- <argLine >--enable-native-access=ALL-UNNAMED </argLine >
410+ <!-- Suppress warning when Narcissus is loaded for testing -->
411+ <argLine >${surefireArgLine} </argLine >
412412 </configuration >
413413 </plugin >
414414
513513 <!-- Compile Javadoc to HTML5 if building with JDK 9+ -->
514514 <profile >
515515 <id >jdk9plus</id >
516+ <activation >
517+ <jdk >[9,)</jdk >
518+ </activation >
516519 <properties >
517520 <javadoc .html.version>-html5</javadoc .html.version>
518521 <!-- coverall version 4.3.0 does not work with java 9. -->
519522 <!-- See: https://github.com/trautonen/coveralls-maven-plugin/issues/112 -->
520523 <coveralls .skip>true</coveralls .skip>
521524 </properties >
525+ </profile >
526+ <profile >
527+ <id >jdk17plus</id >
522528 <activation >
523- <jdk >[9 ,)</jdk >
529+ <jdk >[17 ,)</jdk >
524530 </activation >
531+ <properties >
532+ <surefireArgLine >--enable-native-access=ALL-UNNAMED</surefireArgLine >
533+ </properties >
525534 </profile >
526535
527536 <!-- Sign jars for release (./mvnw clean release:prepare release:perform) -->
You can’t perform that action at this time.
0 commit comments