You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by vs...@apache.org on 2009/08/13 13:18:05 UTC
svn commit: r803845 - in /maven/plugins/trunk/maven-checkstyle-plugin/src:
main/java/org/apache/maven/plugin/checkstyle/
test/java/org/apache/maven/plugin/checkstyle/
test/java/org/apache/maven/plugin/checkstyle/stubs/
Author: vsiveton
Date: Thu Aug 13 11:18:04 2009
New Revision: 803845
URL: http://svn.apache.org/viewvc?rev=803845&view=rev
Log:
o javadoc
Modified:
maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleReport.java
maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleReportGenerator.java
maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleReportListener.java
maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleResults.java
maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleViolationCheckMojo.java
maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/ReportResource.java
maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/VelocityTemplate.java
maven/plugins/trunk/maven-checkstyle-plugin/src/test/java/org/apache/maven/plugin/checkstyle/CheckstyleReportListenerTest.java
maven/plugins/trunk/maven-checkstyle-plugin/src/test/java/org/apache/maven/plugin/checkstyle/CheckstyleReportTest.java
maven/plugins/trunk/maven-checkstyle-plugin/src/test/java/org/apache/maven/plugin/checkstyle/CheckstyleResultsTest.java
maven/plugins/trunk/maven-checkstyle-plugin/src/test/java/org/apache/maven/plugin/checkstyle/CheckstyleViolationCheckMojoTest.java
maven/plugins/trunk/maven-checkstyle-plugin/src/test/java/org/apache/maven/plugin/checkstyle/ReportResourceTest.java
maven/plugins/trunk/maven-checkstyle-plugin/src/test/java/org/apache/maven/plugin/checkstyle/stubs/MavenProjectWithExceptionsStub.java
maven/plugins/trunk/maven-checkstyle-plugin/src/test/java/org/apache/maven/plugin/checkstyle/stubs/MavenProjectWithNoJxrPluginStub.java
maven/plugins/trunk/maven-checkstyle-plugin/src/test/java/org/apache/maven/plugin/checkstyle/stubs/MinMavenProjectStub.java
Modified: maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleReport.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleReport.java?rev=803845&r1=803844&r2=803845&view=diff
==============================================================================
--- maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleReport.java (original)
+++ maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleReport.java Thu Aug 13 11:18:04 2009
@@ -84,6 +84,7 @@
* @author <a href="mailto:evenisse@apache.org">Emmanuel Venisse</a>
* @author <a href="mailto:vincent.siveton@gmail.com">Vincent Siveton</a>
* @author <a href="mailto:joakim@erdfelt.com">Joakim Erdfelt</a>
+ * @version $Id$
* @goal checkstyle
* @requiresDependencyResolution compile
*/
@@ -513,11 +514,7 @@
*/
private ServiceLocator serviceLocator;
- /**
- * ${inheritDoc}
- *
- * @see org.codehaus.plexus.personality.plexus.lifecycle.phase.Serviceable#service(org.codehaus.plexus.personality.plexus.lifecycle.phase.ServiceLocator)
- */
+ /** {@inheritDoc} */
public void service( ServiceLocator locator )
{
this.serviceLocator = locator;
@@ -534,49 +531,37 @@
*/
private ResourceManager locator;
- /**
- * @see org.apache.maven.reporting.MavenReport#getName(java.util.Locale)
- */
+ /** {@inheritDoc} */
public String getName( Locale locale )
{
return getBundle( locale ).getString( "report.checkstyle.name" );
}
- /**
- * @see org.apache.maven.reporting.MavenReport#getDescription(java.util.Locale)
- */
+ /** {@inheritDoc} */
public String getDescription( Locale locale )
{
return getBundle( locale ).getString( "report.checkstyle.description" );
}
- /**
- * @see org.apache.maven.reporting.AbstractMavenReport#getOutputDirectory()
- */
+ /** {@inheritDoc} */
protected String getOutputDirectory()
{
return outputDirectory.getAbsolutePath();
}
- /**
- * @see org.apache.maven.reporting.AbstractMavenReport#getProject()
- */
+ /** {@inheritDoc} */
protected MavenProject getProject()
{
return project;
}
- /**
- * @see org.apache.maven.reporting.AbstractMavenReport#getSiteRenderer()
- */
+ /** {@inheritDoc} */
protected Renderer getSiteRenderer()
{
return siteRenderer;
}
- /**
- * @see org.apache.maven.reporting.AbstractMavenReport#executeReport(java.util.Locale)
- */
+ /** {@inheritDoc} */
public void executeReport( Locale locale )
throws MavenReportException
{
@@ -991,9 +976,7 @@
return sinkListener.getResults();
}
- /**
- * @see org.apache.maven.reporting.MavenReport#getOutputName()
- */
+ /** {@inheritDoc} */
public String getOutputName()
{
return "checkstyle";
@@ -1273,18 +1256,14 @@
return ResourceBundle.getBundle( "checkstyle-report", locale, CheckstyleReport.class.getClassLoader() );
}
- /**
- * @see org.apache.maven.reporting.AbstractMavenReport#canGenerateReport()
- */
+ /** {@inheritDoc} */
public boolean canGenerateReport()
{
// TODO: would be good to scan the files here
return sourceDirectory.exists();
}
- /**
- * @see org.apache.maven.reporting.AbstractMavenReport#setReportOutputDirectory(java.io.File)
- */
+ /** {@inheritDoc} */
public void setReportOutputDirectory( File reportOutputDirectory )
{
super.setReportOutputDirectory( reportOutputDirectory );
Modified: maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleReportGenerator.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleReportGenerator.java?rev=803845&r1=803844&r2=803845&view=diff
==============================================================================
--- maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleReportGenerator.java (original)
+++ maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleReportGenerator.java Thu Aug 13 11:18:04 2009
@@ -41,6 +41,8 @@
/**
* Generate a report based on CheckstyleResults.
+ *
+ * @version $Id$
*/
public class CheckstyleReportGenerator
{
Modified: maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleReportListener.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleReportListener.java?rev=803845&r1=803844&r2=803845&view=diff
==============================================================================
--- maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleReportListener.java (original)
+++ maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleReportListener.java Thu Aug 13 11:18:04 2009
@@ -84,25 +84,19 @@
return severityLevel;
}
- /**
- * @see com.puppycrawl.tools.checkstyle.api.AuditListener#auditStarted(com.puppycrawl.tools.checkstyle.api.AuditEvent)
- */
+ /** {@inheritDoc} */
public void auditStarted( AuditEvent event )
{
setResults( new CheckstyleResults() );
}
- /**
- * @see com.puppycrawl.tools.checkstyle.api.AuditListener#auditFinished(com.puppycrawl.tools.checkstyle.api.AuditEvent)
- */
+ /** {@inheritDoc} */
public void auditFinished( AuditEvent event )
{
//do nothing
}
- /**
- * @see com.puppycrawl.tools.checkstyle.api.AuditListener#fileStarted(com.puppycrawl.tools.checkstyle.api.AuditEvent)
- */
+ /** {@inheritDoc} */
public void fileStarted( AuditEvent event )
{
for ( Iterator it = sourceDirectories.iterator(); it.hasNext(); )
@@ -121,18 +115,14 @@
}
}
- /**
- * @see com.puppycrawl.tools.checkstyle.api.AuditListener#fileFinished(com.puppycrawl.tools.checkstyle.api.AuditEvent)
- */
+ /** {@inheritDoc} */
public void fileFinished( AuditEvent event )
{
getResults().setFileViolations( currentFile, events );
currentFile = null;
}
- /**
- * @see com.puppycrawl.tools.checkstyle.api.AuditListener#addError(com.puppycrawl.tools.checkstyle.api.AuditEvent)
- */
+ /** {@inheritDoc} */
public void addError( AuditEvent event )
{
if ( SeverityLevel.IGNORE.equals( event.getSeverityLevel() ) )
@@ -146,9 +136,7 @@
}
}
- /**
- * @see com.puppycrawl.tools.checkstyle.api.AuditListener#addException(com.puppycrawl.tools.checkstyle.api.AuditEvent, java.lang.Throwable)
- */
+ /** {@inheritDoc} */
public void addException( AuditEvent event, Throwable throwable )
{
//Do Nothing
Modified: maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleResults.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleResults.java?rev=803845&r1=803844&r2=803845&view=diff
==============================================================================
--- maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleResults.java (original)
+++ maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleResults.java Thu Aug 13 11:18:04 2009
@@ -32,6 +32,7 @@
* Object holding the references to the CheckstyleResults.
*
* @author <a href="mailto:joakim@erdfelt.net">Joakim Erdfelt</a>
+ * @version $Id$
* @todo provide fallback to disk based storage if too many results.
*/
public class CheckstyleResults
Modified: maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleViolationCheckMojo.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleViolationCheckMojo.java?rev=803845&r1=803844&r2=803845&view=diff
==============================================================================
--- maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleViolationCheckMojo.java (original)
+++ maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleViolationCheckMojo.java Thu Aug 13 11:18:04 2009
@@ -38,6 +38,7 @@
* violations found and displays it on the console.
*
* @author <a href="mailto:joakim@erdfelt.net">Joakim Erdfelt</a>
+ * @version $Id$
* @goal check
* @phase verify
* @execute goal="checkstyle"
@@ -106,9 +107,7 @@
*/
private boolean logViolationsToConsole;
- /**
- * @see org.apache.maven.plugin.Mojo#execute()
- */
+ /** {@inheritDoc} */
public void execute()
throws MojoExecutionException, MojoFailureException
{
Modified: maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/ReportResource.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/ReportResource.java?rev=803845&r1=803844&r2=803845&view=diff
==============================================================================
--- maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/ReportResource.java (original)
+++ maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/ReportResource.java Thu Aug 13 11:18:04 2009
@@ -29,6 +29,7 @@
* Generic Report Resource management.
*
* @author <a href="mailto:joakim@erdfelt.net">Joakim Erdfelt</a>
+ * @version $Id$
*/
public class ReportResource
{
Modified: maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/VelocityTemplate.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/VelocityTemplate.java?rev=803845&r1=803844&r2=803845&view=diff
==============================================================================
--- maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/VelocityTemplate.java (original)
+++ maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/VelocityTemplate.java Thu Aug 13 11:18:04 2009
@@ -50,6 +50,7 @@
* </pre>
*
* @author <a href="mailto:joakim@erdfelt.net">Joakim Erdfelt</a>
+ * @version $Id$
*/
public class VelocityTemplate
{
Modified: maven/plugins/trunk/maven-checkstyle-plugin/src/test/java/org/apache/maven/plugin/checkstyle/CheckstyleReportListenerTest.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-checkstyle-plugin/src/test/java/org/apache/maven/plugin/checkstyle/CheckstyleReportListenerTest.java?rev=803845&r1=803844&r2=803845&view=diff
==============================================================================
--- maven/plugins/trunk/maven-checkstyle-plugin/src/test/java/org/apache/maven/plugin/checkstyle/CheckstyleReportListenerTest.java (original)
+++ maven/plugins/trunk/maven-checkstyle-plugin/src/test/java/org/apache/maven/plugin/checkstyle/CheckstyleReportListenerTest.java Thu Aug 13 11:18:04 2009
@@ -31,12 +31,14 @@
/**
* @author Edwin Punzalan
+ * @version $Id$
*/
public class CheckstyleReportListenerTest
extends TestCase
{
private Map listenerMap;
+ /** {@inheritDoc} */
protected void setUp()
throws Exception
{
Modified: maven/plugins/trunk/maven-checkstyle-plugin/src/test/java/org/apache/maven/plugin/checkstyle/CheckstyleReportTest.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-checkstyle-plugin/src/test/java/org/apache/maven/plugin/checkstyle/CheckstyleReportTest.java?rev=803845&r1=803844&r2=803845&view=diff
==============================================================================
--- maven/plugins/trunk/maven-checkstyle-plugin/src/test/java/org/apache/maven/plugin/checkstyle/CheckstyleReportTest.java (original)
+++ maven/plugins/trunk/maven-checkstyle-plugin/src/test/java/org/apache/maven/plugin/checkstyle/CheckstyleReportTest.java Thu Aug 13 11:18:04 2009
@@ -38,15 +38,14 @@
/**
* @author Edwin Punzalan
+ * @version $Id$
*/
public class CheckstyleReportTest
extends AbstractMojoTestCase
{
private Locale oldLocale;
- /**
- * @see junit.framework.TestCase#setUp()
- */
+ /** {@inheritDoc} */
protected void setUp()
throws Exception
{
@@ -56,9 +55,7 @@
Locale.setDefault( Locale.ENGLISH );
}
- /**
- * @see junit.framework.TestCase#tearDown()
- */
+ /** {@inheritDoc} */
protected void tearDown()
throws Exception
{
Modified: maven/plugins/trunk/maven-checkstyle-plugin/src/test/java/org/apache/maven/plugin/checkstyle/CheckstyleResultsTest.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-checkstyle-plugin/src/test/java/org/apache/maven/plugin/checkstyle/CheckstyleResultsTest.java?rev=803845&r1=803844&r2=803845&view=diff
==============================================================================
--- maven/plugins/trunk/maven-checkstyle-plugin/src/test/java/org/apache/maven/plugin/checkstyle/CheckstyleResultsTest.java (original)
+++ maven/plugins/trunk/maven-checkstyle-plugin/src/test/java/org/apache/maven/plugin/checkstyle/CheckstyleResultsTest.java Thu Aug 13 11:18:04 2009
@@ -25,6 +25,7 @@
import com.puppycrawl.tools.checkstyle.api.LocalizedMessage;
import java.util.Collections;
+import java.util.Locale;
import java.util.Map;
import java.util.HashMap;
import java.util.List;
@@ -32,18 +33,27 @@
/**
* @author Edwin Punzalan
+ * @version $Id$
*/
public class CheckstyleResultsTest
extends TestCase
{
private CheckstyleResults results;
+ /** {@inheritDoc} */
protected void setUp()
throws Exception
{
results = new CheckstyleResults();
}
+ /** {@inheritDoc} */
+ protected void tearDown()
+ throws Exception
+ {
+ results = null;
+ }
+
public void testEmptyResults()
{
assertEquals( "test total files", 0, results.getFiles().size() );
Modified: maven/plugins/trunk/maven-checkstyle-plugin/src/test/java/org/apache/maven/plugin/checkstyle/CheckstyleViolationCheckMojoTest.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-checkstyle-plugin/src/test/java/org/apache/maven/plugin/checkstyle/CheckstyleViolationCheckMojoTest.java?rev=803845&r1=803844&r2=803845&view=diff
==============================================================================
--- maven/plugins/trunk/maven-checkstyle-plugin/src/test/java/org/apache/maven/plugin/checkstyle/CheckstyleViolationCheckMojoTest.java (original)
+++ maven/plugins/trunk/maven-checkstyle-plugin/src/test/java/org/apache/maven/plugin/checkstyle/CheckstyleViolationCheckMojoTest.java Thu Aug 13 11:18:04 2009
@@ -28,6 +28,7 @@
/**
* @author Edwin Punzalan
+ * @version $Id$
*/
public class CheckstyleViolationCheckMojoTest
extends AbstractMojoTestCase
Modified: maven/plugins/trunk/maven-checkstyle-plugin/src/test/java/org/apache/maven/plugin/checkstyle/ReportResourceTest.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-checkstyle-plugin/src/test/java/org/apache/maven/plugin/checkstyle/ReportResourceTest.java?rev=803845&r1=803844&r2=803845&view=diff
==============================================================================
--- maven/plugins/trunk/maven-checkstyle-plugin/src/test/java/org/apache/maven/plugin/checkstyle/ReportResourceTest.java (original)
+++ maven/plugins/trunk/maven-checkstyle-plugin/src/test/java/org/apache/maven/plugin/checkstyle/ReportResourceTest.java Thu Aug 13 11:18:04 2009
@@ -26,6 +26,7 @@
/**
* @author Edwin Punzalan
+ * @version $Id$
*/
public class ReportResourceTest
extends TestCase
Modified: maven/plugins/trunk/maven-checkstyle-plugin/src/test/java/org/apache/maven/plugin/checkstyle/stubs/MavenProjectWithExceptionsStub.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-checkstyle-plugin/src/test/java/org/apache/maven/plugin/checkstyle/stubs/MavenProjectWithExceptionsStub.java?rev=803845&r1=803844&r2=803845&view=diff
==============================================================================
--- maven/plugins/trunk/maven-checkstyle-plugin/src/test/java/org/apache/maven/plugin/checkstyle/stubs/MavenProjectWithExceptionsStub.java (original)
+++ maven/plugins/trunk/maven-checkstyle-plugin/src/test/java/org/apache/maven/plugin/checkstyle/stubs/MavenProjectWithExceptionsStub.java Thu Aug 13 11:18:04 2009
@@ -26,10 +26,12 @@
/**
* @author Edwin Punzalan
+ * @version $Id$
*/
public class MavenProjectWithExceptionsStub
extends MinMavenProjectStub
{
+ /** {@inheritDoc} */
public List getCompileClasspathElements()
throws DependencyResolutionRequiredException
{
Modified: maven/plugins/trunk/maven-checkstyle-plugin/src/test/java/org/apache/maven/plugin/checkstyle/stubs/MavenProjectWithNoJxrPluginStub.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-checkstyle-plugin/src/test/java/org/apache/maven/plugin/checkstyle/stubs/MavenProjectWithNoJxrPluginStub.java?rev=803845&r1=803844&r2=803845&view=diff
==============================================================================
--- maven/plugins/trunk/maven-checkstyle-plugin/src/test/java/org/apache/maven/plugin/checkstyle/stubs/MavenProjectWithNoJxrPluginStub.java (original)
+++ maven/plugins/trunk/maven-checkstyle-plugin/src/test/java/org/apache/maven/plugin/checkstyle/stubs/MavenProjectWithNoJxrPluginStub.java Thu Aug 13 11:18:04 2009
@@ -24,15 +24,18 @@
/**
* @author Edwin Punzalan
+ * @version $Id$
*/
public class MavenProjectWithNoJxrPluginStub
extends MinMavenProjectStub
{
+ /** {@inheritDoc} */
public String getInceptionYear()
{
return "2005";
}
+ /** {@inheritDoc} */
public List getReportPlugins()
{
return Collections.EMPTY_LIST;
Modified: maven/plugins/trunk/maven-checkstyle-plugin/src/test/java/org/apache/maven/plugin/checkstyle/stubs/MinMavenProjectStub.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-checkstyle-plugin/src/test/java/org/apache/maven/plugin/checkstyle/stubs/MinMavenProjectStub.java?rev=803845&r1=803844&r2=803845&view=diff
==============================================================================
--- maven/plugins/trunk/maven-checkstyle-plugin/src/test/java/org/apache/maven/plugin/checkstyle/stubs/MinMavenProjectStub.java (original)
+++ maven/plugins/trunk/maven-checkstyle-plugin/src/test/java/org/apache/maven/plugin/checkstyle/stubs/MinMavenProjectStub.java Thu Aug 13 11:18:04 2009
@@ -32,22 +32,19 @@
/**
* @author Edwin Punzalan
+ * @version $Id$
*/
public class MinMavenProjectStub
extends org.apache.maven.plugin.testing.stubs.MavenProjectStub
{
- /**
- * @see org.apache.maven.project.MavenProject#getCompileClasspathElements()
- */
+ /** {@inheritDoc} */
public List getCompileClasspathElements()
throws DependencyResolutionRequiredException
{
return Collections.singletonList( PlexusTestCase.getBasedir() + "/target/classes" );
}
- /**
- * @see org.apache.maven.project.MavenProject#getTestClasspathElements()
- */
+ /** {@inheritDoc} */
public List getTestClasspathElements()
throws DependencyResolutionRequiredException
{
@@ -56,17 +53,13 @@
return list;
}
- /**
- * @see org.apache.maven.project.MavenProject#getBasedir()
- */
+ /** {@inheritDoc} */
public File getBasedir()
{
return new File( PlexusTestCase.getBasedir() );
}
- /**
- * @see org.apache.maven.project.MavenProject#getReportPlugins()
- */
+ /** {@inheritDoc} */
public List getReportPlugins()
{
ReportPlugin jxrPlugin = new ReportPlugin();
@@ -76,9 +69,7 @@
return Collections.singletonList( jxrPlugin );
}
- /**
- * @see org.apache.maven.project.MavenProject#getOrganization()
- */
+ /** {@inheritDoc} */
public Organization getOrganization()
{
Organization organization = new Organization();
@@ -88,17 +79,13 @@
return organization;
}
- /**
- * @see org.apache.maven.project.MavenProject#getInceptionYear()
- */
+ /** {@inheritDoc} */
public String getInceptionYear()
{
return "2006";
}
- /**
- * @see org.apache.maven.project.MavenProject#getBuild()
- */
+ /** {@inheritDoc} */
public Build getBuild()
{
Build build = new Build();
@@ -108,10 +95,11 @@
return build;
}
+ /** {@inheritDoc} */
public File getFile()
{
File file = new File( getBasedir(), "pom.xml" );
- return file;
+ return file;
}
}