add the api usage check with de.thetaphi.forbiddenapis to #115#120
add the api usage check with de.thetaphi.forbiddenapis to #115#120xiaowing merged 1 commit intoaliyun:masterfrom
Conversation
|
it's very interesting to find that the travis-ci triggering a bug of de.thetaphi.forbiddenapis forbidden-api#178 this bug will cause the api check failed in the travis-ci platform reporting the
since all the <executions>
<execution>
<id>compile</id>
<phase>compile</phase>
<goals>
<goal>check</goal>
</goals>
<configuration>
<bundledSignatures>
<!-- Check jdk-system-out only for production code, but not in test code -->
<!--<bundledSignature>jdk-unsafe</bundledSignature>-->
<!--<bundledSignature>jdk-system-out</bundledSignature>-->
</bundledSignatures>
</configuration>
</execution>
<!--
<execution>
<id>testCompile</id>
<phase>test-compile</phase>
<goals>
<goal>testCheck</goal>
</goals>
</execution>
-->
</executions>As a result, the |
add the plugin of de.thetaphi.forbiddenapis to prevent some unexpected api usages in future code contribution