diff --git a/pom.xml b/pom.xml index 212a39bdb2..e2bf03e137 100644 --- a/pom.xml +++ b/pom.xml @@ -210,6 +210,26 @@ The MIT License (MIT) + + de.thetaphi + forbiddenapis + 2.4.1 + + false + + ./src/verifier/forbiddenapis.txt + + + + + forbiddenapis + test-compile + + testCheck + + + + diff --git a/src/verifier/forbiddenapis.txt b/src/verifier/forbiddenapis.txt new file mode 100644 index 0000000000..4e9c8d2bb5 --- /dev/null +++ b/src/verifier/forbiddenapis.txt @@ -0,0 +1,6 @@ + +@defaultMessage Please specify failure reason +org.hamcrest.MatcherAssert#assertThat(java.lang.Object, org.hamcrest.Matcher) + +@defaultMessage Please specify failure reason +org.junit.Assert#assertThat(java.lang.Object, org.hamcrest.Matcher)