Hi Michael,<br><br>This time I didn't it by mistake but intentionally (well, kind of): for some reason my Intellij Idea didn't like the pom when I wrote it without specifying the version of that dependency. I spent a while to figure out why, but in the end the only way I found to make Idea "eating" the pom was by adding that version. Honestly I don't know why. I knew it was wrong, but I also needed to run it inside Idea to debug it, so I had no choice.<br>
<br>However this morning I updated what you pushed and found that idea wasn't complaining anymore. Probably I just omitted to try the most obvious thing: reboot it ;)<br><br>Lesson learned for the future.<br>Thanks for having fixed this.<br>
<br>Mario<br><br><div class="gmail_quote">On Mon, Feb 11, 2013 at 5:29 PM, Michael Anstis <span dir="ltr"><<a href="mailto:michael.anstis@gmail.com" target="_blank">michael.anstis@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Mario,<br><br>During the release of Alpha7 I had to change a couple of poms by hand as dependencies' version numbers were hard-coded: <a href="https://github.com/droolsjbpm/drools/commit/faa3bb0ff51d469ad37601d023234272aae4f7e1" target="_blank">https://github.com/droolsjbpm/drools/commit/faa3bb0ff51d469ad37601d023234272aae4f7e1</a><br>
<br>Ideally the dependency version should be a variable in the parent pom. For example the dependency of "org.drools.default-kiesession" should probably be "${drools.version}":-<br><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"><?xml version="1.0" encoding="UTF-8"?></span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"><project xmlns="<a href="http://maven.apache.org/POM/4.0.0" target="_blank">http://maven.apache.org/POM/4.0.0</a>"</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>"</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> xsi:schemaLocation="<a href="http://maven.apache.org/POM/4.0.0" target="_blank">http://maven.apache.org/POM/4.0.0</a> <a href="http://maven.apache.org/xsd/maven-4.0.0.xsd" target="_blank">http://maven.apache.org/xsd/maven-4.0.0.xsd</a>"></span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> <parent></span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> <artifactId>drools-examples-api</artifactId></span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> <groupId>org.drools</groupId></span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> <version>6.0.0-SNAPSHOT</version></span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> </parent></span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> <modelVersion>4.0.0</modelVersion></span><br style="font-family:courier new,monospace">
<br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> <artifactId>default-kiesession-from-file</artifactId></span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> <name>Drools API examples - Default KieSession From File</name></span><br style="font-family:courier new,monospace">
<br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> <dependencies></span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> <dependency></span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> <groupId>org.drools</groupId></span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> <artifactId>drools-compiler</artifactId></span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> </dependency></span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> <dependency></span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> <groupId>org.drools</groupId></span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> <artifactId>default-kiesession</artifactId></span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> <b style="color:rgb(255,0,0)"><version>6.0.0-SNAPSHOT</version></b></span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> </dependency></span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> </dependencies></span><br style="font-family:courier new,monospace"><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"></project></span><br>
<br>With kind regards,<br><br>Mike<br>
</blockquote></div><br>