OpenL Tablets has an archetype which can be used to create a simple OpenL Tablets rules project containing an example of OpenL Maven plugin usage.
Current project is ready to deploy to OpenL Rule Services and shows an example of pure OpenL rules project with separated main and test modules.
mvn archetype:generate
When the new Maven-based project is created, it appears in the file system:
Directory structure is described here.
mvn install
After that, the following objects can be found the target folder:
This archive contains only main project from src/main/openl directory and can be deployed to the OpenL Rules Services.
For more information, see [Rule Services Usage and Customization Guide].
All test tables from the test project are executed on Maven test goal aren't included to the final ZIP archive.
Current project uses OpenL dynamic wrapper to show how OpenL rules can be used in java application.
mvn archetype:generate
Maven runs an archetype console wizard.
When the new Maven-based project is created, it appears in the file system. It is an OpenL Tablets rules project which has one module with simple rules.
mvn install
After that, the following objects can be found the target folder:
For more information, see [OpenL Tablets WebStudio User Guide].
It demonstrates how OpenL Tablets rules can be invoked from the Java code.