Download

Axon Framework logo with title

The AxonIQ Initializr is a web application that creates an Axon project structure for you. It doesn’t generate any application code, but it will give you a solid project structure, offering either a Maven or a Gradle build specification to suit your needs. Once you’ve downloaded your generated project, all that remains is to unzip, open, and begin work on your Axon code. 

All Axon Framework-related JAR files are published on Maven Central.

Spring Boot applications

To use Axon Framework in a Spring Boot application build with Maven add

<dependency>
    <groupId>org.axonframework</groupId>
    <artifactId>axon-spring-boot-starter</artifactId>
    <version>${axon.version}</version>
</dependency>

to your POM.

Plain Java applications

To use Axon Framework in a plain Java application build with Maven add

<dependency>
    <groupId>org.axonframework</groupId>
    <artifactId>axon-configuration</artifactId>
    <version>${axon.version}</version>
</dependency>

to your POM.

For usage with Maven, import the BOM in your project like so:

<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>org.axonframework</groupId>
            <artifactId>axon-bom</artifactId>
            <version>${version.axon}</version>
            <type>pom</type>
            <scope>import</scope>
        </dependency>
        ...
    </dependencies>
</dependencyManagement>

Then add the dependencies you need without specifying the version:

...
<dependencies>
    <dependency>
        <groupId>org.axonframework</groupId>
        <artifactId>axon-configuration</artifactId>
    </dependency>
    <dependency>
        <groupId>org.axonframework</groupId>
        <artifactId>axon-server-connector</artifactId>
    </dependency>
    <dependency>
        <groupId>org.axonframework.extensions.kafka</groupId>
        <artifactId>axon-kafka</artifactId>
    </dependency>
    <dependency>
        <groupId>org.axonframework.extensions.mongo</groupId>
        <artifactId>axon-mongo</artifactId>
    </dependency>
        ...

</dependencies>
...

For usage with Gradle Version 4.x and below, apply the dependency-management-plugin like so:

buildscript {
  repositories {
    jcenter()
  }
  dependencies {
    classpath "io.spring.gradle:dependency-management-plugin:0.5.1.RELEASE"
  }
}

apply plugin: "io.spring.dependency-management"

After this, import the Axon BOM:

dependencyManagement {
  imports {
    mavenBom 'org.axonframework:axon-bom:<VERSION>'
  }
}

Beginning with Gradle version 5.0, you can also omit the dependency-management plugin and instead use the platform dependency dsl to import maven boms:

 implementation(platform("org.axonframework:axon-bom:<VERSION>"))

Axon Server logo with title

You can download a ZIP file with Axon Server as a standalone JAR. This will also give you the Axon Server CLI and information on how to run and configure the server.

Looking for a previous version of the JAR file?

Run the following command to start Axon Server in a Docker container:

docker run -d \
  --name axonserver \
  -p 8024:8024 \
  -p 8124:8124 \
  axoniq/axonserver

Visit Axon Server on Docker Hub for older versions, change logs, and more information on running and configuring it in a Docker container.

AxonIQ Cloud is a fully managed Axon Server environment, which provides messaging and storage functionality for your applications. There are four roles currently: admin, developer, viewer, and no role.  You can create multiple spaces, which are basically workspaces where you connect your application and create contexts. For all Admins, it is possible to see statistics regarding a space. AxonIQ Cloud lets you pay as you go and does not require a license. 
Axon Server Enterprise contains all of the features of the free Standard edition, but, additionally, it contains features to make it suitable for use in mission-critical, enterprise use cases. And, as a commercial product, it comes with SLA-backed support by AxonIQ.

Looking for a previous version?

To activate Axon Server Enterprise, you need to obtain a license key

Axon stack logo with title

The Axon Quickstart zip includes everything that you need to get started with Axon Stack

Axon Framework

Open-source framework for event-driven microservices and domain-driven design.

Axon Server

A Zero-configuration message router and event store, ready to run locally.

Gift Card Sample Application

An easy way to understand Axon application, complete with sources.

Getting Started Guide

In the README.md file, you will find a complete guide to getting up and running with Axon and links to some other resources that you may find interesting.