[ http://jira.codehaus.org/browse/MCLOVER-49?page=comments#action_77446 ] 
            
Vincent Massol commented on MCLOVER-49:
---------------------------------------

Hi Volker,

It seems to be working as designed in your case. The only thing that is not 
done is putting the link to the site/clover/history/historical.html file in 
your project reports. This is because it's not possible in Maven2 to have a 
MOJO contributing more than 1 report in the project reports section. You have 
to add the link in your site.xml manually.

I have improved the documentation to explain this and republished it on 
http://maven.apache.org/plugins/maven-clover-plugin/usage.html#Generating%20historical%20reports
 (note that Apache caches stuff for some time so it may take a while till you 
see the updated content).

Thanks
-Vincent

> Generate historical report
> --------------------------
>
>                 Key: MCLOVER-49
>                 URL: http://jira.codehaus.org/browse/MCLOVER-49
>             Project: Maven 2.x Clover Plugin
>          Issue Type: Wish
>    Affects Versions: 2.3
>            Reporter: Michael Waluk
>         Assigned To: Vincent Massol
>            Priority: Minor
>
> The clover:save-history goal is a good start, but it would be great if the 
> clover plugin for Maven2.x could generate the Clover historical report (HTML) 
> to make use of this data.  Ideally a link to it would be added to the basic 
> clover report.
> With ant we can do 
> <target name="record.point" depends="with.clover">
>     <clover-historypoint historyDir="clover_history"/>
>  </target>
> <target name="hist.report" depends="with.clover">
>      <clover-report>
>            <historical outfile="historical.pdf"
>                   historyDir="clover_history"/>
>      </clover-report>
>  </target>
> so it would be nice to be able to execute "mvn clover:save-history 
> historical" or something like that.   I know we can use the ant plugin, but 
> it would be nice to have the clover plugin provide it for us.

-- 
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

        

Reply via email to