Building projects with the Build Command Maven plugin

Use the Build Command Maven plugin to automate the build of your projects in a continuous deployment environment that already uses Maven.

The Build Command Maven plugin requires you to create and add XML files to your projects. If you are using Decision Center to edit your projects collaboratively, you must set up another way to ensure synchronization of these new files. If you are using another collaboration platform, we assume that you add these files to your existing database, which ensures their synchronization with the other files of your projects.

If you are using Maven to build the Java part of your projects, you can easily use the Build Command Maven plugin to build your Decision Services in a similar way. If you are not using Maven and want to use this plugin, you must install Maven and be familiar with its concepts.

Software requirements and known limitations

You must have installed Apache Maven version 3.2 or higher.

If you want to embed a XOM to leverage an easy deployment, you must specify it in the POM file that references the deployment configurations. Otherwise, the XOM is not embedded in the RuleApp, even if you checked the Deploy the XOM option in the deployment configuration editor in Rule Designer. The automatic deployment of a complete set that contains the rules and the XOM is only supported if you embed the XOM.