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
_______________________________________________
rules-dev mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-dev

Reply via email to