Hi,

This happens typically if you add QLab reports without adding qlab in your 
build/plugin section, associated to phase "pre-site" for exemple
Note that you also need to add pmd execution there, since qlab uses the pmd xml 
file.
If you have not added qlab to your build section, take a look at the following 
example

Regards
Guillaume 

>   <build>
>     <plugins>
>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-pmd-plugin</artifactId>
>         <executions>
>           <execution>
>             <id>pmd</id>
>             <phase>pre-site</phase>
>             <goals>
>               <goal>pmd</goal>
>             </goals>
>           </execution>
>         </executions>
>         <configuration>
>           <linkXref>true</linkXref>
>           <targetJdk>1.5</targetJdk>
>           <format>xml</format>
>         </configuration> 
>       </plugin>
>       <plugin>
>         <groupId>net.objectlab</groupId>
>         <artifactId>maven-qalab-plugin</artifactId>
>         <version>2.1</version>
>         <executions>
>           <execution>
>             <id>pmd-merge</id>
>             <phase>pre-site</phase>
>             <goals>
>               <goal>merge</goal>
>             </goals>
>             <configuration>
>               <handler>net.objectlab.qalab.parser.PMDStatMerge</handler>
>               <inputFile>
>                 ${project.build.directory}/pmd.xml
>               </inputFile>
>             </configuration>
>           </execution>
>           <execution>
>             <id>qalab-movers</id>
>             <phase>pre-site</phase>
>             <goals>
>               <goal>movers</goal>
>             </goals>
>             <configuration>
>               <startTimeHoursOffset>480</startTimeHoursOffset>
>             </configuration>
>           </execution>
>             <execution>
>             <id>qalab-chart</id>
>             <phase>pre-site</phase>
>             <goals>
>             <goal>chart</goal>
>             </goals>
>             <configuration>
>             <summaryOnly>false</summaryOnly>
>             </configuration>
>             </execution>
>         </executions>
>         <configuration>
>           <types>pmd</types>
>         </configuration>
>       </plugin>
>     </plugins>
>   </build>
>   <reporting>
>     <plugins>
>       <plugin>
>         <groupId>net.objectlab</groupId>
>         <artifactId>maven-qalab-plugin</artifactId>
>         <version>2.1</version>
>       </plugin>
>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-pmd-plugin</artifactId> 
>         <configuration>
>           <linkXref>true</linkXref>
>           <targetJdk>1.5</targetJdk>
>           <format>xml</format>
>         </configuration>
>       </plugin>
>     </plugins>
>   </reporting>

-----Message d'origine-----
De : Mick Knutson [mailto:[EMAIL PROTECTED] 
Envoyé : vendredi 13 octobre 2006 19:56
À : maven
Objet : qalab.xml does not exist.

[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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to