Installation and Setup
This guide covers how to install and configure Axon Data Protection in your project.
Requirements
-
Java 21 or higher - The module requires Java 21 as the minimum version
-
Framework 5.x - Compatible only with Framework 5.0 and later
-
Spring Boot 3.x (optional) - For Spring-based configuration
|
Breaking Change: Axon Data Protection 5.0 is NOT backward compatible with Axon Framework 4.x or earlier versions. If you’re using an older version of Axon Framework, you must use Data Protection 4.x. |
Maven dependency
Add the following dependency to your pom.xml:
<dependency>
<groupId>io.axoniq.framework.extensions</groupId>
<artifactId>data-protection-core</artifactId>
<version>5.0.0</version>
</dependency>
Next steps
After adding the dependency, you need to:
-
Choose and configure a crypto engine (JPA, JDBC, Vault, or others)
-
Add annotations to your domain objects