You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by vm...@apache.org on 2006/01/02 09:28:05 UTC
svn commit: r365316 -
/maven/plugins/trunk/maven-clover-plugin/src/main/java/org/apache/maven/plugin/clover/CloverReportMojo.java
Author: vmassol
Date: Mon Jan 2 00:28:01 2006
New Revision: 365316
URL: http://svn.apache.org/viewcvs?rev=365316&view=rev
Log:
Removed code in execute that verifies if the project is a java project as similar code has been added in the canGenerateProjet() method.
Modified:
maven/plugins/trunk/maven-clover-plugin/src/main/java/org/apache/maven/plugin/clover/CloverReportMojo.java
Modified: maven/plugins/trunk/maven-clover-plugin/src/main/java/org/apache/maven/plugin/clover/CloverReportMojo.java
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-clover-plugin/src/main/java/org/apache/maven/plugin/clover/CloverReportMojo.java?rev=365316&r1=365315&r2=365316&view=diff
==============================================================================
--- maven/plugins/trunk/maven-clover-plugin/src/main/java/org/apache/maven/plugin/clover/CloverReportMojo.java (original)
+++ maven/plugins/trunk/maven-clover-plugin/src/main/java/org/apache/maven/plugin/clover/CloverReportMojo.java Mon Jan 2 00:28:01 2006
@@ -102,14 +102,6 @@
public void executeReport( Locale locale )
throws MavenReportException
{
- // Only execute reports for java projects
- ArtifactHandler artifactHandler = this.project.getArtifact().getArtifactHandler();
- if ( !"java".equals( artifactHandler.getLanguage() ) )
- {
- getLog().debug( "Not generating a Clover report as this is not a Java project." );
- return;
- }
-
AbstractCloverMojo.waitForFlush( this.waitForFlush, this.flushInterval );
int result = HtmlReporter.mainImpl( createCliArgs() );