Update pom file
Add description
Change parent to parent-boot-2 to leverage a spring boot start up
approach
Replace core dependency for axon-spring-boot-autoconfigure excluding
axon-server as we cant start that up for this use case
Add spring-boot-autoconfigure dependency
Adjust the axon version to 4.0.3
<modelVersion>4.0.0</modelVersion>
<artifactId>axon</artifactId>
<name>axon</name>
+ <description>Basic Axon Framework with Spring Boot configuration tutorial</description>
<parent>
- <artifactId>parent-modules</artifactId>
<groupId>com.baeldung</groupId>
- <version>1.0.0-SNAPSHOT</version>
+ <artifactId>parent-boot-2</artifactId>
+ <version>0.0.1-SNAPSHOT</version>
+ <relativePath>../parent-boot-2</relativePath>
</parent>
<dependencies>
<dependency>
<groupId>org.axonframework</groupId>
- <artifactId>axon-test</artifactId>
+ <artifactId>axon-spring-boot-autoconfigure</artifactId>
<version>${axon.version}</version>
- <scope>test</scope>
+ <exclusions>
+ <exclusion>
+ <groupId>org.axonframework</groupId>
+ <artifactId>axon-server-connector</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
+
<dependency>
<groupId>org.axonframework</groupId>
- <artifactId>axon-core</artifactId>
+ <artifactId>axon-test</artifactId>
<version>${axon.version}</version>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-autoconfigure</artifactId>
+ <version>2.1.1.RELEASE</version>
+ <scope>compile</scope>
</dependency>
</dependencies>
<properties>
- <axon.version>3.0.2</axon.version>
+ <axon.version>4.0.3</axon.version>
</properties>
</project>
\ No newline at end of file
