Update forbidden-apis to 1.5.1 and remove the relaxed missing classes error.
This commit is contained in:
parent
21a3667888
commit
a6764e24a4
9
pom.xml
9
pom.xml
|
@ -1039,14 +1039,13 @@
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>de.thetaphi</groupId>
|
<groupId>de.thetaphi</groupId>
|
||||||
<artifactId>forbiddenapis</artifactId>
|
<artifactId>forbiddenapis</artifactId>
|
||||||
<version>1.5</version>
|
<version>1.5.1</version>
|
||||||
|
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>check-forbidden-apis</id>
|
<id>check-forbidden-apis</id>
|
||||||
<configuration>
|
<configuration>
|
||||||
<targetVersion>1.7</targetVersion>
|
<targetVersion>1.7</targetVersion>
|
||||||
<failOnMissingClasses>false</failOnMissingClasses> <!-- this is a bug in forbidden APIs since 1.5 looks also at annotations -->
|
|
||||||
<!-- disallow undocumented classes like sun.misc.Unsafe: -->
|
<!-- disallow undocumented classes like sun.misc.Unsafe: -->
|
||||||
<internalRuntimeForbidden>true</internalRuntimeForbidden>
|
<internalRuntimeForbidden>true</internalRuntimeForbidden>
|
||||||
<!-- if the used Java version is too new, don't fail, just do nothing: -->
|
<!-- if the used Java version is too new, don't fail, just do nothing: -->
|
||||||
|
@ -1070,10 +1069,10 @@
|
||||||
<!-- end excludes for Math.abs -->
|
<!-- end excludes for Math.abs -->
|
||||||
</excludes>
|
</excludes>
|
||||||
<bundledSignatures>
|
<bundledSignatures>
|
||||||
<!-- This will automatically choose the right signatures based on 'maven.compiler.target': -->
|
<!-- This will automatically choose the right signatures based on 'targetVersion': -->
|
||||||
<bundledSignature>jdk-unsafe</bundledSignature>
|
<bundledSignature>jdk-unsafe</bundledSignature>
|
||||||
<bundledSignature>jdk-deprecated</bundledSignature>
|
<bundledSignature>jdk-deprecated</bundledSignature>
|
||||||
<bundledSignaure>jdk-system-out</bundledSignaure>
|
<bundledSignature>jdk-system-out</bundledSignature>
|
||||||
</bundledSignatures>
|
</bundledSignatures>
|
||||||
<signaturesFiles>
|
<signaturesFiles>
|
||||||
<signaturesFile>core-signatures.txt</signaturesFile>
|
<signaturesFile>core-signatures.txt</signaturesFile>
|
||||||
|
@ -1094,7 +1093,7 @@
|
||||||
<!-- if the used Java version is too new, don't fail, just do nothing: -->
|
<!-- if the used Java version is too new, don't fail, just do nothing: -->
|
||||||
<failOnUnsupportedJava>false</failOnUnsupportedJava>
|
<failOnUnsupportedJava>false</failOnUnsupportedJava>
|
||||||
<bundledSignatures>
|
<bundledSignatures>
|
||||||
<!-- This will automatically choose the right signatures based on 'maven.compiler.target': -->
|
<!-- This will automatically choose the right signatures based on 'targetVersion': -->
|
||||||
<bundledSignature>jdk-unsafe</bundledSignature>
|
<bundledSignature>jdk-unsafe</bundledSignature>
|
||||||
<bundledSignature>jdk-deprecated</bundledSignature>
|
<bundledSignature>jdk-deprecated</bundledSignature>
|
||||||
</bundledSignatures>
|
</bundledSignatures>
|
||||||
|
|
Loading…
Reference in New Issue