Re: POM inheritance...

Michael Nash <[email protected]>
Newsgroups gmane.comp.java.keel.devel
Organization JGlobal Limited
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.