in apache-rat-tasks/src/main/java/org/apache/rat/anttasks/SubstringLicenseMatcher.java [46:62]
private void validate() {
if (!validated) {
validated = true;
if (patterns.size() == 0) {
throw new BuildException("You must specify at least one nested"
+ " pattern.");
}
if (getLicenseFamilyCategory() == null) {
throw new BuildException("The licenseFamilyCategory attribute"
+ " is required.");
}
if (getLicenseFamilyName() == null) {
throw new BuildException("The licenseFamilyName attribute"
+ " is required.");
}
}
}