This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
This is a multi-module Maven project for Drools AI POC (Proof of Concept) tools. The project is structured with a parent POM and multiple submodules to provide AI assistants with tools to work with Drools and other rule engines.
drools-ai-poc/
├── pom.xml (parent POM - drools-ai-poc)
├── CLAUDE.md (this file)
└── knowledge-builder-mcp/ (submodule)
├── pom.xml
├── CLAUDE.md
└── src/
A Drools MCP server built with Quarkus that provides AI assistants with tools to execute, validate, and manage Drools DRL (Decision Rule Language) code. See drools-builder-mcp/CLAUDE.md for detailed documentation.
# Build the entire project from root
mvn clean compile
# Build specific module
mvn clean compile -pl drools-builder-mcp
# Run tests for all modules
mvn test
# Run tests for specific module
mvn test -pl drools-builder-mcp
# Package all modules
mvn packageFor module-specific commands, either:
- Navigate to the module directory and run Maven commands
- Use the
-pl(projects list) option from the root
To add a new module:
- Create the module directory
- Add
<module>module-name</module>to the parent POM - Create the module's POM with proper parent reference
- Add module-specific documentation to the module's CLAUDE.md
- The parent POM manages common properties, dependency management, and plugin configuration
- Each submodule inherits from the parent and can override/extend as needed
- Shared dependencies and versions are managed at the parent level
- Module-specific dependencies are defined in each module's POM