Re: POM inheritance...
Aleksandar Vidakovic <[email protected]>
| Newsgroups | gmane.comp.java.keel.devel |
|---|---|
| Message-ID | <1111000328.5012.7.camel@popper> |
Thanks Shash, will try this! On Tue, 2005-03-15 at 08:10 -0600, Sasvata (Shash) Chatterjee wrote: > Aleks, > > > > >I was wondering why we don't use Maven's inheritance feature for POMs? I > >know that I was asking this question some weeks ago and got an answer, > >but don't find the message anymore... sorry for asking this twice ;-) > > > >And... I have some difficulties running "keel:maven". I get the > >following error: > > > > [java] java.lang.NumberFormatException: multiple points > > [java] at > >sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1084) > > [java] at java.lang.Float.valueOf(Float.java:360) > > [java] at java.lang.Float.<init>(Float.java:461) > > [java] at > >org.keel.tools.maven.KeelMavenTool.toNumber(KeelMavenTool.java:560) > > [java] at > >org.keel.tools.maven.KeelMavenTool.addIfNoConflict(KeelMavenTool.java:449) > > [java] at > >org.keel.tools.maven.KeelMavenTool.addDependencies(KeelMavenTool.java:405) > > [java] at > >org.keel.tools.maven.KeelMavenTool.run(KeelMavenTool.java:121) > > [java] at > >org.keel.tools.maven.KeelMavenTool.main(KeelMavenTool.java:88) > > > >Thanks in advance... > > > >Aleks > > > > > I ran into this over the weekend. This comes from any versions of the > form major.minor.bugfix (with two dots or points) in the dependency chain. > I have changed the code in tool-maven from doing a floating point > conversion to using a class that represents versions of the form > "x.y.z-comment". > You have to get the latest CVS of tool-maven-plugin, and do a "maven > plugin:install" to use the 1.2.13 plugin, which is still in development. > > HTH, > Shash > > http://keelframework.org/documentation.shtml > Keelgroup mailing list > [email protected] > http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com > -- Aleksandar Vidakovic <[email protected]> http://keelframework.org/documentation.shtml Keelgroup mailing list [email protected] http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com