code simplification
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1337856 13f79535-47bb-0310-9956-ffa450edef68master
parent
bed85a8a9e
commit
945c5ca255
|
|
@ -19,17 +19,12 @@ package org.apache.maven.tools.plugin.generator.stubs;
|
||||||
* under the License.
|
* under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import java.io.File;
|
|
||||||
import java.util.Locale;
|
import java.util.Locale;
|
||||||
import java.util.Map;
|
|
||||||
|
|
||||||
import org.apache.maven.doxia.siterenderer.Renderer;
|
import org.apache.maven.doxia.siterenderer.Renderer;
|
||||||
import org.apache.maven.plugin.MojoExecutionException;
|
|
||||||
import org.apache.maven.plugin.logging.Log;
|
|
||||||
import org.apache.maven.project.MavenProject;
|
import org.apache.maven.project.MavenProject;
|
||||||
import org.apache.maven.reporting.AbstractMavenReport;
|
import org.apache.maven.reporting.AbstractMavenReport;
|
||||||
import org.apache.maven.reporting.MavenReportException;
|
import org.apache.maven.reporting.MavenReportException;
|
||||||
import org.codehaus.doxia.sink.Sink;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Dummy report.
|
* Dummy report.
|
||||||
|
|
@ -40,25 +35,6 @@ import org.codehaus.doxia.sink.Sink;
|
||||||
public class MavenReportStub
|
public class MavenReportStub
|
||||||
extends AbstractMavenReport
|
extends AbstractMavenReport
|
||||||
{
|
{
|
||||||
/** {@inheritDoc} */
|
|
||||||
public boolean canGenerateReport()
|
|
||||||
{
|
|
||||||
return super.canGenerateReport();
|
|
||||||
}
|
|
||||||
|
|
||||||
/** {@inheritDoc} */
|
|
||||||
protected void closeReport()
|
|
||||||
{
|
|
||||||
super.closeReport();
|
|
||||||
}
|
|
||||||
|
|
||||||
/** {@inheritDoc} */
|
|
||||||
public void execute()
|
|
||||||
throws MojoExecutionException
|
|
||||||
{
|
|
||||||
super.execute();
|
|
||||||
}
|
|
||||||
|
|
||||||
/** {@inheritDoc} */
|
/** {@inheritDoc} */
|
||||||
protected void executeReport( Locale locale )
|
protected void executeReport( Locale locale )
|
||||||
throws MavenReportException
|
throws MavenReportException
|
||||||
|
|
@ -66,19 +42,6 @@ public class MavenReportStub
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/** {@inheritDoc} */
|
|
||||||
public void generate( Sink sink, Locale locale )
|
|
||||||
throws MavenReportException
|
|
||||||
{
|
|
||||||
super.generate( sink, locale );
|
|
||||||
}
|
|
||||||
|
|
||||||
/** {@inheritDoc} */
|
|
||||||
public String getCategoryName()
|
|
||||||
{
|
|
||||||
return super.getCategoryName();
|
|
||||||
}
|
|
||||||
|
|
||||||
/** {@inheritDoc} */
|
/** {@inheritDoc} */
|
||||||
protected String getOutputDirectory()
|
protected String getOutputDirectory()
|
||||||
{
|
{
|
||||||
|
|
@ -91,60 +54,12 @@ public class MavenReportStub
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** {@inheritDoc} */
|
|
||||||
public File getReportOutputDirectory()
|
|
||||||
{
|
|
||||||
return super.getReportOutputDirectory();
|
|
||||||
}
|
|
||||||
|
|
||||||
/** {@inheritDoc} */
|
|
||||||
public org.apache.maven.doxia.sink.Sink getSink()
|
|
||||||
{
|
|
||||||
return super.getSink();
|
|
||||||
}
|
|
||||||
|
|
||||||
/** {@inheritDoc} */
|
/** {@inheritDoc} */
|
||||||
protected Renderer getSiteRenderer()
|
protected Renderer getSiteRenderer()
|
||||||
{
|
{
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** {@inheritDoc} */
|
|
||||||
public boolean isExternalReport()
|
|
||||||
{
|
|
||||||
return super.isExternalReport();
|
|
||||||
}
|
|
||||||
|
|
||||||
/** {@inheritDoc} */
|
|
||||||
public void setReportOutputDirectory( File reportOutputDirectory )
|
|
||||||
{
|
|
||||||
super.setReportOutputDirectory( reportOutputDirectory );
|
|
||||||
}
|
|
||||||
|
|
||||||
/** {@inheritDoc} */
|
|
||||||
public Log getLog()
|
|
||||||
{
|
|
||||||
return super.getLog();
|
|
||||||
}
|
|
||||||
|
|
||||||
/** {@inheritDoc} */
|
|
||||||
public Map getPluginContext()
|
|
||||||
{
|
|
||||||
return super.getPluginContext();
|
|
||||||
}
|
|
||||||
|
|
||||||
/** {@inheritDoc} */
|
|
||||||
public void setLog( Log log )
|
|
||||||
{
|
|
||||||
super.setLog( log );
|
|
||||||
}
|
|
||||||
|
|
||||||
/** {@inheritDoc} */
|
|
||||||
public void setPluginContext( Map pluginContext )
|
|
||||||
{
|
|
||||||
super.setPluginContext( pluginContext );
|
|
||||||
}
|
|
||||||
|
|
||||||
/** {@inheritDoc} */
|
/** {@inheritDoc} */
|
||||||
public String getDescription( Locale locale )
|
public String getDescription( Locale locale )
|
||||||
{
|
{
|
||||||
|
|
@ -162,36 +77,4 @@ public class MavenReportStub
|
||||||
{
|
{
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** {@inheritDoc} */
|
|
||||||
protected Object clone()
|
|
||||||
throws CloneNotSupportedException
|
|
||||||
{
|
|
||||||
return super.clone();
|
|
||||||
}
|
|
||||||
|
|
||||||
/** {@inheritDoc} */
|
|
||||||
public boolean equals( Object obj )
|
|
||||||
{
|
|
||||||
return super.equals( obj );
|
|
||||||
}
|
|
||||||
|
|
||||||
/** {@inheritDoc} */
|
|
||||||
protected void finalize()
|
|
||||||
throws Throwable
|
|
||||||
{
|
|
||||||
super.finalize();
|
|
||||||
}
|
|
||||||
|
|
||||||
/** {@inheritDoc} */
|
|
||||||
public int hashCode()
|
|
||||||
{
|
|
||||||
return super.hashCode();
|
|
||||||
}
|
|
||||||
|
|
||||||
/** {@inheritDoc} */
|
|
||||||
public String toString()
|
|
||||||
{
|
|
||||||
return super.toString();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue