我最近下载了checkstyle 5.5发行版。它包含两个JAR文件,checkstyle-5.5.jar和checkstyle-5.5-all.jar。
两个 JAR 有什么区别?
checkstyle-5.5.jar
依赖于其他几个.jar
文件,如antlr-2.7.7.jar
、commons-cli-1.2.jar
、google-collections-1.0.jar
、commons-beanutils-core-1.8.3.jar
等。
Checkstyle 及其所有依赖项都捆绑在 checkstyle-5.5-all.jar
中。