Update forbiddenapis to version 2.5 and remove commons-io hack from pom.xml
<groupId>de.thetaphi</groupId>
<artifactId>forbiddenapis</artifactId>
<!-- if this version contains commons-io 2.6, remove hard-coded commons-io version below -->
- <version>2.4.1</version>
+ <version>2.5</version>
<configuration>
<targetVersion>${maven.compiler.target}</targetVersion>
<failOnUnresolvableSignatures>false</failOnUnresolvableSignatures>
<bundledSignature>jdk-deprecated</bundledSignature>
<bundledSignature>jdk-non-portable</bundledSignature>
<bundledSignature>jdk-internal</bundledSignature>
- <!--2.6 is the same as 2.5
- TODO: change back to the following when we upgrade forbidden apis
<bundledSignature>commons-io-unsafe-${commons.io.version}</bundledSignature>
- -->
- <bundledSignature>commons-io-unsafe-2.5</bundledSignature>
</bundledSignatures>
</configuration>
<executions>
