diff --git a/maven-plugin-plugin/src/site/apt/index.apt b/maven-plugin-plugin/src/site/apt/index.apt index 371d7734..023c8e21 100644 --- a/maven-plugin-plugin/src/site/apt/index.apt +++ b/maven-plugin-plugin/src/site/apt/index.apt @@ -36,14 +36,14 @@ Maven Plugin Plugin The Plugin Plugin has four goals: - * {{{./descriptor-mojo.html}plugin:descriptor}} generates a plugin descriptor, + * {{{./descriptor-goal.html}plugin:descriptor}} generates a plugin descriptor, - * {{{./addPluginArtifactMetadata-mojo.html}plugin:addPluginArtifactMetadata}} injects any plugin-specific artifact + * {{{./addPluginArtifactMetadata-goal.html}plugin:addPluginArtifactMetadata}} injects any plugin-specific artifact metadata to the project's artifact, for subsequent installation and deployment, - * {{{./helpmojo-mojo.html}plugin:helpmojo}} generates a help mojo which describes all mojos in a plugin, + * {{{./helpmojo-goal.html}plugin:helpmojo}} generates a help mojo which describes all mojos in a plugin, - * {{{./help-mojo.html}plugin:help}} display help information on maven-plugin-plugin. + * {{{./help-goal.html}plugin:help}} display help information on maven-plugin-plugin. [] diff --git a/maven-plugin-report-plugin/src/it/fix-maven-since-3.x/verify.groovy b/maven-plugin-report-plugin/src/it/fix-maven-since-3.x/verify.groovy index 62a67dbb..6cbdb870 100644 --- a/maven-plugin-report-plugin/src/it/fix-maven-since-3.x/verify.groovy +++ b/maven-plugin-report-plugin/src/it/fix-maven-since-3.x/verify.groovy @@ -17,7 +17,7 @@ * under the License. */ -File touchFile = new File( basedir, "javasample-maven-plugin/target/site/touch-mojo.html" ) +File touchFile = new File( basedir, "javasample-maven-plugin/target/site/touch-goal.html" ) assert touchFile.exists() assert touchFile.isFile() content = touchFile.text diff --git a/maven-plugin-report-plugin/src/it/mplugin-191/verify.groovy b/maven-plugin-report-plugin/src/it/mplugin-191/verify.groovy index 24506b91..3647b22d 100644 --- a/maven-plugin-report-plugin/src/it/mplugin-191/verify.groovy +++ b/maven-plugin-report-plugin/src/it/mplugin-191/verify.groovy @@ -18,7 +18,7 @@ File pluginInfo = new File( basedir, "target/site/plugin-info.html" ); assert pluginInfo.isFile() -File touchMojo = new File( basedir, "target/site/touch-mojo.html" ); +File touchMojo = new File( basedir, "target/site/touch-goal.html" ); assert touchMojo.isFile() return true; diff --git a/maven-plugin-report-plugin/src/it/mplugin-319_report-since/verify.groovy b/maven-plugin-report-plugin/src/it/mplugin-319_report-since/verify.groovy index 877d8f83..8335191e 100644 --- a/maven-plugin-report-plugin/src/it/mplugin-319_report-since/verify.groovy +++ b/maven-plugin-report-plugin/src/it/mplugin-319_report-since/verify.groovy @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ -assert new File( basedir, 'target/site/noop-mojo.html' ).exists() +assert new File( basedir, 'target/site/noop-goal.html' ).exists() -content = new File( basedir, 'target/site/noop-mojo.html' ).text +content = new File( basedir, 'target/site/noop-goal.html' ).text assert content.contains( '
1.0.-plugin-info.html,
- * and one goal-mojo.html per goal.
- * Relies on one output file from plugin:descriptor.
+ * and one goal-goal.html per goal.
+ * Relies on one output file from plugin:descriptor.
*
* @since 3.14.0
*/
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 9b810ca1..6c5aea47 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
@@ -130,7 +130,7 @@ private void renderGoalsSection(boolean hasMavenReport) {
* Added ./ to define a relative path
* @see AbstractMavenReportRenderer#getValidHref(java.lang.String)
*/
- String goalDocumentationLink = "./" + mojo.getGoal() + "-mojo.html";
+ String goalDocumentationLink = "./" + mojo.getGoal() + "-goal.html";
sink.tableCell();
link(goalDocumentationLink, goalName);
sink.tableCell_();
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 cc260b7d..5a6b4e25 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
@@ -62,8 +62,8 @@
/**
* Generates the plugin's report: the plugin details page at plugin-info.html
- * and one goal-mojo.html per goal.
- * Relies on one output file from plugin:descriptor.
+ * and one goal-goal.html per goal.
+ * Relies on one output file from plugin:descriptor.
*
* @author Stephane Nicoll
* @author Vincent Siveton
@@ -276,7 +276,7 @@ private void generateMojosDocumentation(PluginDescriptor pluginDescriptor, Local
for (MojoDescriptor descriptor : pluginDescriptor.getMojos()) {
GoalRenderer renderer;
try {
- String filename = descriptor.getGoal() + "-mojo.html";
+ String filename = descriptor.getGoal() + "-goal.html";
Sink sink = getSinkFactory().createSink(getReportOutputDirectory(), filename);
renderer = new GoalRenderer(
sink,
diff --git a/maven-plugin-report-plugin/src/site/apt/index.apt b/maven-plugin-report-plugin/src/site/apt/index.apt
index 24117bbc..8c431102 100644
--- a/maven-plugin-report-plugin/src/site/apt/index.apt
+++ b/maven-plugin-report-plugin/src/site/apt/index.apt
@@ -34,9 +34,9 @@ Maven Plugin Report Plugin
The Plugin Report Plugin has two goals:
- * {{{./report-mojo.html}plugin-report:report}} which generates the plugin documentation: one overview report and documentation for each plugin's goal (mojo).
+ * {{{./report-goal.html}plugin-report:report}} which generates the plugin documentation: one overview report and documentation for each plugin's goal (mojo).
- * {{{./report-no-fork-mojo.html}plugin-report:report-no-fork}} which generates the plugin documentation: one overview report and documentation for each plugin's goal (mojo) without forking the <<