Overview of Maven modularity
In order to reduce code duplication, make maintenance easier and allow better customisation control, the Stacks Workloads use the following internal dependencies:
- Stacks modules parent, found in stacks-java-module-parent
- Stacks commons core module, found in stacks-java-core-commons
- Stacks commons API module, found in stacks-java-core-api
- Stacks commons CQRS module, found in stacks-java-core-cqrs
- Stacks messaging core module, found in stacks-java-core-messaging
- Stacks Azure Service Bus module, found in stacks-java-azure-servicebus
- Stacks Azure CosmosDB module, found in stacks-java-azure-cosmos
The modules are built and published independently of the Workloads and by default are pulled into the project as Maven dependencies. You can easily replace these by cloning individual repositories and placing them in your application either directly or as modules.