Skip to content
Policeman's Forbidden API Checker
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Fix Maven Central access for commons-io test Nov 9, 2018
.gitignore Add gitignore after migration to Github Mar 14, 2015
LICENSE.txt Remove non-license stuff from LICENSE.txt Feb 11, 2013
NOTICE.txt Add missing License headers and add RAT as license checker Sep 26, 2015 Update link to HTTPS Mar 20, 2017
build.xml Fix Maven Central access for commons-io test Nov 9, 2018
ivy-settings.xml Workaround for TLS problem with older Java versions (Maven Central re… Aug 29, 2018
ivy.xml Update ASM to 7.1 Apr 20, 2019

Policeman's Forbidden API Checker

Allows to parse Java byte code to find invocations of method/class/field signatures and fail build (Apache Ant, Apache Maven, or Gradle).

Maven Central Build Status


Please refer to the Github Wiki & Documentation.

The checker is available as Apache Ant Task, Apache Maven Mojo, and Gradle plugin. In addition there is a command line tool (CLI):

This project uses Apache Ant (and Apache Ivy) to build. The minimum Ant version is 1.8.0 and it is recommended to not have Apache Ivy in the Ant lib folder, because the build script will download the correct version of Ivy automatically.

Project Resources

You can’t perform that action at this time.