Re: POM inheritance...

Max <maxxam-cuDQgYkrLFxfAa1EqD/[email protected]>
Newsgroups gmane.comp.java.keel.devel
Message-ID <[email protected]>
I have found that if I add a dependency to my project.xml file and then 
run keel:maven, it sucks in all the new dependencies and overwrites my 
POM. However, if I now remove my original dependency, the keel:maven 
does not remove the others. Perhaps one way of using POM inheritance is 
for keel:maven to create a new inherited project.xml instead of 
modifying the original. That way you get to keep your original and have 
a base point to return to.

The keel:maven goal also removes all comments from the POM files.

Then again, I probably misunderstand the POM inheritance. Maybe POM's 
can have includes?

Max

>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 ;-)
>
>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
>
>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.