You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Duo Zhang (JIRA)" <ji...@apache.org> on 2018/12/23 10:24:00 UTC
[jira] [Created] (HBASE-21635) Use maven enforcer to ban imports
from illegal packages
Duo Zhang created HBASE-21635:
---------------------------------
Summary: Use maven enforcer to ban imports from illegal packages
Key: HBASE-21635
URL: https://issues.apache.org/jira/browse/HBASE-21635
Project: HBase
Issue Type: Improvement
Components: build
Reporter: Duo Zhang
Now we use checkstyle to report the illegal imports, but it will be easy to be ignored by developpers.
https://github.com/skuzzle/restrict-imports-enforcer-rule
This is an extension for the maven enforcer plugin, which is used to ban imports, and the advantage is that it will cause a compile error, which is not likely to be ignored. The extension is not perfect, but I think it is worth a try.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)