You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2023/04/15 11:56:26 UTC
[maven-reporting-exec] branch improve-log-message updated (82e9949 -> 08e0daa)
This is an automated email from the ASF dual-hosted git repository.
michaelo pushed a change to branch improve-log-message
in repository https://gitbox.apache.org/repos/asf/maven-reporting-exec.git
discard 82e9949 Improve log messages for consistency
add a920df8 [MSHARED-1241] Upgrade plugins and components in ITs
add 371597f [MSHARED-1242] Upgrade to Doxia Sitetools 2.0.0-M8
new 08e0daa Improve log messages for consistency
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (82e9949)
\
N -- N -- N refs/heads/improve-log-message (08e0daa)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
pom.xml | 4 ++--
src/it/reportConfig/pom.xml | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
[maven-reporting-exec] 01/01: Improve log messages for consistency
Posted by mi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
michaelo pushed a commit to branch improve-log-message
in repository https://gitbox.apache.org/repos/asf/maven-reporting-exec.git
commit 08e0daad041ab99f0d8520104aa770cc513e7b9d
Author: Michael Osipov <mi...@apache.org>
AuthorDate: Thu Apr 13 21:54:33 2023 +0200
Improve log messages for consistency
---
.../org/apache/maven/reporting/exec/DefaultMavenReportExecutor.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/main/java/org/apache/maven/reporting/exec/DefaultMavenReportExecutor.java b/src/main/java/org/apache/maven/reporting/exec/DefaultMavenReportExecutor.java
index 55b7f21..ff56597 100644
--- a/src/main/java/org/apache/maven/reporting/exec/DefaultMavenReportExecutor.java
+++ b/src/main/java/org/apache/maven/reporting/exec/DefaultMavenReportExecutor.java
@@ -177,7 +177,7 @@ public class DefaultMavenReportExecutor implements MavenReportExecutor {
plugin.setGroupId(reportPlugin.getGroupId());
plugin.setArtifactId(reportPlugin.getArtifactId());
plugin.setVersion(resolvePluginVersion(reportPlugin, mavenReportExecutorRequest));
- LOGGER.info("Configuring report plugin {}", plugin.getId());
+ LOGGER.info("Configuring report plugin {}:{}", plugin.getArtifactId(), plugin.getVersion());
mergePluginToReportPlugin(mavenReportExecutorRequest, plugin, reportPlugin);
@@ -210,10 +210,10 @@ public class DefaultMavenReportExecutor implements MavenReportExecutor {
buff.append(mre.getGoal());
}
LOGGER.info(
- "{} report{} {} for {}:{}: {}",
+ "{} {} report{} for {}:{}: {}",
+ (hasUserDefinedReports ? "Configured" : "Detected"),
reports.size(),
(reports.size() > 1 ? "s" : ""),
- (hasUserDefinedReports ? "configured" : "detected"),
plugin.getArtifactId(),
plugin.getVersion(),
buff);