Paul

Could you show us your POM that generates the XML for Cobertura?
We're working on the M2 plugin for QALab...

Thanks

Benoit

Benoitx wrote:
> 
> Paul
> 
> Can you post this on the QALab Users list.
> We will look into it but could you confirm which JDK you are using?
> 
> It is the first time we see that one...
> 
> Regards
> Benoit
> 
> 
> 
> Paul Balm wrote:
>> 
>> 
>> Benoitx wrote:
>>> 
>>> ObjectLab is pleased to announce the release of version 0.9.1 (slowly
>>> getting closer to v 1.0) of QALab and its Maven 1.x plugin.
>>> 
>> 
>> I'm trying to use this plug-in under Maven 1.1-beta2, to agregate stats
>> from Cobertura and PMD, I'm getting parser errors on the XML output of
>> pmd-raw-report.xml and cobertura.xml respectively.
>> Because it happens on both these files, I think it's my maven set-up (the
>> XML parser that I use e.g.), and that the PMD and Cobertura reports are
>> fine. I can also see those when I generate maven site -- they are ok.
>> I have the dependencies that QALab specificies in my project.xml (on
>> http://qalab.sourceforge.net/maven/dependencies.html), but of course
>> additionally a bunch of other stuff that my project needs, so I'm worried
>> this might screw things up.
>> Anyway, below this message I pasted the output with errors. I think it
>> goes wrong 12 lines into the output that I'm showing (on the PMD XML(,
>> and the same error two lines below that on the Cobertura XML.
>> 
>> I also append a list of the libraries that I'm using (the dependencies
>> from my project.xml).
>> 
>> Any suggestions more than welcome, 'cause I'm stuck! Thanks!
>> 
>> Paul
>> 
>> ========================
>>> maven cobertura pmd
>> [...ok...]
>>>maven -e maven-qalab-plugin:report
>> [...]
>> maven-qalab-plugin:report:
>>     [echo] QALab Report.
>> Tag library requested that is not present: 'qalab' in plugin:
>> 'maven-qalab-plugin-0.9.0'
>> maven-qalab-plugin:merge:
>>     [echo] QALab Merge!...
>>     [echo] No Checkstyle file to process
>> (/home/pbalm/dev/isoc/simbad/target/checkstyle/checkstyle-raw-report.xml).
>>     [echo] QALab Merge!
>> /home/pbalm/dev/isoc/simbad/target/pmd-raw-report.xml...
>>     [mergestat] org.xml.sax.SAXNotSupportedException: Feature:
>> http://xml.org/sax/features/external-general-entities State: false
>>     [mergestat] Files: 0 Statistics:0
>>     [echo] No FindBugs file to process
>> (/home/pbalm/dev/isoc/simbad/target/findbugs-raw-report.xml).
>>     [echo] No Simian file to process
>> (/home/pbalm/dev/isoc/simbad/target/simian-raw-report.xml).
>>     [echo] QALab Merge!
>> /home/pbalm/dev/isoc/simbad/target/docs/cobertura/coverage.xml Line...
>>     [mergestat] org.xml.sax.SAXNotSupportedException: Feature:
>> http://xml.org/sax/features/external-general-entities State: false
>>     [mergestat] Files: 0 Statistics:0
>>     [echo] QALab Merge!
>> /home/pbalm/dev/isoc/simbad/target/docs/cobertura/coverage.xml Branch...
>>     [mergestat] org.xml.sax.SAXNotSupportedException: Feature:
>> http://xml.org/sax/features/external-general-entities State: false
>>     [mergestat] Files: 0 Statistics:0
>> 
>> Tag library requested that is not present: 'qalab' in plugin:
>> 'maven-qalab-plugin-0.9.0'
>> maven-qalab-plugin:charts:
>>     [echo] QALab CHARTS!
>>     [buildchart] java.lang.ClassNotFoundException:
>> org/apache/xerces/parsers/SAXParser
>>     [echo] Cobertura Chart
>>     [buildchart] java.lang.ClassNotFoundException:
>> org/apache/xerces/parsers/SAXParser
>>     [echo] QALab SUMMARY XDOC for CHARTS! ...
>> 
>> BUILD FAILED
>> org.apache.commons.jelly.JellyTagException:
>> file:/home/pbalm/.maven/cache/maven-qalab-plugin-0.9.0/plugin-resources/qalab-chart-xdoc.jsl:35:-1:
>> <jsl:stylesheet>
>> file:/home/pbalm/.maven/cache/maven-qalab-plugin-0.9.0/plugin-resources/qalab-chart-xdoc.jsl:89:-1:
>> <x:sort> You must define an attribute called 'list' for this tag.
>>         at
>> org.apache.commons.jelly.tags.jsl.StylesheetTag.doTag(StylesheetTag.java:127)
>>         at
>> org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
>>         at
>> org.apache.commons.jelly.JellyContext.runScript(JellyContext.java:704)
>>         at
>> org.apache.commons.jelly.JellyContext.runScript(JellyContext.java:668)
>>         at
>> org.apache.commons.jelly.JellyContext.runScript(JellyContext.java:644)
>>         at
>> org.apache.commons.jelly.tags.core.IncludeTag.doTag(IncludeTag.java:101)
>> [...more...]
>> 
>> ==========
>> Dependencies: (declared in this order)
>> 
>> <!-- As required by QALab: -->
>> 
>>       <artifactId>ant</artifactId>
>>       <version>1.6.4</version>
>> 
>>       <artifactId>jcommon</artifactId>
>>       <version>0.9.6</version>
>> 
>>       <artifactId>jfreechart</artifactId>
>>       <version>0.9.21</version>
>> 
>>       <groupId>net.objectlab</groupId>
>>       <artifactId>qalab</artifactId>
>>       <version>0.9.1</version>
>> 
>>       <artifactId>xalan</artifactId>
>>       <version>2.7.0</version>
>> 
>>       <artifactId>xerces</artifactId>
>>       <version>2.4.0</version>
>> 
>>       <artifactId>xercesImpl</artifactId>
>>       <version>2.6.2</version>
>> 
>>      <!-- Private libraries -->
>>     (private code here)
>> 
>>   <!-- Axis webservice jars -->
>>       <artifactId>axis</artifactId>
>>       <version>1.3</version>
>> 
>>       <artifactId>axis-jaxrpc</artifactId>
>>       <version>1.3</version>
>> 
>>       <artifactId>axis-wsdl4j</artifactId>
>>       <version>1.3</version>
>> 
>>       <artifactId>axis-saaj</artifactId>
>>       <version>1.3</version>
>> 
>>       <artifactId>commons-discovery</artifactId>
>>       <version>0.2</version>
>> 
>>       <artifactId>commons-logging</artifactId>
>>       <version>1.1</version>
>> 
>>       <artifactId>log4j</artifactId>
>>       <version>1.2.8</version>
>> 
>> <!-- DOM4J -->
>>       <artifactId>dom4j</artifactId>
>>       <version>1.6.1</version>
>> 
>>       <artifactId>jaxen</artifactId>
>>       <version>1.1-beta-6</version>
>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-M1--QALab-0.9.1-and-Maven-plugin-released-tf2193525s177.html#a7122924
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to