WIP upgrade to kie 10 #1
This commit is contained in:
parent
90ec25e07a
commit
2c0a9867b9
27 changed files with 32 additions and 32 deletions
|
|
@ -22,8 +22,9 @@
|
||||||
<artifactId>ecj</artifactId>
|
<artifactId>ecj</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.jbpm</groupId>
|
<groupId>org.kie.kogito</groupId>
|
||||||
<artifactId>jbpm-bpmn2</artifactId>
|
<artifactId>jbpm-bpmn2</artifactId>
|
||||||
|
<version>${drools.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>junit</groupId>
|
<groupId>junit</groupId>
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ public class KnowledgeSessionHelper {
|
||||||
|
|
||||||
public static KieContainer createRuleBase() {
|
public static KieContainer createRuleBase() {
|
||||||
|
|
||||||
KieServices ks = KieServices.Factory.get();
|
KieServices ks = KieServices.get();
|
||||||
KieContainer kieContainer = ks.getKieClasspathContainer();
|
KieContainer kieContainer = ks.getKieClasspathContainer();
|
||||||
return kieContainer;
|
return kieContainer;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@
|
||||||
<artifactId>ecj</artifactId>
|
<artifactId>ecj</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.jbpm</groupId>
|
<groupId>org.kie.kogito</groupId>
|
||||||
<artifactId>jbpm-bpmn2</artifactId>
|
<artifactId>jbpm-bpmn2</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
<?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://www.drools.org/xsd/kmodule">
|
||||||
|
|
||||||
<kbase name="lesson1" packages="lesson1">
|
<kbase name="lesson1" packages="lesson1">
|
||||||
<ksession name="lesson1-session"/>
|
<ksession name="lesson1-session"/>
|
||||||
</kbase>
|
</kbase>
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@
|
||||||
<artifactId>ecj</artifactId>
|
<artifactId>ecj</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.jbpm</groupId>
|
<groupId>org.kie.kogito</groupId>
|
||||||
<artifactId>jbpm-bpmn2</artifactId>
|
<artifactId>jbpm-bpmn2</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
<?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://www.drools.org/xsd/kmodule">
|
||||||
|
|
||||||
<kbase name="lesson2" packages="lesson2">
|
<kbase name="lesson2" packages="lesson2">
|
||||||
<ksession name="lesson2-session"/>
|
<ksession name="lesson2-session"/>
|
||||||
</kbase>
|
</kbase>
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@
|
||||||
<artifactId>ecj</artifactId>
|
<artifactId>ecj</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.jbpm</groupId>
|
<groupId>org.kie.kogito</groupId>
|
||||||
<artifactId>jbpm-bpmn2</artifactId>
|
<artifactId>jbpm-bpmn2</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?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://www.drools.org/xsd/kmodule">
|
||||||
|
|
||||||
<kbase name="lesson31" packages="lesson31">
|
<kbase name="lesson31" packages="lesson31">
|
||||||
<ksession name="lesson31-session"/>
|
<ksession name="lesson31-session"/>
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@
|
||||||
<artifactId>ecj</artifactId>
|
<artifactId>ecj</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.jbpm</groupId>
|
<groupId>org.kie.kogito</groupId>
|
||||||
<artifactId>jbpm-bpmn2</artifactId>
|
<artifactId>jbpm-bpmn2</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?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://www.drools.org/xsd/kmodule">
|
||||||
|
|
||||||
<kbase name="lesson32" packages="lesson32">
|
<kbase name="lesson32" packages="lesson32">
|
||||||
<ksession name="lesson32-session"/>
|
<ksession name="lesson32-session"/>
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@
|
||||||
<artifactId>ecj</artifactId>
|
<artifactId>ecj</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.jbpm</groupId>
|
<groupId>org.kie.kogito</groupId>
|
||||||
<artifactId>jbpm-bpmn2</artifactId>
|
<artifactId>jbpm-bpmn2</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?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://www.drools.org/xsd/kmodule">
|
||||||
|
|
||||||
<kbase name="lesson33" packages="lesson33">
|
<kbase name="lesson33" packages="lesson33">
|
||||||
<ksession name="lesson33-session"/>
|
<ksession name="lesson33-session"/>
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@
|
||||||
<artifactId>ecj</artifactId>
|
<artifactId>ecj</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.jbpm</groupId>
|
<groupId>org.kie.kogito</groupId>
|
||||||
<artifactId>jbpm-bpmn2</artifactId>
|
<artifactId>jbpm-bpmn2</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?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://www.drools.org/xsd/kmodule">
|
||||||
|
|
||||||
<kbase name="lesson34" packages="lesson34">
|
<kbase name="lesson34" packages="lesson34">
|
||||||
<ksession name="lesson34-session"/>
|
<ksession name="lesson34-session"/>
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@
|
||||||
<artifactId>ecj</artifactId>
|
<artifactId>ecj</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.jbpm</groupId>
|
<groupId>org.kie.kogito</groupId>
|
||||||
<artifactId>jbpm-bpmn2</artifactId>
|
<artifactId>jbpm-bpmn2</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?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://www.drools.org/xsd/kmodule">
|
||||||
|
|
||||||
<kbase name="lesson35" packages="lesson35">
|
<kbase name="lesson35" packages="lesson35">
|
||||||
<ksession name="lesson35-session"/>
|
<ksession name="lesson35-session"/>
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@
|
||||||
<artifactId>ecj</artifactId>
|
<artifactId>ecj</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.jbpm</groupId>
|
<groupId>org.kie.kogito</groupId>
|
||||||
<artifactId>jbpm-bpmn2</artifactId>
|
<artifactId>jbpm-bpmn2</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?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://www.drools.org/xsd/kmodule">
|
||||||
|
|
||||||
<kbase name="lesson4" packages="lesson4">
|
<kbase name="lesson4" packages="lesson4">
|
||||||
<ksession name="lesson4-session"/>
|
<ksession name="lesson4-session"/>
|
||||||
|
|
|
||||||
|
|
@ -70,7 +70,7 @@
|
||||||
<artifactId>ecj</artifactId>
|
<artifactId>ecj</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.jbpm</groupId>
|
<groupId>org.kie.kogito</groupId>
|
||||||
<artifactId>jbpm-bpmn2</artifactId>
|
<artifactId>jbpm-bpmn2</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@
|
||||||
<artifactId>ecj</artifactId>
|
<artifactId>ecj</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.jbpm</groupId>
|
<groupId>org.kie.kogito</groupId>
|
||||||
<artifactId>jbpm-bpmn2</artifactId>
|
<artifactId>jbpm-bpmn2</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?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://www.drools.org/xsd/kmodule">
|
||||||
<kbase name="kbase-base" packages="rules">
|
<kbase name="kbase-base" packages="rules">
|
||||||
|
|
||||||
</kbase>
|
</kbase>
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@
|
||||||
<artifactId>ecj</artifactId>
|
<artifactId>ecj</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.jbpm</groupId>
|
<groupId>org.kie.kogito</groupId>
|
||||||
<artifactId>jbpm-bpmn2</artifactId>
|
<artifactId>jbpm-bpmn2</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?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://www.drools.org/xsd/kmodule">
|
||||||
<kbase name="kbase-extension" packages="rulesextension" includes="kbase-base">
|
<kbase name="kbase-extension" packages="rulesextension" includes="kbase-base">
|
||||||
<ksession name="session-extension"/>
|
<ksession name="session-extension"/>
|
||||||
</kbase>
|
</kbase>
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@
|
||||||
<artifactId>ecj</artifactId>
|
<artifactId>ecj</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.jbpm</groupId>
|
<groupId>org.kie.kogito</groupId>
|
||||||
<artifactId>jbpm-bpmn2</artifactId>
|
<artifactId>jbpm-bpmn2</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@
|
||||||
<artifactId>ecj</artifactId>
|
<artifactId>ecj</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.jbpm</groupId>
|
<groupId>org.kie.kogito</groupId>
|
||||||
<artifactId>jbpm-bpmn2</artifactId>
|
<artifactId>jbpm-bpmn2</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|
@ -42,14 +42,14 @@
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<!--plugin>
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
<version>3.6.0</version>
|
<version>3.6.0</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<source>1.8</source>
|
<source>1.8</source>
|
||||||
<target>1.8</target>
|
<target>1.8</target>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin-->
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.kie</groupId>
|
<groupId>org.kie</groupId>
|
||||||
<artifactId>kie-maven-plugin</artifactId>
|
<artifactId>kie-maven-plugin</artifactId>
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?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://www.drools.org/xsd/kmodule">
|
||||||
<kbase name="rules" packages="rules">
|
<kbase name="rules" packages="rules">
|
||||||
<ksession name="ksession-rules"/>
|
<ksession name="ksession-rules"/>
|
||||||
</kbase>
|
</kbase>
|
||||||
|
|
|
||||||
5
pom.xml
5
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.64.0.Final</drools.version>
|
<drools.version>10.0.0</drools.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -35,6 +35,7 @@
|
||||||
<configuration>
|
<configuration>
|
||||||
<source>1.8</source>
|
<source>1.8</source>
|
||||||
<target>1.8</target>
|
<target>1.8</target>
|
||||||
|
<release>17</release>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
|
|
@ -81,7 +82,7 @@
|
||||||
<version>4.4.2</version>
|
<version>4.4.2</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.jbpm</groupId>
|
<groupId>org.kie.kogito</groupId>
|
||||||
<artifactId>jbpm-bpmn2</artifactId>
|
<artifactId>jbpm-bpmn2</artifactId>
|
||||||
<version>${drools.version}</version>
|
<version>${drools.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
|
||||||
Loading…
Add table
editor.link_modal.header
Reference in a new issue