Hi Michael,

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.

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

Lesson learned for the future.
Thanks for having fixed this.


On Mon, Feb 11, 2013 at 5:29 PM, Michael Anstis <michael.anstis@gmail.com> wrote:
Hi Mario,

During the release of Alpha7 I had to change a couple of poms by hand as dependencies' version numbers were hard-coded: https://github.com/droolsjbpm/drools/commit/faa3bb0ff51d469ad37601d023234272aae4f7e1

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}":-

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

  <name>Drools API examples - Default KieSession From File</name>



With kind regards,