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 2022/01/24 12:02:25 UTC
[maven-reporting-api] branch MSHARED-1024 updated (fab1102 -> 96f40d6)
This is an automated email from the ASF dual-hosted git repository.
michaelo pushed a change to branch MSHARED-1024
in repository https://gitbox.apache.org/repos/asf/maven-reporting-api.git.
discard fab1102 [MSHARED-1024] Replace deprecated code
new 96f40d6 [MSHARED-1024] Replace deprecated code
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 (fab1102)
\
N -- N -- N refs/heads/MSHARED-1024 (96f40d6)
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:
src/main/java/org/apache/maven/reporting/MavenMultiPageReport.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[maven-reporting-api] 01/01: [MSHARED-1024] Replace deprecated code
Posted by mi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
michaelo pushed a commit to branch MSHARED-1024
in repository https://gitbox.apache.org/repos/asf/maven-reporting-api.git
commit 96f40d6ecddf02e1d65acd930654fa4fc31be7de
Author: Michael Osipov <mi...@apache.org>
AuthorDate: Mon Jan 24 11:25:22 2022 +0100
[MSHARED-1024] Replace deprecated code
This closes #2
---
src/main/java/org/apache/maven/reporting/MavenMultiPageReport.java | 2 +-
src/main/java/org/apache/maven/reporting/MavenReport.java | 4 ++--
src/main/resources/default-report.xml | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/main/java/org/apache/maven/reporting/MavenMultiPageReport.java b/src/main/java/org/apache/maven/reporting/MavenMultiPageReport.java
index 4c8e6ec..65ab172 100644
--- a/src/main/java/org/apache/maven/reporting/MavenMultiPageReport.java
+++ b/src/main/java/org/apache/maven/reporting/MavenMultiPageReport.java
@@ -30,7 +30,7 @@ import java.util.Locale;
* method dropped. But that would have rendered all reporting mojo's uncompilable and binary incompatible.
*
* @author <a href="mailto:kenney@apache.org">Kenney Westerhof</a>
- * @see MavenReport#generate(org.codehaus.doxia.sink.Sink, Locale)
+ * @see MavenReport#generate(Sink, Locale)
* @since 3.0 (copied in maven-site-plugin 2.0-beta-6)
*/
public interface MavenMultiPageReport
diff --git a/src/main/java/org/apache/maven/reporting/MavenReport.java b/src/main/java/org/apache/maven/reporting/MavenReport.java
index 0ca6086..52d8e47 100644
--- a/src/main/java/org/apache/maven/reporting/MavenReport.java
+++ b/src/main/java/org/apache/maven/reporting/MavenReport.java
@@ -19,11 +19,11 @@ package org.apache.maven.reporting;
* under the License.
*/
-import org.codehaus.doxia.sink.Sink;
-
import java.io.File;
import java.util.Locale;
+import org.apache.maven.doxia.sink.Sink;
+
/**
* The basis for a Maven report.
*
diff --git a/src/main/resources/default-report.xml b/src/main/resources/default-report.xml
index dde8d0d..7b4ecd1 100644
--- a/src/main/resources/default-report.xml
+++ b/src/main/resources/default-report.xml
@@ -20,6 +20,6 @@ under the License.
<project name="${project.name}">
<body>
- ${reports}
+ <menu ref="reports"/>
</body>
</project>