Weird, it works for me, I have just tested again. What is the content of Your target directory?
Do You see folders target/chronos/testperftest and target/history/testperftest ? If Yes, what is the content of these folders? Are You able to find files target/site/testperftest.html and target/site/history-testperftest.html ? /Kent Den 14/11/2011 kl. 08.47 skrev Wessman Mattias: > Hi! > > I’m trying to generate reports (historyreport and report) based on > chronos-jmeter executions using Maven 3.0.3. Basically following the sample > found here. > > A code-snippet from my pom.xml below: > … > <plugin> > <groupId>org.codehaus.mojo</groupId> > <artifactId>chronos-jmeter-maven-plugin</artifactId> > <version>1.0-beta-1</version> > <executions> > <execution> > <id>Testing</id> > <configuration> > <dataid>testperftest</dataid> > > > <input>${project.basedir}/src/test/jmeter/testar.jmx</input> > <historydir>${project.basedir}/history</historydir> > </configuration> > <phase>integration-test</phase> > <goals> > <goal>jmeter</goal> > <goal>savehistory</goal> > <goal>check</goal> > </goals> > </execution> > </executions> > </plugin> > > > > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-site-plugin</artifactId> > <version>3.0</version> > <configuration> > <reportPlugins> > <plugin> > <groupId>org.codehaus.mojo</groupId> > <artifactId>chronos-report-maven-plugin</artifactId> > <version>1.0-beta-1</version> > <configuration> > <dataid>testperftest</dataid> > <title>JMeter Test history</title> > <description>This is a test report illustrating the different parts of the > reports.</description> > <showgc>false</showgc> > <historydir>${project.basedir}/history</historydir> > </configuration> > <reports> > <report>report</report> > <report>historyreport</report> > </reports> > </plugin> > </reportPlugins> > </configuration> > </plugin> > … > > Then I execute mvn clean site > [INFO] Scanning for projects... > [INFO] > [INFO] > ------------------------------------------------------------------------ > [INFO] Building JMeter test 1.1 > [INFO] > ------------------------------------------------------------------------ > [INFO] > [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ tests --- > [INFO] Deleting C:\SVN\trunk\lab\jmeter-lab\target > [INFO] > [INFO] --- maven-site-plugin:3.0:site (default-site) @ tests --- > [INFO] configuring report plugin > org.codehaus.mojo:chronos-report-maven-plugin:1.0-beta-1 > [INFO] > [INFO] >>> chronos-report-maven-plugin:1.0-beta-1:historyreport > (report:historyreport) @ tests >>> > [INFO] > [INFO] --- chronos-jmeter-maven-plugin:1.0-beta-1:jmeter (Testing) @ tests --- > [INFO] No bootstrapper class found > [INFO] Excuting test C:\SVN\trunk\lab\jmeter-lab\src\test\jmeter\testar.jmx > [WARNING] Artifact not found. Note that if Your JMeter test contains > JUnittestcases, You can only invoke this goal through the default lifecycle. > [INFO] Created the tree successfully using > C:\SVN\trunk\lab\jmeter-lab\src\test\jmeter\testar.jmx > [INFO] Starting the test @ Fri Nov 11 16:41:12 CET 2011 (1321026072034) > [INFO] Waiting for possible shutdown message on port 4445 > [INFO] Tidying up ... @ Fri Nov 11 16:41:12 CET 2011 (1321026072740) > [INFO] ... end of run > [INFO] > [INFO] --- chronos-jmeter-maven-plugin:1.0-beta-1:savehistory (Testing) @ > tests --- > [INFO] > [INFO] --- chronos-jmeter-maven-plugin:1.0-beta-1:check (Testing) @ tests --- > [INFO] > [INFO] <<< chronos-report-maven-plugin:1.0-beta-1:historyreport > (report:historyreport) @ tests <<< > [WARNING] No project URL defined - decoration links will not be relativized! > [INFO] Rendering site with org.apache.maven.skins:maven-default-skin:jar:1.0 > skin. > [INFO] Generating "history-testperftest" report --- > chronos-report-maven-plugin:1.0-beta-1 > [INFO] generating charts... > [warn] [XHTML Sink] Modified invalid anchor name: '0testperftest' to > 'a0testperftest' > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD SUCCESS > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 5.344s > [INFO] Finished at: Fri Nov 11 16:41:15 CET 2011 > [INFO] Final Memory: 11M/162M > [INFO] > ------------------------------------------------------------------------ > > As seen from Maven output, there’s only a historyreport generated. I’m > expecting a report and a historyreport. Why isn’t the report also generated? > Am I missing something here? Using Maven 2 and the <reporting> syntax without > mave-site-plugin generates 2 reports. > > Thanks and regards, > > Mattias