Upgrade to version 7.32.0.Final
Update package name of rules => Java compliant syntax
This commit is contained in:
parent
937bf30b8b
commit
422945f580
9 changed files with 6 additions and 10 deletions
|
|
@ -29,6 +29,7 @@ public class Testlesson31 {
|
||||||
cashFlow.setType(CashFlow.CREDIT);
|
cashFlow.setType(CashFlow.CREDIT);
|
||||||
sessionStatefull.insert(cashFlow);
|
sessionStatefull.insert(cashFlow);
|
||||||
sessionStatefull.fireAllRules();
|
sessionStatefull.fireAllRules();
|
||||||
|
sessionStatefull.dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.kiegroup</groupId>
|
<groupId>org.kiegroup</groupId>
|
||||||
<artifactId>cost-calculation-base</artifactId>
|
<artifactId>cost-calculation-base</artifactId>
|
||||||
|
<version>${project.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.drools</groupId>
|
<groupId>org.drools</groupId>
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<kmodule xmlns="http://jboss.org/kie/6.0.0/kmodule">
|
<kmodule xmlns="http://jboss.org/kie/6.0.0/kmodule">
|
||||||
<kbase name="kbase-extension" includes="kbase-base" packages="rules-extension">
|
<kbase name="kbase-extension" packages="rulesextension" includes="kbase-base">
|
||||||
<ksession name="session-extension"/>
|
<ksession name="session-extension"/>
|
||||||
</kbase>
|
</kbase>
|
||||||
</kmodule>
|
</kmodule>
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
package rules-extension
|
package rulesextension
|
||||||
|
|
||||||
import cost.OrderLine;
|
import cost.OrderLine;
|
||||||
import cost.LeftToDistribute;
|
import cost.LeftToDistribute;
|
||||||
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
|
|
@ -9,7 +9,7 @@
|
||||||
</parent>
|
</parent>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<packaging>kjar</packaging>
|
<packaging>jar</packaging>
|
||||||
<artifactId>cost-calculation-run</artifactId>
|
<artifactId>cost-calculation-run</artifactId>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|
@ -54,12 +54,6 @@
|
||||||
<target>1.8</target>
|
<target>1.8</target>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
|
||||||
<groupId>org.kie</groupId>
|
|
||||||
<artifactId>kie-maven-plugin</artifactId>
|
|
||||||
<version>${drools.version}</version>
|
|
||||||
<extensions>true</extensions>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</project>
|
</project>
|
||||||
2
pom.xml
2
pom.xml
|
|
@ -22,7 +22,7 @@
|
||||||
<cxf.version>2.2.6</cxf.version>
|
<cxf.version>2.2.6</cxf.version>
|
||||||
<spring-version>3.0.1.RELEASE</spring-version>
|
<spring-version>3.0.1.RELEASE</spring-version>
|
||||||
<commons-logging-version>1.1.1</commons-logging-version>
|
<commons-logging-version>1.1.1</commons-logging-version>
|
||||||
<drools.version>7.25.0.Final</drools.version>
|
<drools.version>7.32.0.Final</drools.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
editor.link_modal.header
Reference in a new issue