This module's intention is to be used as a template to quickly start with a new Maven based Axon application with Spring Boot, either in Java or Kotlin
pom.xml contains basic Axon, Spring Boot and Kotlin dependencies
axon-spring-boot-starteris a dependency that will provide Axon Framework integrated with Spring Bootspring-boot-starteris a base dependency for Spring Bootkotlin-stdlib-jdk8andkotlin-reflectare basic Kotlin dependencies, and compile support is enabled viakotlin-maven-plugin- Java and Kotlin classes and files can be mixed in Java source directory
axon-testandspring-boot-starter-testare included to provide test support
You can simply copy this directory, rename the package as you wish. You can keep the suggested package structure where:
- API package is intended for messages like Commands, Events and Queries
- Command package is intended for your command model like aggregates
- Query package is intended for your projections.