pom.xml.
The Mortgage_Process project in the samples repository demonstrates how a project can be modernized to a current Java stack: it is a copy of the classic kie-server example, except for the KIE artifact versions in its pom.
What changes, and what doesn’t
Unchanged:
- All project assets:
.bpmnprocesses,.rdrl/.drlrules,.gdstdecision tables,.frmforms, Java data objects,kmodule.xml, deployment descriptors. - The kjar packaging model: same
<packaging>kjar</packaging>, same GAV, samemvn installthen deploy-by-GAV workflow. - The KIE Server REST API: same endpoints, same payloads, same
authentication model. Every
curlthat worked against v7 works against v10 verbatim (only the port differs if you run them side by side). - Process behavior at runtime: same execution paths, same task lifecycle.
Migration steps
1. Set the KIE versions in pom.xml
Change the KIE artifacts from the community version to the Aletyx
version. Nothing else in the pom needs to change:
2. Rebuild
Build with JDK 17+ and a Mavensettings.xml that adds the Aletyx
repository. Copy your settings.xml containing your access token from
my.aletyx.ai/maven, then build your project:
kie-maven-plugin compiles and validates exactly the same assets the v7
plugin did: a successful KieModule successfully built! means your rules,
decision tables, and processes are compatible. In the Mortgage_Process
migration there were zero source changes and zero build errors.
3. Redeploy
The new KIE Server deploys kjars the same way classic did: by Maven GAV, over the same REST API. Point the same calls at the new server:STARTED/DISPOSED, dispose-and-recreate to pick up SNAPSHOT updates) are
unchanged.
4. Rerun
Start processes, query instances, and work with tasks using the same REST calls as v7:Why this modernizes your infrastructure
Moving to the Aletyx v10 KIE Server is an infrastructure upgrade, not an application rewrite:- Supported JDK: off JDK 8/11 (the 7.x kjar toolchain breaks on JDK 21 because it references APIs removed from the platform) and onto a current LTS release, JDK 17 or 21.
- Supported application server: off outdated WildFly and Jakarta EE and onto new
WildFly 35+ / Jakarta EE 10 (
jakarta.*namespace), which the-ee10WAR is built for. Deployment is a plain WAR drop intostandalone/deployments/on astandalone-fullprofile. - Maintained KIE runtime: the Aletyx distribution carries the fixes and platform compatibility work that stopped with community 7.x, while keeping the 7.x REST API and kjar contract intact, which is what makes it a drop-in replacement.
Running v7 and v10 side by side
You don’t have to cut over in one step. The samples repository runs both servers on the same machine during migration. Each server has its own distinctorg.kie.server.id
(demo-kie-server / demo-kie-server-v10), so they register and operate
independently. This lets you deploy the migrated kjar to v10, run the same
verification against both, and compare behavior before decommissioning v7.
Migration checklist
- Copy (or branch) the v7 project.
- In
pom.xml, setkie-api,kie-internal, andkie-maven-pluginto the Aletyx version (10.1.2-aletyx-ks-005). - Build with JDK 17+ and the Aletyx repository settings:
mvn -s settings.xml clean install. - Deploy the container to the v10 server with the same REST call (or UI) you used on v7.
- Start a process and verify: same API, same payloads, same behavior.