File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change 262
262
<maven .compiler.argument.testTarget>${maven.compiler.testTarget} </maven .compiler.argument.testTarget>
263
263
<maven .compiler.argument.testSource>${maven.compiler.testSource} </maven .compiler.argument.testSource>
264
264
265
+ <forbiddenapis .jdk.target>10</forbiddenapis .jdk.target>
266
+
265
267
<!-- Set empty default values to avoid Maven leaving property references (${...}) when it doesn't find a value -->
266
268
<surefire .jvm.args.additional></surefire .jvm.args.additional>
267
269
<surefire .jvm.args.illegal-access></surefire .jvm.args.illegal-access>
626
628
<artifactId >forbiddenapis</artifactId >
627
629
<version >${version.forbiddenapis.plugin} </version >
628
630
<configuration >
631
+ <targetVersion >${forbiddenapis.jdk.target} </targetVersion >
629
632
<!-- if the Java version used is too new, don't fail, just do nothing -->
630
633
<failOnUnsupportedJava >false</failOnUnsupportedJava >
631
634
<suppressAnnotations >
657
660
<phase >verify</phase >
658
661
<configuration >
659
662
<bundledSignatures >
660
- <!--
661
- this will automatically choose the right
662
- signatures based on 'maven.compiler.target'
663
- -->
663
+ <bundledSignature >jdk-unsafe</bundledSignature >
664
664
<bundledSignature >jdk-deprecated</bundledSignature >
665
- <!-- disallow printing to System.out or System.err -->
666
665
<bundledSignature >jdk-system-out</bundledSignature >
666
+ <bundledSignature >jdk-non-portable</bundledSignature >
667
+ <bundledSignature >jdk-internal</bundledSignature >
667
668
</bundledSignatures >
668
669
</configuration >
669
670
</execution >
675
676
<phase >verify</phase >
676
677
<configuration >
677
678
<bundledSignatures >
678
- <!--
679
- this will automatically choose the right
680
- signatures based on 'maven.compiler.target'
681
- -->
682
679
<bundledSignature >jdk-deprecated</bundledSignature >
683
680
</bundledSignatures >
684
681
</configuration >
You can’t perform that action at this time.
0 commit comments