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/06/24 19:27:59 UTC
[maven-reporting-impl] branch master updated (daa27fe -> 33c2aaf)
This is an automated email from the ASF dual-hosted git repository.
michaelo pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/maven-reporting-impl.git
from daa27fe [MSHARED-1275] MavenReport#canGenerateReport() is invoked twice
new 976346e [MSHARED-1277] Upgrade plugins and components (in ITs)
new 8e34ac4 [MSHARED-1278] Upgrade to Doxia 2.0.0-M7
new 33c2aaf Formatting
The 3 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 | 6 +++---
src/it/use-as-site-report/pom.xml | 4 ++--
src/it/use-as-site-report/verify.groovy | 4 +---
src/main/java/org/apache/maven/reporting/AbstractMavenReport.java | 2 --
4 files changed, 6 insertions(+), 10 deletions(-)
[maven-reporting-impl] 01/03: [MSHARED-1277] Upgrade plugins and components (in ITs)
Posted by mi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
michaelo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-reporting-impl.git
commit 976346e29a625dd1a20b0ee57dd672d4dfe2b68e
Author: Michael Osipov <mi...@apache.org>
AuthorDate: Sat Jun 24 21:24:13 2023 +0200
[MSHARED-1277] Upgrade plugins and components (in ITs)
---
pom.xml | 4 ++--
src/it/use-as-site-report/pom.xml | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/pom.xml b/pom.xml
index f29794d..1d20287 100644
--- a/pom.xml
+++ b/pom.xml
@@ -61,7 +61,7 @@
<doxiaVersion>2.0.0-M6</doxiaVersion>
<doxiaSitetoolsVersion>2.0.0-M10</doxiaSitetoolsVersion>
<reportingApiVersion>4.0.0-M6</reportingApiVersion>
- <pluginToolsVersion>3.8.1</pluginToolsVersion>
+ <pluginToolsVersion>3.9.0</pluginToolsVersion>
<project.build.outputTimestamp>2023-04-26T20:33:54Z</project.build.outputTimestamp>
</properties>
@@ -91,7 +91,7 @@
<dependency>
<groupId>org.apache.maven.shared</groupId>
<artifactId>maven-shared-utils</artifactId>
- <version>3.3.4</version>
+ <version>3.4.2</version>
</dependency>
<!-- Doxia -->
diff --git a/src/it/use-as-site-report/pom.xml b/src/it/use-as-site-report/pom.xml
index bbf58ff..5a90948 100644
--- a/src/it/use-as-site-report/pom.xml
+++ b/src/it/use-as-site-report/pom.xml
@@ -37,7 +37,7 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
- <version>4.0.0-M7</version>
+ <version>4.0.0-M8</version>
</plugin>
</plugins>
</build>
@@ -47,7 +47,7 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
- <version>3.4.2</version>
+ <version>3.4.5</version>
<reportSets>
<reportSet>
<reports>
[maven-reporting-impl] 03/03: Formatting
Posted by mi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
michaelo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-reporting-impl.git
commit 33c2aaf5e6f282665943725b240988e7641ea8dc
Author: Michael Osipov <mi...@apache.org>
AuthorDate: Sat Jun 24 21:26:30 2023 +0200
Formatting
---
src/main/java/org/apache/maven/reporting/AbstractMavenReport.java | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/main/java/org/apache/maven/reporting/AbstractMavenReport.java b/src/main/java/org/apache/maven/reporting/AbstractMavenReport.java
index e8ae2de..f4feb97 100644
--- a/src/main/java/org/apache/maven/reporting/AbstractMavenReport.java
+++ b/src/main/java/org/apache/maven/reporting/AbstractMavenReport.java
@@ -328,11 +328,9 @@ public abstract class AbstractMavenReport extends AbstractMojo implements MavenM
@Override
public void generate(Sink sink, SinkFactory sinkFactory, Locale locale) throws MavenReportException {
this.sink = sink;
-
this.sinkFactory = sinkFactory;
executeReport(locale);
-
closeReport();
}
[maven-reporting-impl] 02/03: [MSHARED-1278] Upgrade to Doxia 2.0.0-M7
Posted by mi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
michaelo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-reporting-impl.git
commit 8e34ac4ec374e7906506d6da59d8c6c39a320dbc
Author: Michael Osipov <mi...@apache.org>
AuthorDate: Sat Jun 24 21:26:15 2023 +0200
[MSHARED-1278] Upgrade to Doxia 2.0.0-M7
---
pom.xml | 2 +-
src/it/use-as-site-report/verify.groovy | 4 +---
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/pom.xml b/pom.xml
index 1d20287..eec5d90 100644
--- a/pom.xml
+++ b/pom.xml
@@ -58,7 +58,7 @@
<properties>
<javaVersion>8</javaVersion>
<mavenVersion>3.2.5</mavenVersion>
- <doxiaVersion>2.0.0-M6</doxiaVersion>
+ <doxiaVersion>2.0.0-M7</doxiaVersion>
<doxiaSitetoolsVersion>2.0.0-M10</doxiaSitetoolsVersion>
<reportingApiVersion>4.0.0-M6</reportingApiVersion>
<pluginToolsVersion>3.9.0</pluginToolsVersion>
diff --git a/src/it/use-as-site-report/verify.groovy b/src/it/use-as-site-report/verify.groovy
index 90a9ac9..c419352 100644
--- a/src/it/use-as-site-report/verify.groovy
+++ b/src/it/use-as-site-report/verify.groovy
@@ -27,13 +27,11 @@ f = new File( site, 'custom-report-with-renderer.html' );
assert f.exists();
text = f.text.normalize();
assert text.contains( 'Custom Maven Report with Renderer content.' );
-// TODO align with use-as-direct-mojo as soon as Maven Site Plugin uses Doxia 2.0.0-M5
assert text.contains( '''\
<div class="verbatim">
<pre>Custom verbatim text.</pre></div>'''.normalize() );
assert text.contains( '''\
-<div class="verbatim source">
-<pre>var custom_code = true;</pre></div>'''.normalize() );
+<div class="verbatim source"><pre class="prettyprint">var custom_code = true;</pre></div>'''.normalize() );
f = new File( site, 'external/report.html' );
assert f.exists();