diff --git a/src/main/docs/ant-task.html b/src/main/docs/ant-task.html index bd78c06..d669eff 100644 --- a/src/main/docs/ant-task.html +++ b/src/main/docs/ant-task.html @@ -73,20 +73,6 @@
String
failOnViolation
and signaturesWithSeverityWarn
.String
failOnViolation
.Path
RetentionPolicy#CLASS
. They can be applied to classes, their methods, or fields. By default, @de.thetaphi.forbiddenapis.SuppressForbidden
can always be used, but needs the forbidden-apis.jar
file in classpath of compiled project, which may not be wanted. Instead of a full class name, a glob
pattern may be used (e.g., **.SuppressForbidden
).
+
+You can include multiple <severityOverride severity="(ERROR|WARNING|INFO|DEBUG|SUPPRESS)">...signature...<severityOverride>
elements to
+override problem severity of certain signatures (i.e. not fail the build). This takes precedence over failOnViolation
. If several signatures should get the same
+severity you can separate them by newlines. It is also possible to separate them into different elements. Each signature must be specified in exactly the same way like in the
+original signatures files!