[rules-dev] drools-examples: Alpha7 changes made by hand

Mario Fusco mario.fusco at gmail.com
Mon Feb 11 11:40:57 EST 2013


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.

Mario

On Mon, Feb 11, 2013 at 5:29 PM, Michael Anstis <michael.anstis at 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"
>          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/xsd/maven-4.0.0.xsd">
>   <parent>
>     <artifactId>drools-examples-api</artifactId>
>     <groupId>org.drools</groupId>
>     <version>6.0.0-SNAPSHOT</version>
>   </parent>
>   <modelVersion>4.0.0</modelVersion>
>
>   <artifactId>default-kiesession-from-file</artifactId>
>   <name>Drools API examples - Default KieSession From File</name>
>
>   <dependencies>
>     <dependency>
>       <groupId>org.drools</groupId>
>       <artifactId>drools-compiler</artifactId>
>     </dependency>
>     <dependency>
>       <groupId>org.drools</groupId>
>       <artifactId>default-kiesession</artifactId>
>       *<version>6.0.0-SNAPSHOT</version>*
>     </dependency>
>   </dependencies>
>
> </project>
>
> With kind regards,
>
> Mike
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-dev/attachments/20130211/4420cf18/attachment.html 


More information about the rules-dev mailing list