I Use cobertura plugin with Maven 2 and it works fine.
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>2.0-20060130.214008-3</version>
</plugin>
(I had to add this in the pluginRepositories section):
<pluginRepository>
<id>CodeHaus</id>
<name></name>
<url>http://snapshots.maven.codehaus.org/maven2</url>
<layout>default</layout>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>false</enabled>
<updatePolicy>never</updatePolicy>
</releases>
</pluginRepository>
Reports generated are great really.
About the numbers, I guess Rune is from Norway with ".no" suffix ?
Boris
Wayne Fay a écrit :
I just know the other guys who had the same problem were German. I
suppose I should have said "European-style numbers" ? Or what is it
called when you use period for thousands and comma for decimal place?
As for Cobertura, just give it a couple weeks for Maven 2.0.3 to be
out and official and then Cobertura should follow shortly thereafter,
without needing to check anything out of SVN etc... You should be able
to simply add it in <reporting>.
Wayne
On 3/18/06, Rune Flobakk <[EMAIL PROTECTED]> wrote:
Wayne Fay wrote:
No that's because the plugin doesn't understand your German-style numbers. ;-)
German-style, eh? Oh well, at least you didn't call it Swedish-style,
now that would have been a serious insult ;-)
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
######
Thanks for the info!
Rune
Wayne
---------------------------------------------------------------------
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]