slawekjaranowski commented on code in PR #97: URL: https://github.com/apache/maven-project-info-reports-plugin/pull/97#discussion_r1963589779
########## 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: It is two different case wrong configuration - not existing provider and not available image server. In both case we should break a build to prevent of unwanted result -- 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