slawekjaranowski commented on code in PR #97: URL: https://github.com/apache/maven-project-info-reports-plugin/pull/97#discussion_r1963038490
########## src/main/java/org/apache/maven/report/projectinfo/TeamReport.java: ########## @@ -83,9 +116,22 @@ public boolean canGenerateReport() throws MavenReportException { } @Override - public void executeReport(Locale locale) { - ProjectTeamRenderer r = - new ProjectTeamRenderer(getSink(), project.getModel(), getI18N(locale), locale, showAvatarImages); + public void executeReport(Locale locale) throws MavenReportException { + AvatarsProvider avatarsProvider = avatarsProviders.get(avatarProviderName); + if (avatarsProvider == null) { + throw new MavenReportException("No AvatarsProvider found for name " + avatarProviderName); Review Comment: user want to show avatars, and probably misconfigured plugin - so we should not hide such case -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org