Once you have finalized the creation of business rule within a project, you must
deploy the project to the Maven Artifact Repository of the web application. This will make
the rule usable in production environments.
Procedure
-
From the Drools page, open
the project you want to deploy, org.talen.bank in this example.
-
Click the Open Project
Editor tab.
Example
Note:
The project name must be identical with the Maven artifact repository set
in the Artifact ID field.
Otherwise, the rule will not work when you use it in a production
environment.
For more information, see Repositories.
-
On the top right corner of the project editor, click Build and select Build & Deploy.
Results
All the project dependencies are deployed to the Maven repository at
$M2_HOME.