AW: POM inheritance...
"Vidakovic Aleksandar" <[email protected]>
| Newsgroups | gmane.comp.java.keel.devel |
|---|---|
| Message-ID | <[email protected]> |
Mike, as for my error: I fixed it... don't know how... probably a typo. You are right with the location of the POM parent file; some jakarta projects (commons-xxx) use a common project.xml which is ugly for building if you check out only one module. I was just wondering if all the dependencies in the project.xml are necessary... I had the impression that in some keel modules there are more dependencies than actually needed (didn't verify it!). A common part for all projects is the "<build>" block... but this is maybe not enough for a common project.xml. I'm sure that I didn't get entirely the idea behind "keel:maven"... I understood that it modifies the dependencies in project.xml, but how does it know which dependencies I need? Aleks -----Ursprüngliche Nachricht----- Von: Michael Nash [mailto:[email protected]] Gesendet: Dienstag, 15. März 2005 12:57 An: developers-6VIttnCrOeJXNEnpj1eHPNi2O/[email protected] Betreff: Re: [Keelgroup] POM inheritance... Aleks: On Mon, 2005-03-14 at 17:43, Aleksandar Vidakovic wrote: > Salut all, > > 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 ;-) No problem - I suggested last time that there wasn't a good reason to do so - I don't (so far) see enough "overlap" in the POM files to make inheritance all that useful, and it does means that the "common" file must be in the right place or your build won't work. As it is now, projects can be anywhere on the filesystem. Do you see a place where there's a lot of duplication in the POMS? > > 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... Multiple points? Hmm - sounds like more than one decimal in something that's supposed to be a number. What project.xml are you running this on? Does it have an unusual version number in it perhaps? Mike > > Aleks > > http://keelframework.org/documentation.shtml > Keelgroup mailing list > [email protected] > http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com http://keelframework.org/documentation.shtml Keelgroup mailing list [email protected] http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com http://keelframework.org/documentation.shtml Keelgroup mailing list [email protected] http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com