HBASE-20441 Use checkstyle to ban imports from commons-lang 2

Signed-off-by: Sean Busbey <busbey@apache.org>
This commit is contained in:
Balazs Meszaros 2018-04-19 14:06:56 +02:00 committed by Sean Busbey
parent 767cf4e605
commit 00821bcc20
1 changed files with 9 additions and 1 deletions

View File

@ -77,7 +77,15 @@
<property name="processJavadoc" value="true"/> <property name="processJavadoc" value="true"/>
</module> </module>
<module name="IllegalImport"> <module name="IllegalImport">
<property name="illegalPkgs" value="com.google.common, io.netty, org.apache.curator.shaded, org.apache.htrace.shaded, org.apache.commons.cli, org.apache.commons.collections, org.apache.commons.collections4"/> <property name="illegalPkgs" value="
com.google.common,
io.netty,
org.apache.commons.cli,
org.apache.commons.collections,
org.apache.commons.collections4,
org.apache.commons.lang,
org.apache.curator.shaded,
org.apache.htrace.shaded"/>
</module> </module>
<!-- Javadoc Checks <!-- Javadoc Checks
http://checkstyle.sourceforge.net/config_javadoc.html --> http://checkstyle.sourceforge.net/config_javadoc.html -->