diff --git a/maven-plugin-report-plugin/pom.xml b/maven-plugin-report-plugin/pom.xml index f7143f0b..61de05b3 100644 --- a/maven-plugin-report-plugin/pom.xml +++ b/maven-plugin-report-plugin/pom.xml @@ -86,7 +86,12 @@ org.apache.maven.doxia doxia-sink-api - 1.11.1 + 2.0.0-M8 + + + org.apache.maven.doxia + doxia-integration-tools + 2.0.0-M13 @@ -98,8 +103,8 @@ org.apache.commons commons-lang3 - 3.8.1 + 3.12.0 @@ -249,8 +254,8 @@ src/it/settings.xml true - 3.12.1 - 3.4.1 + 4.0.0-M11 + 4.0.0-M1-SNAPSHOT ${antVersion} diff --git a/maven-plugin-report-plugin/src/it/plugin-report-annotations/src/main/java/org/DummyReport.java b/maven-plugin-report-plugin/src/it/plugin-report-annotations/src/main/java/org/DummyReport.java index 66315bcd..1ac5ad70 100644 --- a/maven-plugin-report-plugin/src/it/plugin-report-annotations/src/main/java/org/DummyReport.java +++ b/maven-plugin-report-plugin/src/it/plugin-report-annotations/src/main/java/org/DummyReport.java @@ -108,7 +108,6 @@ protected MavenProject getProject() { */ public boolean canGenerateReport() { if (skip || skipReport) { - getLog().info("Maven Plugin Plugin Report generation skipped."); return false; } diff --git a/maven-plugin-report-plugin/src/it/plugin-report-with-javadoc-links/pom.xml b/maven-plugin-report-plugin/src/it/plugin-report-with-javadoc-links/pom.xml index cabb67cf..b7162360 100644 --- a/maven-plugin-report-plugin/src/it/plugin-report-with-javadoc-links/pom.xml +++ b/maven-plugin-report-plugin/src/it/plugin-report-with-javadoc-links/pom.xml @@ -100,9 +100,6 @@ under the License. org.apache.maven.plugins maven-site-plugin @sitePluginVersion@ - - en - diff --git a/maven-plugin-report-plugin/src/it/plugin-report/pom.xml b/maven-plugin-report-plugin/src/it/plugin-report/pom.xml index a6559802..1dcc9937 100644 --- a/maven-plugin-report-plugin/src/it/plugin-report/pom.xml +++ b/maven-plugin-report-plugin/src/it/plugin-report/pom.xml @@ -91,7 +91,7 @@ under the License. maven-site-plugin @sitePluginVersion@ - en,de,fr + default,de,fr diff --git a/maven-plugin-report-plugin/src/it/plugin-report/src/main/java/org/DummyReport.java b/maven-plugin-report-plugin/src/it/plugin-report/src/main/java/org/DummyReport.java index c4018aee..a949dc1f 100644 --- a/maven-plugin-report-plugin/src/it/plugin-report/src/main/java/org/DummyReport.java +++ b/maven-plugin-report-plugin/src/it/plugin-report/src/main/java/org/DummyReport.java @@ -102,7 +102,6 @@ protected MavenProject getProject() { /** {@inheritDoc} */ public boolean canGenerateReport() { if (skip || skipReport) { - getLog().info("Maven Plugin Plugin Report generation skipped."); return false; } diff --git a/maven-plugin-report-plugin/src/main/java/org/apache/maven/plugin/plugin/report/GoalRenderer.java b/maven-plugin-report-plugin/src/main/java/org/apache/maven/plugin/plugin/report/GoalRenderer.java index eac6c0c7..8e3b4655 100644 --- a/maven-plugin-report-plugin/src/main/java/org/apache/maven/plugin/plugin/report/GoalRenderer.java +++ b/maven-plugin-report-plugin/src/main/java/org/apache/maven/plugin/plugin/report/GoalRenderer.java @@ -37,7 +37,7 @@ import org.apache.commons.lang3.StringUtils; import org.apache.maven.doxia.sink.Sink; import org.apache.maven.doxia.sink.impl.SinkEventAttributeSet.Semantics; -import org.apache.maven.doxia.util.HtmlTools; +import org.apache.maven.doxia.util.DoxiaUtils; import org.apache.maven.plugin.descriptor.MojoDescriptor; import org.apache.maven.plugin.descriptor.Parameter; import org.apache.maven.plugin.logging.Log; @@ -260,7 +260,7 @@ private void renderParameterOverviewTableRow(Parameter parameter) { renderTableCellWithCode( format("parameter.name", parameter.getName()), // no need for additional URI encoding as it returns only URI safe characters - Optional.of("#" + HtmlTools.encodeId(parameter.getName()))); + Optional.of("#" + DoxiaUtils.encodeId(parameter.getName()))); // type Map.Entry> type = getLinkedType(parameter, true); diff --git a/maven-plugin-report-plugin/src/main/java/org/apache/maven/plugin/plugin/report/PluginOverviewRenderer.java b/maven-plugin-report-plugin/src/main/java/org/apache/maven/plugin/plugin/report/PluginOverviewRenderer.java index 5189357e..3a36822e 100644 --- a/maven-plugin-report-plugin/src/main/java/org/apache/maven/plugin/plugin/report/PluginOverviewRenderer.java +++ b/maven-plugin-report-plugin/src/main/java/org/apache/maven/plugin/plugin/report/PluginOverviewRenderer.java @@ -283,7 +283,7 @@ private void renderUsageSection(boolean hasMavenReport) { sb.append(" ...").append(Markup.EOL); sb.append(""); - verbatimText(sb.toString()); + verbatimSource(sb.toString()); sink.paragraph(); linkPatternedText(getI18nString("configuration.end")); diff --git a/maven-plugin-report-plugin/src/main/java/org/apache/maven/plugin/plugin/report/PluginReport.java b/maven-plugin-report-plugin/src/main/java/org/apache/maven/plugin/plugin/report/PluginReport.java index 954363c5..544b9d27 100644 --- a/maven-plugin-report-plugin/src/main/java/org/apache/maven/plugin/plugin/report/PluginReport.java +++ b/maven-plugin-report-plugin/src/main/java/org/apache/maven/plugin/plugin/report/PluginReport.java @@ -129,7 +129,6 @@ public class PluginReport extends AbstractMavenReport { @Override public boolean canGenerateReport() { if (skip) { - getLog().info("Maven Plugin Plugin Report generation skipped."); return false; } @@ -209,7 +208,6 @@ public String getOutputName() { */ private void generateMojosDocumentation(PluginDescriptor pluginDescriptor, Locale locale) throws MavenReportException { - if (pluginDescriptor.getMojos() != null) { for (MojoDescriptor descriptor : pluginDescriptor.getMojos()) { GoalRenderer renderer; diff --git a/maven-plugin-tools-generators/pom.xml b/maven-plugin-tools-generators/pom.xml index 13af689a..1ab4f4cf 100644 --- a/maven-plugin-tools-generators/pom.xml +++ b/maven-plugin-tools-generators/pom.xml @@ -57,7 +57,7 @@ org.apache.velocity - velocity + velocity-engine-core diff --git a/maven-plugin-tools-generators/src/test/resources/expected-testGoal-mojo.xml b/maven-plugin-tools-generators/src/test/resources/expected-testGoal-mojo.xml index 331787cb..ced84938 100644 --- a/maven-plugin-tools-generators/src/test/resources/expected-testGoal-mojo.xml +++ b/maven-plugin-tools-generators/src/test/resources/expected-testGoal-mojo.xml @@ -47,7 +47,7 @@ - +
@@ -81,7 +81,7 @@
Name Type
- +
@@ -109,7 +109,7 @@

- <dir> + <dir>

Test parameter description
@@ -142,7 +142,7 @@

- <withoutSince> + <withoutSince>

(no description)
diff --git a/pom.xml b/pom.xml index 2343a0c3..0dba360c 100644 --- a/pom.xml +++ b/pom.xml @@ -103,8 +103,8 @@ 9.6 4.0.0 3.0.0 - 3.1.1 - 3.2.0 + 4.0.0-M8 + 4.0.0-M11 3.11.0 3.5.0 2023-11-02T22:38:45Z @@ -193,12 +193,6 @@ org.apache.maven.reporting maven-reporting-impl ${reportingImplVersion} - - - org.codehaus.plexus - plexus-container-default - - @@ -230,24 +224,20 @@ org.codehaus.plexus plexus-velocity - 1.2 + 2.0 org.codehaus.plexus plexus-container-default - - velocity - velocity - org.apache.velocity - velocity - 1.7 + velocity-engine-core + 2.3
Name Type