When your projects have the supported structure and the corresponding POM files, you use
the Build Command plugin to build these
projects into RuleApps.
Procedure
- Go to the root of your project folder.
- Enter the following command in a command prompt: mvn clean install
For more information about how to build a project with Maven, see the Apache Maven
documentation.
Results
A
target directory that contains one
.jar file per
deployment configuration is created in the directory of each project that you build. Each
.jar file is a RuleApp archive. For example in the
HelloWorld sample, you should have the following:
Hello Main
Service/target/HelloWorld.jar. Similar directories are created in your Maven repository
as well.
If you specified an embedded managed Java XOM in a deployment parameter, the
corresponding RuleApp archive also contains the managed Java XOM files.
What to do next
You can deploy the RuleApp archives to your
Rule Execution Server.