noticeMap.get(noticeText).add(project);
}
}
private void resolveNoticeFiles() throws MojoExecutionException, IOException {
resolveArtifactFiles("NOTICE", entry -> entry.getName().matches("(.*/|^)" + "NOTICE" + "(.txt)?"),
<BUG>Project::setNoticeText, text -> FOUNDATION_PATTERN.matcher(text).replaceAll(""));
}</BUG>
private void resolveLicenseFiles() throws MojoExecutionException, IOException {
resolveArtifactFiles("LICENSE", entry -> entry.getName().matches("(.*/|^)" + "LICENSE" + "(.txt)?"),
Project::setLicenseText, UnaryOperator.identity());

noticeMap.get(noticeText).add(project);
}
}
private void resolveNoticeFiles() throws MojoExecutionException, IOException {
resolveArtifactFiles("NOTICE", entry -> entry.getName().matches("(.*/|^)" + "NOTICE" + "(.txt)?"),
Project::setNoticeText,
text -> stripFoundationAssertionFromNotices ? FOUNDATION_PATTERN.matcher(text).replaceAll("") : text);
}
private void resolveLicenseFiles() throws MojoExecutionException, IOException {
resolveArtifactFiles("LICENSE", entry -> entry.getName().matches("(.*/|^)" + "LICENSE" + "(.txt)?"),
Project::setLicenseText, UnaryOperator.identity());
