Another twist... Results : [surefire] Tests run: 196, Failures: 0, Errors: 0
[INFO] [site:site] [WARNING] Error loading report org.apache.maven.plugin.jxr.JxrReport - AbstractMethodError: canGenerateReport() [INFO] Generate "QALab Main Report" report. [INFO] Generate "QALab Movers Report" report. [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error during page generation Embedded error: Error rendering Maven report: C:\viewstore\npi_tactical_dev\NPI_Provider\common\common-jar\target\qalab\qalab- movers.xml does not exis t. [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error during page generation at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( DefaultLifecycleExecutor.java:559) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle (DefaultLifecycleExecutor.java:475) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal( DefaultLifecycleExecutor.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures (DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute( DefaultLifecycleExecutor.java:140) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke( DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java :315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java :430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoExecutionException: Error during page generation I moved the movers back to verify: <execution> <id>qalab-movers</id> <phase>verify</phase> <goals> <goal>movers</goal> </goals> <configuration> <startTimeHoursOffset>480</startTimeHoursOffset> </configuration> </execution> and the files should be located at target\qalab\qalab-movers.xml but does not seem to be generated first before the verification. So when should this execution happen as I have tried pre-site and verify as the phase and they give the same error...??? On 10/16/06, Mick Knutson <[EMAIL PROTECTED]> wrote:
That worked great. But now, there are no png images being created for the graph Any ideas why? On 10/14/06, Guillaume Tardif < [EMAIL PROTECTED]> wrote: > > To avoid any dependancy between the build phases > (compile/test/verify/install) and site generation, link your qlab execution > to phase "pre-site" instead of "verify" > > Guillaume > > -----Message d'origine----- > De: Mick Knutson [mailto:[EMAIL PROTECTED] > Envoyé: samedi 14 octobre 2006 01:49 > À: maven > Objet: Re: qalab.xml does not exist. > > Seems I am getting further, but still issues with QALab > I have all my artifacts in sub-modules. So I find that to allow this to > work > correctly, I have to: > > > 1. Create a dependancyManagement plugin declaration for qalab. > 2. Add a plugin declaration into each module's pom.xml I want to run > QALab for > 3. run mvn site so that my checkstyle-report.xml and pmd.xml exist > 4. run mvn install to compile my code again. > > It seems that if I run mvn clean install -e I get an issue with the > checkstyle-report.xml and pmd.xml files not being found. So why must I > have > these files present just to run an install? > > here is my super pom.xml declaration: > > <plugin> > <groupId>net.objectlab</groupId> > <artifactId>maven-qalab-plugin</artifactId> > <version> 2.1</version> > <!-- Checkstyle Merge --> > <executions> > <execution> > <id>checkstyle-merge</id> > <phase>verify</phase> > <goals> > <goal>merge</goal> > </goals> > <configuration> > <handler> > net.objectlab.qalab.parser.CheckstyleStatMerge</handler> > <inputFile>${basedir}/target/checkstyle- > > result.xml</inputFile> > </configuration> > </execution> > <!-- findBugs Merge --> > <!--<execution> > <id>findbugs-merge</id> > <phase>verify</phase> > <goals> > <goal>merge</goal> > </goals> > <configuration> > <handler> > net.objectlab.qalab.parser.FindBugsStatMerge</handler> > > <inputFile>${basedir}/target/site/findbugs.xml</inputFile> > </configuration> > </execution>--> > <!-- PMD Merge --> > <execution> > <id>pmd-merge</id> > <phase>verify</phase> > <goals> > <goal>merge</goal> > </goals> > <configuration> > <handler> > net.objectlab.qalab.parser.PMDStatMerge </handler> > > <inputFile>${basedir}/target/site/pmd.xml</inputFile> > <!--<inputFile>${project.build.directory > }/pmd/pmd.xml</inputFile>--> > </configuration> > </execution> > <!-- Additional executions --> > <execution> > <id>qalab-movers</id> > <phase>verify</phase> > <goals> > <goal>movers</goal> > </goals> > <configuration> > > <startTimeHoursOffset>480</startTimeHoursOffset> > </configuration> > </execution> > <execution> > <id>qalab-chart</id> > <phase>verify</phase> > <goals> > <goal>chart</goal> > </goals> > <configuration> > <summaryOnly>false</summaryOnly> > </configuration> > </execution> > </executions> > <configuration> > <!--<types>checkstyle,findbugs,pmd</types>--> > <types>checkstyle,pmd</types> > </configuration> > </plugin> > > > > here is my comon/common-jar/pom.xml declaration: > > <build> > <plugins> > > <plugin> > <groupId>net.objectlab</groupId> > <artifactId>maven-qalab-plugin</artifactId> > </plugin> > ..... > > <reporting> > <plugins> > > <plugin> > <groupId>net.objectlab</groupId> > <artifactId>maven-qalab-plugin</artifactId> > <version>2.1</version> > <reportSets> > <reportSet> > <reports> > <report>report</report> > </reports> > </reportSet> > </reportSets> > </plugin> > ..... > > > > > > On 10/13/06, Mick Knutson < [EMAIL PROTECTED]> wrote: > > > > Is there something I am missing with: > > > > > > There are 3 Mojos provided for your use. > > 1. BuildStatMergeMojo - Handles the merge of statistics into > > qalab.xml > > 2. BuildStatChartMojo - Generates the QALab BuildStat chart > > 3. BuildStatMoversMojo - Creates the mover XML file given the > > correct parameters. The movers report shows what has changed over > the last > > "x" hours. > > > > > > What is a Mojo and how is it called to build qalab.xml ????? > > > > > > On 10/13/06, Mick Knutson <[EMAIL PROTECTED] > wrote: > > > > > > [INFO] Generate "Dependencies" report. > > > [INFO] Generate "Dependency Convergence" report. > > > [INFO] Generate "Mailing Lists" report. > > > [INFO] Generate "About" report. > > > [INFO] Generate "Project Summary" report. > > > [INFO] Generate "Project Team" report. > > > [INFO] Generate "Source Xref" report. > > > [INFO] Generate "QALab Main Report" report. > > > > > > [INFO] > > > > ------------------------------------------------------------------------ > > > [ERROR] BUILD ERROR > > > [INFO] > > > > ------------------------------------------------------------------------ > > > [INFO] Error during page generation > > > > > > Embedded error: Error rendering Maven report: > > > C:\viewstore\npi_tactical_dev\NPI_Provider\qalab.xml does not exist. > > > [INFO] > > > > ------------------------------------------------------------------------ > > > [INFO] Trace > > > org.apache.maven.lifecycle.LifecycleExecutionException: Error during > > > page generation > > > at > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals ( > > > DefaultLifecycleExecutor.java :559) > > > at > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle > > > (DefaultLifecycleExecutor.java:475) > > > at > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal ( > > > DefaultLifecycleExecutor.java:454) > > > at > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures > > > (DefaultLifecycleExecutor.java:306) > > > at > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( > > > DefaultLifecycleExecutor.java:273) > > > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute ( > > > DefaultLifecycleExecutor.java:140) > > > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java > :322) > > > > > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) > > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > > > at sun.reflect.NativeMethodAccessorImpl.invoke ( > > > NativeMethodAccessorImpl.java:39) > > > at sun.reflect.DelegatingMethodAccessorImpl.invoke( > > > DelegatingMethodAccessorImpl.java:25) > > > at java.lang.reflect.Method.invoke (Method.java:585) > > > at org.codehaus.classworlds.Launcher.launchEnhanced( > > > Launcher.java:315) > > > at org.codehaus.classworlds.Launcher.launch(Launcher.java > :255) > > > at org.codehaus.classworlds.Launcher.mainWithExitCode ( > > > Launcher.java:430) > > > at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > > > Caused by: org.apache.maven.plugin.MojoExecutionException : Error > during > > > page generation > > > at org.apache.maven.plugins.site.SiteMojo.execute ( > SiteMojo.java > > > :97) > > > at org.apache.maven.plugin.DefaultPluginManager.executeMojo( > > > DefaultPluginManager.java:412) > > > at > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( > > > DefaultLifecycleExecutor.java :534) > > > ... 16 more > > > Caused by: org.apache.maven.doxia.siterenderer.RendererException: > Error > > > rendering Maven report: > C:\viewstore\npi_tactical_dev\NPI_Provider\qalab.xml > > > d > > > oes not exist. > > > at > > > org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument( > > > ReportDocumentRenderer.java:71) > > > at > > > org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule( > > > DefaultSiteRenderer.java:239) > > > at > > > org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render ( > > > DefaultSiteRenderer.java:115) > > > at org.apache.maven.plugins.site.SiteMojo.renderLocale ( > > > SiteMojo.java:124) > > > at org.apache.maven.plugins.site.SiteMojo.execute( > SiteMojo.java > > > :92) > > > ... 18 more > > > Caused by: org.apache.maven.reporting.MavenReportException : > > > C:\viewstore\npi_tactical_dev\NPI_Provider\qalab.xml does not exist. > > > at net.objectlab.qalab.m2.report.MainReport.validate( > > > MainReport.java:217) > > > at net.objectlab.qalab.m2.report.MainReport.executeReport ( > > > MainReport.java:107) > > > at org.apache.maven.reporting.AbstractMavenReport.generate( > > > AbstractMavenReport.java:98) > > > at > > > org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument( > > > ReportDocumentRenderer.java:67) > > > ... 22 more > > > Caused by: java.io.FileNotFoundException: > > > C:\viewstore\npi_tactical_dev\NPI_Provider\qalab.xml does not exist. > > > at net.objectlab.qalab.m2.util.Utils.checkFile (Utils.java > :39) > > > at net.objectlab.qalab.m2.report.MainReport.validate( > > > MainReport.java:214) > > > ... 25 more > > > [INFO] > > > > ------------------------------------------------------------------------ > > > [INFO] Total time: 19 seconds > > > [INFO] Finished at: Fri Oct 13 10:52:28 PDT 2006 > > > [INFO] Final Memory: 22M/43M > > > [INFO] > > > > ------------------------------------------------------------------------ > > > > > > > > > -- > > > > > > Thanks > > > > > > DJ MICK > > > http://www.djmick.com > > > http://www.myspace.com/mickknutson > > > > > > > > > > -- > > > > Thanks > > > > DJ MICK > > http://www.djmick.com > > http://www.myspace.com/mickknutson > > > > > > -- > > Thanks > > DJ MICK > http://www.djmick.com > http://www.myspace.com/mickknutson > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Thanks DJ MICK http://www.djmick.com http://www.myspace.com/mickknutson
-- Thanks DJ MICK http://www.djmick.com http://www.myspace.com/mickknutson