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

Michael Anstis michael.anstis at gmail.com
Mon Feb 11 11:29:02 EST 2013


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/995cddca/attachment-0001.html 


More information about the rules-dev mailing list