[ http://jira.codehaus.org/browse/MCLOVER-18?page=comments#action_56262 ] 

Mike Perham commented on MCLOVER-18:
------------------------------------

Perhaps you should check for the existance of clover.db before calling the 
Clover HTML generator?

> clover:clover bombs on source-less projects
> -------------------------------------------
>
>          Key: MCLOVER-18
>          URL: http://jira.codehaus.org/browse/MCLOVER-18
>      Project: Maven 2.x Clover Plugin
>         Type: Bug

>     Versions: 2.0
>     Reporter: Mike Perham
>      Fix For: 2.1

>
>
> I'm running clover:clover on my top-level parent container project and expect 
> that goal to propogate down to the child source projects.  Instead it blows 
> up at the parent because there is no source.
> {noformat}
> [INFO] [clover:instrument]
> [DEBUG] Not executing Clover as this is not a Java project.
> [DEBUG] Configuring mojo 
> 'org.apache.maven.plugins:maven-clover-plugin:2.1-SNAPSHOT:clover' -->
> [DEBUG]   (f) cloverDatabase = 
> D:\perforce\depot\modules\cordoba\target/clover/clover.db
> [DEBUG]   (f) flushInterval = 500
> [DEBUG]   (f) outputDirectory = 
> D:\perforce\depot\modules\cordoba\target\site\clover
> [DEBUG]   (f) project = [EMAIL PROTECTED]
> [DEBUG]   (f) waitForFlush = true
> [DEBUG] -- end configuration --
> [INFO] [clover:clover]
> Clover Version 1.3.11, built on November 02 2005
> loaded from: C:\Documents and 
> Settings\mperham.WEBIFY\.m2\repository\clover\clover\1.3.11\clover-1.3.11.jar
> 30 day Evaluation Version distributed via the Maven Jar Repository.
> Clover is not free. You have 30 days to evaluate it. After this, please visit 
> http://www.cenqua.com
> to obtain a licensed version of Clover
> ERROR: IO Exception occured rendering report: Unable to load database at 
> 'D:\perforce\depot\modules\cordoba\target\clover\clover.db'
> Caused by: org.apache.maven.reporting.MavenReportException: Clover has failed 
> to instrument the source files
>         at 
> org.apache.maven.plugin.clover.CloverReportMojo.executeReport(CloverReportMojo.java:110)
>         at 
> org.apache.maven.plugin.clover.CloverReportMojo.generate(CloverReportMojo.java:183)
>         at 
> org.apache.maven.reporting.AbstractMavenReport.execute(AbstractMavenReport.java:73)
> {noformat}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to