You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@codehaus.org> on 2014/11/25 21:23:21 UTC

[jira] (MPCLOVER-47) Clover report is not generated when using Maven AspectJ plugin

     [ https://jira.codehaus.org/browse/MPCLOVER-47?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov closed MPCLOVER-47.
----------------------------------

    Resolution: Won't Fix

Please refer to https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014 if you're wondering why this issue was closed out.

> Clover report is not generated when using Maven AspectJ plugin
> --------------------------------------------------------------
>
>                 Key: MPCLOVER-47
>                 URL: https://jira.codehaus.org/browse/MPCLOVER-47
>             Project: Maven 1.x Clover Plugin
>          Issue Type: Bug
>    Affects Versions: 1.10
>         Environment: Maven 1.0.2 on Windows XP
>            Reporter: Glauber Vinícius Ferreira
>            Priority: Blocker
>         Attachments: aspectjtest.zip, Introduction Example.zip
>
>
> When I am using AspectJ plugin with this lines in my maven.xml file:
> 	<preGoal name="java:compile">
> 		<attainGoal name="aspectj"/>
> 	</preGoal>
> the Clover report is not generated. The following message is presented:
> clover:report:
>     [echo] No Clover database found, skipping report generation
> The folder "target\clover\database" stays empty.
> --------------------------------------------------------------------------------------------------
> When I am using AspectJ plugin with this lines in my maven.xml file:
> 	<preGoal name="java:compile">
> 		<attainGoal name="aspectj:compile"/>
> 	</preGoal>
> an empty Clover report is generated, although there is one test in the project. The following message is presented:
> [clover-report] No coverage data found for 'C:\eclipse\workspace\Introduction Example\target\clover\database\clover_coverage.db'.
> The file "clover_coverage.db" is created at folder "target\clover\database"
> --------------------------------------------------------------------------------------------------
> When I am using AspectJ plugin with no preGoal for "java:compile" the Clover report is generated properly.
> --------------------------------------------------------------------------------------------------
> The MPCLOVER-27 issue reports this same problem, but did not provide data to reproduce it.
> Thank you.



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)