From c6f52fc842a040624562be50211f512dbe5174bf Mon Sep 17 00:00:00 2001 From: Vincent Siveton Date: Thu, 31 Jan 2008 23:24:06 +0000 Subject: [PATCH] o fixed javodoc git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@617290 13f79535-47bb-0310-9956-ffa450edef68 --- .../plugin/plugin/AbstractGeneratorMojo.java | 1 + .../plugin/DescriptorGeneratorMojo.java | 2 ++ .../maven/plugin/plugin/PluginReport.java | 36 +++++-------------- .../plugin/UpdatePluginRegistryMojo.java | 1 + .../plugin/plugin/XdocGeneratorMojo.java | 2 ++ 5 files changed, 15 insertions(+), 27 deletions(-) diff --git a/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/AbstractGeneratorMojo.java b/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/AbstractGeneratorMojo.java index 2f219b7..8418a2f 100644 --- a/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/AbstractGeneratorMojo.java +++ b/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/AbstractGeneratorMojo.java @@ -92,6 +92,7 @@ public abstract class AbstractGeneratorMojo protected abstract Generator createGenerator(); + /** {@inheritDoc} */ public void execute() throws MojoExecutionException { diff --git a/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/DescriptorGeneratorMojo.java b/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/DescriptorGeneratorMojo.java index 82ed107..48253de 100644 --- a/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/DescriptorGeneratorMojo.java +++ b/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/DescriptorGeneratorMojo.java @@ -45,11 +45,13 @@ public class DescriptorGeneratorMojo */ protected File outputDirectory; + /** {@inheritDoc} */ protected File getOutputDirectory() { return outputDirectory; } + /** {@inheritDoc} */ protected Generator createGenerator() { return new PluginDescriptorGenerator(); diff --git a/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/PluginReport.java b/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/PluginReport.java index ed1385a..999bdaa 100644 --- a/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/PluginReport.java +++ b/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/PluginReport.java @@ -83,33 +83,25 @@ public class PluginReport */ protected MojoScanner mojoScanner; - /** - * @see org.apache.maven.reporting.AbstractMavenReport#getSiteRenderer() - */ + /** {@inheritDoc} */ protected Renderer getSiteRenderer() { return siteRenderer; } - /** - * @see org.apache.maven.reporting.AbstractMavenReport#getOutputDirectory() - */ + /** {@inheritDoc} */ protected String getOutputDirectory() { return outputDirectory; } - /** - * @see org.apache.maven.reporting.AbstractMavenReport#getProject() - */ + /** {@inheritDoc} */ protected MavenProject getProject() { return project; } - /** - * @see org.apache.maven.reporting.AbstractMavenReport#executeReport(java.util.Locale) - */ + /** {@inheritDoc} */ protected void executeReport( Locale locale ) throws MavenReportException { @@ -156,25 +148,19 @@ public class PluginReport } } - /** - * @see org.apache.maven.reporting.MavenReport#getDescription(java.util.Locale) - */ + /** {@inheritDoc} */ public String getDescription( Locale locale ) { return getBundle( locale ).getString( "report.plugin.description" ); } - /** - * @see org.apache.maven.reporting.MavenReport#getName(java.util.Locale) - */ + /** {@inheritDoc} */ public String getName( Locale locale ) { return getBundle( locale ).getString( "report.plugin.name" ); } - /** - * @see org.apache.maven.reporting.MavenReport#getOutputName() - */ + /** {@inheritDoc} */ public String getOutputName() { return "plugin-info"; @@ -223,17 +209,13 @@ public class PluginReport this.locale = locale; } - /** - * @see org.apache.maven.reporting.MavenReportRenderer#getTitle() - */ + /** {@inheritDoc} */ public String getTitle() { return getBundle( locale ).getString( "report.plugin.title" ); } - /** - * @see org.apache.maven.reporting.AbstractMavenReportRenderer#renderBody() - */ + /** {@inheritDoc} */ public void renderBody() { startSection( getTitle() ); diff --git a/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/UpdatePluginRegistryMojo.java b/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/UpdatePluginRegistryMojo.java index 6c09efd..5de4af7 100644 --- a/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/UpdatePluginRegistryMojo.java +++ b/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/UpdatePluginRegistryMojo.java @@ -91,6 +91,7 @@ public class UpdatePluginRegistryMojo */ private MavenPluginRegistryBuilder pluginRegistryBuilder; + /** {@inheritDoc} */ public void execute() throws MojoExecutionException, MojoFailureException { diff --git a/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/XdocGeneratorMojo.java b/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/XdocGeneratorMojo.java index 24ac1cc..a7a62ef 100644 --- a/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/XdocGeneratorMojo.java +++ b/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/XdocGeneratorMojo.java @@ -42,11 +42,13 @@ public class XdocGeneratorMojo */ protected File outputDirectory; + /** {@inheritDoc} */ protected File getOutputDirectory() { return outputDirectory; } + /** {@inheritDoc} */ protected Generator createGenerator() { return new PluginXdocGenerator();