No that's because the plugin doesn't understand your German-style numbers. ;-)

This was discussed in an email thread a few weeks ago...

Subject
[m202] NumberFormatException when using the surefire report plugin
######
This error is indeed caused by the german locale. Simply change the
locale that Maven uses (on Windows):

set MAVEN_OPTS=-Duser.language=en -Duser.country=US
######

Wayne

On 3/18/06, Rune Flobakk <[EMAIL PROTECTED]> wrote:
> Thanks for the heads-up regarding the
>  >       <plugin>
>  >         <groupId>org.codehaus.mojo</groupId>
>  >         <artifactId>surefire-report-maven-plugin</artifactId>
>  >       </plugin>
>
> Resulted in a somewhat buggy testing report at least. Got an ugly
> stacktrace from the surefire-report-maven-plugin while running 'mvn
> site' caused by a NumberFormatException: For input string: "0,047".
>
> I did install the newest snapshot-version of the site plugin. Maybe I
> should revert to the old one...
>
> Rune
>
>
> Wayne Fay wrote:
> > No such page exists, that I have ever seen...
> >
> > Here's the reporting section from one of my poms, though:
> >
> >   <reporting>
> >     <plugins>
> >       <plugin>
> >         <groupId>org.apache.maven.plugins</groupId>
> >         <artifactId>maven-project-info-reports-plugin</artifactId>
> >       </plugin>
> >       <plugin>
> >         <groupId>org.apache.maven.plugins</groupId>
> >         <artifactId>maven-javadoc-plugin</artifactId>
> >       </plugin>
> >       <plugin>
> >         <groupId>org.codehaus.mojo</groupId>
> >         <artifactId>jxr-maven-plugin</artifactId>
> >       </plugin>
> >       <plugin>
> >         <groupId>org.codehaus.mojo</groupId>
> >         <artifactId>jdepend-maven-plugin</artifactId>
> >         <version>2.0-beta-1-SNAPSHOT</version>
> >       </plugin>
> >       <plugin>
> >         <groupId>org.codehaus.mojo</groupId>
> >         <artifactId>findbugs-maven-plugin</artifactId>
> >         <version>1.0-SNAPSHOT</version>
> >       </plugin>
> >       <plugin>
> >         <groupId>org.codehaus.mojo</groupId>
> >         <artifactId>surefire-report-maven-plugin</artifactId>
> >       </plugin>
> >       <plugin>
> >         <groupId>org.codehaus.mojo</groupId>
> >         <artifactId>javancss-maven-plugin</artifactId>
> >         <version>2.0-alpha1-SNAPSHOT</version>
> >       </plugin>
> >       <plugin>
> >         <groupId>org.codehaus.mojo</groupId>
> >         <artifactId>taglist-maven-plugin</artifactId>
> >       </plugin>
> >       <plugin>
> >         <groupId>org.apache.maven.plugins</groupId>
> >         <artifactId>maven-checkstyle-plugin</artifactId>
> >       </plugin>
> >       <plugin>
> >         <groupId>org.apache.maven.plugins</groupId>
> >         <artifactId>maven-pmd-plugin</artifactId>
> >       </plugin>
> >     </plugins>
> >   </reporting>
> >
> > There is a <configuration> elements for many of the plugins, and I'm
> > using a few of them... but in general, reports work fine with no
> > configuration settings, so you can just use the default.
> >
> > Any one else using other plugins? Obviously Cobertura is available if
> > you are using Maven 2.0.3, but any others?
> >
> > HTH.
> > Wayne
> >
> >
> > On 3/18/06, Andreas Guther <[EMAIL PROTECTED]> wrote:
> >> Hi,
> >>
> >> I am searching for an overview of the available Maven 2 report plug-ins
> >> besides the standard ones.
> >>
> >> I found an example for pmd but I wonder if there is a somewhere a
> >> collection of available reports like JUnit, JDepend, etc. with examples
> >> for configuring them.
> >>
> >> Of course I could look into the code of each plug-in...
> >>
> >> Just wondering if there is an info page.
> >>
> >> Thanks in advance for any hint.
> >>
> >> Andreas
> >>
> >>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> 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]
>
>

Reply via email to