You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "hboutemy (via GitHub)" <gi...@apache.org> on 2023/11/04 21:33:09 UTC
Re: [PR] [MSHARED-1328] Consistently log when skipping report goal execution [maven-reporting-impl]
hboutemy commented on code in PR #27:
URL: https://github.com/apache/maven-reporting-impl/pull/27#discussion_r1382468866
##########
src/main/java/org/apache/maven/reporting/AbstractMavenReport.java:
##########
@@ -189,6 +189,8 @@ public abstract class AbstractMavenReport extends AbstractMojo implements MavenM
public final void execute() throws MojoExecutionException {
try {
if (!canGenerateReport()) {
+ String reportMojoInfo = mojoExecution.getPlugin().getId() + ":" + mojoExecution.getGoal();
+ getLog().info("Skipping " + reportMojoInfo + " report");
Review Comment:
s/report/reporting goal/?
to show that it is run as a goal, not as part of a site
--
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-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org