此内容没有您所选择的语言版本。

Chapter 5. Enabling executable rule models when upgrading to Red Hat Decision Manager 7.7


Beginning in Red Hat Decision Manager 7.7, rule assets are built from executable rule models by default with the standard kie-maven-plugin plugin. The executable model is a more efficient alternative to the standard asset packaging in previous versions of Red Hat Decision Manager.

When you install Red Hat Decision Manager 7.7, this default executable model behavior is configured for all new projects that you create going forward. However, if you are upgrading to Red Hat Decision Manager 7.7 from a previous version of the product and you have not already enabled executable rule models, you must add the required dependency to your existing Red Hat Decision Manager projects so that your rule assets are built from executable models in Red Hat Decision Manager 7.7. If you do not use the kie-maven-plugin plugin or if the required drools-model-compiler dependency is missing from your project, then rule assets are built without executable models.

For more information about executable rule models, see Packaging and deploying a Red Hat Decision Manager project.

Procedure

In the pom.xml file of your Maven project or on the relevant class path of your Java project, add the following dependency to enable rule assets to be built from the default executable model:

<dependency>
  <groupId>org.drools</groupId>
  <artifactId>drools-model-compiler</artifactId>
  <version>${rhdm.version}</version>
</dependency>
Copy to Clipboard Toggle word wrap

This dependency compiles the executable model into Red Hat Decision Manager internal data structures so that it can be executed by the decision engine.

The <version> is the Maven artifact version for Red Hat Decision Manager currently used in your project (for example, 7.33.0.Final-redhat-00002).

Note

Instead of specifying a Red Hat Decision Manager <version> for individual dependencies, consider adding the Red Hat Business Automation bill of materials (BOM) dependency to your project pom.xml file. The Red Hat Business Automation BOM applies to both Red Hat Decision Manager and Red Hat Process Automation Manager. When you add the BOM files, the correct versions of transitive dependencies from the provided Maven repositories are included in the project.

Example BOM dependency:

<dependency>
  <groupId>com.redhat.ba</groupId>
  <artifactId>ba-platform-bom</artifactId>
  <version>7.7.0.redhat-00002</version>
  <scope>import</scope>
  <type>pom</type>
</dependency>
Copy to Clipboard Toggle word wrap

For more information about the Red Hat Business Automation BOM, see What is the mapping between RHDM product and maven library version?.

Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2026 Red Hat
返回顶部