Nuclos rule code Maven: codegenerator, pom.xml, development mode, JDK 8, IntelliJ, CODEGENERATOR_POM_LIBDIR, 4.30.

globe with meridians Language: Deutsch · English

hammer and wrench Integrating rules as a Maven project in an IDE

Develop business rules as a Maven project – auto-generated pom.xml, development mode and Java 8 SDK.

On this page

From Nuclos 4.30, business rules can conveniently be integrated as a Maven project in an IDE. Nuclos automatically generates a pom.xml under <NUCLOS-HOME>/data/codegenerator.

Prerequisites

Run Nuclos with normal user rights (not as a service) to avoid access problems. If that does not help, deleting the codegenerator directory (recreated on server start) may help.

Steps

  1. Create a new project and select the codegenerator directory (IntelliJ recognizes it as a Maven project).
  2. Enable „import Maven projects automatically“.
  3. Keep the server running in the background – only then are all libraries found.
  4. Add the missing SDK (Java 8) via the plus button and finish the wizard.

Templates: pom.xml without extension and pom.xml with extension.

Related pages

gear Integrating rule code in IntelliJ


IntelliJ.

Öffnen →

gear Tutorial: integrating Nuclos into IntelliJ IDEA


Core.

Öffnen →