| Auszug |
|---|
|
Nuclos rule code Maven: codegenerator, pom.xml, development mode, JDK 8, IntelliJ, CODEGENERATOR_POM_LIBDIR, 4.30. |
Language: Deutsch · English
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.
| Status |
|---|
| colour | Green |
|---|
| title | Updated: Jul 2026 |
|---|
|
| Status |
|---|
| colour | Grey |
|---|
| title | applies to Nuclos 4.2026.x |
|---|
|
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
- the server runs locally (the
codegenerator directory is on the developer machine) – or CODEGENERATOR_POM_LIBDIR, …_AXIS_LIBDIR and …_EXTENSION_LIBDIR are configured; - the server runs in development mode;
- an IDE with Maven support (example: IntelliJ IDEA Community Edition);
- a Java 8 JDK (ideally the same as the server).
| Info |
|---|
|
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
- Create a new project and select the
codegenerator directory (IntelliJ recognizes it as a Maven project). - Enable „import Maven projects automatically“.
- Keep the server running in the background – only then are all libraries found.
- 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
Integrating rule code in IntelliJ
IntelliJ.
Open →
Tutorial: integrating Nuclos into IntelliJ IDEA
Core.
Open →