Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: dashboard
-
Labels:None
-
Environment:dashboard-maven-plugin-1.0-20070302.175758-5.jar
-
Complexity:Intermediate
-
Number of attachments :
Description
submited by Jörg Hohwiller
-------------------------------------
I still got the same problem with dashboard-maven-plugin-1.0-20070302.175758-5.jar
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] For input string: "2.2-SNAPSHOT"
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.NumberFormatException: For input string: "2.2-SNAPSHOT"
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:12
24)
at java.lang.Double.parseDouble(Double.java:510)
at org.codehaus.mojo.dashboard.report.plugin.DashBoardUtils.getCobertura
DataFile(DashBoardUtils.java:832)
wrote by Jörg Hohwiller [09/Mar/07 01:03 AM]
Thanks for your quick response...
Why don't you use the version parser of maven-artifact?
http://maven.apache.org/ref/2.0.4/maven-artifact/apidocs/org/apache/maven/artifact/versioning/DefaultArtifactVersion.html