[ http://jira.codehaus.org/browse/MCLOVER-49?page=comments#action_77389 ] Volker Fuessler commented on MCLOVER-49: ----------------------------------------
Hi Vincent, I'm using version 2.3 of the clover plugin. In my case, the history is saved in the 'historyDir' but no historical report is generated. I tried different combinations with maven-clover-plugin in the build section and in reports section. Thats how my pom looks like: <build> ... <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-clover-plugin</artifactId> <version>2.3</version> <configuration> <jdk>1.5</jdk> <licenseLocation>/tmp/cloverlicense/clover.license</licenseLocation> <historyDir>/tmp/cloverhistory</historyDir> <generateHistorical>true</generateHistorical> </configuration> <executions> <execution> <phase>pre-site</phase> <goals> <goal>instrument</goal> <goal>save-history</goal> </goals> </execution> </executions> </plugin> ... </reporting> <reporting> ... <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-clover-plugin</artifactId> <version>2.3</version> <configuration> <historyDir>/tmp/cloverhistory</historyDir> <generateXml>true</generateXml> </configuration> </plugin> ... </reporting> 'mvn clean site' generates all my reports, except the clover history report. Am I wrong or is this a bug? regards, Volker > 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