Hi there,
I believe that this is already fixed in the SVN
http://jira.codehaus.org/browse/MOJO-100
regards,
-allan
Yuriy Ivanov wrote:
I add to reporting section xml:
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>surefire-report-maven-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
I have Russian locale, don't know may be it's the reason.
And when run mvn site I got this error:
[INFO] Generate "Maven Surefire Report" report.
java.lang.NumberFormatException: For input string: "0,046"
at
sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:12
24)
at java.lang.Float.parseFloat(Float.java:394)
at
org.codehaus.mojo.surefire.ReportTestSuite.startElement(ReportTestSui
te.java:78)
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startEle
ment(AbstractSAXParser.java:533)
at
com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.startElem
ent(XMLDTDValidator.java:798)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l.scanStartElement(XMLDocumentFragmentScannerImpl.java:878)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$Conten
tDispatcher.scanRootElementHook(XMLDocumentScannerImpl.java:1157)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:179
4)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
-----Original Message-----
From: Anuerin Diaz [mailto:[EMAIL PROTECTED]
Sent: Friday, December 02, 2005 11:39 AM
To: Maven Users List
Subject: Re: [m2] include additional report to the site
On 12/2/05, Yuriy Ivanov <[EMAIL PROTECTED]> wrote:
Hello,
I have tests and reports for surefire plugin. How can I include junit
report
in my site ?
Also how can I add pdm report to the site?
Not clear where and what should I insert in pom.xml. In site.xml I
already
added ${reports} tag.
add the plugin in the reporting section of your project descriptor.
the pmd plugin is currently locked into the "controversial" ruleset
which is why we are running pmd as an Ant task. i would like to extend
the original question to how can we add it on the reports menu without
hardcoding each module's site.xml file. i am not sure if we can attach
an antrun to the reporting section and have it pickup the generated
pmd reports.
thanks.
ciao!
--
"Programming, an artform that fights back"
Anuerin G. Diaz
Registered Linux User #246176
Friendly Linux Board @ http://mandrivausers.org/index.php
http://capsule.ramfree17.org , when you absolutely have nothing else
better to do
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]